2017.04.ESP32 Intro
2017.04.ESP32 Intro
2017.04.ESP32 Intro
Joren Six
April 2017
Introduction Hands-On Supplementary material
Overview
Introduction
What is the ESP32?
Why is it useful?
Are there alternatives?
How to program the ESP32?
Hands-On
Helpful Knowledge
Getting started
Blink
Hello WiFi
Sending data - UDP or TCP?
Packing data - OSC Protocol
Sending sensor data
Mesh networking
Supplementary material
Introduction Hands-On Supplementary material
I ESP32-CoreBoard or
ESP32-DevKitC by
Espressif systems
I ESP32-WROOM-32
I Olimex ESP32-EVB
I Sparkfun ESP32
Thing
I Many more
Introduction Hands-On Supplementary material
I Integrated Lithium-Ion
battery charger - charge
using micro USB
I Breadboard compatible
I Large amount of IO
exposed
I Close to the Dev board
Introduction Hands-On Supplementary material
I ESP8266
I Less powerful
I Cheaper
I WiFi connection
unreliable
I No bluetooth
I Arduino UNO WiFi
I Less powerful
I More expensive
I Larger
I No battery plug
Fig: ESP 8266 I Many others
Introduction Hands-On Supplementary material
http://0110.be/posts/ESP32
Introduction Hands-On Supplementary material
Hands-On - Blink
TCP over IP
UDP over IP
I Order guaranteed I Order not guaranteed
I Data checked and I Data can disappear
potentially resend
I Low latency
I High latency
I Good for real-time data
I Ideal when you need
(audio/video)
guarantees
I Think in packets
I Think in streams
Introduction Hands-On Supplementary material
OSC Protocol
I A simple standardized way to pack data
I Universal support and libraries
I Originally developed to connect music instruments
Introduction Hands-On Supplementary material
Supplementary material