Lab 1: Getting Started

Necessary gear

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

ESP32 Sparrow specs

This is the pinout diagram of the development board:

To get everything set-up, please use the this tutorial to install ESP32 support in Arduino, the only difference is the board type should be set to ESP32 WROVER.

First Steps

Open the “Blink” example in the Arduino IDE

Define LED_BUILTIN to correspond to one of the on-board LEDs.

For the GREEN boards (rev. 1) the LED has the following pinout

  • Red - GPIO25, Green - GPIO26, Blue - GPIO27

And for the BLUE boards (rev. 2), the LED has the following pinout:

  • Red - GPIO14, Green - GPIO13, Blue - GPIO15
#define LED_BUILTIN ...

2. Scan and display local WiFi networks

Load the “WiFiScan” example from Arduino IDE.

Open the Serial Monitor to view the result of the scan

Load the “SimpleBleDevice” example. Install on your phone an app that scans nearby Bluetooth devices, such as this BLE Scanner. Check if your device is in the list.


iothings/laboratoare/2022/lab1.txt · Last modified: 2023/10/04 18:34 by dan.tudose
CC Attribution-Share Alike 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0