www.nexusrobot.com Robot Kits manual
23
void loop()
{
incomingByte = ((10485/(analogRead(ISRpin[0])+5))-4); //read the data from signal pin
Serial.println(incomingByte,DEC); // display
delay(500);
}
¾
External device modules
¾
Dual Ultrasonic Sensor (DUS)
¾
Introduction
DUS is based on RS485 interface. It allows a number of sensors working together. Up to 32 units may be
connected together in a RS485 network.
The ultrasonic sensor allows you to determine the exact distance of an obstacle in the sonar field of view.
The cleverness of your robot will depend on a sensitive sensor similar to the one bats use to know their
position and track prey. With advanced programming, you can design compensators in order to perfectly
control your motors according to the obstacle's distance.
Summary of Contents for Nexus Robot
Page 74: ...www nexusrobot com Robot Kits manual 70 Sample Wiring Diagram for RB004 2WD V2 0...
Page 92: ...www nexusrobot com Robot Kits manual 88 Diagram for Omni3WD_V1 0...
Page 96: ...www nexusrobot com Robot Kits manual 92 Diagram_Omni3WD_V3 3...
Page 118: ...www nexusrobot com Robot Kits manual 114 Sample Wiring Diagram for RB011 Mecanum 4WD V4 1...