Tuesday, February 12, 2008
Valentines Day gift
I got inspired by this project link. But I was dissappointed by the lack of information on how to do it besides the use of a 74hc595. I embarked on trying to figure out out with a pic controller. I tried hc595s first and got it working (Above picture), then I tried the microchip 23016 but I got confused by the resistor and capacitor requirement (It was late that night and I didn't want to read the datasheet). I also had an old sample of the Maxim 7216 laying around and thought I'd give it a go and it seemed to work quite nicely. I used the 16f648a but it may have been overkill since my app only uses about 550 words, I could probably redo this on a 12f625 (Or is it 10f625) and have enough room for lots of scrolling animation.
I didn't really do any animations or anything with it yet because the one thing that attracted me to the project was the fact that it ran on a CR2032. I thought it would be cool. I just wanted to reduce the number of things I'd need to solder up and so forth. Ideally I wanted this for VDay but with that day quickly approaching and me without much time, I'm probably not going to get it done. Maybe her birthday. I patterned my picBasic code after some code I found (http://list.picbasic.com/forum/messages/4011/4341.html?1030122622). I modified it a bit but got it working pretty easily and I think if I reduce the resistor value I can get it to work with the little button battery (CR2032). If anyone is interested in the code I can send it, it's PicBasic Pro. Ideally I'd like to make a little PCB this could all fit on but my CNC isn't done and I don't enjoy the whole iron on etch method (I know it's not that hard but sometimes I'm lazy).
Here are some other sites that helped out
http://www.kronosrobotics.com/an137/DAN137.shtml
http://www.picbasic.co.uk/forum/archive/index.php/t-2244.html
http://www.maxim-ic.com/quick_view2.cfm?qv_pk=1339&t=do#Data%20Sheethttp://tomekness.files.wordpress.com/2008/01/max7219_tutorial_pre_c.pdf
MAX7219
http://www.ccsinfo.com/forum/viewtopic.php?t=17380&sid=87d2b2852119c3c64b603e1734
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment