Introduction to RIoT Hardware Kits & ESP32
Programming
$ whoami
Alwin Arrasyid
Software Engineer, DycodeX
winter@dycode.com
twitter.com/alwin_wint3r
github.com/alwint3r
Internet of Things
Internet of Things
• Bring people of different background of expertise together.
• Ranges from measuring physical things all the way to making
the end application.
Our focus, the things
RIoT Hackathon Hardware Kits
Development Boards
RIoT Development Board - ESPectro32
RIoT Development Board - ESPectro32
RIoT Development Board - ESPectro32
RIoT Sensors & Actuators - Alora Kit
ESP32
CPU: Tensilica Xtensa 32-bit dual core, up to 240 MHz, 600 DMIPS.
Operating voltage: 3.3V
Memory: 448 KB ROM, 520 KB SRAM 16 KB SRAM in RTC, 1 Kbit of eFuse.
External Flash: 512 KB to (4 x 16) MiB
WiFi (802.11): b/g/n/e/i
Bluetooth: v4.2 BR/EDR & BLE
Peripherals: GPIOs, PWM, ADC, DAC, I2S, UART, SPI, I2C, CAN, RMII, Cap Touch
ESP8266 vs ESP32
ESP32 Modules
ESP32 Boards
ESP32 Boards
ESP-IDF
ESP32 Development Platforms
ESP32 Development Tools / IDE
What is ESP-IDF?
ESP IoT Development Framework or abbreviated as ESP-IDF is
the official development framework for ESP32.
source code:
https://github.com/espressif/esp-idf
documentation:
http://esp-idf.readthedocs.io
Language of ESP-IDF
Advantage of using ESP-IDF
• More control over the low level APIs
• More control over the configurations
Demo
Arduino for ESP32
Advantages of using Arduino
• Easier to get started with
• Low level stuffs are hidden to developers
• Huge community
Demo
ESP-IDF + Arduino ?
ESP-IDF Component
• ESP-IDF lets us to split code into two or more components
which has distinct purpose & functionality.
• We can treat Arduino as ESP-IDF component.
• We can also treat Arduino-specialized libraries as ESP-IDF
component!
Demo
ESP-IDF + Arduino = Win
Where to go from here?
ESP32 Learning Resources
• Official documentation
esp-idf.readthedocs.io
• ESP-IDF examples code
github.com/espressif/esp-idf/tree/master/examples
• Technical Book (Free & periodically updated!)
leanpub.com/kolban-ESP32
• Really useful snippets
github.com/nkolban/esp32-snippets
• ESP32 forum
esp32.com
Code shown during this session:
github.com/alwint3r/RTR_Jakarta2017
Thank you!

Introduction to RIoT Hardware Kits & ESP32 Programming [Road to RIoT 2017]