0

Programming MiniPOV3 Output with Digital Input
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Programming MiniPOV3 Output with Digital Input

by thevenerablez on Tue Oct 05, 2010 11:09 am

Is it possible to pre-program messages in the MiniPOV3 and then select from these message by giving a digital input to the onboard microcontroller? My use case includes 4 hard-coded messages, but I'd like to be able to select between these messages via an input (possibly multi-bit) input.

Thanks,
Zach
thevenerablez
 
Posts: 8
Joined: Tue Oct 05, 2010 11:04 am

Re: Programming MiniPOV3 Output with Digital Input

by adafruit on Tue Oct 05, 2010 11:17 am

connect a button to the sensor, perhaps? then when you press the button it would advance to the next message?

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm
Location: nyc

Re: Programming MiniPOV3 Output with Digital Input

by thevenerablez on Tue Oct 05, 2010 11:37 am

adafruit, I'd like to do something along those lines. What pin on the MiniPOV3 should I connect the button output to? Is there a pre-programmed way to advance messages, or do I have to write that code myself?

Thanks,
Zach
thevenerablez
 
Posts: 8
Joined: Tue Oct 05, 2010 11:04 am

Re: Programming MiniPOV3 Output with Digital Input

by adafruit_support_bill on Tue Oct 05, 2010 11:43 am

There are solder pads marked "Sensor" on the board. You would have to do some coding to make it work.

adafruit_support_bill
 
Posts: 74643
Joined: Sat Feb 07, 2009 10:11 am

Re: Programming MiniPOV3 Output with Digital Input

by thevenerablez on Tue Oct 05, 2010 11:56 am

arduwino, how does the sensor pad work? Does it need a clock and data line? Or is it active high/low? Where can I find documentation on what to solder where and how to program this functionality?

Thanks,
Zach
thevenerablez
 
Posts: 8
Joined: Tue Oct 05, 2010 11:04 am

Re: Programming MiniPOV3 Output with Digital Input

by adafruit_support_bill on Tue Oct 05, 2010 12:43 pm

Ther schematic is here: http://www.ladyada.net/images/minipov3/minipov3schem.png
You would wire your pushbutton between the sensor line and ground. You would enable the internal pullup resistor in code. There is sample firmware for testing the sensor here: http://www.ladyada.net/make/minipov3/download.html

adafruit_support_bill
 
Posts: 74643
Joined: Sat Feb 07, 2009 10:11 am

Re: Programming MiniPOV3 Output with Digital Input

by thevenerablez on Tue Oct 05, 2010 10:43 pm

This is exactly what I was looking for; thanks!
thevenerablez
 
Posts: 8
Joined: Tue Oct 05, 2010 11:04 am

Please be positive and constructive with your questions and comments.