ESP resetting

Ethan's picture

Offline

Joined: Sep 17, 2018

Replies: 0
ESP resetting
June 28, 2019 - 6:59pm

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 

Munna Pandit's picture

Offline

Joined: Jan 21, 2019

Replies: 42
check the power
June 28, 2019 - 7:04pm

dear 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.