avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] "Why me?" UART problem.


From: Niklas Brogden
Subject: Re: [avr-gcc-list] "Why me?" UART problem.
Date: Mon, 21 Jun 2004 10:37:39 +0200

----- Original Message ----- 
From: "Pat Deegan" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Monday, June 21, 2004 7:19 AM
Subject: Re: [avr-gcc-list] "Why me?" UART problem.


> Greets,
>
> On Mon, 2004-06-21 at 00:49, Laszlo wrote:
> > I've connected the 2313 TX pin (pin 3) to my RS232 DB-9 RX (pin 2)
> > (along with a ground connection and likewise the RX to TX).
>
> Ah, are you saying you are connecting your AVR to the RS232 port?  The
> AVR will output logic level data on the UART pins.  This, I believe,
> *must* be converter to RS-232 signals (with binary 0, space, a +5-15 V
> and binary 1, mark, at -5 to -15V).
>
> Use a chip like the Max232.

Yes, you must use an RS-232 driver! The MAX232 chip works fine and needs a
few 1uF capacitors.
Alternatively, the MAX202CPE chip is another variant that only requires
100nF capacitors making for
neater circuit boards.



\Nik Brogden


>
> Refs:
>
> http://chaokhun.kmitl.ac.th/~kswichit/MAX232/MAX232.htm
>
> http://www.omega.com/techref/pdf/RS-232.pdf
>
> http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1798
>
> HTH
>
> Regards,
> -- 
> Pat Deegan
> http://www.psychogenic.com/
> PGP Key: http://www.keyserver.net 0x03F86A50
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]