Hibiscus sense ESP32 Arduino tutorial and example sketch.
Whenever you are thinking of quick IoT (Internet of Things) hardware prototyping / development, just grab Hibiscus Sense and focus on programming
Hibiscus Sense is a versatile Internet of Things (IoT) development board, powered by the mighty and popular dual-core ESP32 microcontroller. It comes equipped with an array of sensors and basic actuators as listed below:
Hibiscus Sense comes with USB Type-C to power up the board and to program the ESP32. The on-board USB-to-Serial converter (Silicon Labs CP2104) with automatic bootloader reset circuit, eliminating the need to press the RESET button each time you upload a program.
Although, we can program ESP32 using other programming language such as Micropython, Rust, or even with RTOS (Real Time Operating System) FreeRTOS, in this tutorial we will be using simplified C, C++ language on Arduino as the learning and prototyping platform.
GPIO2
.GPIO13
.GPIO16
.GPIO34, GPIO35, GPIO36, GPIO39
cannot be configured as output. These digital GPIOs can be configured with internal pull-up or pull-down.ADC1
pins and ADC2
pins. Note: Avoid using ADC2 pins, when using Wi-Fi, consider using the ADC1 pins instead.VSPI
is complete MISO GPIO19
, MOSI GPIO32
, CLK GPIO18
and CS GPIO5
.I2C
SDA GPIO21
and SCL GPIO22
, without pullup resistor.I2C
, respective I2C address: 0x39
, 0x77
and 0x68
.Important Notice: The example sketch in this exercise, is based on the latest Arduino ESP32 Core version 3.0.x. So, if you are experience user in Arduino ESP32, please update the core to the latest version, before you can use the following example sketch. You can get more information from the Arduino ESP32 v2.x to v3.x Migration Guide
You can clone or download this repo into your PC and open the exercise example sketch on the Arduino IDE. It is always recommended to begin with the hands-on learning preparation.
Below is the Table of Contents of the exercises.