Chat here about code rewrites, mods, etc... with respect to the github project https://github.com/esp8266/Arduino

Moderator: igrr

User avatar
By Nic Roche
#54663 Hi,

Using a 9g mini servo, if I follow the wiring diagram from the original Arduino schematic, it does not work.

Do I need a logic level converter on the signal for this to work? (some posts say the 3.3V is suffice).

How are these wired?

Thanks,
Nic
Last edited by Nic Roche on Thu Sep 08, 2016 4:54 am, edited 1 time in total.
User avatar
By schufti
#54675 I only know a 9g mini SERVO. As "sweep" is a term not usually used with steppers and steppers usually won't be directly connected to the µC, I assume you talk about servos.

Since my crystal ball is at maintainance at the moment, I can't see neither your setup nor your sketch.

I can, otoh, confirm that in general all servos that I tried did run directly on the esp w/o any level shifting, just by using the "servo" lib accompanying the esp8266 core.
User avatar
By Nic Roche
#54678 Sorry I was looking at a few options; I corrected the stepper reference.

I used the servo example "Sweep":
https://github.com/esp8266/Arduino/blob ... /Sweep.ino

Wiring same as http://arduino.cc/en/Tutorial/Sweep substituting esp for arduino on GPIO2 (and 5V on servo).

I will try a different servo and ESP.

schufti wrote:I only know a 9g mini SERVO. As "sweep" is a term not usually used with steppers and steppers usually won't be directly connected to the µC, I assume you talk about servos.

Since my crystal ball is at maintainance at the moment, I can't see neither your setup nor your sketch.

I can, otoh, confirm that in general all servos that I tried did run directly on the esp w/o any level shifting, just by using the "servo" lib accompanying the esp8266 core.