Help my penguin!
I recieved my penguin kit yesterday. Assembled it and ... it doesn't work correctly. When running the autononmous navigation program, it moves a bit, beeps, and kinda just shudders in place. Placing a debug phrase at the top of the program and viewing the output shows that the board is constantly resetting.
I have ran the calibration and centering program numerous times.
I suspect it might be a servo power problem, as the program actually runs normally if I disconnect one of the servos. Doesn't matter which one. And it's not a problem with a tight mechanical fitting either. I have the body sitting with the legs removed, just oscillating their servo horns without load, and it still happens. Sometimes it'll run without resetting for about 4 seconds, but that's as long as it lasts. I've checked the ribbon cable dozens of times.
Even running the servo centering program and trying to turn both servos by hand with a light amount of force causes a reset (verified with debug).
I even bought new batteries, in case mine were duds ($14!). No difference. At least I've ruled that out.
Anybody else have this problem, and/or a possible fix?
By the way, the Penguin manual says that CR123 batteries are sometimes called N. I bought some N batteries at Radio Shack, but they're smaller and are only 1.5 volts. Are there two different N type batteries?
I have ran the calibration and centering program numerous times.
I suspect it might be a servo power problem, as the program actually runs normally if I disconnect one of the servos. Doesn't matter which one. And it's not a problem with a tight mechanical fitting either. I have the body sitting with the legs removed, just oscillating their servo horns without load, and it still happens. Sometimes it'll run without resetting for about 4 seconds, but that's as long as it lasts. I've checked the ribbon cable dozens of times.
Even running the servo centering program and trying to turn both servos by hand with a light amount of force causes a reset (verified with debug).
I even bought new batteries, in case mine were duds ($14!). No difference. At least I've ruled that out.
Anybody else have this problem, and/or a possible fix?
By the way, the Penguin manual says that CR123 batteries are sometimes called N. I bought some N batteries at Radio Shack, but they're smaller and are only 1.5 volts. Are there two different N type batteries?
Comments
Regardless of the size designation, the batteries you want are Lithium and are 3 volts each. If you are using 1.5 volt batteries, the Penguin is certainly not getting enough voltage. Sorry I can't help with your other questions, as I don't own a Penguin.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When all else fails, try inserting a new battery.
plugged in?
Can you test the servos with another device that uses servos?
Post Edited (humanoido) : 11/20/2008 2:14:34 AM GMT
I reattached the legs and used servo extension cables to attach the penguin to the spare outputs on my Lynxmotion 5DOF robot arm (an SSC-32 Servo control board) and ran Lynxmotion Visual Sequencer. Arm is powered by an AC adapter (6V .6A).
I've made walking routines before for a Lynxmotion BRAT, so I had a rough walk going in a few minutes. Great, but wierd to have a bird with an umbilical cord. In any event, no problems with the servos or mechanical systems.
Note that the Penguin circuit boards were not installed during this walking test.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
Would it be possible to test the penguin with an external power supply, like running wires from my BOE-bot, or using the AC adapter from my Lynxmotion arm? I thought of this earlier, but I'm not sure if the boards could handle the possibly higher current. I don't see any 5 volt regulator in the circuit diagram, and I don't want fried chicken penguin.
Using an external power supply would be a great start. It's possible you're getting a reset condition from the initial servo current draw.
Since you have a Boe-Bot, how about if you run the Boe-Bot's 4AA battery pack leads to the Penguin? Problem solved?
Ken Gracey
I did have an idea, though. I plugged the penguin servos (still on the servo extension cables) into the BOE-Bot's servo ports. I wrote a quick BS2 program to make the penguin walk crudely forward. No problems so far. I then used some wires and connected the CR123s to the BOE-Bot. Lo and behold, it walks and there's no reset!
I'm gonna tweak the program and see if it'll work on the Penguins' 2px chip. If that fails, there might be some glitch on one of the boards.
If anyone wants to see the wierd BOE-Bot-Penguin-CR123 wiring mess, I uploaded the pic for fun.
Tried code directly on penguin board. Board is still resetting.
One of the servos finally stripped a gear. Couldn't repair. Ordered new servos from Parallax.
In the meantime, tested the Penguin board with standard size servos (Hitec 422 type). Works without problem. Of course, those won't fit in my penguin.
Today, some stuff I ordered from Lynxmotion came, including two micro servos for another project. Tried them in the Penguin board (they won't fit in the actual body, so they have no load.) It resets.
Hooked up the CR123s to the BOE-Bot again. My test program drives the micro servos on the BOE-Bot without a problem.
Now here's the neat part: I turned on both the BOE-Bot and the Penguin as a test, so that I'm driving both the Boe-Bot and the Penguin board, as well as a pair of standard servos and a pair of micro servos, off a single pair of CR123s. Both units are running my test program. With micros on penguin and standard on BOE-Bot, the penguin resets and BOE-Bot does fine. If the micros are on BOE-Bot and standards are on Penguin, everything works flawlessly.
I'm going to try to see if there's some sort of weak solder joint or something on the penguin board, but I'm not sure how much I can do without voiding any sort of warrenty. Not even 100% sure that's the problem.
Any advice, thoughts, or suggestions? Anything is appreciated.
Contact me offline kgracey@parallax.com and I'll get you a new Penguin board. You've got enough time into this one and it's possible that this board slipped through a test procedure. All I can imagine is that the power supply tolerances are loose enough to cause a reset. I'll send you an extra servo, too.
Ken Gracey
Parallax, Inc
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..