how to progam a 8 to 1 multiplexer
Archiver
Posts: 46,084
hey
this is kristof from Belgium and I'm in my senior year electronics
and I have to make a work about The BS1. I want to make a robot with
sensors, remote control and 2 DC-motors the first 2 take 6 pins and
becaus of that I use a 8 to 1 multiplexer.
the only problem is program it.
so if you can help me any help is welcome
thanks
kristof van laecke
this is kristof from Belgium and I'm in my senior year electronics
and I have to make a work about The BS1. I want to make a robot with
sensors, remote control and 2 DC-motors the first 2 take 6 pins and
becaus of that I use a 8 to 1 multiplexer.
the only problem is program it.
so if you can help me any help is welcome
thanks
kristof van laecke
Comments
--- In basicstamps@yahoogroups.com, "kristofvanlaecke"
<luc.vanlaecke@s...> wrote:
> hey
>
> this is kristof from Belgium and I'm in my senior year electronics
> and I have to make a work about The BS1. I want to make a robot
with
> sensors, remote control and 2 DC-motors the first 2 take 6 pins
and
> becaus of that I use a 8 to 1 multiplexer.
> the only problem is program it.
> so if you can help me any help is welcome
>
> thanks
>
> kristof van laecke
from the stamp.
The general idea is as follows:
Three binary lines can give you 8 different combinations, and that is what
will allow you to select one of 8 lines.
If you use for example a MC14512, and tie pins Inhibit and Disable low, then
using three control lines you can select one of 8 inputs to show up at the
output, Z.
Inputs A B C....Output Z (X0 through X7)
000...X0
001...X1
010...X2
011...X3
etc
111...X7
Ken
[noparse][[/noparse]Non-text portions of this message have been removed]
smartdim@a... writes:
> If you use for example a MC14512, and tie pins Inhibit and Disable low, then
>
> using three control lines you can select one of 8 inputs to show up at the
> output, Z.
>
> Inputs A B C....Output Z (X0 through X7)
> 000...X0
> 001...X1
> 010...X2
> 011...X3
> etc
> 111...X7
>
> Ken
>
Please let me clarify....as the above does not read correctly......
A, B & C are control lines. X0 through X8 are the inputs, Z is the output.
Depending on the binary combination on the control lines ABC, it will give
you one of the inputs X0 ~ X7 on the output, Z.
(I should proof read my posts before hitting send!!!!!!)
Ken
[noparse][[/noparse]Non-text portions of this message have been removed]