Richard,
I would add the LP55231 new driver chip if we did the board, then
I would show a color for each FET channel.
This is another Wire() API job, driver already exists.
Check it out
https://www.sparkfun.com/products/13884
So now you would have a debounce switch which could on/off electronics.
In the real design, we would have multiple power sources and inputs,
Switches gone wild!!!
BTW, the Pixhawk Autopilot uses this and drives PWMs when calibrating the
IMU.
-James
On Thu, Jan 19, 2017 at 9:31 PM, James Dougherty <jafrado@xxxxxxxxx> wrote:
It's a few lines. I think the loop would check/count each button press and
then drive a GPIO
to open each fet. Couple that with a buzzer and you've got a crowd-pleaser.
I like the feather and the pro-mini for prototyping or writing some driver
for an I2C/seria/spi chip
Cheap and fun, plus little projects like this are very satisfying.
To prototype, here's some gear to check out:
fet board - http://www.ebay.com/itm/371557158763
pro mega - www.ebay.com/itm/Mini-Device-for-Arduino-Nano-V3-0-with-
PRO-ATMEGA328P-Module-Board-Hot-New-LS-/
under $6.
Study
https://www.arduino.cc/en/Reference/HomePage
digital{Read,Write}()
setup() will set the pin state
loop() will check pins you designate as buttons and drive output (FET
inputs)
Once you have a sketch, we can make a little PCB if you guys
are interested.
On Thu, Jan 19, 2017 at 9:22 PM, Kenneth Brown <ken@xxxxxxxxxxxxx> wrote:
I have some code for an Arduino Nano to debounce switches..... somewhere.
I better find that folder or I'm gonna have to do it all over again.
Ken
On Jan 19, 2017, at 9:03 PM, James Dougherty wrote:
So go get yourself an Arduino pro-mega and write some code to de-bouncethe switches
so you can drive a FET for power - it is a fun an easy project and youwould have one button
for multiple sources.make a little switch board
Hey, maybe there is a market for something like that. Maybe we should
with some open source firmware...
--
ROC-Chat mailing list
roc-chat@xxxxxxxxxxxxx
//www.freelists.org/list/roc-chat