Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:laboratoare:2022:lab1 [2022/10/06 21:52]
dan.tudose [Necessary gear]
iothings:laboratoare:2022:lab1 [2023/10/04 18:34] (current)
dan.tudose [ESP32 Sparrow specs]
Line 1: Line 1:
-===== Lab 1 ======+===== Lab 1: Getting Started ​======
  
 ===== Necessary gear ===== ===== Necessary gear =====
  
-We will be using the ESP32 Sparrow board as the main development board for the lab assignments.+We will be using the [[https://​github.com/​dantudose/​ESP32-Sparrow-rev2/​tree/​main| ESP32 Sparrow]] ​board as the main development board for the lab assignments.
  
 {{ :​iothings:​laboratoare:​2022:​20221006_214346.jpg?​600 |}} {{ :​iothings:​laboratoare:​2022:​20221006_214346.jpg?​600 |}}
Line 13: Line 13:
 ===== ESP32 Sparrow specs ===== ===== ESP32 Sparrow specs =====
  
-Bine ați venit în laboratorul de Internet ​of Things!+This is the pinout diagram ​of the development board:
  
-Laboratorul își propune să vă familiarizeze cu placuța de dezvoltare ESP32 de la Espressif.+{{ :​iothings:​laboratoare:​2022:​esp32_sparrow_rev2.png?800 |}}
  
-{{ :iothings:​laboratoare:​2022:​esp32_sparrow.png?​810 ​|}}+To get everything set-up, please use the [[https://​randomnerdtutorials.com/​installing-the-esp32-board-in-arduino-ide-windows-instructions/​ 
 +this tutorial]] to install ESP32 support in Arduino, the only difference is the board type should be set to ESP32 WROVER.
  
-Un foarte bun ghid de utilizare pas ca pas a plăcuței este cel de aici: 
  
-https://​randomnerdtutorials.com/​getting-started-with-esp32/​ 
  
-Iar interfața de intrare-ieșire (pinout) este descrisă aici:+===== First Steps =====
  
-https://​randomnerdtutorials.com/esp32-pinout-reference-gpios+=== 1Blink the on-board LEDs ===
  
 +Open the "​Blink"​ example in the Arduino IDE
  
-===== Exerciții =====+{{:​iothings:​laboratoare:​lab1-blink.jpg?​600|}}
  
-=== Ex. 1. Iluminați intermitent LED-ul incorporporat pe plăcuță === +Define LED_BUILTIN to correspond to one of the on-board LEDs
- +
-Deschideți exemplul "​Blink"​ din Arduino IDE. +
- +
-{{:​iothings:​laboratoare:​lab1-blink.jpg?600|}}+
  
-Căutați pe Internet diagrama ​(pinout-ul) plăcuței de dezvoltare NodeMCU-32S pentru a afla PIN-ul la care este conectat ​LED-ul de pe plăcuță. Definiți constanta LED_BUILTIN folosind acel număr.+For the <color green>​GREEN boards </​color> ​(rev. 1) the LED has the following ​pinout 
 +  * Red GPIO25, Green GPIO26, Blue GPIO27 
 +And for the  <color blue>​BLUE boards </​color>​ (rev. 2), the LED has the following pinout: 
 +  * Red GPIO14, Green - GPIO13, Blue - GPIO15
  
 <​code>​ <​code>​
Line 42: Line 41:
 </​code>​ </​code>​
  
-=== Ex. 2. Scanați retelele Wireless din zona ===+=== 2. Scan and display local WiFi networks ​===
  
-Încărcați exemplul ​"​WiFiScan" ​din Arduino IDE.+Load the "​WiFiScan" ​example from Arduino IDE.
  
 {{:​iothings:​laboratoare:​lab1-wifi-scanner.jpg?​600|}} {{:​iothings:​laboratoare:​lab1-wifi-scanner.jpg?​600|}}
  
-Deschideți consola seriala pentru a vedea rezultatul ​scanării.+Open the Serial Monitor to view the result of the scan
  
 {{:​iothings:​laboratoare:​lab1-serial-monitor.jpg?​600|}} {{:​iothings:​laboratoare:​lab1-serial-monitor.jpg?​600|}}
  
-=== Ex. 3. Anunțați prezența dispozitivului ​BLE (Bluetooth Low Energy) incorporat ​===+=== 3. Advertise on BLE  ===
  
-Încărcați exemplul ​"​SimpleBleDevice" ​si scrieți-l pe placuțăInstalați pe telefon o aplicație de scanat dispozitivele bluetooth (precum acest [[https://​play.google.com/​store/​apps/​details?​id=com.macdom.ble.blescanner&​hl=en&​gl=US|BLE Scanner]]) si verificați că dispozitivul este văzut.+Load the "​SimpleBleDevice" ​exampleInstall on your phone an app that scans nearby Bluetooth devices, such as this [[https://​play.google.com/​store/​apps/​details?​id=com.macdom.ble.blescanner&​hl=en&​gl=US|BLE Scanner]]. Check if your device is in the list.
  
 {{:​iothings:​laboratoare:​lab1-ble-scanner.jpg?​300|}} {{:​iothings:​laboratoare:​lab1-ble-scanner.jpg?​300|}}
-===== Resurse ​=====+===== Resources ​=====
  
   * https://​randomnerdtutorials.com/​getting-started-with-esp32/​   * https://​randomnerdtutorials.com/​getting-started-with-esp32/​
iothings/laboratoare/2022/lab1.1665082374.txt.gz · Last modified: 2022/10/06 21:52 by dan.tudose
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0