Post topics, source code that relate to the Arduino Platform

User avatar
By gmc
#7490 Thanks. Tried that circuit already. No luck. I've ordered a 4050 and will try that. Otherwise I currently have the ESP TX and Arduino RX directly connected and its been running fine for a day so might just leave it like that. As a previous poster said so chance of overvoltage on the Arduino pins as the ESP is 3.3v
User avatar
By Michaelo
#8443 Strangely enough, no combination of resistor dividers worked for me... might have been my 3 volt supply, so I decided on a simple diode resistor option below...
The RX on the Arduino is set to an input so in theory it can be connected directly to the ESP TX but I did add a resistor just in case spiked at power up...
2015-01-29_104603.jpg

The 4050 operated at 3.3 volts is another good option for testing and you can always use the other gates for buffers and the like...
You do not have the required permissions to view the files attached to this post.
User avatar
By jra
#8450 http://www.semiconductors.philips.com/a ... n97055.pdf describes a MOSFET solution that is probably the most popular. The app note specifies a BSS138 transistor but either 2N7000 or 2N7002 (SMD version) will work. This is the design used in the http://www.adafruit.com/product/757 ($3.95, I have one of these and it works well), https://www.sparkfun.com/products/12009 ($2.95) and https://www.pololu.com/product/2595/resources ($2.50) boards. If you want to solder your own, there is also an OSH Park project https://oshpark.com/projects/UVLYN7J9 ($1.20 for 3 boards).