hallard / WeMos-RN2483

ESP8266 WeMos Shield for Microchip LORAWAN RN2483 or RN2903
39 stars 8 forks source link

Free D0 for deep sleep #6

Closed tkerby closed 7 years ago

tkerby commented 7 years ago

In a future revision, I'd like to see the opportunity to wire D0 to RST for deep sleep with a jumper / solder bridge on the board. This would mean moving the WS2812 LED to another pin such as D16

hallard commented 7 years ago

You can use Deep sleep without any problem, D0 is GPIO16 and this pin is free, Led is on GPIO0 which is D3. So you just need to solder a small wire between pin numbered (on this shield) 16 and RST (pin A0 is in between)

Check Pins_Arduino_h for Wemos Mini D1

static const uint8_t D0   = 16;
static const uint8_t D1   = 5;
static const uint8_t D2   = 4;
static const uint8_t D3   = 0;
static const uint8_t D4   = 2;
static const uint8_t D5   = 14;
static const uint8_t D6   = 12;
static const uint8_t D7   = 13;
static const uint8_t D8   = 15;
static const uint8_t RX   = 3;
static const uint8_t TX   = 1;