I've just build an ESP8266 OneWire Gateway (https://twitter.com/pregopm/status/1161749689336811520) and plan to use it with EspEasy. It works great, but as I'm using the ESP-WROOM-02(U) modules - which I like for their availability and reliability - something could not be right.
I currently flashed "ESP_Easy_mega-20190409_normal_WROOM02_2M.bin" and my onewire-level-shifter is connected to IO5 according to this pinout diagram:
The problem now is, that I have to set the onewire-pi to GPIO4/D1 to get it to work - albeit it is connected to IO5.
Also the I2C is set up for GPIO4/5 which seems not be right for the WROOM-02, according to the Espressif-Datasheet (https://www.espressif.com/sites/default ... eet_en.pdf - section 3.4) this should be IO14 (SCL) and IO2 (SDA).
//edit: The WROOM-02 and WROOM-02U have the same pinout. The only difference is, that the 02 has a PCB antenna and the 02U has an u.FL-connector.
Could you tell me the correct pin definition for the WROOM-modules?
Any input on this matter is appreciated. Thank you!
//edit:
I've just flashed a blink example using the "Generic ESP8266 Module" from ESP Arduino core V2.5.2 and GPIO5 is there where the pinout from above states. So, which board definition is used for the binary releases?
Code: Select all
void setup() {
pinMode(5, OUTPUT);
}
void loop() {
digitalWrite(5, HIGH);
delay(1000);
digitalWrite(5, LOW);
delay(1000);
}
Patrik