Skip to content
Tristan edited this page Jun 19, 2019 · 18 revisions

M5Stack

https://m5stack.com/

ESP-IDF

https://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html https://docs.espressif.com/projects/esp-idf/en/latest/get-started/linux-setup.html

ESPduino-32

This is an ESP-32 on an arduino-uno like board. Some shields are compatible, but others (especially shields that are not R3 compliant and thus doesn't use the standard SCL and SDA headers above the AREF) are not compatible.

https://github.com/SmartArduino/SZDOITWiKi/wiki/ESP8266---ESPduino-32 https://github.com/SmartArduino/ESPboard/blob/master/ESPduino-32s.pdf

SPI

MOSI MISO and SCK are the same as the Arduino UNO. SS in on pin 5.

SS -> 5
MOSI -> 23
MISO -> 19
SCK -> 18

I2C

SDA and SCL are the same as the Arduino UNO R3 but they are not present where they are as A4 and A5 on the UNO. Unfortunately, on this board the SENSOR_VP/36 and SENSOR_VN/39 pins are where A4 and A5 should be, and these pins are input only so they can't be used for I2C communications.

If you need to use those pins (e.g. using an old Adafruit data logging shield whose RTC I2C is connected on A4 and A5) you can use jumper wires to connect A4 to SDA and A5 to SCL

SDA -> 21
SCL -> 22

UART

These are the same as the Arduino UNO.

TX0 -> 1
RX0 -> 3

Others

Arduinos usually have the builtin led at pin 13; ESP32 usually have them on pin 2.

LED_BUILTIN -> 2
Clone this wiki locally