That fixed it however there is a 2 second delay from last known position till the motors quit
Want a fast Dead Man ??
replace
long deadManInterval = 1100; // interval between Dead Man checks (milliseconds)
by
long deadManInterval = 550; // interval between Dead Man checks (milliseconds)
Want it faster ?? just let me know
I am really happy how this is progressing . I can't wait till my telemetry parts come in
Let me know the actual resistors values as soon as you receive them
You can get them right away at your local RadioShack
Before actually connecting to Arduino board, check voltage with a DVM
should 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 connected
Upload and run AndroTest_Servo_fullspool V1.3
Battery level should be displayed with two decimal digits in DataField #1
Let me have a video including phone screen
hi... i am new .... i have 1 arduino uno ent 1 motor shield adafruit motor / stepper /servo shield... ent 1 adafruit servo shield...
how to conect the shield adafruit whith rover 5 robot platform? sory for the bad english i am greek ent i don know veri good english... pliz foto how conect the shield whith rover ent how conect the ultra sonic sensor whith arduino?
Sorry odin25, I have no experience with those shields.
May be somebody will jump in for additional information
I suggest to raise the question on the Adafruit website
Before actually connecting to Arduino board, check voltage with a DVM
should 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 connected
Upload and run AndroTest_Servo_fullspool V1.3
Battery level should be displayed with two decimal digits in DataField #1
Let me have a video including phone screen
Thank you for the suggestions, I understand the hardware side no problem it's the software side that confuses me.
I built the circuit and at 11.7 Vin I get 3.8Vout , on full charge lipo I get 12.3 Vin and 4.1 Vout so we are with in range for a 3S Lipo battery. I will load the sketch and make a video tomorrow but in the mean time can you explain to me how it's working in the program? I don't understand the formula.
On a side note , I made a new video showing the real time voltage display. I will do further testing tonight and tomorrow but everything looks good so far .
That sounds like an excellent idea for button #2 ! I will adjust the app to remove buttons soon, Im spending more time reading then seeing what the app is capable of
Is the app open source ? I didnt see an apk posted anywhere. It would cool if we could adjust background graphics and move the data fields around.
Thank you for helping me kas, I am very grateful and have learned so much.
I noticed when I power up the arduino board the AUX servo twitches 1 time . Do you know what causes this ?
Most hobby servo's have this problem
Have a look here
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.
In 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
kas:
Most hobby servo's have this problem
Have a look here
In 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 learning more and more everyday. I am glad there are people like you to help out us dreamers.
I tried moving the coding around and also deleting myservoA.write(90) , none of the options worked
no surprise, please remove modifications
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?
:o :o :o (surprised)
No, rover shouldn't move when stick is 0.0
I double checked code, everything seems OK
Please check again on your side
also confirm that datafield #3 does display "Turbo " when pressing button #2
EDIT: also check ESC calibration (zero fine tuning)
I am glad there are people like you to help out us dreamers.