IoT Project

Inspiration

Reading about the Internet of Things and wanting to learn more about how to build robust applications with it.

What it does

An experiment to control a servo motor using Thingspeak.com channel data.

How we built it

An account was set up on Thingspeak to create a new channel. API keys were used to enter data into the channel. The password and SSID were stored to start communication, and a Wi-Fi client was instantiated.

In the loop function, we kept connected to wifi and checked status, and continued to read from the private channel. If the status code of the information received was 200, the servo motor shaft was rotated by the value given.

Status code was read using ThingSpeak.getLastReadStatus().

Challenges we ran into

Connecting the Wi-Fi to the board and ensuring the inputs were processed fast enough to get the values.

Accomplishments that we're proud of

Error-free functioning of the application

What we learned

How to use ThingSpeak and NodeMCU boards in conjunction with IoT (C in Arduino) to set up communication channels and transfer data.

What's next for IoT

Building larger systems such as home automation, security, remote control of devices, etc.

Contributors

Arushi Mittal

Share this project:

Updates