====== Introduction to IoT ====== ===== 1. IoT Intro Presentation ===== {{pdfjs 500px>:latinet:unicaes:workshops:intro_to_iot.pdf?75}} ===== 2. Setup Development Environment ===== * [[https://www.arduino.cc/en/software#future-version-of-the-arduino-ide|Install Arduino IDE]], for more information see the [[https://docs.arduino.cc/software/ide-v2|Official documentation]] * [[https://randomnerdtutorials.com/installing-esp8266-nodemcu-arduino-ide-2-0/ | Installing ESP8266 NodeMCU Board in Arduino IDE 2.0]] * [[https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers | How to install CH340 driver]] - [[https://learn.sparkfun.com/tutorials/how-to-install-ch340-drivers#drivers-if-you-need-them|Driver Download Section]] ===== 3. Hardware Review ===== * Dev Board: Wemos D1 Mini * Microcontroller: ESP8266 12-E Chip [[https://randomnerdtutorials.com/getting-started-with-esp8266-wifi-transceiver-review/| ESP8266 hardware review]] ===== 4. Soldering ===== Here it gets practical! You need to solder the microcontroller and some of the sensors, which you will need in the next session. {{ :latinet:unicaes:workshops:20230828_153840.jpg?400 | In Action}} ===== 5. Coding Warm-up ===== Now let's check if your Microcontroller works. Also, you will learn how to upload your first sketch. Basic Blink example: void setup() { // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second } {{url>https://gfycat.com/ifr/BlissfulCriminalAnemoneshrimp 400,300 noborder fullscreen}}