This shows you the differences between two versions of the page.
|
iothings:laboratoare:lab1 [2022/03/06 15:30] cosmin.chenaru Laborator 01. Specificațiile plăcuței de dezvoltare ESP32 |
iothings:laboratoare:lab1 [2022/03/06 18:00] (current) cosmin.chenaru [Resurse] |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| https://randomnerdtutorials.com/esp32-pinout-reference-gpios | https://randomnerdtutorials.com/esp32-pinout-reference-gpios | ||
| - | |||
| - | ===== ESP32 ===== | ||
| ===== Exerciții ===== | ===== Exerciții ===== | ||
| + | === Ex. 1. Iluminați intermitent LED-ul incorporporat pe plăcuță === | ||
| + | |||
| + | 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. | ||
| + | |||
| + | <code> | ||
| + | #define LED_BUILTIN ... | ||
| + | </code> | ||
| + | |||
| + | === Ex. 2. Scanați retelele Wireless din zona === | ||
| + | |||
| + | Încărcați exemplul "WiFiScan" din Arduino IDE. | ||
| + | |||
| + | {{:iothings:laboratoare:lab1-wifi-scanner.jpg?600|}} | ||
| + | |||
| + | Deschideți consola seriala pentru a vedea rezultatul scanării. | ||
| + | |||
| + | {{:iothings:laboratoare:lab1-serial-monitor.jpg?600|}} | ||
| + | |||
| + | === Ex. 3. Anunțați prezența dispozitivului BLE (Bluetooth Low Energy) incorporat === | ||
| + | |||
| + | Î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. | ||
| + | |||
| + | {{:iothings:laboratoare:lab1-ble-scanner.jpg?300|}} | ||
| ===== Resurse ===== | ===== Resurse ===== | ||
| + | * https://randomnerdtutorials.com/getting-started-with-esp32/ | ||
| + | * https://randomnerdtutorials.com/esp32-pinout-reference-gpios | ||
| + | * https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner&hl=en&gl=US | ||