Week 7 - Shift Registers and Multiplexing
- Amelia Zhu
- Dec 2, 2020
- 1 min read
Updated: Jan 5, 2021
Lab
Please follow this tutorial online and build both examples:
https://learn.adafruit.com/adafruit-arduino-lesson-4-eight-leds/overview Submit a short video to your blog as always.
Additionally, here's a Sparkfun video that explains how shift registers work:
Bitmasks, Bitwise Operators and Bit Shifting We looked at how to bit shift and what bit masks are.
Please read the explanation here: https://en.wikipedia.org/wiki/Bitwise_operation
To see how this work in arduino, review the section on Bitwise Operators here: https://www.arduino.cc/reference/en/#structure
When will you ever use this? It's really great for sending data over radio or BLE where you have a very limited amount of data. More on this soon.
content from the slides
Arduino's tutorial: https://www.arduino.cc/en/tutorial/ShiftOut An addition resource as a lab if you want more detail www.cs.uregina.ca/Links/class-info/207/Lab8/
These tutorials are very useful for me, if I have more time , I will learn more deeply.
Now , this is my experiment.
Carelessness led to interface connection errors, which was checked for a long time.
Succeeded!
Chaining

This is more suitable for some interesting big projects, maybe I will use it in the future.
Comments