ColorPAL hangs?
mpark
Posts: 1,305
I have a ColorPAL and a Prop demo board. I'm running the demo from the ColorPAL object in OBEX. It starts out OK, repeatedly showing a brief multi-colored burst followed by five seconds of solid color, but after a while it just gets stuck displaying the solid color.
I have two ColorPALs and they both hang eventually. Has anyone else encountered this? Is there a fix?
I have two ColorPALs and they both hang eventually. Has anyone else encountered this? Is there a fix?
Comments
Just so we're on the same page here, can you post an archive of the program that's giving you this behavior?
Thanks,
-Phil
I have the thing wired to the demo board's 5V, VSS, and P0. I also tried a 1k resistor instead of the direct connection from P0 to Sig, thinking maybe it needed a little level conversion (grasping at straws), but it didn't help.
I don't know if this is important, but it seems to take a long time to hang the first time, but subsequent hangs occur much more quickly. My impression, anyway.
I've had mine running constantly for a half hour now without it hanging. The only thing I could suggest might be to try a slightly lower baud rate, say 6500. You don't need the resistor, BTW. The ColorPAL never drives the I/O line high. It just gets pulled high by the AVR's internal pullups.
Meanwhile, I'll try to come up with a different demo program.
-Phil
-Phil
ColorPAL_vga_demo displays the colors the ColorPAL sees on a VGA screen.
Both are set for 7200 baud. Try them that way first; then, if they hang, you can always reduce it to 6500.
-Phil
(I only tried ColorPAL_sense.)
Say, any particular reason PAL is all-caps?
It was just an arbitrary stylistic decision, not any sort of acronym.
-Phil
I will fix the problems in the object, but I think Phil just has a better way of doing it.
I'm using two ColorPALs in an autonomous combat robot at Combots V this month. Thanks to you guys it will work much better.
http://www.youtube.com/watch?v=00EHdSygMYU
I am trying to make the blade stick out more. Hopefully it will do well at Combots this weekend.