Hands-On IoT Projects: Arduino LED Control and Sensors
School
Middlesex UK**We aren't endorsed by this school
Course
CCM 4300
Subject
Electrical Engineering
Date
Dec 11, 2024
Pages
3
Uploaded by CommodoreSummer12790
Faculty of Science and TechnologyCST2590Internet of Thing(IoT)
Research work-4Seminar Question: Carry out the following tasks either using real devices or in any simulation Software (Tinkercad or Wokwi)Task 5: Using 1 Arduino or Esp32/8266 board, 1 LED and 2 pushbutton, program MCU to switch on the LED, if the user presses thefirst button and switch off the LED, if the user presses the secondbutton.Task 6: Using 1 Arduino or Esp32/8266 board, 1 LED and 1 pushbutton, program MCU to toggle the LED with on and off with thepressing of the button.Task 7:Using 1 Arduino or Esp32/8266 board, 1 temperature sensor(TMP36), program MCU to read its input value and convert it intoappropriate temperature value and display the value in SerialMonitor.Hint:sensorInput = analogRead(A0); //read the analog sensor and store ittemp = (double)sensorInput / 1024; //find percentage of input readingtemp = temp * 5; //multiply by 5V to get voltagetemp = temp – 0.5; //Subtract the offsettemp = temp * 100; //Convert to degreesTask 8: Design the system as shown below and try to read the inputanalog value from light dependant resistor (LDR) and display in SerialMonitor.