Error: power on the board.
Posted: Fri Jun 04, 2021 9:45 pm
Hello! I'm new here and this is my first project with ESP8266.
I'm working on the NodeMCU board and my code is running correctly.
The code has to connect the board to the router, display some information on an OLED screen and control the speed of two fans using PWM depending on a temperature value.
But when I load the main.py and power on or reset the board it never reaches the connection function, therefore it does not show the information on the screen either. UNLESS I remove the resistors at the PWM outputs, and one resistor coming from a buttont that using an interruption inverts the OLED, and reset again.
(Those pins are D5 and D6 for the PWM, and D7 for the button.)
Once connected to the router and showing the information I connect the resistors again and it works properly.
How can I fix this? I don't want to make this changes to the circuit every time the board reset. Thank you.
I'm working on the NodeMCU board and my code is running correctly.
The code has to connect the board to the router, display some information on an OLED screen and control the speed of two fans using PWM depending on a temperature value.
But when I load the main.py and power on or reset the board it never reaches the connection function, therefore it does not show the information on the screen either. UNLESS I remove the resistors at the PWM outputs, and one resistor coming from a buttont that using an interruption inverts the OLED, and reset again.
(Those pins are D5 and D6 for the PWM, and D7 for the button.)
Once connected to the router and showing the information I connect the resistors again and it works properly.
How can I fix this? I don't want to make this changes to the circuit every time the board reset. Thank you.