/arduino-detecting-nearby-objects

Using ultrasonic sensor to detect nearby objects

Primary LanguagePython

ARDUINO - DETECTING NEARBY OBJECTS USING ULTRASONIC SENSOR

Using ultrasonic to detect objects that are near us

COMPONENTS AND SUPPLIES

  1. Arduino Uno Arduino Uno
  2. Servo SG90 Servo SG90
  3. Ultrasonic sensor Ultrasonic sensor

Schematics

board-design

Install

  1. clone this repository
git clone https://github.com/53k41iga/arduino-detecting-nearby-objects.git
  1. 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