How To Build Your Own RS232 To TTL Converter
Hi good peoples!
Couple of days ago I got a request to update some sort of firmware on a not so typical microprocessor, the LPC2119 type.
As I read many pages on the internet I saw there is a sort of adapter so called “USB to TTL adapter” who can communicate through with the uC. I had not the time to order one but I give a try to make one for the COM port. Actually it is an RS232 to TTL converter which I found better from my opinion than that USB to TTL adapter.
Here is why I like more this RS232 to TTL adapter than the other one:
– can be used on a real RS232 port.
– it is a stable voltage level converter
– can be used on USB port too ( through USB to RS232 converter )
– there is no VCC ( somebody would say it’s a disadvantage but wait…) *
– it is a real hardware stuff, no emulation etc. ( if it is used through a real com port )
– can be built really cheap and easy
Disadvantages of this device:
– it’s old school
– has to use an external power source ( which is actually not bad! )
For what to use such a device?
If you repair electronic where are cpu’s need to be updated the firmware, or you just practicing on some development board where are used some sort of cpu for communicating with the computer, or you maybe can also use it to debugging some sort of data from a desired circuit etc…
Enough talking but go to building one. Here is the schematic what I done and the whole part list to build this simple but usable device.
– MAX232 ( whatever manufacturer )
– Capacitor of 2.2uF
– Some wiring for connection or make a small pcb
– External power source
* Personally I don’t trust device which use the power from the USB port.
Lot of time I run into trouble, killed eeprom content’s, killed the uC’s firmware’s etc. because a voltage drops on the USB port. The USB port can’t manage more current than 500mA (I talk about the USB 2.0), which is not a small amount but also not enough if on the same USB controller are attached a mouse, scanner etc.
You can run out of power and the USB controller will shut down until you read or write the content to or from the desired device.
Here is the schematic:
I know, this is not a big deal but it was very handy for me at the moment when I needed. You can mod this as you wish for your meaning, it is a nice tool when it comes to the moment to finish a job, but you don’t have the right tool and you also can’t wait for delivery.
Here is a picture about a commercial version, just for idea how you could also build one.
I hope you enjoy this tutorial and will save lot of repair time.
This article was prepared for you by Christian Robert Adzic from Novi Knezevac-Serbia.
Please give a support by clicking on the social buttons below. Your feedback on the post is welcome. Please leave it in the comments.
P.S- If you enjoyed reading this, click here to subscribe to my blog (free subscription). That way, you’ll never miss a post. You can also forward this website link to your friends and colleagues-thanks!
Note: You can check his previous post in the below link: