cover photo

COURSEWORK

Anjali's IOT-001 course work. Lv 1

Anjali Rao SGAUTHORACTIVE
This Report is yet to be approved by a Coordinator.

Level 1 report

13 / 9 / 2023


ESP32CAM :

Esp32CAM has a small camera module used for image capturin ut it doesn’t have a USB connector hence we use a FTDI adapter to upload the code.Uploading of the code was difficult and there were lot of errors.



MQTT PROTOCOL :

Message Queuing Telemetry Transport protocol is used for devices with low bandwidth and low power consumption. Publish-Subscribe model- In this model the publisher sends the message and the message is received by the subscriber. The communication between publisher and subscriber is carried out with the help of the broker. Broker- receives all the published messages and distributes it to the relevant subscriber. Topics- It is used to categorize the subject of messages.



BASICS OF CREATING A WEBSITE :

A webpage was created where the colour of the webpage could be changed with the press of a button. I used random generation function to change the colour randomly everytime the button is pressed.



SOIL MOISTURE SENSOR :

A soil moisture sensor was used to monitor the moisture level in the soil and display the value on the serial monitor.The connections were simple without much complication.



SIMON SAYS :

This task involved creating the famous game using esp32, LEDs and push buttons.The game involves the LEDs to blink in a random order and the player has to press the push button in the appropriate order. This task was a little difficult since the connections and code were a little complicated and had to adapted for esp32.



SENDING DATA TO THINGSPEAK :

ThingSpeak is an IoT analytics platform service that allows you to aggregate, visualize, and analyze live data streams in the cloud. You can send data to ThingSpeak from your devices, create instant visualizations of live data, and send alerts using web services.

The task required the use of temperature and humidity sensor and sending the collected data to thingspeak. The data sent was plotted as a graph. This task helped in giving an insight into data collection and analysis process.The main challenge was that the sensor was not working.



COMMUNICATION USING I2C PROTOCOL :

I2C protocol is a two wire communication used for connecting and communicating between microcontrollers, sensors, and other integrated circuits in electronic devices.

The task required the creation of a webpage via which data was to be sent to esp32. The esp32 was connected to arduino uno via I2C protocol. The data sent to esp32(master) was to be sent to the arduino(slave) via I2C and the arduino had to display it on serial monitor. I couldn’t connect the arduino to esp so I used another esp32 (slave) instead of arduino uno. )

MORSE CODE :

Morse code is a method of encoding messages where the alphabets are represented in the form of dots and dashes or blinks and empty spaces. The task required the creation of a webpage where a message was to be written which was to be converted to morse code by esp32. The morse code was transmitted with the help of blinking LED. The connection was simple but the code was slightly difficult to understand and develop.



READ AND DISPLAY VITALS :

We had to use the MAX30100 sensor to measure heart rate and blood oxygen level and display it. It was a very challenging task as it required lot of adaptations. The sensor had to be soldered before using although the code was fairly easy to understand.

Link for images : https://github.com/Anjali355/Marvel

UVCE,
K. R Circle,
Bengaluru 01