This is an old revision of the document!
We will be using the ESP32 Sparrow board as the main development board for the lab assignments.
Also, for the first labs, we will be using the Arduino IDE and environment, which you can download from here
This is the pinout diagram of the development board:
To get everything set-up, please use the following tutorial to install ESP32 support in Arduino:
Deschideți exemplul “Blink” din Arduino IDE.
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.
#define LED_BUILTIN ...
Încărcați exemplul “WiFiScan” din Arduino IDE.
Deschideți consola seriala pentru a vedea rezultatul scanării.
Încărcați exemplul “SimpleBleDevice” si scrieți-l pe placuță. Instalați pe telefon o aplicație de scanat dispozitivele bluetooth (precum acest BLE Scanner) si verificați că dispozitivul este văzut.