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] how to interface cd4067(multiplexer) with PIC16F877A(microcontroller) using mikroc

Status
Not open for further replies.

marthabryszn

Newbie level 1
Newbie level 1
Joined
Apr 2, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
5
help me please mikroc codes to interface cd4067(multiplexer) with a PIC 16F877A
 

You would need at least 5 signals (4 for channel select and one for the I/O) and more for the enable or you can tie that high. You need to define your port for I/O that you want. Set your port for the channel you want select (0-15) and write your ABCD value to match the channel you want then either read the input or write the output. That is a very basic rushed explanation but it should get you started.

1.) Init function to define pins and ports
2.) Select channel by setting ABCD on the multiplexer
3.) Write/Read from the output port of the multiplexer
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top