로그인회원등록 내글장바구니주문조회현재접속자
 상품 검색








 게시판 검색





 
 
회원등록 비번분실


온라인 입금계좌
ㆍ기업은행
ㆍ219-043192-01-028
ㆍ이건영

      거래은행 바로가기
 
 Sensor Applications
센서 자료실
작성자 leeky        
작성일 2006/02/13
첨부#2 rs232_desc_sch.gif (0KB) (Down:28)
Link#1 ttl-rs232.htm (Down:142)
ㆍ추천: 0  ㆍ조회: 652   
  RS232 신호 변환회로

RCL-1 RS232 Level Converter in a DB9 backshell

Methods TTL to RS232
Use a TTL HI output for the RS232 GND: Steve Walz of armory.com says
"Use a TTL HI output for the RS232 *GROUND*!! Then you get +/-5VDC levels to fake out the RS232.
When TTL-GND goes HI, then a TTL-XMT LO looks like -5VDC and a "mark".
Even sign problems go away in hardware!
When TTL-GND goes LO, and TTL-XMT goes HI,
it looks like +5VDC and a "space"!
You can derive the two TTL signals from one off an inverter or inverter pair!
Then magically, you have direct TTL to RS232 conversion!!

M. Adam Davis points out that we should "Just *make sure* the power supply of the
pic and/or the power supply of the other rs-232 device are not grounded.
ie, my bench power supply has +5v and ground, but the ground is grounded to the house ground,
SO is the computer's rs-232 port. I can't use this trick without isolation.
This also means that any interaction with other external devices requires some thoughtful planning.
" [Ed: this is only true if the devices confuse signal ground and chassis ground.
Remember that ground is at DB25 pin 7, and not pin 1 Pin 1 is chassis ground, not signal ground.]

Bob Ammerman [RAMMERMAN at PRODIGY.NET] of RAm Systems says:
Here is a neat trick to get a 'push-pull' output from two PORT A pins:
1: define them as analog (ADCON1)
2: TRIS them as outputs.

Now, when you BSF either of them the other will automatically be cleared.
Andrew Warren says:
Of course, if you can't configure the pins as analog inputs
(because, for instance, the PIC you're using doesn't HAVE an A/D converter),
you can do this:

       MOVLW   00000001B       ;RA0 = 1, RA1 = 0.
       MOVWF   PORTA           ;

       MOVLW   00000011B
       XORWF   PORTA           ;Toggle RA0 and RA1.
       XORWF   PORTA           ;Toggle the two pins again.
       XORWF   PORTA           ;And again...
Or, if those two pins are the only ones defined as outputs on that port:

       MOVLW   00000001B       ;RA0 = 1, RA1 = 0.
       MOVWF   PORTA           ;

       COMF    PORTA           ;Toggle RA0 and RA1.
       COMF    PORTA           ;Again.
       COMF    PORTA           ;And again...

Steal the -12 from the RX or other pins:
Pin 2 on a peripheral connector (pin 3 on a host connector)
will typically rest at -12 as driven by the external device.
My Fluke 77/AN reads about -10 on pin 3 of the DB9 connected to my PC.
Some people (Tom Engdahl at)
http://www.hut.fi/Misc/Electronics/circuits/rspower.html

have suggested using this fact to derive -12 for TX power.
This makes sense as we normally are not RXing as we TX.
How about adding a diode, resistor and big fat cap to provide a more
or less steady source of -12v to drive pin 3 below zero when the NPN is biased off?

Scenix did this on a demo modem board,
http://www.piclist.com/techref/scenix/SX_Modem_demo.PDF

이 번역문은 ipstack.co.kr의 소유입니다, 임의의 복제 및 배포를 금합니다.
단 원저자, 원저자 사이트, 번역자, 번역자 사이트를 밝히면 배포가 가능합니다.
번역 : ipstack@ipstack.co.kr
날짜 : 23.Mar.2003.
   
윗글 MC34063A 설계용 계산기
아래글 Sound card based multimeter Scope
    N         제목    글쓴이 작성일 조회 추천
74 AT89C2051과 EM4095를 사용한 RFID 장치의 제작 leeky 2006/12/31 (일) 1230 0
73 UserPort for Windows 2000 leeky 2007/11/12 (월) 859 0
72 아날로그 PID 제어 회로 leeky 2007/11/12 (월) 1445 0
71 Windows Scope 2K4 leeky 2007/11/12 (월) 991 0
70 12C508 금속검출기 leeky 2006/02/24 (금) 1155 0
69 16C84 LCD표시 L,C 메터 leeky 2006/02/25 (토) 1199 2
68 89C2051 LCD표시 LC메터의 제작 leeky 2006/02/14 (화) 1220 8
67 12C508A 초음파 거리 측정기 avrtools 2006/02/23 (목) 1095 0
66 Caliper to computer (RS-232) interface leeky 2006/02/23 (목) 1126 4
65 가속도센서 ADXL202의 PIC12C508 인터페이스 leeky 2006/02/20 (월) 1084 2
64 16F84 광학식 심박측정기 leeky 2006/02/27 (월) 1162 6
63 12C508 전자 나침판 leeky 2006/02/27 (월) 759 0
62 ENC28J60 Ethernet to SPI Header Board leeky 2007/03/26 (월) 1028 0
61 SHT11 습도센서 8051 인터페이스 leeky 2006/02/14 (화) 1083 0
60 SHT11 습도센서 SX18 인터페이스 leeky 2006/03/16 (목) 729 2
59 SRF04 초음파 거리센서의 제작 leeky 2006/02/25 (토) 772 0
58 Ambient Light Sensors TSL2550 avrtools 2006/04/06 (목) 755 0
57 PIC16F877A BioSense Physiologic Sensing leeky 2006/04/06 (목) 652 0
56 Electrocardiogram (ECG) Front End leeky 2006/04/06 (목) 718 0
55 Biometric Interface Board leeky 2006/04/06 (목) 838 0
54 MAX2242 802.11b 블루투스 RF증폭기 leeky 2006/04/06 (목) 534 0
53 AX.25 9600BPS 무선모뎀 L2PCX leeky 2006/04/06 (목) 424 0
52 TCS230 색상검출 평가키트 leeky 2006/04/06 (목) 1706 0
51 100V10A 50W 전자부하 leeky 2006/04/06 (목) 618 0
50 FLAME SENSOR UVTRON R2868 leeky 2006/04/06 (목) 604 0
49 Compact Optical Image Scanner leeky 2006/04/06 (목) 542 0
48 지자기 방위계 모듈 CMPS03 leeky 2006/04/06 (목) 700 0
47 0~1.5KV 정전기 측정센서 PKE05A1 leeky 2006/04/06 (목) 381 0
46 Rain Sensor 인터페이스 회로 leeky 2006/04/06 (목) 610 0
45 초음파 감지 센서 leeky 2006/04/06 (목) 615 0
44 HUMIDITY SENSOR HS-1100 leeky 2006/04/06 (목) 482 0
43 Relative Humidity Sensor KSH01, KSH-02 leeky 2006/04/06 (목) 371 0
42 Digital Radar Speedometer leeky 2006/04/06 (목) 539 0
41 Touch Sensitive Switch leeky 2006/04/06 (목) 579 0
40 Economy radar detector leeky 2006/04/06 (목) 415 0
39 Twin Loop metal detector leeky 2006/04/06 (목) 548 0
38 Proximity Detector CS209A/D leeky 2006/04/06 (목) 538 0
37 Lego Sound Sensor leeky 2006/04/06 (목) 486 0
36 12C508 IR Proximity Detector leeky 2006/04/06 (목) 700 0
35 Sharp IR Sensor Hack leeky 2006/04/06 (목) 673 0
34 TIL300 PRECISION LINEAR OPTOCOUPLER leeky 2006/04/06 (목) 427 0
33 Analog Opto Isolator leeky 2006/04/06 (목) 472 0
32 Rich Caudle's capaciflector leeky 2006/04/06 (목) 317 0
31 Geiger Tube leeky 2006/04/06 (목) 424 0
30 Lynxmotion Infrared Proximity Detector leeky 2006/04/06 (목) 403 0
29 Low Power LED Flasher leeky 2006/04/06 (목) 478 0
28 백색 LED BLU 구동회로 leeky 2006/04/06 (목) 513 0
27 저전압 백색 LED 구동회로 leeky 2006/04/06 (목) 547 0
26 IR LED 송신회로 avrtools 2006/04/06 (목) 562 0
25 LED 총방사 광량의 측정 leeky 2006/04/06 (목) 444 0
24 자외선 측정센서의 교정 leeky 2006/04/06 (목) 398 0
23 UV센서 S9050의 데이터 leeky 2006/04/06 (목) 312 0
22 디지털 자외선 메터 leeky 2006/04/06 (목) 362 0
21 Simple Metal Detector leeky 2006/04/06 (목) 550 0
20 DS1820 온도센서 읽기 leeky 2006/04/04 (화) 622 0
19 RC5 적외선 리모콘의 신호처리 leeky 2006/02/17 (금) 701 0
18 NEC 적외선 리모콘의 전송규격 leeky 2006/02/17 (금) 613 0
17 MBI-6001 TRANSLESS LED DRIVER leeky 2006/02/14 (화) 429 0
16 PC로 제어하는 AD9850 DDS 신호발생기 leeky 2006/02/14 (화) 473 0
15 2400 Mhz test oscillator leeky 2006/02/14 (화) 496 0
14 DC BRUSHLESS FANS leeky 2006/02/14 (화) 580 0
13 RF mW Meter for SHF (2300MHz) leeky 2006/02/14 (화) 408 0
12 FET로 만드는 400W SSR leeky 2006/02/14 (화) 641 0
11 Scope2k4 소프트웨어 및 하드웨어 회로 leeky 2006/02/14 (화) 767 0
10 LTC1298를 사용한 PC 병렬포트용 ADC leeky 2006/02/14 (화) 432 0
9 0~14V 가변정전압, 0~2A 가변정전류 전원 avrtools 2006/02/14 (화) 557 0
8 ATV 1240-1300MHz 튜너용 PLL leeky 2006/02/14 (화) 308 0
7 1 Transistor FM Microphone leeky 2006/02/14 (화) 362 0
6 Helical Antenna Design Software leeky 2006/02/13 (월) 467 0
5 IRF510을 사용한 7MHz 출력10W 증폭기, PLL leeky 2006/02/13 (월) 538 0
4 MC34063A 설계용 계산기 avrtools 2006/02/13 (월) 500 0
3 RS232 신호 변환회로 leeky 2006/02/13 (월) 652 0
2 Sound card based multimeter Scope leeky 2006/02/13 (월) 786 0
1 2400MHz Helical Antenna Design leeky 2006/02/08 (수) 437 0
1

바구니 : 0
 보관함 : 0
오늘뷰 : 0
HOME   |   회사소개   |   제휴안내   |   회사위치   |   서비스이용 약관   |   개인정보 보호정책   |   사이트맵
17015 경기도 용인시 기흥구 동백중앙로16번길 16-25, 508호. 전화 : 031-282-3310
사업자 등록번호 : 697-47-00075 / 대표 : 이건영 / 업태 : 제조업 / 종목 : LED조명, LED전원, 제어장치.
개인정보 관리책임자 : 홈페이지 관리자 . Copyright ⓒ2016 아크레즈 (ACLEDS INC.)
HOME TOP PREVNEXT 0 0 0