Alex's ardumower - My DIY ardumower modification

Hi,
Tried adding the false statement to the code but the readings don't change:

Readings using ADCMan library:

Battery Pin Value Read A3: 127 -- Reading when 3S Lipo (12V) is connected. Maximum read value is still 127
Battery Voltage Calculated: 3.14
Rain Pin Value Read A1: 127 -- Rain sensor Pin also always reads 127..
*******************************
Battery Pin Value Read A3: 41 -- Reading when 3S Lipo is disconnected
Battery Voltage Calculated: 1.01
Rain Pin Value Read A1: 127
*******************************

Here are the readings using the analogRead() function:

Battery Pin Value: 533
Battery Voltage: 13.17
Rain Pin Value: 1018
*******************************

If anyone knows why the ADCMan is being capped at 127 that would be great to know.
Thanks
Phil.
 
what I see in the original SW is :

To read a value is used :
return ADCMan.read(pinBatteryVoltage);

in the setup is :
ADCMan.init();
ADCMan.setCapture(pinBatteryVoltage, 1, false);

and also calibration must be done
ADCMan.calibrate();

and in the main loop is
ADCMan.run();

Alex
 
Hi Alex, Pls which type of drive and mowing motors did you use in your last Ardumower version? Are you OK with drive motors and are they more quiet than Pollin´s GMPD/404980-1?
 
Back to work :)
In last months I was busy with other tasks, so new version "Black Pearl" isn't still finished so I did a decision to implement bumper as in commercial mowers into cover.
What does it mean ? Cover of the mower can move in all directions and when mower will touch a obstacle, cover will switch a microswitch.
No additional bumper duino or any other components as on my old mower version.
Pictures I will send soon.
Alex
 
Oben