Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 23rd April 2004, 10:44 PM   (permalink)
Default RS232 to invert TTL converter

I'm using ATMEGA16. It provides me with code to transmit and receive data via the USART. I've been looking for an RS232 to invert TTL conversion device on the internet and I can't find anything.

Thanks!
Hani A.
__________________
i\'m actually a novice in the robotics field and would love to get help to lunch my projects..
hani_a is offline  
Old 23rd April 2004, 10:47 PM   (permalink)
Default

do a google search for MAX232
Exo is offline  
Old 25th April 2004, 07:09 PM   (permalink)
Default

You can also use the LT1181 which I have used successfully.
Nek is offline  
Old 28th April 2004, 03:48 PM   (permalink)
Default RS232

hi
You can use every RS232 IC for example max 232 or ICL 132 &ICL 233
from HARRIS semiconductore
BUT i have a happy suggestion
test THis circut Its very chep and work very well
[img]
Attached Images
File Type: gif RS232_111.gif (2.7 KB, 546 views)
__________________
student_electronic_eng
hope is best
tom_electronic is offline  
Old 30th April 2004, 10:36 AM   (permalink)
Default

:idea:

For my serial work on PICs (i know you are using an atmel, but it may help others...) I just use a 10k resistor to the RX pin (on the PIC) and connect the TX (from the PIC) straight to the PC.

The catch.... you can't use the UART, the rs232 data is now "inverted", all the max232 ic's etc invert the data for use with the PIC UART...

It works a treat, i have used this reliably (over standard cable lengths) to 115200 at 8mhz

Let me know if anyone wants the code for the serial tx/rx!
__________________
Regards


MATT!
Matt(Pic progger) is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 06:45 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker