Hacked Gadgets Forum

June 23, 2007

TTL to RS232 adaptor Explained

at 1:25 pm. Filed under DIY Hacks, Electronic Hacks

When building microcontroller projects it’s often desirable to connect them to a computer. Most RS232 computer ports are able to read 0 and 5 volt TTL data levels however there are some computers that require voltage levels that are closer to the true RS232 spec. Most people use a MAX 232 chip when there is a need to follow the spec. correctly, but it’s possible to build your own circuit. uC Hobby has an article that shows and describes a circuit that does just that.

“The basic problem we have to solve is that the uC UART is a logic level device and RS232 is not. To send data over RS232 the voltages need to be about +/-10V while the output at the uC will be 0-5V or 0-3.3V. To see a zero signal the receiving RS232 device needs to see a negative voltage. We also need to invert the phase of our logic signal so that a 1 (5V) is converted to the negative voltage (-10).

Typically the threshold for 1 vs. 0 in the RS232 receiver is slightly above 0V we can get away with using less then +/- 10V. +/-5V should be sufficient for almost any devices. We usually have +5V available in our electronics projects but the negative voltage is a problem.”


 


Related Posts

RS232 Breakout Board
GPS RS232 Breakout Circuit
The Gamerator
How to make a dual-supply RS-232 to TTL level converter
High Altitude Balloon Experiment
A Rounder Ball For the World Stage
Rechargeable USB Battery
LED Hat

 


 

One Response to “TTL to RS232 adaptor Explained”

  1. BrandonU Says:

    That’s a nice solution for those that don’t have a MAX 232 or similar level-translation chip available, or don’t want to wait to order one.

Leave a Reply

 

Internal Links:


Categories:

Search:

Google
Hacked Gadgets
Web

Site Sponsors:

 

Recent Comments:

bri on Atari 2600 Joystick TV Remote Control

News for Geek » Blog Archive » Robodance enables Wiimote control of your WowWee Rovio on WowWee Rovio Hack allows Wiimote Control

mophie’s iPhone 3G Juice Pack ships today, not a moment too soon | xebux.com on WowWee Rovio Hack allows Wiimote Control

Botropolis » Blog Archive » Robodance: Control Your WowWee Rovio With A Wiimote on WowWee Rovio Hack allows Wiimote Control

Robodance enables Wiimote control of your WowWee Rovio | OnOnPig on WowWee Rovio Hack allows Wiimote Control

Build a frequency counter| DIY Blog | Complete source of DIY Information, Tutorials, Guides, Reviews| DiyUs.com on FunCount - Frequency Counter

Build a frequency counter » Developages - Development and Technology Blog on FunCount - Frequency Counter

Daily DIY Network - Science Projects Plans Guides » Blog Archive » Build a frequency counter on FunCount - Frequency Counter

Robodance enables Wiimote control of your WowWee Rovio | ah! on WowWee Rovio Hack allows Wiimote Control

Tim on Energy Monitoring Project

marain on Computer controlled RC helicopter

Robodance enables Wiimote control of your WowWee Rovio | Technology Blog on WowWee Rovio Hack allows Wiimote Control

Gadget & Tech News » Robodance enables Wiimote control of your WowWee Rovio on WowWee Rovio Hack allows Wiimote Control

jopettitt.com » Blog Archive » Robodance enables Wiimote control of your WowWee Rovio on WowWee Rovio Hack allows Wiimote Control

Your Gadget Guide » Blog Archive » Robodance enables Wiimote control of your WowWee Rovio on WowWee Rovio Hack allows Wiimote Control

Site Rating:

Technology blogs

Technology Blogs - Blog Flare

Technology Blogs - Blog Top Sites

Top Technology blogs

Technology Blogs

Best blogs on Technology and Science

More RSS Feed Options

Most Popular This Month:

Text-Based YouTube Video Player for Linux
Computer Controlled Room Ambilight Controller
DIY Open Source MIDI Keyboard
Nintendo Wiimote Playing Star Trek Theme
Debug Visual Studio 2005 Using a Wiimote
Diode based Fan Controller
Induction Heating Demonstration
Autonomous Blimp - ECE 476 Microcontroller Design Project
DIY Pick and Place Machine
Multitouch SensitiveTable Skin

Site Sponsors:

 

Interesting Sites:

Sony Vaio SZ
ThinkGeek
Apple TV Hacks
Gadget India
Top HDTV Reviews
VoIP Phone
Technology Blog
Free Phone Number Trace
How To Hack
PSP Mods and Hacks

 

Site Videos:

Incoming Links:

Recent Readers:

Forum Activity:

Get this widget!