Skip to content

Arduino Library for 74HC595 Shift Register using SPI

Notifications You must be signed in to change notification settings

omersiar/ShiftedLCD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= ShiftedLCD Library for Arduino =

Allows communication via SPI Bus with alphanumerical liquid crystal displays (LCDs). This library works with LCD displays that are modified to use 595 Shift Register (in this case 74HC595) pin compatible. You can easily add Shift Register to your LCD. Please refer below link for pinouts and modifing your LCD.

I had a spare 1602 LCD that laying around for a long time , bare LCD that you can connect it to your Arduino in parallel. I wanted to reduce used pins, and I have already working on my other project featuring SPI bus, it was good practice to use them together on SPI bus. Old Libraries that supports Register Shift IC did not satisfied my needs. So I forked Juan Hernandez's (juanh0238) work, and this Library was born.

This is SPI only library, parallel and other buses (I2C or 1Wire, etc) are not supported.

Download ZIP file from here to Import to Arduino IDE:

https://github.com/omersiar/ShiftedLCD/archive/v1.zip

Thanks Stan from 42bots.com for great, clean article and illustration.

http://42bots.com/tutorials/arduino-controlled-lcd-using-a-shift-register-and-the-spi-library/

alt text

What Works

  • It seems we can use all LiquidCrystal commands
  • Hello World Example
  • Concurrent SPI slaves

TODO

[X] Simple breadboard illustration (fritzing) thanks to Stan

[X] Arduino IDE 1.6 modern structure

[ ] Bug Fixes

== License ==

Copyright (C) 2006-2008 Hans-Christoph Steiner. All rights reserved.

Copyright (c) 2010 Arduino LLC. All right reserved.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

About

Arduino Library for 74HC595 Shift Register using SPI

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages