You are here

PPM with ADC

10 posts / 0 new
Last post
vufmihai
Offline
Last seen: 1 year 9 months ago
VESC Original
Joined: 2019-09-25 15:36
Posts: 14
PPM with ADC

Hello

Any chance you can add PPM with ADC input in the future?

Or if a custom firmware can be made

i built a custom power wheels for my son an i want to have ADC input set and override it with PPM for safety purposes

if that is not possible, how can i save both configurations of ppm and adc and just jump between them by bluetooth or a pfisical button 

now every time i want to change from ppm to adc or the other way around i have to do the input setup wizard evry time

Thank you

CTSchorsch
Offline
Last seen: 4 months 2 weeks ago
VESC Free
Joined: 2018-07-13 09:55
Posts: 101

Hi,

did you try to use the ble app to override the adc value from your son ? i think the ble (uart) has more priority

Regards

Georg

vufmihai
Offline
Last seen: 1 year 9 months ago
VESC Original
Joined: 2019-09-25 15:36
Posts: 14

yes i tried but it dosent have enough range

and on ppm i can control the front disc brakes and the stearing

it woud be nice atleast if i can store the setup for ppm and adc and jump from them on bluetooth like the speed limit profiles

vufmihai
Offline
Last seen: 1 year 9 months ago
VESC Original
Joined: 2019-09-25 15:36
Posts: 14

Nobody can help me?

frank
Offline
Last seen: 1 day 4 hours ago
VESC BronzeVESC FreeVESC GoldVESC OriginalVESC PlatinumVESC Silver
Joined: 2016-12-27 20:19
Posts: 847

Currently you can only use one App at a time. Either ADC or PPM or UART. 

vufmihai
Offline
Last seen: 1 year 9 months ago
VESC Original
Joined: 2019-09-25 15:36
Posts: 14

I know what i ca use now

I will connect a servo motor to the throtle and brake to controll the car remotely

The other problem i have is that i dont know how to connect rhe reverse button when i use uart with adc i am using a flipsky 6.6 dual plus

vufmihai
Offline
Last seen: 1 year 9 months ago
VESC Original
Joined: 2019-09-25 15:36
Posts: 14

I know what i ca use now

I will connect a servo motor to the trothle and brake to control the car remotely

The other problem i have is that i dont know how to connect rhe reverse button when i use uart with adc i am using a flipsky 6.6 dual plus

ems23
Offline
Last seen: 2 years 3 weeks ago
Joined: 2019-08-28 13:25
Posts: 2

Hey @vufmihai,

I am doing the same thing! I want PPM to override ADC value.

(Controll my son's car via a remote I have from my FPV drone controller)

How did you end up solving this? 

 

vufmihai
Offline
Last seen: 1 year 9 months ago
VESC Original
Joined: 2019-09-25 15:36
Posts: 14

hello

i manage to solve this by using my receiver to control 2 servo motors

one servo has to steel wires connected to brake pedal and throttle pedal

when i press to accelerate it realeses the brake pedal and accelerates

and the other servo controles the reverse switch

in this way my son can drive the go cart and i can supervise with access to the brake if neded

i also have a steering servo 

 

this is my sons go kart

still work in progress

https://www.youtube.com/watch?v=O7-Z1RSJmNI

 

i am stuck connecting the uart bluetoth. i cant make the reverse button work

 

getinthebag
Offline
Last seen: 2 months 1 day ago
VESC Free
Joined: 2018-12-16 02:51
Posts: 3

I have done a similar thing to a little kids speed boat that can be controlled internally or externally via a remote.

The VESC is set up on a ppm input that is either directly fed from a remote control receiver, or emulated using an Arduino and potentiometers.

I've been used a third channel on the remote to flick between the two. This third channel goes into the same Arduino and if a certain ppm signal is detected (i.e 3rd channel activated) a 5v output triggers some logic gate ICS to switch between either the Arduino ppm or the RC ppm

With this is I have a fair bit of noise on the Arduino ppm at the moment because of the potentiometers, the VESC can filter out this noise fine but the servo jitters. My solution is to probably move to Hal sensors rather than potentiometers in the near future.

Hopefully this makes sense and can help somebody.

If anyone needs the Arduino code etc. I can pass it on.