Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I need some rs232 interface PC to PIC

Status
Not open for further replies.

PauloMota

Junior Member level 1
Joined
Jan 28, 2003
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Natal, Brazil
Activity points
127
Hi friends!

I need some simple schematics to rs232 levels conversion (PC to PIC/ PIC to PC). Can anybody help me?

:D

Paulo.
 

You can use a MAX232
You can get samples of them via Maxim-ic

w*w.maxim-ic.com

Greetz E-goe
 

I forgot to say that I don't want to use the max232, because I'd just like to do some tests using a simple circuit with transistor, resistors etc. I found in the PIClist some and I'll test the Wojciech Zabolotny's solution that I found in this page:

h**p://www.piclist.com/techref/io/serial/ttl-rs232.htm

I hope that works. Does anybody know more circuits as that?

:)

Paulo.
 

what type of tests? may i can help on your design.
 

Hi Paul mota
Some PC interfaces are able to detect TTL values ..
So in your PIC circuit put a couple of inverters ( transistors)

and block the -12 volt with a diode by grounding conduction


RS232 line | <- Inverter collector goes to the Pic input
- ------VVVVV----(|' )
|
--- <--- diode
A
|
----
-- <- ground
-
 

Hi PauloMota,

I use this circuit, which fits in a DB9 shell if built with SMD components, to interface my PIC circuits to my notebook RS-232 port.

I use RB0 of the PIC as bi-directional comms pin and use a soft UART with interrupt on this pin.

I use HYPERTERMINAL to "talk" to the PIC circuit.
 

Thanks all for the hints!

I decided to buy a max232 and I tested the communication with the HyperTerminal and it worked very well. In my project, I'll use the polaroid's sonar 6500 to make a distance sensor. I will try to use matlab to the communication with the PC.

:wink:

Paulo.
 

Hi There,

Take a look to EPE Mag. OCT/2003
There is a article about "Serial interface for PICS and VB" + PCB + software included.

PM me if you want this article.

Bye
 

Hi Pharaoh!

You could upload this magazine to mcu in Home / eBookOld / Magazines / EPE directory.

:wink:

Paulo.
 

You can use this circuit.
 

thx sphynx but where can we get the software?
 

Hi
What software you want?
You can use Hyperterminal in PC to view the data transmitted.
You can Transmitt data from PC to PIc also.

Its very very simple to develop a VB application which can communicate with PIC ( Thro Rs-232).

Just go thro MSDN if you have.

Regards
Gopi
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top