Please select Into the mobile phone version | Continue to access the computer ver.
I would like to control Ronin-S from a Windows PC
6658 14 2020-2-10
Uploading and Loding Picture ...(0/1)
o(^-^)o
NimiFire
lvl.1

United States
Offline

Hi All,
I would like to control Ronin-S from a Windows PC.
All the examples that I have seen are via mobile apps, but I need to control and move the camera from an application that I have running on a PC with Windows.
Does anyone knows how to approach this subject?
Thanks,

2020-2-10
Use props
Yveske D
Captain
Belgium
Offline

You would need an SDK for that. We've been asking for that for almost 2 years now...
2020-2-10
Use props
NimiFire
lvl.1

United States
Offline

But isn't there a way to interact with the Ronin via a serial bus? I'm looking for example of someone connecting a serial bus to the Ronin. It can even be from an Arduino, that would be a good start.
2020-2-11
Use props
Yveske D
Captain
Belgium
Offline

You could do that, but motion is time based, not position based, with no feedback of the margin of error (overshoot/undershoot) at the point of destination.
This means you will be off by a fair margin for sequential movements or create some sort of feedback yourself.
But when you're getting at that point why use the Ronin at all and not just use 3 stepper motors?

Some things I've been looking into (but would rather like to avoid in favor of an SDK):
https://quadmeup.com/generate-s-bus-with-arduino-in-a-simple-way/
https://forum.arduino.cc/index.php?topic=99708.75
https://forum.dji.com/thread-167232-1-1.html
https://github.com/bolderflight/SBUS
https://os.mbed.com/users/Digixx/code/SBUS-Library_16channel/
https://www.antratek.be/can-bus-shield-v2
https://forum.dji.com/forum.php? ... D561%26typeid%3D561

2020-2-11
Use props
Yveske D
Captain
Belgium
Offline

NimiFire Posted at 2-11 10:47
But isn't there a way to interact with the Ronin via a serial bus? I'm looking for example of someone connecting a serial bus to the Ronin. It can even be from an Arduino, that would be a good start.

Any progress on your end or also waiting for an SDK?
2020-2-24
Use props
NimiFire
lvl.1

United States
Offline

Yveske D Posted at 2-24 11:11
Any progress on your end or also waiting for an SDK?


I'm actually trying the get the Focus Wheel, and then will try to connect via the S-BUS as some showed in their examples.
Have you considered that approach?
I wonder if there is an protocol description for that interface.
2020-2-24
Use props
Yveske D
Captain
Belgium
Offline

Haven't tried it because there is no feedback on the actual position of the Ronin, you only can run a motor a certain time and not a distance.
If you want repeatable/cumulative movement you will need to add some sort of feedback mechanism, which defeats the purpose of using the Ronin.
I could also make me a system with stepper motors, but I don't want to constantly move my camera from one system to the next.

Have a look at the first link for SBUS connection

2020-2-25
Use props
NimiFire
lvl.1

United States
Offline

Yveske D Posted at 2-25 02:07
Haven't tried it because there is no feedback on the actual position of the Ronin, you only can run a motor a certain time and not a distance.
If you want repeatable/cumulative movement you will need to add some sort of feedback mechanism, which defeats the purpose of using the Ronin.
I could also make me a system with stepper motors, but I don't want to constantly move my camera from one system to the next.

I will take a look at it for sure.. at  some stage I thought that because the Ronin can return to 0 position that it meant also it could position itself at any spot, but that is clearly not the case.
A feedback in that case of using the serial bus, would have to be some tracking mechanism maybe even using the video feed of the camera.. this seems a significant effort though.
Can you give an example of stepper motor system? does it also reach speeds of 360 degrees per/sec?
I'll probably get the wheel and the arduino next week, and I'll give it a try.
Thanks..
2020-2-25
Use props
Yveske D
Captain
Belgium
Offline

Through the DJI App you can position the Ronin on a specific point using track mode, but it has only a capacity of 10 points, no loop mode and no way of syncing outside the app.
I really would like to have an SDK in order to have more points to perform more complex paths and to sync with a slider.

Have a look at https://www.thingiverse.com/thing:3375167 for a camera mount for use with stepper motors.
Most steppers have 200 step/rev, so you would need to generate 200 pulses per sec to get your 360°/sec.
You will however need a big stepper to overcome the inertia of the load during starts/stops at those speeds and maybe even use a stepper with rotary encoder (feedback).

2020-2-25
Use props
Yveske D
Captain
Belgium
Offline

Some video about rotary encoders with steppers
2020-2-26
Use props
Yveske D
Captain
Belgium
Offline

Any progress?
2020-3-13
Use props
NimiFire
lvl.1

United States
Offline

Thanks for checking.
We got some arduino kits and were able to control and move it with a little joystick, a friend at work did some work on that based on the "https://forum.dji.com/thread-167232-1-1.html". of-course the PC part will be easy now. The hard part would be to have a control loop. I'm thinking currently maybe to use a gyro or even input from the mounted camera... any experience with that?
2020-3-14
Use props
Yveske D
Captain
Belgium
Offline

No hands on experience, but I've been looking around on youtube for tidbits I maybe could incorporate into the project if DJI won't release the long overdue SDK
I didn't follow his classes on that subject yet (skimmed parts of it) as it needs a high dose of commitment
2020-3-14
Use props
Yveske D
Captain
Belgium
Offline

Giving up on DJI and started the course on the Jetson Nano !!!
2020-8-10
Use props
paloj
lvl.1
Finland
Offline

Does anyone know how to send the re-center/return home command to Ronin S via Sbus? I got the pan tilt and roll working. I use Arduino Nano every + inverter to send the commands. Using sbus library If I want to turn left I send number < 1023 to CH1 and right > 1023 to CH1 etc. and that works fine but I have no idea how to send the recenter command. I have tried sending values 0-2048 to channels 5,6 and 7 and toggling the values back and forth (imitating the trigger douplecklick) but nothing happens.
2021-3-12
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules