The deadman works perfect, thanks
finally Battery monitoringPlease make sure you understand what you are doing, both on the hard and software sidesYou may google for "voltage divider" "arduino"solder the three 4.7K resistors in seriesconnect both ends to battery <+> and <->connect analog input A0 as per drawing 4.7K 4.7K 4.7K<+> ----/\/\/\---/\/\/\-|-/\/\/\---- <-> | A0Before actually connecting to Arduino board, check voltage with a DVMshould read 4 to 4.5 Volts (not 8 to 9V )I don't know your setup, if you have more than one power supply, make sure that grounds are connectedUpload and run AndroTest_Servo_fullspool V1.3Battery level should be displayed with two decimal digits in DataField #1Let me have a video including phone screen
but in the mean time can you explain to me how it's working in the program? I don't understand the formula.
That sounds like an excellent idea for button #2 !
Is the app open source ?
Joystick BT Commander (free App) is the base of Total RC Commander (paid App)The App is not open source for the moment
I noticed when I power up the arduino board the AUX servo twitches 1 time . Do you know what causes this ?
Well it's not because of anything your are doing or not doing. Here is the problem, typical hobby servos are designed such that anytime they are powered up they need to be receiving a continuous and valid position control pulse. A servo that has DC power on but no position control pulse being received, is in a undefined state and no assumptions can or should be made as to what behavior the servo should exhibit while you either hold down reset switch. Once you send a valid servo.write command to the servo, the servo library code automatically keeps sending that same position output command at a standard servo update rate, around every 20ms ... If it important to try and eliminate this behavior then you need to think about about possible solutions. One possible method might be to have the power wired to your servo be controlled on and off by your sketch via an output pin controlling a relay which would then route power on or off to the servo. That way your servo can be set-up in software first and then turn on the digital output to switch power to the servo.
Most hobby servo's have this problemHave a look hereIn setup, try moving myservoA.write(90); just below myservoA.attach(pinServo_A);You may also drop myservoA.write(90);, but it may not be safe
I tried moving the coding around and also deleting myservoA.write(90) , none of the options worked
I also tried the turbo button but when I hit button 2 the rover just takes off by its self with no stick movement. Is this how you design the program? or should I be expecting something different?
I am glad there are people like you to help out us dreamers.