Discuss Scratch
- Discussion Forums
- » Connecting to the Physical World
- » Rs-Pi-9685-23x17 controler with continuous servo
- RampRabbit
-
3 posts
Rs-Pi-9685-23x17 controler with continuous servo
I am new to scratch and I am trying to use it to control a bot I want to build, before I do I want to get to grips with the control side first.
my problem is with Raspberry Pi and Rs-Pi-9685-23x17 controller from Pridopia, when I plug in either of my continuous servos they turn with out stopping even before software has had time to boot.
when I plug the same servo's into my rc nitro truck controller I can control how fast the servo turn and which direction obviously they keep turning when I move the control stick but when the stick goes back to middle the servo stops.
how do I do this with Scratch.
I have managed to control standard servo with scratch when I enable mesh etc but a bot using an angular servo isn't going to travel very far is it?
any help will be greatly appreciated.
thank you in advance.
My plans are…..
1 get to grips with basic bot control
2 then in stages do it over wifi then web then if it is possible ..3G
my problem is with Raspberry Pi and Rs-Pi-9685-23x17 controller from Pridopia, when I plug in either of my continuous servos they turn with out stopping even before software has had time to boot.
when I plug the same servo's into my rc nitro truck controller I can control how fast the servo turn and which direction obviously they keep turning when I move the control stick but when the stick goes back to middle the servo stops.
how do I do this with Scratch.
I have managed to control standard servo with scratch when I enable mesh etc but a bot using an angular servo isn't going to travel very far is it?
any help will be greatly appreciated.
thank you in advance.
My plans are…..
1 get to grips with basic bot control
2 then in stages do it over wifi then web then if it is possible ..3G
- SimpleScratch
-
500+ posts
Rs-Pi-9685-23x17 controler with continuous servo
My understanding of continuous servos is that instead of moving to an angle based on the pulse width sent to them, they change the speed at which they turn. I have managed to control standard servo with scratch when I enable mesh etc but a bot using an angular servo isn't going to travel very far is it?
Other than that, they are the same device.
So if you can control a normal servo to move to various angles then exactly the same code should vary the speed of a continuous one.
You might getting better answers from Pridopia themselves over in the main Raspberry Pi forum
RPi
Simon
- RampRabbit
-
3 posts
Rs-Pi-9685-23x17 controler with continuous servo
thankyou for your response.My understanding of continuous servos is that instead of moving to an angle based on the pulse width sent to them, they change the speed at which they turn. I have managed to control standard servo with scratch when I enable mesh etc but a bot using an angular servo isn't going to travel very far is it?
Other than that, they are the same device.
So if you can control a normal servo to move to various angles then exactly the same code should vary the speed of a continuous one.
You might getting better answers from Pridopia themselves over in the main Raspberry Pi forum
RPi
Simon
I have had contact from Pridopia and they said they need to upate their software for continuous servo's.
You were correct in saying that the pwm signal controls their speed not angle.
They said I should get the latest update for standard servo and it does now give me control of the continuous servo but its a bit rough.
hopefully they get the update out this week.
cheers.
- floodcitypunk
-
1 post
Rs-Pi-9685-23x17 controler with continuous servo
I am new to the raspberry pi and Scratch. I have it setup so I can program leds to turn on and off so I know they communicate, however I have been pulling my hair out trying to get my Rs-Pi-9685-23x17 controller to talk to scratch over i2c. I have been using this site and the downloadable pdf file to figure it out (http://www.pridopia.co.uk/rs-pi-set-scratch.html). Does anyone know of an easier guide or something I could be doing wrong? I know that I can see my i2c address using i2cdetect -y 1. (its on address 40 and the examples in that pdf file use 41. I can successfully change the address on the 9685 and view the change with i2cdetect -y 1)
Hopefully someone can point me in the right direction. I'm feeling overwhelmed being new to all of this. I just want to tinker with some simple servos and robots
-Lew
Hopefully someone can point me in the right direction. I'm feeling overwhelmed being new to all of this. I just want to tinker with some simple servos and robots

-Lew
- Discussion Forums
- » Connecting to the Physical World
-
» Rs-Pi-9685-23x17 controler with continuous servo