FWD Skill Zone
  • home
  • Power
    • Breadboard Power Supply
    • Variable Power Supply
    • DC to DC Boost Converter
  • Robotics
    • Braccio Robotic Arm
    • Voice-activated robotic arm
    • Smart Robot Car
  • Electronics
    • Arduino 101
    • Arduino 102
    • Arduino 103
    • Short Range Radar System
  • 3D print
  • VHDL
    • Intro to VHDL
    • 2 to 4 Binary Decoder
    • 3 to 8 Binary Decoder
    • Universal Shift Register
  • Verilog
    • Intro to Verilog
    • Verilog Construction
    • Verilog Examples
  • Machine Learning
    • Deep Learning
    • Transfer Learning
  • Contact us
  • home
  • Power
    • Breadboard Power Supply
    • Variable Power Supply
    • DC to DC Boost Converter
  • Robotics
    • Braccio Robotic Arm
    • Voice-activated robotic arm
    • Smart Robot Car
  • Electronics
    • Arduino 101
    • Arduino 102
    • Arduino 103
    • Short Range Radar System
  • 3D print
  • VHDL
    • Intro to VHDL
    • 2 to 4 Binary Decoder
    • 3 to 8 Binary Decoder
    • Universal Shift Register
  • Verilog
    • Intro to Verilog
    • Verilog Construction
    • Verilog Examples
  • Machine Learning
    • Deep Learning
    • Transfer Learning
  • Contact us
Picture

Short Range Radar System - MaxSonar

In this project, we will design and construct a Short Range- MaxSonar Radar System that will measure the distance from the front of the sensor to the nearby object. For this project, we need Ultrasonic range finder, Servo motor, Arduino UNO, and jumper wires. I have also used a motor shield, but it is optional. I have selected the MaxSonar EZ-1 range finder for the ultrasonic sensor because of its precision, and it comes with a verity of options to choose from. This sensor provides a very accurate reading of 0 to 255 inches (0 to 6.45m) in 1-inch increments with little or no dead zone! Software-wise, we need Arduino and Processing IDE. Both these IDE’s are opensource and can be downloaded from the internet for free.
EZ1 Maxsonar Ultrasonic Sensor
The MaxSonar EZ1 ultrasonic sensor is a single sensor device that operates in a free run mode. What this means is the sensor will continue to range until power is removed from the sensor. This is generally the easiest way to operate in a single sensor setup. The MaxSonar sensor can operate with a trigger signal, meaning, the sensor can be connected to a microcontroller, a computer, or anything else that is capable of  initializing the sensor to start a ranging cycle.
This ultrasonic sensor works in air for non-contact object detection within an area. This sensor is not affected by a color or other visual characteristics of the detected object. Ultrasonic sensors use high frequency sound to detect and localize objects in a variety of environments. Ultrasonic sensors measure the time of flight for sound that has been transmitted to and reflected back from nearby objects.  Based upon the time of flight, the sensor then outputs a range reading.
Picture
LV-MaxSonar-EZ1
Pin Out Description
Picture
LV-MaxSonar-EZ1 Pin Out
Pin 1-BW- * Leave open or hold low for serial output on the TX output. When BW pin is held high the TX output sends a pulse (instead of serial data), suitable for low noise chaining.
Pin 2-PW- This pin outputs a pulse width representation of range. The distance can be calculated using the scale factor of 147uS per inch.
Pin 3-AN- Outputs analog voltage with a scaling factor of (Vcc/512) per inch. A supply of 5V yields ~9.8mV/in. and 3.3V yields ~6.4mV/in. The output is buffered and corresponds to the most recent range data.
Pin 4-RX–  This pin is internally pulled high. The LV-MaxSonar-EZ will continually measure range and output if RX data is left unconnected or held high. If held low the sensor will stop ranging. Bring high for 20uS or more to command a range reading.
Pin 5-TX- When the *BW is open or held low, the TX output delivers asynchronous serial with an RS232 format, except voltages are 0-Vcc. The output is an ASCII capital “R”, followed by three ASCII character digits representing the range in inches up to a maximum of 255, followed by a carriage return (ASCII 13). The baud rate is 9600, 8 bits, no parity, with one stop bit. Although the voltage of 0-Vcc is outside the RS232 standard, most RS232 devices have sufficient margin to read 0-Vcc serial data. If standard voltage level RS232 is desired, invert, and connect an RS232 converter such as a MAX232. When BW pin is held high the TX output sends a single pulse, suitable for low noise chaining (no serial data).
Pin 6- Vcc (+5V)  - Operates on 2.5V - 5.5V. Recommended current capability of 3mA for 5V, and 2mA for 3V. Please reference page 4 for minimum operating voltage verses temperature information.
Sensor Minimum Distance and Range “0” Location
​The LV-MaxSonar-EZ reports the range to distant targets starting from the front of the sensor as shown in the diagram below. In general, the LV-MaxSonar-EZ will report the range to the leading edge of the closest detectable object. Target detection has been characterized in the sensor beam patterns.

Picture
The range is measured from the front of the MaxSonar.

​Circuit Diagram

  • home
  • Power
    • Breadboard Power Supply
    • Variable Power Supply
    • DC to DC Boost Converter
  • Robotics
    • Braccio Robotic Arm
    • Voice-activated robotic arm
    • Smart Robot Car
  • Electronics
    • Arduino 101
    • Arduino 102
    • Arduino 103
    • Short Range Radar System
  • 3D print
  • VHDL
    • Intro to VHDL
    • 2 to 4 Binary Decoder
    • 3 to 8 Binary Decoder
    • Universal Shift Register
  • Verilog
    • Intro to Verilog
    • Verilog Construction
    • Verilog Examples
  • Machine Learning
    • Deep Learning
    • Transfer Learning
  • Contact us