Author: makersmadurai

Makers Madurai – IOT Project Ideas and Discussions – 2020

Makers Madurai – IOT Project Ideas and Discussions – 2020

Event Date: 1st Feb 2020

Saturday 6 pm to 7.30 pm

Event Date: 1st Feb 2020

Saturday 6 pm to 7.30 pm

Venue: MakersMadurai, Pasumalai


About the Event:

IoT community meet is originated and organized by MakersMadurai and IoT experts from GeoMeo Informatics Pvt. Ltd., The community meeting is originated with a vision to bring basics of networking in IoT and to develop it by providing clarity with knowledge.

The event had a moto to give an overview of IoT, opportunities in it and the future of it. The program was hosted by Mathan Kumar P.


Event Stats:

Invited 100+ people

20+ participants attended the program

Among them 10% of people were women

Employees from 3 companies and 3 cities had taken part in it.

Among all participants most of the people were developers


Event Agenda:

6:00 – 6:10 Welcome Note by Mathan Kumar

6:10 – 6:30 Guest Speech by Yashwanth TB

6:30 – 6:50 Overview and fundamentals of IoT by Deepak Kumar R

6:50 – 7:15 Q & A

7:15 – 7:30 IoT networking

iotmadurai makers madurai


Event Summary:

With a great motto to enlighten the people’s knowledge with IoT technology trends, the community meeting was started and done its part very will in its 1st meet. The session went very well and enthusiastic and interactive.

Mathan Kumar (R&D Engineer, GeoMeo Informatics Pvt. Ltd. Madurai), started the event with his welcome note and handed over the stage to the guest speaker, Yashwanth TB (Firmware Engineer, Continental Automotive Components (India) Pvt. Ltd., Bangalore). He started the session and brought up it very interactive and explained the future and opportunities in the field. When he asked the audience about their knowledge about IoT he got some answers such as Fitbit, iWatch, Samsung watch where they are connected with the internet to monitor health records of the patients, and Tesla’s autonomous and connected cars project. He explained deeply into the opportunities with the example of the automotive industry and connected cars/connected devices. He explained with RF Geolocation, NFC (Near Field Communication), RFID (Radio Frequency Identification) and M2M (Machine to Machine)

After Yashwanth, Deepak Kumar from Savemom Pvt Ltd., Madurai, took over the stage to give an overview and new project ideas and basics of IoT. He explained some ideas for beginners such as

  • LED blinking projects,
  • Motor Speed Controller,
  • Weather Reporting System using IoT,
  • IoT Based Liquid Level Monitoring System, and so on.

Then again Mathan Kumar took over the floor for Questions and Answers session. There were lots of questions has been raised and all the queries were clarified by him.

Mathan explained from the basics about the Internet of Things. As what it is and what is meant by connected devices. He gave brief with an embedded system and microcontroller. He gave a very easy example of the TV remote for the controller of the system. He continued that if the signal passed from a controller to the device to be controlled via an internet-connected embedded gateway could be controlled over the internet and that is called the Internet of Things.

We hope this session would have added value to your knowledge. We will be talking more about IoT practical aspects in our next session.

Finally, the event winded up with networking and taking group photos. The total program was streamed live on Facebook, shared and viewed by numerous viewers. As well all the upcoming events will be streamed live to develop the community and knowledge.




The Internet of Things refers to the idea that, in the near future, everyday objects will be connected to the Internet and will be able to send and receive data. That ‘near future’ is already underway and the Internet of Things can be seen in devices like Amazon Echo, the Fitbit, and the Nest Thermostat.

The Internet of Things is attached to high aspirations a world where your home, car, and even city are connected and using data to improve the quality of life for all. As society moves towards that innovative idea, your company can contribute (and profit).

When you consider the grand scheme of things, many developers try to jump ahead and focus on a product. Essentially, they start running before they can walk. We strongly advocate the POC so that you can demonstrate the viability, as well as understand the needs and steps necessary to attempt creating a marketable product. This exploration is necessary feedback in the design phase.


An IoT PoC is an ideal solution to experience tangible benefits by investing a fraction of the overall cost and efforts. Thus, a PoC can serve as testing water to ascertain how likely the actual implementation is capable of achieving the desired business goals.


Why use Mozilla IoT?

Mozilla IoT is an open source platform for monitoring and controlling devices over the web, including:

  • WebThings Gateway – a software distribution for smart home gateways focused on privacy, security and interoperability
  • WebThings Framework – a collection of reusable software components to help developers build their own web things


Components Required:

  1. NodeMCU ESP8266(To act as a client)
  2. Raspberry Pi ( To act as a server)
  3. 3. 5v Relay module (To control a load)
  4. Bulb and fan (for load)

Components Required:(5v Relay Module)

  1. 5v Relay
  2. BC547 – Transistor
  3. IN4001 – Diode
  4. 230 Ohm Resistor
  5. 1k Ohm Resistor
  6. PBT connector 3 terminal – (to connect load from the relay)
  7. LED – (to indicate whether it is on or off)
  8. Dotted board(2×2)



 1. Download Image file:

First download the latest gateway image from the link given below.

2. Flash Image

Next you will need to flash the downloaded image onto your microSD card. There are various methods of doing this but we recommend using Etcher.




  1. Open Etcher.
  2. Insert your SD card into an SD card reader attached to your computer
  3. Select the downloaded image as the source file
  4. Select your SD card as the target
  5. Click “Flash!”

Once flashing is complete, remove the microSD card.

3. Boot Raspberry Pi

  1. Insert the flashed microSD card into your Raspberry Pi
  2. Plug in any USB dongles
  3. Connect the power supply to boot the Pi

Note: On first boot the Raspberry Pi may take 2-3 minutes to boot.

4. Connect Wi-Fi

When the gateway starts up it will create a Wi-Fi hotspot called “WebThings Gateway XXXX” (where XXXX are four digits from your Pi’s MAC address). Connect to that Wi-Fi hotspot using your desktop/laptop computer, smartphone or tablet.

Once connected you should see the WebThings Gateway welcome screen which will then scan for nearby Wi-Fi networks.


Select your home network from the list and enter your Wi-Fi password to connect.


  • If you are connected to the “WebThings Gateway XXXX” Wi-Fi network but you don’t see the welcome screen, you can try typing into your web browser’s address bar to manually navigate to the page.


  • As an alternative to Wi-Fi, you can connect the Raspberry Pi to your home network using an Ethernet cable and it will attempt to automatically get an IP address from your router. You can then start first time setup by typing “http://gateway.local” into your web browser.
  • If you move the gateway to another location and it can no longer access your home network, it will revert to access point mode so you can connect to it and re-configure a different network.

5. Choose Subdomain


Once you have connected the Pi to your wireless network, you should ensure that your laptop/tablet/smartphone is connected to the same Wi-Fi network and then navigate to http://gateway.local in your web browser.

You will then be given the option to register a free subdomain to safely access your gateway over the Internet using a secure tunnelling service provided by Mozilla.


Enter your choice of subdomain and an email address in case you need to retrieve it later, then click “Create”.


  • You can choose to skip this step (either to only use the gateway locally on your home network or manually configure DNS yourself), but note that currently if you do skip this step you’ll have to re-flash the gateway in order to register a subdomain.
  • If http://gateway.local fails to load (e.g. on Android or Windows) you can look up the IP address of the gateway on your home router and use that instead (look for a hostname of “gateway” or a MAC address starting with “b8:27:eb”.
  • If neither http://gateway.local or http:// will load in your browser, check to make sure your computer is definitely connected to the same Wi-Fi network you connected the gateway to.
  • If you have previously registered a subdomain you want to re-use, enter the subdomain and the email address you used to register it and follow the on-screen instructions to re-claim it.

6. Create User Account

Once you have registered your subdomain you should be automatically redirected to the next step of the setup process, which is to create your first user account on the gateway. Enter your name, email address and a password then click “Next”.


Note: You can create additional user accounts later.


You should then be redirected to an empty “Things” screen of the gateway where you can start to add devices.

STEP 2: Design of 5V Relay Module Design:


Relay module can be designed as per the given diagram with the above mentioned components .When the relay is activated, it can transfer the needed amperage to the horn through wiring which is designed to take the load. Or you can design your own relay module as per your own requirements.


STEP 3: Connecting the NodeMCU with Arduino tool

The connection should be made properly as per the circuit diagram given below or you can make your own connection as per the number components you need to connect.


  1. To set up the NodeMCU you need to install Arduino IDE.
  2. Add the given link in the preferance



  1. Install the board form board manager

Tools–>board–>board manager–>(search for esp8266 and install it)

4.Add the required library

  1. ArduinoJson – can be downloaded in arduino. Sketch->Include Library->Manage Libraries-> ArduinoJson
  2. Wifi101- can be downloaded in arduino. Sketch->Include Library->Manage Libraries-> wifi101
  3. Webthing-arduino  Sketch->Include Library->Manage Libraries-> webthing
  4. ESPAsyncWebServer –
  5. ESPAsyncTCP –
  1. Select NodeMCU1.0(ESP-12E Module) from tools–>board
  2. Select the correct port from tools–>port
  3. Connect the NodeMCU with the pc and upload the code given below


Searching for devices


Next, add the Things(Appliances) to the gateway and it will be prompted if the new smart devices is found where it is being scanned.

In the Mozilla Interface we’ve to search for the available devices, and if any device is on then it will be discovered and we can connect them as easy as possible. Then the controls can be done even with other side of the planet and make sure everything is working properly. We can livestream it too!!


This is how the whole setup looks like:


Fan at ON mode


Fan at Off mode




  1. JSON error – Use this link



  1. We rectified logical error from existing program for our convenience usage.
  2. ASYNCTCP, ASYNCWebserver library error

For more details refer –

Note: Sometimes the relay voltage will be insufficient to activate the load since


As technology grows too fast, we people should be fast enough to make use of it. Mozilla IoT will make the people to get involved in the Internet of Things. It enables the user to control and automate the home appliances, these can be monitored and automatically get operated. If we can control our home appliances from wherever we want, it will save plenty of our money and time also electricity is utilized in an efficient way.


This is how the whole setup looks like:

Download Code for integration.

Looking for more projects, visit our website today!