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.

PIC 16f877A and PIC 16f84A - serial communication

Status
Not open for further replies.

nuarizzah

Junior Member level 1
Joined
Mar 29, 2006
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,429
pic 877 serial

can these 2 PIC communicate? if can, how is the pin should be connected because i didn't find any Rx or Tx pin on these two.

i'm going to tun a dc motor controlled by pic16f84A, and i found it does not have a built-in pwm function. can anybody help me with the source code to run this motor? the compiler that i use is picc. thank you
 

serial communication with 16f877a

877 has USART and its relevant pins are: pin 25 (Tx) and pin 26 (Rx) ..
84 doesn't have anything like that, so one option is to use RB0/Int pin (6) as Rx pin and RA3 (2) as Tx pin and write software serial communication routine ..

So, the hardware connection between 877 and 84 will look like this:
Pin 25 (877) to Pin 6 (84)
Pin 26 (877) to Pin 2 (84)
GND to GND

Regards,
IanP
 

16f84a and 16f877a

look at the datasheet and applcaiton notes on microchips site
 

serial communication 16f84a

you can search and download for the mikroc compiler. it has all types of already written functions for use with pic family of micocontrollers.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top