NodeMCU and SSD1306 boot hangs
Posted: Mon Oct 24, 2016 9:40 am
Hi All,
Got a problem with connection of the SSD1306 OLED display to NodeMCU (ESP12E based version).
Wiring has been done with and without pull up resistors (1kOhm and 10kOhm).
If I connect all 4 wires between the two boards and do a power cycle the NodeMCU stops booting at all. Cannot connect to it via the COM port. In ESPTool the connection is shown in red.
If I disconnect the wire VCC from OLED and do a power cycle NodeMCU boots. If I connect VCC between OLED and NodeMCU afterwards (without powering NodeMCU off) OLED becomes operational. Subsequent software resets (node.restart()) will not cause any issues.
What could be a reason for such behavior?
Update:
Actually made the thing working by connecting to other pins. Initially SSD1306 was connected to pins D7,D8. After switching pins to D1,D2 everything starts working. No idea on what was wrong...
Got a problem with connection of the SSD1306 OLED display to NodeMCU (ESP12E based version).
Wiring has been done with and without pull up resistors (1kOhm and 10kOhm).
If I connect all 4 wires between the two boards and do a power cycle the NodeMCU stops booting at all. Cannot connect to it via the COM port. In ESPTool the connection is shown in red.
If I disconnect the wire VCC from OLED and do a power cycle NodeMCU boots. If I connect VCC between OLED and NodeMCU afterwards (without powering NodeMCU off) OLED becomes operational. Subsequent software resets (node.restart()) will not cause any issues.
What could be a reason for such behavior?
Update:
Actually made the thing working by connecting to other pins. Initially SSD1306 was connected to pins D7,D8. After switching pins to D1,D2 everything starts working. No idea on what was wrong...