-->
Page 1 of 1

Vibration motor issue with esp8266-01

PostPosted: Sat Aug 15, 2015 6:07 am
by bram
Hey,

I am trying to control a vibration motor with the esp8266-01 but if I connect it and power up the esp it doesn't work and spits out garbage :( . I directly connected the motor to the esp but also tried a transistor and it had the same effect. Directly connecting to the esp8266-03 did work :) put not to my esp8266-01 :( . Does anyone have suggestions?

Bram

Re: Vibration motor issue with esp8266-01

PostPosted: Sat Aug 15, 2015 6:36 am
by Barnabybear
bram wrote:Hey,

I am trying to control a vibration motor with the esp8266-01 but if I connect it and power up the esp it doesn't work and spits out garbage :( . I directly connected the motor to the esp but also tried a transistor and it had the same effect. Directly connecting to the esp8266-03 did work :) put not to my esp8266-01 :( . Does anyone have suggestions?


Hi, the GPIOs of the ESP8266-01 set the "boot mode" at power up see wiki above.
If you are connecting the motor between a GPIO & GND, this will pull the GPIO low on power up & affect the boot.
If you connect the motor between 3.3V & a GPIO you will get better results. Setting the GPIO high will switch off the motor & setting low will switch on. I would recomend using GPIO 2 if you want to be able to flash the ESP whilst the motor is connected.

Re: Vibration motor issue with esp8266-01

PostPosted: Sat Aug 15, 2015 7:00 am
by bram
Hi Barnabybear,

Thanks for the tip. It fixed the problem. :D