Basic security system using IOT
- A cart that carries the gold while monitoring its weight
- The GPS location of the cart is sent to the security office as soon as the weight of the gold alters
- On reaching the destination, a confirmatory signal is sent to the security office.
- Locking/alarm system in case of disturbance in the gold cart.
- Control over cart route/doors using tools like Blynk.
Start VSPE . Create a new connection and pair COM1 and COM4.
Connect to blynk server (blynk-ser.bat -c com1 -p 8442) , do check the the ports in blynk-ser are COM1.
Start the simulation .
Run the project in blynk app.
Follow the instructions in terminal and LCD respectively.
- Put 100g on weigh scale the reading of load cell must change respectively and push the button and wait until tolld.
- Put the actual weight on the scale.
- Enter weight of sample in gram on blynk app.
- Set the latitude and longitude of destination .
We are ready to go .
The terminal will keep on printing the current weight and location of vehicle after certain intervals.
- Automatic calibration to atmospheric pressure by calculating reading change in read before and after placing 100g
- HX711 for converting analog to digital value
- Setting up latitude and longitude on each journey
- Email notification on too far from destination and LED blinking.
- Blink LED on successfully reaching destination.
Blynk app
Button -> Digital Pin 23
2 LED's -> Virtual Pin V1, V2
Terminal -> V0
Remove read only permission on Proteus , see youtube video on how to do that
- Proteus_Professional_8.9_SP2_Build_28501
- arduino-1.8.15-windows
- SetupVSPE
- Blynk
- Adrduino Library (Extract Arduino library rar file and copy all the files C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\DATA\LIBRARY )
- Download Blynk and add it to arduino libraries
- Add additional Url in FIle>Preferences : http://arduino.esp8266.com/stable/package_esp8266com_index.json
-
In Arduino IDE , go to File and Compilation checkbox must be checked .
-
Install libraries in Tools>Libraries . TinyGPS , Liquid Crystal
-
Connecting to Blynk Server
vspe-pairing start(COM4(proteus-comimp),COM1-blynk) Start blnk.ser with command in command prompt blynk-ser.bat -c com1 -p 8442 Start proteus simulation
-
Change Board to Arduino Mega in Tools > Boards
-
Sketch > Export Compiled Binary , is used to save hex file at location of file
-
change auth in code according to your app in blynk , you will find it in setting of your project , also your board should be Arduino Mega
-
In COMPIMP set port as COM4 and set baud rate to 9600.
Always feel free to check the samples to see step by step how things become as they are .