|
|||||||
![]() |
Forum Index > Projects > LED Pegboard and Matrix Projects | ||
peggy 2.1 issues |
|||
| | | Printable Version |
|
Anonymous: Willy | ||||||||
|
I've been meaning to post a similar? problem that I haven't been able to solve. I have a Peggy2 running with a atmega328. I have the entire board filled in with LEDs - all white with a blue border on the top and bottom. I know at one point after I finished it, it was working fine (I tested it after install each row of LEDs) - the minimal program was lighting up perfect. Since then I've download and installed many of the other demo programs. |
|
||||||||
|
|||||||||
|
willy | ||||||||
|
Meant to say that 16level seems to work okay (but still flashes after a while) but GrayTest doesn't work at all. Since my last post, I have tried reseating all of the chips - didn't see any bent pins. I also reheated the connections for electrolytic capactior and the two small ones near it just to make sure the connection was a good one. |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Willy, Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
willy | ||||||||
|
Sorry about that. I've been running exclusively off the 5V power supply that came with Peggy. I didn't bother installing the battery holder because I found a perfect spot on the wall for it and it is directly above an outlet. By the way, I've running cube now for over a half hour and no flashes so it definitely seems to be related to how many led's are in use. I've also used life and haven't noticed it flashing either. Bugs me that minimal isn't working as I know for sure it was after I finished putting Peggy together. |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
willy | ||||||||
|
Sorry about that. I've been running exclusively off the 5V power supply that came with Peggy. I didn't bother installing the battery holder because I found a perfect spot on the wall for it and it is directly above an outlet. By the way, I've running cube now for over a half hour and no flashes so it definitely seems to be related to how many led's are in use. I've also used life and haven't noticed it flashing either. Bugs me that minimal isn't working as I know for sure it was after I finished putting Peggy together. |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
willy | ||||||||
|
Update: |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Okay, I've been able to reproduce the problem-- or part of it at least-- under certain circumstances. With a fully loaded Peggy 2.1, brightness at max, on the standard 5V power supply, using "peggy2_minimal," one of our boards freezes in reset, with one or two rows fully bright and essentially no response. I did not have any trouble reprogramming it under these conditions, but it was not interested in displaying that program. Other programs that don't have as many LEDs on at once seemed to be working just fine. What I found was that adding a 10 uF capacitor across the power supply (vcc - gnd) at the power supply pins on the left side of the microcontroller fixed the problem-- the peggy2_minimal program seems to run fine and there was not any difficulty in reprogramming it or displaying other programs. I suspect that desoldering and moving the 1000 uF cap to that side of the board would also fix the problem, which appears to be one of very brief voltage dropouts below the brownout threshold of the AVR, when running at high current. There may be other solutions as well. Barring other suggestions, we'll adding an extra cap to our kits soon. In the mean time, if anyone with a Peggy 2.1 kit is experiencing problems like this, please contact us through the Evil Mad Science contact form, and we can send you a cap to add to your board. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
willy | ||||||||
|
I'm fine with lowering the brightness - I can barely tell the difference between what it looks like now and what it was before. I'm confused why the 328 seems to cause problems with minimal but not the 168. Do you think that adding the capacitor would allow my 328 to work as well. The 328 did seem to program okay but it just wouldn't run minimal. When I replaced it with the 168 then minimal worked fine. I'd love to have the extra memory but frankly I'm just happy that everything is working again! |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
I'm not sure what the issue is with '328, so I don't know if it would or would not be fixed by the cap. I suggest that you do request a cap from us, so that your board will *at least* work properly with the 168. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
willy | ||||||||
|
I will request the cap and try it out but actually since turning down the brightness with the pots, everything is working fine with the 168. I am still having a problem running minimal from the 328 (I don't know if the upload isn't working or if its just not running properly). I swap out the 328 and put in the168, everything is good, I put the 328 back in and it still won't run minimal but does seem to run other software okay. I'll try out the cap and see if that fixes the issue with the 328. I was just wondering if this problem made any sense given the differences between the two chips. |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
lagomorph | ||||||||
|
I've placed a 10uF cap across VCC and GND on the 168 as suggested by Windell and my board seems to work fine. I also have no trouble programming it with that cap in place. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
willy | ||||||||
|
I'm going to try that as soon as the 10uf cap arrives - I ordered one through the contact form. Have you had any luck with the 328? I'm going to try again but I was having problems getting it to run the programs that use more LED's even with the brightness turned down. The 168 is working great now even without the cap. |
![]() Apprentice Status: offline
Registered: 04/22/09 |
||||||||
|
|||||||||
|
lagomorph | ||||||||
|
I don't have a 328 unfortunately. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
Anonymous: SUzB | ||||||||
Quote by: WindellThe behavior that you are seeing would all be explained by the board going into reset-- where the board goes black except for one or two lines (which go deadly bright) for a few seconds.
|
![]()
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
SUzB: Can you describe what the exact problem is, in some detail? If it's a soldering issue, we might be able to suggest where to look, and if it's otherwise, we might be able to suggest a different solution. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 03:33 AM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits