Olimex Support Forum

Microcontrollers => ESP8266 => Topic started by: hipernik on April 16, 2017, 10:35:22 PM

Title: 6 relays , but only 5 GPIO pin works, help me to find 6th
Post by: hipernik on April 16, 2017, 10:35:22 PM
Hi, i have the MOD-WIFI-ESP8266-DEV and i have to connect 6 relays
const int relePin1 = 5;   // Relay PIN        OK
const int relePin2 = 4;   // Relay PIN        OK
const int relePin3 = 13;  // Relay PIN pin 18 OK
const int relePin4 = 15;  // Relay PIN        OK
const int relePin5 = 12;  // Relay PIN        OK
please help me to find which pin to use for the 6th relay and please tell me which is the number i have to write and which is the pin number on MOD-WIFI-ESP8266-DEV i have to connect.
I try with many pin but nothing works...
Best Regards
Title: Re: 6 relays , but only 5 GPIO pin works, help me to find 6th
Post by: LubOlimex on April 18, 2017, 12:51:33 PM
Refer to the table in the right part of the schematic: https://github.com/OLIMEX/ESP8266/blob/master/HARDWARE/MOD-WIFI-ESP8266-DEV/MOD-WIFI-ESP8266-DEV_schematic.pdf

Pads 16, 17, 18, 19 seem free  (respectively, pins GPIO12, GPIO14, GPIO13, GPIO15).

Best regards,
Lub/OLIMEX