Pls explain how to implement project 4 (industrial safety project)???
@ssaryas99, I guess it’s only for a demonstration of project. You can go ahead and build it after completing the tutorials on sending SMS.
@ssaryas99 When you met a fire accident in your industry, you have to alert the remaining staff about the accident. It can be done by connecting a buzzer to to the wifi module and linking the programmable sms to recipient phone number which you can learn in the future lectures. This is about the project you have asked. Hope you have understood the project.
All the best.
how to implement the project? what is hardware and code?
If you want to perform the project as described in the training then Buzzer is only required as the hardware to demonstrate alert.
Else if you want to perform this project on some real basis then you will need a smoke detector as a sensor which you can connect to Arduino and connect both of them to bolt module to detect fire and give an alert by buzzer. I have provided link to the smoke detector sensor which may be helpful.
Beside that common code for operating buzzer is:-
if fire_detected == True:
response = mybolt.digitalWrite(‘0’, ‘HIGH’)
response = mybolt.digitalWrite(‘0’, ‘LOW’)
else: print(fire_detected) response = mybolt.digitalWrite('0', 'LOW')
This is just a sample code mentioned to get you familiar with buzzer. Create you logic accordingly. Here mybolt.digitalWrite() are the functions to switch buzzer ON or OFF. You can learn the same things in depth in training modules.