I know who you are, where you live.
Wanna dare avoiding rules?
Entire Forum
This board
This topic
Members
Entire Site
Home
Contact Us
Help
Search
GoogleTagged
Donations
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
November 26, 2024, 07:43:43 07:43
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Sonsivri
>
Electronics
>
General Electronics
(Moderators:
o2
,
pickit2
) >
rs232/usart
Pages: [
1
]
« previous
next »
Print
Author
Topic: rs232/usart (Read 3990 times)
0 Members and 1 Guest are viewing this topic.
wop
Newbie
Offline
Posts: 11
Thank You
-Given: 5
-Receive: 0
rs232/usart
«
on:
June 02, 2006, 10:17:28 10:17 »
So I am using an hcs12 and trying to communicate to another device using a usart. i have noticed that i must connect the transmit line of the usart to the transmit line of my rs232 level shifter to get things to display on my computer, why is this?
thank you.
Logged
donat
Guest
Re: rs232/usart
«
Reply #1 on:
December 05, 2007, 05:46:57 17:46 »
this is because the max 232 is as you say a level shifter, it just upps the levels.
The tx and Rx lines should be mixed from the rs232 to the PC.
Greets. D.
Logged
computer
Newbie
Offline
Posts: 17
Thank You
-Given: 13
-Receive: 2
Re: rs232/usart
«
Reply #2 on:
December 11, 2007, 09:06:10 21:06 »
The level shifter must convert the TTL signal from the HC12(0V for logic 0 and 5V for logic 1) to the computer's RS232 standart signals(12V for logic 0 and -12V for logic 1).
[]'s
Logged
yoda
Junior Member
Offline
Posts: 63
Thank You
-Given: 706
-Receive: 18
Re: rs232/usart
«
Reply #3 on:
December 13, 2007, 11:27:13 23:27 »
Quote from: wop on June 02, 2006, 10:17:28 10:17
i have noticed that i must connect the transmit line of the usart to the transmit line of my rs232 level shifter to get things to display
Hello,
The TX and RX indications are given to I/O lines following the RIAA or RS232 specifications for DB25 connectors, which are male and female (of course) and in some situations don't reflect the actual data direction, which can be confusing.
Bye
Logged
pici192
Guest
Re: rs232/usart
«
Reply #4 on:
December 21, 2007, 01:13:54 13:13 »
Are you think on this?:
http://www.sprut.de/electronic/pic/grund/rs232.htm
Logged
pinoytsikboy
Junior Member
Offline
Posts: 66
Thank You
-Given: 68
-Receive: 11
Re: rs232/usart
«
Reply #5 on:
December 22, 2007, 03:25:12 03:25 »
Hi. if you are into microcontrollers, some of them has built in TX/RCV for RS232. no need for level shifters. PIC 16f87xx series and some 18Fxxx are examples.
Logged
yoda
Junior Member
Offline
Posts: 63
Thank You
-Given: 706
-Receive: 18
Re: rs232/usart
«
Reply #6 on:
August 07, 2008, 10:54:43 22:54 »
Quote from: pinoytsikboy on December 22, 2007, 03:25:12 03:25
Hi. if you are into microcontrollers, some of them has built in TX/RCV for RS232. no need for level shifters. PIC 16f87xx series and some 18Fxxx are examples.
Is that true? You should connect + and - 12v. to the chip then, or are there switchers inside like in the Maxim 232 chips?
Logged
sunskier
Guest
Re: rs232/usart
«
Reply #7 on:
August 12, 2008, 07:06:54 07:06 »
Sorry, I don't think so. First, i am a newbie learn'n pic.
But, there always has max232 chip between pic and rs232.
If you connect +/-12v to pic directly, it'll burn.
Logged
yoda
Junior Member
Offline
Posts: 63
Thank You
-Given: 706
-Receive: 18
Re: rs232/usart
«
Reply #8 on:
August 13, 2008, 11:01:44 11:01 »
Quote from: pinoytsikboy on December 22, 2007, 03:25:12 03:25
Hi. if you are into microcontrollers, some of them has built in TX/RCV for RS232. no need for level shifters. PIC 16f87xx series and some 18Fxxx are examples.
Only if you connect on logic level (ttl) you can leave out a level shifter IC. But then you should'nt call that RS232, because that implies using + and minus voltages.
So you can definitly not connect a 16F87 chip without a levelshifter (max232) to an RS232 device, cause the PIC is all ttl only.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Electronics
-----------------------------
=> Projects
=> Pic Basic Languages
=> Pic C Languages
=> AVR, 8051 Family and ARM Area
=> RTOS
=> Artificial Intelligence (AI) & Robotics
=> Hardware and Tools
=> General Electronics
-----------------------------
Computers
-----------------------------
=> Internet Scripting Languages
=> Graphics and CAD
-----------------------------
Announcements and Rules
-----------------------------
=> Help & Rules
===> English
===> Arabic
===> French
===> Italian
===> Persian
===> Portuguese (Brazilian)
===> Spanish
===> Swedish
===> Turkish
=> Announcements
-----------------------------
Others
-----------------------------
=> General
=> Entertainment
=> Suggest Forum Content
=> Holiday and Greetings
=> Testing Forum
=> Invitation Request
Loading...