Hello at all
After a loooong time i start a new project with a new Phoenix.
The assemble was pretty easy, even the electronics gave me no problems …
after that it went to the program … and now came the problems …
I loaded the code guide (github.com/Lynxmotion/3DOF-4DOF … tboarduino), made everything as in the instructions described and IT WORKS NOTHING!!
The robot will beep only, no servo works …
I have checked everything (including parts replaced) but it must be at the code …
has anyone of you a working code for the robot??
please help me … I am despair …: (
Sounds like standard issue.
The code was setup to use the SSC-32 in binary mode, which is only supported by some of the newer firmwares. It was done at the time as the default firmware for the SSC-32 was going to ship with the new firmware which never happened.
This has hit many times. Look at some of the posts int he thread: viewtopic.php?f=8&t=9190&start=75
Fixes are easy:
Update the firmware in the SSC-32 to a version that supports this. Something like 2.07EGP, that you can download from lynxmotion.com/p-395-ssc-32- … oller.aspx
Turn off binary mode:
In the Hex_cfg.h file turn off binary mode, by commenting out the line: #define cSSC_BINARYMODE
Note: Unless things have been fixed, there will be a compile error, with ServoMoveTime not defined. There was a fix that never was picked up. Change that variable name into wMoveTime
Hopefully that will solve your problem
Kurt
Thank you for your fast answer!
i do what you write… somethigs are better but now I have a new problem. the beep is gone now! juhuuu
but unfortunately now tremble servos … they move too, but tremble in peace without end position … (previously has moved nothing).
Then comes the next set of questions/suggestions:
Power, Power…
Wiring? What pin is connected to what… Battery(ies) - Are you using one or two batteries. Separate power for VS and VL? Batteries have a charge?
Are you using a PS2? Which one? Lynxmotion V1/2/3?
If you have V3 of Lynxmotion Ps2, there were some issues getting it to work properly. I was able to get it to work with default pins, by removing the JA/JB/JC jumpers, plus I updated the timeout delays in the PS2X library. I have a fork up at: github.com/KurtE/Arduino-PS2X
Not, sure if Lynxmotion picked this change up yet or not.
Personally I prefer running with my version of the software… Up in the quad support branch.
github.com/KurtE/Arduino_Phoeni … ad-Support
This is a bit more tricky to set up, hopefully the readme helps now. But assuming it is installed properly, you can find a configuration project for the Phoenix using PS2 as an Example under Phoenix. With my code base, you may have enough memory to configure in the Terminal Monitor and also my servo offset mode. Again more details in the readme on the project. But what is nice here is having it hooked up to Serial monitor, you can tell it to go from one servo to the next, where it will move the servo up and down once and tell you it’s logical name (and current servo offset). I often use this to verify I have the right thing connected to the right pin and the servos are all moving OK… (Best to have robot up on blocks).
Again I always go back to number one issue. Power, Power, Power
Again hope this helps
I think that BotBoarduino cut has the servo offset mode in it as well. Great utility!
Alan KM6VV