Hi.
First of all I’m a beginner so I might lack informations.
I have a phoenix hexapod and a couple of questions.
All my coxa servos are running in the opposite direction when I connect to PEP. (the femur and the tibia are ok). How can I reverse the calculation in PEP?
I don’t have the Visual Sequencer (SEQ) and I want to write the EEPROM myself. How can I get the PWM result from PEP? (I know it is possible because the PEP can send that data to SSC32.
I tried to find the same issues on the forum with no results. If someone can give me a link it will also be ok.
It’s been years since I did anything with PEP so I’m a bit rusty here.
Do I understand you correctly that you have connected PEP to a working Phoenix hexapod with a SSC-32? You say the coxa servo turn to the opposite direction, just to be sure you are not mixing the direction of the robot front/rear?. What PEP version are you using? What kind of servos are you using (brand)? What pins are the servos connected to?
Take a look at the VB code in the Excel sheet. Open the SSC32com module and look for the CalculateAllPWM() sub. Here are the pwm values calculated, you can easily turn the direction by reversing the pwm value. Reversed pwm value = 3000- Old pwmvalue.
Yes, I connected the SSC32 to PEP. Only on the coxa I have the modelcraft RS-2. (the femur and the tibia are towardpro MG996R). I use PEP ver 2.02LMbeta. The coxa are on 0,4,8, 16,20,24. I know that the front of the model in excel is oriented to the floor . For example: when I move the rear left on the X-axis , the leg make moves on the Z-axis. The same for all coxa servo. The femur and tibia are ok. I made an excel sheet that converts degree in PWM and GP Sequencer format. There I multiply all coxa with (-1) …but I haven’t tested yet.
Hi Zenta,
For a rising PWM the RS-2 is CCW and Towerpro CW. I manage to reverse the calculation in your PEP excel. Thanks again. I’m working on calculation of PWM and code for EEPROM. It’s working . I have some issues with the calibration but I hope I will solve it.
To confirm - the brackets are Lynxmotion but the servos are TowerPro? Any issues with assembly?
Unfortunately we cannot test all servos in these robots, so it’s good to know if you have found one which is compatible with the SES brackets.
One of my servos has died, and I had to buy another. The surprise was to see that it moves in opposite direction than the other servos. I realized that the new one is a normal servo for PEP. So to save time I reversed the direction of rotation vs pwm just by reversing the wire inside the servo. I hope someone will need this information sometime and I hope to find it here http://i1187.photobucket.com/albums/z394/sorinpetrila/Hexapod%20Phoenix/bf814c7a-5319-489c-8fc9-5b9ac45d5b3e_zps86330ae8.jpg