The features in this project is exactly the same as my previous alarm system(version 1). I replaced my LCD screen with a sonar display produced from Processing. The arduino board will be sending data onto my computer serially, which is then picked up by Processing. The arduino will be sending the servo's angle position and the ultrasonic sensor's reading. The sonar screen is produced by using basic trigonometry.
On the sonar screen, the top right hand corner will display the status of the system. On the bottom right hand corner, the distance between the sensor and the object in front of it is displayed and is being constantly updated in real time. The little red dots are the detected objects.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgky03S-OvOVmpOgE6En0cseyINj_NUemZ1ycqdRwaqx5jfSFzm_hy2vpOg4KVRpynmWe0Um6cOX7bB4pRyQMBVIcTX-5fZxHYAIhmpx198_WAxR_rMUzKGTYrTInx95chbpPdp03Mg_MM/s320/SonarCaution.png)
Also, a green light indicates that the sensor/servo motor is operating as expected.
"Caution" indicates that either the servo motor or the ultrasonic sensor is not working properly. If someone manages to trespass into the safety limits and attempted to disable the sensor, the caution light will be turned on. In addition, the speaker will produce a loud buzz every second, until the ultrasonic sensor is enabled.
"Danger" indicates that an object is detected within safety limits. The alarm will then be triggered and the sonar screen will no longer update itself. A hard reset will be required to restart the sonar display.
This is my most proudest invention yet and over time, I will add more features. The speaker is not very punishing so I want to add something else that will PUNISH anyone where dares to enter the safety limits. What I have in mind is a sentry bb gun, which will shoot the intruder. The next step is to add motion tracking. Unfortunately, none of this will be accomplished(yet). I'm missing lots of materials and if you were to check my current balance (project 15: Digital Piggy Bank), my wallet is practically empty.
how to make one on sonar max ? heb you the code too for this ?
ReplyDeletecan you give the code source
ReplyDeleteSolved!! I founded the source at http://www.instructables.com/id/How-to-make-a-simple-ultrasonic-radar-system-/ I hope I could help even though the response comes very late ... hehe
ReplyDeletecan u please send me code.. actually I have done the simple radar system using Arduino IDE. But I want to do some modification like when object come within specified area 1s and nd time it should beep it and 3rd time it should shoot that object wherever it is placed.
ReplyDeletePlz give me you source code.
hello jimmy.This project is very impressive. Can you share codes? i m realy need its. drgoba81@gmail.com thanks a lot
ReplyDeletea very nice project , can you share the code please.
ReplyDeletee-mail is:amirhaitem04@gmail.com , please help me
plz send code to fmemon022@gmail.com
ReplyDelete