Propeller powers down on its own
GenRev
Posts: 9
After using the propeller chip after a couple weeks, it began to power down on its own.· Initially, it would stay on for up to five minutes before powering down.· The time kept decreasing so that now it stays on for only about one second.· If I download the program to the·EEPROM, the propeller keeps rebooting itself.· The circuit consists of several LEDs.· Each LED initially had a corresponding 48ohm resister, which resulted in a calculated and measured source amperage of 22 milliamps (below the maximum 30 milliamps per pin).· At most only two LEDs would be powered simultaneously on each set of 8 pins (below the maximum 100 milliamps per set of 8 pins).· I replaced all the 48ohm resisters with 220ohm resisters, which did not fix the issue.· A new 9-volt battery did not fix the problem either.
I downloaded a different program that simply·powers only one LED.· As before, the LED stays on for about one second, then the propeller chip powers down (Yes, I remembered to include the "repeat" command·at·the end of program).· I downloaded yet another program that toggles each LED on for a fraction of a second in a chase pattern.· The propeller runs this program indefinitely without any issues.
I downloaded a different program that simply·powers only one LED.· As before, the LED stays on for about one second, then the propeller chip powers down (Yes, I remembered to include the "repeat" command·at·the end of program).· I downloaded yet another program that toggles each LED on for a fraction of a second in a chase pattern.· The propeller runs this program indefinitely without any issues.
Comments
-Phil
genrev
-Phil
Post your code that shows this error.
I had a similar issue that totally stumped me for hours..
Peter Jakacki here locally looked at the code for me and fixed it...
It had something to do with stack overflow .. it was spin related..
cheers
ron mel oz..
To answer a previous question, I'm running two cogs with plans to add more.
Great products and great customer service.· Thanks!
genrev
Post Edited (genrev) : 1/18/2008 2:57:45 PM GMT
Something you have to consider is that 9V batteries are one of the worst types of batteries to use for powering electronics, a "monster" capacity for the battery is somewhere between 500-600 mAh. This means an ordinary 9V has capacity between 300-500 mAh, assuming median lifetime, and assuming you are always running 2 LEDs, your battery will last on the order of 4 hours. Either get a AA to 9V battery pack (a battery pack you place 6 AA batteries into and on top is the 9V terminal), or switch to using a wall-wart.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.