The Bingo RC Designs Ultrasonic Clip Zone Sensor is a device that can indicate the position of an RC Drift Car as it passes through points within a drift track clip zone by illuminating up to 8 LEDs. As a car passes through a clip point, the LEDs on the device light up based on the depth of the car in the zone. When the car is at the outer edge of the zone, a single red LED lights up, as it gets closer to the back of the zone, additional LEDs light up, first orange, yellow, and then green. If the car passes through the deepest part of the zone, all 8 LEDs will light up as green.
The sensing range can be adjusted. The default nearest range is 100mm and the default farthest is 300mm (the sensing range can be greatly extended if desired). A variable offset is added to the nearest sensing range, controlled by a potentiometer, that adds 0-200mm to the closest sensing range.
This document assumes familiarity with the Arduino Nano programming, the listed add-on Arduino components, and 3D printing.
(Check out the Key City Drift Guard Rails, which work well with these Ultrasonic Sensors)
Build instructions:
- 3D print the .stl files. (the .stl files are in the .zip file below)
- Install the drift_ultrasonic_wled.ino program on the Arduino Nano (you will need to install the Adafruit_NeoPixel library). (drift_ultrasonic_wled.ino is in the .zip file below)
- Cut polycarbonate tube into 6” sections.
- Cut LED lights into sections of 8 LEDs, and solder a 3 wire connector to the LED strip.
- Attach the LED strip to led_support (use the adhesive strip on the back of the LEDs), and make sure the wires are toward the base of the support.
- Glue the support_clamp to the base of the support, bridging the wires. Insert into the polycarbonate tube (should fit snugly, no need to glue in place).
- Glue tube_cap to the top of the tube.
- Glue the led_socket to the top of the lid.
- Bend the connector leads on the Ultrasonic sensor about 90 degrees so they point down (this is to clear the lid on the box).
- Insert the Ultrasonic connector into the box, with the at the top. Hold in place with a small piece of foam (or you can hot glue, if you wish).
- Solder wire connectors to the Arduino Nano as described below. Several wires will need to be attached to +5V and Gnd. I used a pigtail wire and a wire nut to combine all the leads.
- Solder a matching 3 wire LED strip connector to the Arduino
- Solder a section of power wire to the Vin and Gnd of the Arduino Nano. Make it long enough to go out of the hole in the back of the box.
- Gather all the wires and feed them under the Ardunio and out the “back” (opposite of the USB connector).
- Insert the Arduino into the box and hold it in place using the lock_plate piece and a M3x8mm screws
- Attach the Potentiometer to the box using 2 M3x8mm screws
- Connect the wire leads to the Potentiometer and Ultrasonic sensor, Connect all the +5V and Gnd leads together.
- Feed the wires from the LED tube into the top of the led_socket and seat the LED tube into the socket.
- Connect the LED tube to the Arduino.
- Carefully fold up the wires and affix the lid on the box, with the LED tube opposite the Ultrasonic sensor. There is a hole in the lid for the potentiometer to protrude through and a smaller hold that provides access to the Arduino reset button. Attach using 4 M3x8mm screws.
- Attach a Low Voltage T Tap Wire Connector to the power lead. The “T” tap allows you to run multiple Ultrasonic sensors from one power adapter by simply tapping into a main power lead.
- Run a power lead from the 5V power adapter and clamp the T connector to it. The Ultrasonic sensor box should power up, and the LEDs should flash full green 3 times.
- Test the sensor by putting you hand in front of it and moving it back and forth. The LEDs should light based on the distance to your hand. Adjust the sensing distance by turning the Potentiometer.
- (optional)The 5V PIR Motion Sensor switch can be used to turn the whole system on/off based on it sensing a car on the track. This prevents the sensors from staying on all the time. When a car passes in front of the PIR sensor, it will supply power to the bank of Ultrasonic sensors and automatically turn them off after some time if no cars are detected. (adjust to maximum delay)
Arduino Nano pin assignments
Ultrasonic sensor:
Trig = pin 2
Echo = pin 3
Vcc = +5V
Gnd = Gnd
Potentiometer:
S = A0
V = +5V
G = Gnd
LED strip:
Din = 6
Gnd = Gnd
+5V = +5V
3D print files (download .zip file below):
box.stl = main housing for the components
lid.stl = lid for box
lock_plate = small tab to hold Arduino Nano in place
led_socket.stl = socket that holds light tube (glue to the lid)
led_support.stl = support strip for LEDs
support_clamp.stl = clamp to go around wires at base of tube
tube_cap.stl = cap for LED tube
Build of Materials (amazon links)