
Expand your ArduinoĪrduino’s have a number of digital I/O ports already, in fact, the Arduino Mega 250 boasts 54 digital I/O pins plus another 16 analog inputs that can double as digital I/O pins. These handy devices are used for all sorts of purposes like data conversion, buffering and storage, but today we will be seeing how they can also be used to expand the number of digital I/O ports on an Arduino or other microcontrollers.īy learning to use shift registers you’ll be adding another handy tool to your designers’ toolkit. Today we will work with a couple of basic electronics “building blocks”, shift registers.

And, as a bonus, we’ll build a fancy LED light display. I’ve got a few shifty characters with me today but don’t worry, I’ll show you how to control them and expand the capabilities of your Arduino. 8 Using the 74HC595 and 74HC165 Together.4.2 74HC165 – 8-bit Parallel In – Serial Out.4.1 74HC595 – 8-bit Serial In – Parallel Out.3.1.3 Parallel In – Parallel Out & Serial In – Serial Out.Implement a Linear Feedback Shift Register (LFSR) to perform hardware based encryption and decryption of a data stream. Here is an video introduction to the lab. Use the worksheets at the back of the handout that include blank Karnaugh maps for the functions you will needĮnter the code into sequence detecting state machine! Replace the old mmind_fsm.v file with the new version provided and then complete the logic in that file. **Note:** The learning curve with this lab can be steep so please start early, invest time into it and ask questions. So do your best on this portion so you are ready for the subsequent lab. We will be updating and modifying the majority of the skeleton components over the next lab or two. Then download the skeleton project and unzip (extract) it to a folder on your PC or VDI where you can work on it.Ĭarefully read the handout to understand the overall design of the Mastermind game and what you need to do in this lab. Watch the video on hierarchical Verilog description. Labįollow the Xilinx setup instructions on your Windows PC or setup your Virtual Desktop Interface (VDI) and watch the Introductory video for learning to use the Xilinx design entry tool and simulation tools on the tools page. Reports and code files must be submitted by midnight of the Friday that the lab is demoed.

LabsĪll labs must be demoed in your registered lab 1 week after it is assigned unless otherwise noted. Discussion will be used to introduce lab and review important concepts from lecture.
