Chat freely about anything...

User avatar
By bram
#9188 I just got a esp8266 :D , but it responds with strange characters. my computer receives everything right and it says ready but if I send a command it responses with some garbage like: OQ. I don't know what the problem is but maybe it's the circuit that I am using. I got a 12v power supply regulated at 3,6v and here is my circuit:
Attachments
esp8266.png
Wiring
User avatar
By lanternfish
#14046 You have an NPN transistor in your circuit but is wired up incorrectly. An NPN should always have it's emitter (arrow lead) to GND and collector to load and +ve.
Also, you appear to have no resistor between the base and the USB TX.
Either you have drawn your circuit incorrectly or you have completely misunderstood using a transistor buffer. An NPN resistor will act as an inverter so a 1 at the input produces 0 at the output, and vice versa.
The easiest thing to do for level conversion is to remove your transistor circuit and put a 220R to 560R resistor between the USB TX and ESP TX.