Fire Bird V ATMEGA2560 Hardware Manual
7.5.3 Commands to access the Analog sensor data:
Command
(HEX)
Data
60
Battery voltage
Robot sends back 8 bit battery voltage value. To convert this
value in to volts use the following conversion formula for 8 bit
ADC resolution: Battery Voltage = ADC data x 0.069
62
Front Sharp IR range sensor data (Front distance)
The Robot will return 8 bit value which indicates distance
between the obstacle and front Sharp sensor.
63
Sharp IR range sensor 2 data
The Robot will return 8 bit value which indicates distance
between the obstacle and Sharp sensor.
64
White line sensor 1 (Left)
The Robot will return an 8 bit analog value of the left white line
sensor
65
White line sensor 2 (Center)
The Robot will return an 8 bit analog value of the center white
line sensor
66
White line sensor 3 (Right)
The Robot will return an 8 bit analog value of the right white
line sensor
67
Sharp IR range sensor 4 data
The Robot will return 8 bit value which indicates distance
between the obstacle and Sharp sensor.
C1
IR Proximity sensor 1
The Robot will return an 8 bit analog value of the IR Proximity
sensor 1
C2
IR Proximity sensor 2
The Robot will return an 8 bit analog value of the IR Proximity
sensor 2
C3
IR Proximity sensor 3
The Robot will return an 8 bit analog value of the IR Proximity
sensor 3
C4
IR Proximity sensor 4
The Robot will return an 8 bit analog value of the IR Proximity
sensor 4
C5
IR Proximity sensor 5
The Robot will return an 8 bit analog value of the IR Proximity
sensor 5
C6
IR Proximity sensor 6
The Robot will return an 8 bit analog value of the IR Proximity
sensor 6
© NEX Robotics Pvt. Ltd. and ERTS Lab, CSE, IIT Bombay, INDIA 118