|
|||||||
![]() |
Forum Index > Projects > LED Pegboard and Matrix Projects | ||
peggy 2.1 issues |
|||
| | | Printable Version |
|
lagomorph | ||||||||
|
I've recently finished a Peggy 2.1 that kinda works but it seems to lock up, freak out, and reset quite a bit. I have 625 red LEDs. I've tried powering from the 1A wall wart sold here as well as 3Ds with no noticeable difference. I measured current drain at about 350mA with the test program lighting all LEDs. Sometimes they'll all stay lit for a while but mostly they flash briefly over and over or most of one or two rows will light up brightly and stay that way. I noticed this also while testing as I was installing the LEDs row after row. I thought it might be because they were not all in even though I couldn't figure out why that would be the case. Apparently it wasn't the cause as they're all in now. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
The 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 H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
lagomorph | ||||||||
|
Thanks Windell. I'll look again at the solder joints. I don't think the problem is due to board flex because I noticed odd LED behavior even when I had only two rows of LEDs in. I've reseated the chips including the AVR and the pins looked fine. It's weird that the life sketch is pretty reliable but not the simple all LEDs on sketch. It almost seems like the LEDs are drawing too much current and are causing the AVR to do weird things. I guess not since others are certainly running the same setup with no problems. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
One thing that you can do is to "turn down" the LEDs to reduce the current and see if that helps. The big capacitor is there to help provide enough juice to drive the moderate current needed to turn all the LEDs on; if it's not seated correctly (or if backwards or otherwise broken) that could also be an issue. If you have a multimeter, you might also check to make sure that the system voltage isn't doing anything obviously funny. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Anonymous: lagomorph | ||||||||
|
Still not much progress. I resoldered the non-LED areas with no change. I reseated the chips. They are flush. I played with the pots. The pots were confusing me a bit because it looks like to add resistance you need to tighten vr1 and loosen vr2 because of how they are wired in. I can't say I noticed much of a difference in stability but they do dim and brighten the display. It's hard to say about improvement because the operation is so flaky. Sometimes it's hard to know if you changed something or are seeing more randomness. I certainly still get randomness even when the resistance is turned up pretty high. |
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
This is certainly atypical. When I've seen flakiness, it did not occur when the board was sitting still on its own. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
Okay, no luck there-- please e-mail me and I'll send it to you that way. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Anonymous: lagomorph | ||||||||
|
Thanks. I emailed you. Another oddity is that once I can get peggy2_minimal to light all LEDs it generally sits there nicely lit for quite a while. The top row is a little brighter than the rest but all other LEDs are consistently the same brightness. Getting it to light like that though generally requires a bunch of power off/power ons. Often on a power cycle it displays a sort of random pattern with a couple of lines moving from left to right in a predictable way. After a minute or so it sometimes lights all the LEDs and is relatively stable then. All LEDs will remain lit for many minutes. That doesn't seem right to me if it's a current issue. |
|
||||||||
|
|||||||||
|
Anonymous: lagomorph | ||||||||
|
Windell, |
|
||||||||
|
|||||||||
|
Windell | ||||||||
|
Okay-- that's useful data; it certainly gives a good alibi for your soldering work! Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
Anonymous: lagomorph | ||||||||
|
Sweet! I added a 2200uF 6.3V across Vcc and GND on the 168. That seemed to prevent me from programming (DOH!) but removing it, programming, then putting it back seems to work great. I am able to run peggy2_minimal reliably and it starts right up. In fact, the LEDs are now very uniform. I no longer have the slightly brighter top row. |
|
||||||||
|
|||||||||
|
lagomorph | ||||||||
|
Just to correct something I said earlier, the pots actually are wired to act the same way when turned the same direction. I wasn't following the board traces correctly when trying to figure out which way to turn them. I should have just watched the LEDs. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
Windell | ||||||||
|
I'm very glad that your board is working. Windell H. Oskay drwho(at)evilmadscientist.com http://www.evilmadscientist.com/ |
![]() Evil Scientist ![]() Status: offline
Registered: 06/15/06 |
||||||||
|
|||||||||
|
lagomorph | ||||||||
|
I'll see if I can find a similar cap laying around and replace it, the 1000uF one. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
lagomorph | ||||||||
|
Well, shoot. I don't think it's the 1000uF cap. I replaced it with the 2200uF 6.3V cap (closest value I had) that I was using across Vcc and GND on the 168 and it doesn't seem to change anything. I get the same erratic behavior as with the 1000uF. With the 1000uF back and the 2200uF across the 168 it's fine again. |
![]() Apprentice Status: offline
Registered: 04/24/09 |
||||||||
|
|||||||||
|
|
| All times are PDT. The time is now 04:06 AM. |
|
|
Octolively
Interactive LED kits
Meggy Jr RGB
LED matrix game
development kit.
Business-card sized
AVR target boards
Peggy 2
LED Pegboard kits