Skip to content

Protect your USB sockets with this bidirectional USB to Serial isolator

License

Notifications You must be signed in to change notification settings

RalphBacon/240-USB-to-Serial-Isolator

Repository files navigation

#240 USB-to-Serial Isolator (Bidirectional)

Protect your USB sockets with this bidirectional USB to Serial isolator

image
See video: #240 on YouTube https://youtu.be/a9OMEPXGqD4

JLCPCB-Purple

► You can now support me by buying me a coffee!
https://buymeacoffee.com/ralphbacon

This project was inspired by an idea/project by Tim Blythman in the March 2022 edition of Practical Electronics.
More details on this excellent magazine here: https://www.electronpublishing.com/
I have modified the circuit slightly and created a custom PCB for my own use which I share here.

If you have ever pushed more than 5v up the USB VCC line you will know what a mess it can make of your PC or laptop. This also applies if you do something silly to the RX or TX pins on your Arduino. Apart from letting the magic smoke escape from your Arduino you also run the risk of doing the same to the USB chip on your PC or laptop. Ouch.

This circuit allows bidirectional communication between your PC and your Arduino (or other μController) with absolute safety as the only thing going back and forth is infrared light!

You can also communicate with two PCs (or a PC and laptop) by adding more than one of the CP2102 modules; not normally needed when used with a microcontroller but this circuit allows for that!

► Components used:
PCB CP2102 Smal Colour
CP2102 USB-to-Serial converter with its in-built 5v to 3v3 converter
https://www.aliexpress.com/item/32390863227.html

► Gerber Viewers
See the files in the repository

► Intelligent Level Crossing Detector from 1985
See the files in the repository

► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon

► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey

My channel, GitHub and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
https://buymeacoffee.com/ralphbacon
------------------------------------------------------------------

About

Protect your USB sockets with this bidirectional USB to Serial isolator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published