Arduino and Multiplexer: 16 I/O from 5 pins

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,394
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 25, 2010

Demonstrating using a CD4051 multiplexer chip to get 16 input/output (digital or analog) from 5 pins on the Arduino. I'm reading doing analog reads on 8 CdS cells and using those values to output to 8 LEDs.

Gorey details at http://dawson-station.blogspot.com/2010/01/mux-demux-cd4051-parlor-tricks.html

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (aspro648)

  • What's the 5th pin for? 3 pin for A, B, C on the chip and the 4th pin as LEDs sink / photodiode common input.

    But I believe with charlieplexing you can light up 20 LEDs from 20 photodiodes from 5 pins, without the CD4051.

  • Three pins are addressing (A, B, C), and two are common input outputs, one set ground and the other to source. The chip handles 8 IO, but by switching the common IO pins you double that.

    I've not done much more than look at charlieplexing. It looks like a programming headache to me. Hardware and software design have to meet somewhere reasonable.

  • @McGuywer

    Three pins are addressing (A, B, C), and two are common input outputs, one set ground and the other to source. The chip handles 8 IO, but by switching the common IO pins you double that.

    I've not done much more than look at charlieplexing. It looks like a programming headache to me. Hardware and software design have to meet somewhere reasonable

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • great program it would be excelent if i can see the code please

    i need to know how that multiplexer works

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more