Owner manual

IR Range Sensor Reference Manual
www.digilentinc.com page 2 of 2
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
The following table lists the PmodCON3
header pins used with different Cerebot
boards.
Board
PmodCON3
Header Pins
Cerebot II JH 1-6 or 7-12
Cerebot 32MX4 JJ 1-6 or 7-12
JK 1-6
Cerebot 32MX7 JA 1-6 or 7-12
Cerebot MX3cK JE 8-12
Cerebot MX4cK JJ 1-6 or 7-12
JK 7-12
Cerebot MX7cK JA 1-6 or 7-12
Note: The Cerebot II uses servo connectors
S1-S8. The MX3cK PmodCON3 header J2
does not have an ADC pin, so only headers
J3-J5 have ADC channels tied to the IR
sensors.
Cerebot 32MX4 Sample Project
The following is the hardware configuration for
using the IR Range Sensor with a PmodCON3,
PmodRS232, and Cerebot 32MX4 board. The
code for this project can be downloaded from
the IR Range Sensor page at
www.digilentinc.com.
The IR sensor is connected to header J2 on
the PmodCON3. The PmodCON3 is then
connected to the Cerebot 32MX4 using Pmod
header JJ pins 1-6 (the top six pins of the
header). Pin 1 of the PmodCON3 needs to be
connected to pin 1 on the Cerebot 32MX4.
The Cerebot 32MX4 uses a 5V power supply.
The Pmod header has the Vcc power selector
jumper JPJ set in the VU setting; this connects
the Vcc pins on the Pmod header to the
boards’ external power supply. The
PmodCON3 has jumper JP1 set to the Vcc
position to draw power from the Vcc pins on
the Pmod header.
You could also use the J6 terminal block on
the PmodCON3 to supply power to the servo
power pins on the PmodCON3.
The PmodRS232 uses Pmod header JE pins
1-6 to send sampled data. Any serial port
monitor that displays hex data will work. In the
code, the UART is configured to send data at
57600 baud, 8 bits, 1 stop bit with no flow
control.