Troubleshooting
Inhaltsverzeichnis
Troubleshooting
Motors working correct?
Run the serial console (Arduino IDE: CTRL+SHIFT+M, 19200 Baud) and press 'd' and ENTER for menu. Then press '1' and ENTER to run the motor test.
Any unexpected sensor triggering?
Run the serial console (Arduino IDE: CTRL+SHIFT+M, 19200 Baud), and start the robot. Each time a sensor triggers, the counter of that sensor will increase. See description of each sensor are below. Now when your robot does something unexpected, have a look if any sensor counter increased to locate the problem.
Some sensor not triggering?
...
Bluetooth not connecting?
...
Console output
When the robot starts, it outputs something like this in the serial console:
START Ardumower rXXXX press... d for menu v to change console output (sensor counters, values, perimeter etc.)
In the Serial Console you got many Information about your Robot.
Here ist what it means :
--- Messages from the serial ---
t - time of current machine state (ms)
l - loop () - cycles per second
v - Verbose mode selected sensor (0 = counts / 1 = sensor values / 2 = sensor values)
- Current machine status (FORW, REV, ROLL etc.)
- After-home-drive? (1/0)
spd - control / speed motor: left (PWM), right (PWM), mower (speed)
sen - current timeout counter engine: left, right, Mower
bum - Bumpercounter: left, right
son - ultrasonic distance-below: counter
pit / roll - inclination (calculated with Accel sensor)
com - Compass Course
by - inductive loop detector: counter
bat - Battery voltage
chg - charging current
--- Menu Konsole ---
'd': menu for testing, adjust IMU, Bluetooth
'v': monitorMode (show Value not Counter
'h': drive home
'p': track perimeter
'l': simulate left bumper
'r': simulate right bumper
's': simulate lawn sensor
'm': toggle mower motor
'c': simulate charging
'+': rotate 90 degrees
'-': rotate 90 degrees
'3': activate model RC
'0': OFF
'1': Automode motorMowEnable