hey, i was doing a project of reading temperature sensor from DHT11 with NodeMCU and i am trying to control a 5V motor with gpio but NodeMCU is resetting when i start the motor by sending high signal in D0 pin of NodeMCU. Also the data doesnt show on the serial monitor. please help me
Abhimanyu Pandit
Permalinkdear ethan, this is clearly a problem of voltage. as we know that the NodeMCU pins can output 3.3V but you have connected a 5V motor. So NodeMCU is resetting whenever you give high signal to D0. i would sugget that use relay module to run a motor. or you can use level shifter also.
- Log in or register to post comments
Joined January 21, 2019 42Monday at 12:12 PM