What do you do when your microcontroller doesn't have enough pins? Today we will learn how to use the CD4094 output-type shift register and the CD4021 input-type shift register to control LEDs and read out the status of pushbuttons, and all of that with only three wires.
Thanks for watching, and let me know in the comments if you have any questions!
Companion article: www.friendlywire.com/tutorials...
Email list: www.friendlywire.com/email
Website: www.friendlywire.com
Twitter: / friendlywire
Reddit: / friendlywire
Facebook: / friendlywire
Instagram: / friendlywire
Timestamps:
00:00 Introduction
01:14 What you need
01:52 Main idea
02:57 CD4094 on the inside
04:43 CD4021 on the inside
06:12 Getting started with our PIC16F1455 microcontroller
09:59 One CD4094
14:24 Adding another CD4094 in series
17:01 One CD4021
21:11 Adding another CD4021 in series
23:29 Reading out an SNES controller
25:25 Final thoughts
Негізгі бет Three wires to rule them all: CD4094 & CD4021 shift register tutorial
Пікірлер: 89