LowPowerLab Forum

Hardware support => MightyBoost => Topic started by: jasonell on March 09, 2015, 07:01:00 PM

Title: Using Mightyboost with an Odroid C1
Post by: jasonell on March 09, 2015, 07:01:00 PM
I am new to all of this so if I say something dumb, please educate me :)

I am building a lubuntu/android dual-boot machine using an Odroid C1. I am containing it and other components inside of a Playstation 2 slim case. I would like to wire up a power button to this device that will do the reset/shutdown functions as well as have the battery backup with a short delay timer before shutdown in case of power failure. The Mightyboost looks like it would serve my needs well. The problem is I have absolutely no idea what I am doing, or if it would even work.

I would like for the input to take a 2.5mm/0.8mm jack http://i01.i.aliimg.com/photo/v0/60035414223/dc_android_tablet_replacement_5v_2_5mm.jpg_220x220.jpg (http://i01.i.aliimg.com/photo/v0/60035414223/dc_android_tablet_replacement_5v_2_5mm.jpg_220x220.jpg), and the output be through this male plug of the same size http://ameridroid.com/products/dc-plug-and-cable-assembly-2-5mm (http://ameridroid.com/products/dc-plug-and-cable-assembly-2-5mm) instead of the USB output shown in pictures. I am looking to have 5v/2a out to the C1. The mightyboost page shows 5v/1.5? Also if i understand what I have read correctly, the gpio port is mostly compatible with the Rpi, so would this all work?

My other plan was to try and figure out the ATXRaspi wired up with a UPS2-C1 http://ameridroid.com/products/ups2-c1 (http://ameridroid.com/products/ups2-c1) I almost think this would be a better option, but again...no idea even where to start on the wiring.

Pictures, diagrams, learning material...all would be appreciated. If someone was awesome enough to throw up an edited image showing exactly how to wire this stuff up, well you would be my hero! Please remember it is my first tie trying to do anything like this, and I don't want my lack of knowledge to fry anything.
Title: Re: Using Mightyboost with an Odroid C1
Post by: Felix on March 10, 2015, 06:23:43 AM
ATXRaspi is just a "switch". It switches the output power using a momentary button (with optional backlight (http://lowpowerlab.com/shop/LEDSwitch)).
It doesn't matter where power comes from, the C1 or MightyBoost, or directly from mains.
It requires 2 GPIO lines to talk to RaspberryPi or BBB or whatever your target it. The target then needs to run a script to listen for reboot/shutdown commands on those 2 GPIO and provide feedback.
Pictures, diagrams, videos, learning material is all here (http://lowpowerlab.com/atxraspi) and here (http://lowpowerlab.com/mightyboost).
Also check these blog categories: ATXRaspi (http://lowpowerlab.com/blog/category/atxraspi-2/) and MightyBoost (http://lowpowerlab.com/blog/category/mightyboost/).
Title: Re: Using Mightyboost with an Odroid C1
Post by: jasonell on March 10, 2015, 11:06:31 AM
I think i worked something out. Using a SPST rocker switch wired in the red line of the DC power going into the UPS made for the C1, it can cut the power directly,  and trigger the UPS to do a proper shutdown using a script shortly after.  This solves the problem of doing a shutdown with a switch,  and saves the file system in case of power outage.