Hi,
I need to control an Intel Edison based board via powerbutton and seems to me that ATXRaspi does exaclty what i want.
The board is from here https://docs.emlid.com/reach/specs/ and it has one microusb port and 2 DF13 with 2 GPIO available as shown here:
https://docs.emlid.com/reach/img/reach/specs/reach-connectors.png
-GPIO46, GPIO77, PWM, SCL, SDA, TX, RX are connected to Intel Edison via buffers and are 3.3 V logic level, 5 V tolerant.
-TX and RX belong to UART1 on Intel Edison
-SCL and SDA belong to I2C1 on Intel Edison, I2C1 also could be used to communicate with internal magnetometer in MPU9250.
-PWM belongs to PWM3 GPIO183 on Intel Edison
-Time Mark input is connected directly to U-blox chip for low latency, it includes an over-voltage clamp, pull up and current limiting resistor.
I power this puppies with 2A powerbanks via their microusb ports and i need to safe poweron/shutdown via a button. They run linux.
Can you guys check if ATXRaspi does the job just using the 2 GPIOs available?
For your convenience -->
Intel Edison Hardware Guide .
https://www.intel.com/content/dam/support/us/en/documents/edison/sb/edison-module_HG_331189.pdf
Thank you,
The ATXRaspi has 2 GPIOs that are a very simple protocol.
Their function is described in the video and the guide page (https://lowpowerlab.com/guide/atxraspi/).
I think any such board is able to run a simple script (see sample in the guide for the Raspberry Pi) that asserts and monitors those two GPIOs depending on the power status of the board.
Is there a problem if my setup draws less than 5V and its powered up via powerbank?
How much less?
The ATXRaspi runs at around 5V, I see no problem dropping that even 1 volt (maybe it works even at 3.3v) but I bever tried it myself at less than the pretty standard 5v input required by Pi boards.
It does not care where the input power comes from, it's just a pass through smart power switch.
Manufacturer says : Inout voltage on USB and DF13 connectors 4.75 - 5.5 V
Furthermore I want to ask if I can charge the powerbanks, while the whole setup is off but wired.
The input to ATXRaspi is meant to always be powered. So the ATXRaspi board is "alive". It expects ~5V, 4.75V is perfectly fine as well.
Hence as long as your setup can deliver that, while charging or not, the ATXRaspi is OK.