Wireless Sensor Motor Control

Current Part:

LM317 Variable Regulator
PIC 18LF4520
Arduino UNO
Sharp IR Sensor
[2] XBee Modules
40 MHz Crystal
16x2 LCD Display
+3v Motor
1x 10uF Capacitors
Green LED
2x 100Ω Resistor
1kΩ Trimpot
10kΩ Resistor
[2] Breadboards
Jumper Wire
+9v Battery Connector

Parts List Details
           There are a lot of important parts in this project, so make sure you're more familiar with them by reading the details below.

PIC 18LF4520
           The PIC 18LF4520 will be part of the receiver system and depending upon the command it receives, it will drive the motor at a ceratin speed and light up a specific amount of LEDs (0 to 8).

Arduino UNO
           The role the Arduino UNO will play is that of the transmitter. Depending upon the voltage input from the IR sharp sensor, different commands will be sent to the receiver module through the XBee wireless interface. The 16x2 LCD will also echo the current command being sent.

Sharp IR Distance Sensor
           This sensor is the center-piece of this article. It outputs a specific analog voltage depending upon how far away an object is from the sensor.

XBee Wireless Modules
           A pair of XBee wireless modules will be used for adding a simple wireless interace component to the system we're building. Wireless means the sensor can be place wherever you need and the receiver as well without any need to connect the two systems together!

TIP42 Power BJT
           To provide enough current to the motor we need to use a power transistor. A PWM signal from the PIC will tell the power transistor when to turn the motor on and when to turn the motor off. The PWM's duty cycle will determine the speed the motor turns.

Breadboard and Jumper Wire
           We'll use a breadboard for building the circuit since everything is low frequency. Standard jumper wire will be used to connect the circuit together.