User Tools

Site Tools


wio:esp01-en

WIO ESP01

Source Setup

In the USERCNF.h should the following line be uncommented:

// Uncomment incase of a ESP8266 ESP01 board; GPIO2=NeoPixel
//#define BOARD_ESP01 true

Should look like this:

// Uncomment incase of a ESP8266 ESP01 board; GPIO2=NeoPixel
#define BOARD_ESP01 true

Also the state LED should be disabled by setiing LED_SHOWMODE to false, otherwise the first pixel will flash:

// Options:
#define LED_SHOWMODE        false // Set false for IO_CLOCK


Programming

Select the generic ESP8266 board in the Arduino IDE.
Options:

  • Buildin LED 2

All other options can be left to default values.

To put the ESP01 in programming mode the GPIO0 must be connected to GND; Check the ESP01 manual.


Pins

NeoPixel

NeoPixel Pin Remark
Data GPIO 2 Requires a 10k pullup resistor to 3,3V.
The first 2 LEDs light up when starting.

Servo

Servo Pin Remark
1 GPIO 0 270Ω protection resistor between GP and servo.
Requires a 10k pullup resistor to 3,3V.

I2C

I2C Pin Remark
SDA GPIO 3 Requires a 3k3 pullup resistor to 3,3V.
SCL GPIO 1 Requires a 3k3 pullup resistor to 3,3V.


Pinout



Lifehack

To put the ESP01 into flash mode, the GPIO-0 must be pulled to GND. Some bootloaders don't have a button for this, you can simply solder a micro button to the back.

wio/esp01-en.txt · Last modified: 2022/11/20 12:36 by 127.0.0.1