Before using this code you should read and understand this tutorial and this tutorial. This example combines those into a single example where the 74HC165 inputs are read and then sent out to a 74HC595. The same I/O line constants are used as in both previous examples for clarity, however the next example will show how to reduce the number of I/O lines required by the microcontroller from 6 down to 4 by sharing the CLK and Data lines.
[IMAGE][IMAGE]THIS ARTICLE IS STILL BEING RECOVERED AND RESTORED. PLEASE CHECK BACK LATER! Why is the article being recovered?
Resources
[FILE]74HC165 Demo [SPIN] – Tutorial
74HC165 to 74HC595 Demo 1 [SPIN] – Tutorial
74HC165 to 74HC595 Demo 2 [SPIN] – Tutorial
Discuss this tutorial on Savage///Chats
Released under MIT License
Copyright (c) 2014 Chris Savage – Savage///Circuits.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
PLEASE FEEL FREE TO LEAVE YOUR COMMENTS, QUESTIONS, SUGGESTIONS OR FEEDBACK ON THIS POST.
Leave a Reply
You must be logged in to post a comment.