Radar using an ultrasonic sensor, operating in the range of 0-180 degrees and a maximum distance of 200 cm. Project is divided into two parts, the first one concerns pico 2w control, the second one concerns radar visualization on PC.
Application was used on Windows 10
- RPI Pico2W
- ultrasonic sensor (HC-SR04)
- servo (SG90)
- mounting bracket for HC-SR04
- logic level converter
- wires for prototyping board
- prototype board
- cable USB - microUSB
- Mount HC-SR04 on mounting bracket
- Connect the devices as shown in the electrical diagram
- Download and install python 3.10 (https://www.python.org/downloads/)
- Execute command:
pip install -r requirements.txt
- Download .uf2 file (pico 2w) from https://micropython.org/download/
- Press boot button on pico 2w and copy file .uf2
- Reconnect pico2w
- Change default_port name to your port name in config/config.json
- Program pico:
python .\program_pico2w\program_pico2w.py
- Reconnect pico2w
- Execute command:
python .\main.py
- Add bluetooth communication between pico 2w and PC
- Add containerization