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

pic 16f877A data transfer with ADC converter and LCD display

Status
Not open for further replies.

demetal

Full Member level 5
Joined
May 2, 2011
Messages
275
Helped
21
Reputation
42
Reaction score
21
Trophy points
1,298
Location
Kingdom Of Kochi
Activity points
3,173
hi,
i have to transmit a digital data after ADC conversion (from a sensor) and send it another PIC16f877A where i need to display the result in an lcd...

I am using mikroC compiler... i dont know how to write the code for the operation...if any one know the codes please help.....:grin:
 

ZASto

Advanced Member level 3
Joined
Jan 9, 2008
Messages
724
Helped
144
Reputation
291
Reaction score
128
Trophy points
1,323
Location
Messy Corner, 44°47'31.56"N, 20°28'9.16"E
Activity points
4,883
First of all you should pay attention during the classes that you took, second, try to read the examples that came with the compiler, third, try to write some code and then ask for help.

No one is going to do your homework.
 

demetal

Full Member level 5
Joined
May 2, 2011
Messages
275
Helped
21
Reputation
42
Reaction score
21
Trophy points
1,298
Location
Kingdom Of Kochi
Activity points
3,173
hi,

Thanks for your kind advice.... i am new to this field.... i dont know very much about PIC microcontrollers as i studied only about few features 8051 in classes....

---------- Post added at 19:17 ---------- Previous post was at 19:13 ----------

You can use SPI or I2C protocol to setup communication between two 16F877As The following example uses an I2C protocol:

Testing Pic code for I2C Master/Slave communication

Using the PIC Devices' SSP and MSSP Modules for Slave I2C Communication
[/COLOR]hi,

Thanks for the in formation ...but i am interested in UART one way communication i.e; from tx of one pic to rx of another pic.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top