Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

need Ready made PIC16F84 Serial Tx-Rx routines

Status
Not open for further replies.

Bus Master

Full Member level 3
Joined
Dec 9, 2001
Messages
187
Helped
9
Reputation
18
Reaction score
3
Trophy points
1,298
Location
Just behind You ;-)
Activity points
1,462
pic16f84 rx tx

Hi all,

I need a ready made routines for PIC16F84 to communicate serially through RS232 port. As this PIC doen not contain a built in UART. You have to bit-bang the port pins Tx & Rx to simulate the UART.

Any body have these routines (Assembly is preffered)??

Thanks in advance for your help.

Yours,
 

cbsirio

Member level 3
Joined
Jan 5, 2003
Messages
64
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
721
Here is a piece of public domain code to achieve RS232 on a 16F84 PIC.

HTH

Siriocb
 

trader

Member level 3
Joined
Sep 10, 2002
Messages
66
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
411
Consider using CCS PIC C compiler, it makes the serial communication a lot more easy
 

thomaz

Member level 2
Joined
May 4, 2001
Messages
48
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
atlantis
Activity points
329
hi bus master,
though tihis is in C language, cuold be interesting fo you:
at htsoft.com you can dl a free c compiler for 16f84
at /examples you'll find a routine for bit banged rs232

hth
thomaz
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top