ARDUINO - DETECTING NEARBY OBJECTS USING ULTRASONIC SENSOR
Using ultrasonic to detect objects that are near us
COMPONENTS AND SUPPLIES
Schematics
Install
- clone this repository
git clone https://github.com/53k41iga/arduino-detecting-nearby-objects.git
- second, vetify get-data/get-data.ino then upload it into Arduino
NOTE:
make sure you have installed pyserial
and pygame
using COM3 port in this project
Implementation
after installing into arduino, connect it to computer by USB and run main.py on terminal, cmd or Powershell. We have 2 mode in this project
SOUND
This mode will talk to you distance and angle from the nearest object that it detect.
python main.py SOUND
RADAR
This mode will draw a radar for you
python main.py RADAR