How to Make an Ultrasonic Nervous Robot
In this episode of the Learning Circuit Karen creates another robot! This robot has three ultrasonic distance sensors in its mouth, two micro:bits that make up eyes, and an Arduino as its brain. The sensors detect when something steps in front of the robot, and as the object moves left and right, the eyes of the robot will follow it. Not only can the robot detect when an object is in range, it can detect when that object gets too close and it will look down at the object to follow it moving. Check out the video to see Karen break down the code and show how she built the robot.
Supplemental Content:
- The Learning Circuit 85: How Do Ultrasonic Distance Sensors Work?
- Arduino Nano bot - using ultrasonic sensor by carmelito
- 1DUltraBot #3 : Finished (and working!) by dubbie
- PWHBot #2: Table Top Challenge 1 by jomoenginer
- Continuous Servo Bot - using Arduino Nano by carmelito
Bill of Material:
Product Name | Manufacturer | Quantity | Buy KitBuy Kit |
---|---|---|---|
Single Board Computer, BBC micro:bit | BBC Micro:bit | 2 | Buy NowBuy Now |
Edge Connector Breakout Board Pre-Built, BBC micro:bit, Prototyping Area with 3V/0V Rows | KITRONIK | 2 | Buy NowBuy Now |
Arduino Uno, ATmega328P MCU, 14 3.3V I/O, 6 Analogue Inputs, 6 PWM Outputs | Arduino | 1 | Buy NowBuy Now |
Ultrasonic Sensor, Development Board Accessory, For Arduino, Raspberry Pi | MCM | 3 | Buy NowBuy Now |
USB Cable, Type A Plug to Type B Plug, 162 mm, 6.3 ", USB 2.0, White | AMP - TE CONNECTIVITY | 1 | Buy NowBuy Now |
Power Bank, 5V, 2.2 Ah Capacity, 2 Ports, 92 mm x 23 mm x 23 mm | MULTICOMP PRO | 1 | Buy NowBuy Now |
Board-To-Board Connector, 2.54 mm, 4 Contacts, Receptacle, 1 Rows | Multicomp | 3 | Buy NowBuy Now |
Pin Header, Board-to-Board, 2.54 mm, 1 Rows, 6 Contacts, Through Hole Straight, 2211S Series | Multicomp | 3 | Buy NowBuy Now |
Signal, 2.54 mm, 2 Rows, 20 Contacts, Through Hole Right Angle | Molex | 2 | Buy NowBuy Now |
Prototype Board, Phenolic, 1.6 mm, 45 mm, 91 mm, (2) small | Multicomp | 1 | Buy NowBuy Now |
Additional Parts:
Product Name |
---|
Case Material |
Extra Wire |