Streetlight Automation IoT Project

Streetlight Automation

What is an IoT?

            The Internet of things describes physical objects with sensors, processing ability, software, and other technologies that connect and exchange data with other devices and systems over the Internet or other communications networks.

About the Project :-

  • I made an IoT project on Street light automation. Whenever there is no light present ( i.e. In the night time), the sensors detects the light and it automatically starts the light. And whenever there is a light ( i.e. In the day time), it automatically stops the light.
  • For doing this project, I used light sensor, led light, resistors, bread board and used Bolt wifi module for this project.
  • Bolt is a microcontroller. If you want to learn about IoT from basics, then Bolt is the good choice and also they will provide training courses along with the kit for just Rs.2000/-
  • Link for the Bolt IoT is click here.
  • I just complete the bolt IoT training. And I built a simple project that controlling an led light through google assistance and a temperature monitoring system through Linux server and sends SMS to the mobile if temperature increases.
  • And I was thinking about that if lights is automatically ON if its is dark and automatically OFF's when its is not dark. I starting in google and finally I came to conclude that already the project that I'm thinking is already exist and they are not used only one device. NOW I'M using only bolt IoT board. OK THEN.....lets start making the project.
  • Hardware Components :
    • LDR
    • LED
    • Resistor 330 ohm
    • Bolt IoT WiFi Module
    • Breadboard
  • Software Components :
    • VMWare
    • Ubuntu
    • Bolt Cloud
  • Next Create Ubuntu, because we will write the code in ubuntu.
  • Steps after creating ubuntu :
    • Install bolt module
      • wget https://apt.puppet.com/puppet-tools-release-focal.deb
      • sudo dpkg -i puppet-tools-release-focal.deb
      • sudo apt-get update 
      • sudo apt-get install puppet-bolt 
    • To upgrade Bolt:
      • sudo apt-get update
      • sudo apt install puppet-bolt
    • Next install latest python version
      • sudo apt install python3
    • Next create a python file and paste the code ( I provided the code in the link below). 
      • sudo nano filename.py
    • To run the python file use
      • sudo python3 filename.py
    • Now you can see the light goes OFF when there is a light and goes ON when there is no light.
  • To know more about the project I did, you can click here.
  • All the code was written using Python.


circuit connections




connections on Bolt WiFi module



Comments

Popular Posts

Contact Me

Name

Email *

Message *