API for controlling GPIO pins from Android apps
#4
(02-26-2016, 09:36 AM)SpecterXP Wrote: This is actually why I joined the forum. I want to be able to have Android accept input from a set of GPIO ports and automatically initiate a proper shutdown/startup sequence. I want to build a CarPC with this because it's a lot better than the RPi2 I'm using right now.

I'm using the Mausberry 3A switch (link below) to provide power to everything only when the car is turned on. It send signals to the GPIO pins to initiate the proper shutdown and startup. I'm hoping to be able to incorporate this in Android and the Pine64.

http://www.mausberrycircuits.com/collect...ply-switch

Well, doing a little more research I found that we have an EXP Connector now that's not on the schematic I have printed out. I found the updated pinout on the wiki (https://drive.google.com/file/d/0B0cEs0l...IzTlE/view) that shows hardware pins that allow for a power and reset switch that is integrated into the Android image. Perfect. Looks like this will work flawlessly right out of the box. This is turning out to be one of the best boards on the market as you don't need to waist a GPIO pin for a power switch.

EXP circuit is on the schematic.


Messages In This Thread
RE: API for controlling GPIO pins from Android apps - by tllim - 02-27-2016, 02:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 426,028 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 32,716 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 18,570 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 7,603 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,746 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 6,176 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,644 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 285,279 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,835 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 115,538 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)