I have a question that I think is verry simple for you guys.
But I have a cablecam that is powered by a dc motor.
And controled by a rc reciever, and then of course a esc (syren 50)
What I want to have is a automatic end stop.
I would like to set a A and B point directly from the rc transmitter.
That will be my safety stop points of the travel on cable.
And if i for exemple hits end point B it will stop and i cant go any furture in that direction, only to the opposite and vice versa.
I guess i need some kind of encoder that i can attach on either the motor shaft or one of the cable wheels so it can measure the travel distance.
But what kind of controller between the rc reciever and the ESC that can collect all this information both from the reciever and the encoders?
And how do I connect all there pieces to make it work?
You’re on the right track - you would need a microcontroller to read the encoder and communicate with the motor controller. robotshop.com/en/microcontrollers.html
Encoder -> Microcontroller -> Motor Controller -> Motor
the problem is that i cablecam i wireless, the drive unit itself is on the dolly. so i cant have any physical limit switches.
It has to be some kind of encoders that is counting the turns of the drive wheel, that calculates the distans of travel.
So what kind of microcontoller do I have to buy?
And is it difficult to set it up, the output is pmw from the futaba reciver.
If you are new to programming, you might consider something Arduino-based.
There is a lot of code you could copy / paste / adapt. robotshop.com/en/arduino-mic … oller.html