tag:blogger.com,1999:blog-6552332434062924020.post8408901332984904196..comments2023-04-10T04:36:04.190-05:00Comments on B2Ben's Blog: Diving into Microcontrollers - My Tiny Charlieplexed DisplayAnonymoushttp://www.blogger.com/profile/12825563829415706668noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-6552332434062924020.post-6420305463131736302013-02-13T09:34:59.700-06:002013-02-13T09:34:59.700-06:00Bug report: It's subtle and might only happen ...Bug report: It's subtle and might only happen in my modified code, but there's no guarantee that the last LED is off at the end of the draw_frame function. If it isn't off, it remains lit while the inter-draw_frame code is executed, making it slightly brighter than the rest of the array. I had always been hacking around it by iterating over a slightly longer array (x<=20 instead of x<=19, say) but that's the wrong answer. Dropping a "leds_off()" after the for loop ensures that all the LEDs are off when draw_frame exits, regardless of the brightness of the last element of the array.<br /><br />(one of those forehead slapping moments that I only discovered while tracking down another bug in my frame generation code.)Unknownhttps://www.blogger.com/profile/00262609854205267369noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-51614595037105094792013-02-06T12:12:13.783-06:002013-02-06T12:12:13.783-06:00Sounds cool, would enjoy seeing some photos of the...Sounds cool, would enjoy seeing some photos of the finished product.Anonymoushttps://www.blogger.com/profile/12825563829415706668noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-70737634189222449942013-02-05T23:08:54.732-06:002013-02-05T23:08:54.732-06:00Thanks for the sharing the schematic and code. Nic...Thanks for the sharing the schematic and code. Nice project. I used it to wire up a 20 led heart and animated the leds around it. Turned out pretty nice. 20 leds with only 5 i/o pins, sweet...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-9459754456246206952012-03-29T12:01:39.537-05:002012-03-29T12:01:39.537-05:00Awesome, glad to hear you're having some fun w...Awesome, glad to hear you're having some fun with the design. Sounds like a fun project.Anonymoushttps://www.blogger.com/profile/12825563829415706668noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-54387777380871799122012-03-29T11:15:41.938-05:002012-03-29T11:15:41.938-05:00Thanks for the inspiration! I used your schematic...Thanks for the inspiration! I used your schematic to help me figure out how to make a 4x5 breadboard charlieplex, and did some light conversion on your AVR code to get it running on my Arduino. The LINE_x defines and the DDRB and PORTB calls needed to be changed, more or less. It still needs some tweaking (it runs ridiculously fast and my resistors are unequal, so the display is uneven), but since it was built from parts I had on my workbench already, I'm happy with the results.Patrick Friedelnoreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-25458131188831840812011-10-11T15:56:37.044-05:002011-10-11T15:56:37.044-05:00Great project! Thanks for sharing!Great project! Thanks for sharing!Jeremy Saglimbenihttp://thecustomgeek.comnoreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-65957119590007809192011-02-08T12:05:34.634-06:002011-02-08T12:05:34.634-06:00nice!
I did come up with an idea a while back to e...nice!<br />I did come up with an idea a while back to extend a basic 2*4 grid to 6*6 by using capacitors and diodes to (briefly) power each diode string for just long enough to light up when powered from the existing pins on the 12F683.<br />Never got around to trying it though but it should work.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-37796817114003898092011-02-07T21:09:55.789-06:002011-02-07T21:09:55.789-06:00You never cease to amaze me!!!!!!!!
DadYou never cease to amaze me!!!!!!!!<br />Dadptbrandthttps://www.blogger.com/profile/09681472595284354966noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-2690317862154666922011-02-07T13:56:39.733-06:002011-02-07T13:56:39.733-06:00Thanks! Never tried SMD by hand, but a little grid...Thanks! Never tried SMD by hand, but a little grid of SMD LEDs could be fun.Anonymoushttps://www.blogger.com/profile/12825563829415706668noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-45973661309585631692011-02-07T13:51:41.310-06:002011-02-07T13:51:41.310-06:00Very nice board layout. I think you should make a ...Very nice board layout. I think you should make a high density SMD version.Branden Gunnhttps://www.blogger.com/profile/17819103799296916189noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-80105507209987452462011-02-07T13:49:37.814-06:002011-02-07T13:49:37.814-06:00Thanks JazzD, I haven't looked into driver ICs...Thanks JazzD, I haven't looked into driver ICs before. However, I don't know if components like this would be able to switch between high-output to ground-output to input like the IC does for charlieplexing. I assumed the current load would be low since technically only one LED is being lit at a time, but I haven't really analyzed/tested current flow.Anonymoushttps://www.blogger.com/profile/12825563829415706668noreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-67364328655527441702011-02-07T13:35:56.176-06:002011-02-07T13:35:56.176-06:00You're supposed to use transistors or driver I...You're supposed to use transistors or driver ICs like (ULN2803) to do this. I/O pins of this microcontroller are only supposed to drive about 40mA current! I'm saying this because bigger layouts may burn the chip :/.JazzDnoreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-43275562549187754462011-02-07T13:19:47.046-06:002011-02-07T13:19:47.046-06:00good job!
Regards Mavgood job!<br />Regards MavAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6552332434062924020.post-954167623954250512011-02-07T13:16:42.352-06:002011-02-07T13:16:42.352-06:00Excellent write-up and project! I was a bit miffed...Excellent write-up and project! I was a bit miffed as to getting started with the attiny85. Looking forward to seeing your future projects.Unknownhttps://www.blogger.com/profile/17442264002534844301noreply@blogger.com