I have a quick question about UART communication between the AT89S52 and my laptop.
I’m trying to send data from the AT89S52 over UART, and I know there are different interface standards like TTL and RS232. I plan to use a CP2102 USB-to-TTL converter for this.
Now, the AT89S52 runs on 5V, and I saw that the CP2102 uses 3.3V logic levels (even though its VCC can be 5V).
I’m attaching the links to both the CP2102 module and the AT89S52 MCU below for reference:
Link to CP2102 module https://robu.in/product/cp-2102-6-pin/?msclkid=67f1bcb79bb2153ec917dbceaca34145
Link to AT89S52 datasheet https://ww1.microchip.com/downloads/en/DeviceDoc/doc1919.pdf
So I’m wondering will CP2102 communicate properly with the 5V AT89S52? More specifically, will the 5V TX from the AT89S52 damage the 3.3V RX pin on the CP2102, or is it safe to connect directly?
Just wanted to be sure before I hook it up. Thanks
I’m trying to send data from the AT89S52 over UART, and I know there are different interface standards like TTL and RS232. I plan to use a CP2102 USB-to-TTL converter for this.
Now, the AT89S52 runs on 5V, and I saw that the CP2102 uses 3.3V logic levels (even though its VCC can be 5V).
I’m attaching the links to both the CP2102 module and the AT89S52 MCU below for reference:
Link to CP2102 module https://robu.in/product/cp-2102-6-pin/?msclkid=67f1bcb79bb2153ec917dbceaca34145
Link to AT89S52 datasheet https://ww1.microchip.com/downloads/en/DeviceDoc/doc1919.pdf
So I’m wondering will CP2102 communicate properly with the 5V AT89S52? More specifically, will the 5V TX from the AT89S52 damage the 3.3V RX pin on the CP2102, or is it safe to connect directly?
Just wanted to be sure before I hook it up. Thanks