Programming MiniPOV3 Output with Digital Input

MiniPOV4 and previous versions

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
thevenerablez
 
Posts: 9
Joined: Tue Oct 05, 2010 11:04 am

Programming MiniPOV3 Output with Digital Input

Post by thevenerablez »

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

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

Re: Programming MiniPOV3 Output with Digital Input

Post by adafruit »

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

User avatar
thevenerablez
 
Posts: 9
Joined: Tue Oct 05, 2010 11:04 am

Re: Programming MiniPOV3 Output with Digital Input

Post by thevenerablez »

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

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Programming MiniPOV3 Output with Digital Input

Post by adafruit_support_bill »

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

User avatar
thevenerablez
 
Posts: 9
Joined: Tue Oct 05, 2010 11:04 am

Re: Programming MiniPOV3 Output with Digital Input

Post by thevenerablez »

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

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Programming MiniPOV3 Output with Digital Input

Post by adafruit_support_bill »

Ther schematic is here: http://www.ladyada.net/images/minipov3/ ... 3schem.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

User avatar
thevenerablez
 
Posts: 9
Joined: Tue Oct 05, 2010 11:04 am

Re: Programming MiniPOV3 Output with Digital Input

Post by thevenerablez »

This is exactly what I was looking for; thanks!

Locked
Please be positive and constructive with your questions and comments.

Return to “MiniPOV”