Box for ultrasonic sensor with Arduino Nano

By John Ridley

20
5
Free
It's free to download

Information

Box for ultrasonic sensor with Arduino Nano

This thing plugs into the external electronics port on the RoboRio, but it could talk to about anything including a PC on the Nano's USB port. It just needs +5, ground, and a TTL level serial connection (UART.RX on the RIO port). The code is a straight ripoff of the sample in the NewPing library, which also fully documents how to wire the whole thing up.One of the photos shows the little prototyping board that I used to hold the connector to the RIO. Be sure to insulate that well, as it's going directly to the data bus on the RIO; if it shorts out, you may have a not-good day.  I'm planning on either smothering it in hot glue or if time permits, making a 3D printed box with a handle to facilitate removal from the RIO.The box is made from my generic PCB box SCAD, with extra thick walls (4mm).  I hope this is rugged enough to stand up to FIRST competition conditions; it feels easily strong enough to park a car on top of without bothering it any.The wires exiting the board are strain relieved with a simple knot and a 10-32 washer.
92 objects 32 Followers 24523 Downloads
Joined almost 11 years ago Chelsea, Michigan USA
Enjoy a 10% sitewide
Discount at checkout
Get a 10% Discount