Before installing this, please make sure that you have installed:
- Rust
elf2uf2-rstool
To successfully run this rust application, you have to follow these steps:
-
Clone the repository
git clone https://github.com/cristianaprecup/Radar-Secure-Sys.git -
Change directory to the project
cd RadarSecureSys -
Build the project.
cargo build -
Run the web interface.
A simple way to do this is by installing the Live server extension from VSCode and run the index.html.
-
In order to be able to flash on the Pico, make sure that you keep pressed the
BOOTSELbutton while plugging it into the PC. -
Run the command to flash on the Pico
elf2uf2-rs -s -d .\target\thumbv6m-none-eabi\debug\secure_sys
(!) After flashing, in the console you can see the connection status of Pico. Pico's IP address isn't static so you have to update the website/script.js:3 so that it fetches the correct IP.
For the example in this image, the IP that should be fetched is
192.168.137.183:1234.
This project aims to develop a radar-like security system using a Raspberry Pi Pico W as its core. Designed to monitor and track the presence of objects within a specified perimeter, the system utilizes ultrasonic sensing technology to detect movements or intrusions.
| Device | Usage | Price |
|---|---|---|
| Raspberry Pi Pico W | The microcontroller with Wi-Fi for phone notification | 34.5 lei |
| HC-SR04 Ultrasonic Distance Sensor | For measuring distances to objects | 20 lei |
| SG90 Micro Servo Motor | To rotate the ultrasonic sensor for a wider scan area | 14 lei |
| Passive Buzzer Module | For audible alerts | 1 lei |
| Tactile Push Button Switch | For manual controls | 2 lei for 2 |
| 10KΩ Resistors | For the buttons | 0.5 lei for 2 |
| 220Ω Resistors | For the RGB LED | 1 lei for 3 |
| Breadboard | For assembling the prototype | 10 lei |
| Female-to-Male Wires | For connections | 5 lei per pack |
| Female-to-Female Wires | For connections | 3 lei per pack |
| Male-to-Male Wires | For connections | 9 lei for 3 packs |
| Micro USB Cable | To power the Raspberry Pi Pico W | 3 lei |
| RGB LED | For visual feedback | 2 lei |