You are here

Cannot get any PPM signals from Arduino. Or is it just the VESC tool?

5 posts / 0 new
Last post
MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15
Cannot get any PPM signals from Arduino. Or is it just the VESC tool?

I am trying for days now to get my remote to throttle the motor. The remote is paired to an Arduino and that outputs the PPM signal. I know this part works because I connected  a servo instead of the VESC and that works flawless. But when I connect the VESC, nothing happens. There are no values that I can read from the app, and it also doesn´t start the motor. I connected GND and Signal from the VESC to GND and the PPM output pin from the Arduino. There are 10k Ohm resistors in both lines to avoid any current from going through. Otherwise, the VESC powers my Arduino over the signal cable. 

Please help. I am close to finishing my electric hydrofoil if I can only get this VESC 6.4 to to work. 

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

https://youtu.be/xz4k2G3NhTQ

Here is a video of the current situation. 

TheFallen
Offline
Last seen: 9 months 4 weeks ago
VESC Original
Joined: 2017-09-11 11:46
Posts: 222

Wait, you've got a 10k in the GND connection? Even 10k in the signal line seems rather excessive, I could understand 100 Ohm even 1,000 Ohm but 10,000 Ohm, how much voltage are to expecting to sink between microcontroller? 200V?

I'd just get rid of both resistors, connect the Arduino directly to the VESC, see if that works.

MaxMaker1
Offline
Last seen: 4 years 3 weeks ago
Joined: 2018-05-07 01:29
Posts: 15

If I do that, which I tried, it powers the Arduino even if I turn off the Arduinos Vin. 10k is what I had lying around. 

tuloski
Offline
Last seen: 5 years 6 months ago
Joined: 2018-09-11 11:53
Posts: 12

Go into App settings-->PPM-->Mapping, then press the RT APP button on the right toolbar and you should see the PPM read by VESC.

Check that if you have set the "Safe start" with PPM, the motor will start only if the PPM was at the lowest value set in mapping (Pulselength Start) when you turn on the VESC.