logo elektroda
logo elektroda
X
logo elektroda

Arduino Mega 2560 - ESP8266 logic level converter diagram

rafik73 1707 12
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17498606
    rafik73
    Level 13  
    Hello
    I am looking for a schematic of a proven logic level converter circuit. I want to connect an Arduino Mega 2560 to an ESP8266-01 via rx and tx. I'm concerned with a fast converter that does not delay transmission.
    Do you have a problem with Arduino? Ask question. Visit our forum Arduino.
  • ADVERTISEMENT
  • #3 17498659
    rafik73
    Level 13  
    scheme :) .....
  • ADVERTISEMENT
  • #4 17498661
    ArtXs
    Level 24  
    There is a diagram for each. Tab - Technical Details. There are .PCB and .SCH files for Eagle on GitHub.
  • #5 17498691
    rafik73
    Level 13  
    ok. I once caught a glimpse of a schematic based on MOSFET 2N7000 transistors but cannot find it.
  • #7 17502678
    kaczakat
    Level 34  
    If you care about speed then maybe ditch the logic converter, I read somewhere that Expressive themselves admitted that the ESP8266 has pins that tolerate 5V, before I found this I connected it myself by accident and since it worked I threw away the converters and tested my ESP boards on 5V, they all survived these tests, you can also read here: https://www.ba0sh1.com/blog/2016/08/03/is-esp8266-io-really-5v-tolerant/ . I also catalysed a few with 5V power and they survived, but I don't recommend this as they draw more current and work less stably.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #9 17503797
    kaczakat
    Level 34  
    According to the CEO of Espressif "Teo Swee Ann i can reply officially here: it is 5V tolerant at the IO. while the supply voltage is at 3.3V." The same applies to the ESP32. Here are links to statements on some newsgroup: https://news.ycombinator.com/item?id=16009988 Obviously this is not technical documentation, I don't know the guy whether he is an engineer or an economist. A level converter certainly wouldn't hurt, there could be an ST2378E max 13Mbps buffer straight away.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #10 17503961
    rafik73
    Level 13  
    In my opinion, the manufacturer's opinion is more reliable. Just because it works at 5V does not mean it is correct, especially as the manufacturer does not recommend it. Everyone will do as they see fit and at their own risk and responsibility. In my circuit there should not be much delay. The Arduino communicates with the ESP8266-01 every 2 seconds and gets the json value from the response....
  • #11 17505922
    krzbor
    Level 27  
    Just why a complex converter? See this Link . Or even a simple divider Link .
  • #13 17506328
    tantalos1
    Level 17  
    A very simple and fast logic level converter can be built on circuits 74lvc1t45 .

Topic summary

The discussion focuses on connecting an Arduino Mega 2560 to an ESP8266-01 module via RX and TX lines using a logic level converter that minimizes transmission delay. Several schematic references and links to proven circuits were shared, including designs based on MOSFET 2N7000 transistors. It was noted that the ESP8266's GPIO pins are reportedly 5V tolerant despite operating at 3.3V supply, as confirmed by statements attributed to Espressif's CEO, though this is not officially recommended by the manufacturer. Alternatives to complex level shifters include simple voltage dividers or dedicated ICs like the 74LVC1T45, which offer fast and straightforward level shifting. The discussion also referenced resources such as GitHub repositories with Eagle PCB and schematic files, and articles explaining level shifting techniques for 3.3V and 5V logic communication. Overall, the consensus suggests that while direct 5V connection may work, using a proper level converter such as a MOSFET-based circuit or a 74LVC1T45 IC is safer and can ensure reliable, low-latency serial communication between Arduino Mega 2560 and ESP8266-01.
Summary generated by the language model.
ADVERTISEMENT