Pages: [1]   Go Down
Author Topic: Lib for manipulating cascaded 595 shift registers  (Read 1571 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 6
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!

For debugging purpose, I needed manipulating LEDS so I can easily set LEDs on/off according to events in any of my Arduino programs. To simplify my life, I implemented a little package to manipulate cascaded 595 shift registers which are so useful to manage arrays of LEDs.

The package allows:
  • to set On/Off all LEDs
  • to set on/off a specific LED
  • to exclusively set on/off a specific LED
  • to shift the LED patterns left/right
  • to negate the LED patterns left/right
  • to manipulate the LED patterns globally, per shift register, or for all shift registers in parallel
  • and more to come...!

I will also write a better sample code as well as a documentation soon!

Find the source files on: https://github.com/alinagithub/LibShift595Arduino

Enjoy!
AL


* Arduino 2x 74hc595.JPG (121.97 KB, 653x490 - viewed 42 times.)
« Last Edit: June 08, 2014, 01:35:08 am by alina » Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 6
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Updated version!!

  • New features (negate the registers, shift all, blink,...)
  • New test sequence example
  • New pictures and video of the test sequence example
  • Starting code documentation and wiki page in GitHub

Visit  https://github.com/alinagithub/LibShift595Arduino !

 smiley


* Circuit overview.jpg (51.89 KB, 653x490 - viewed 27 times.)
« Last Edit: June 08, 2014, 12:16:04 pm by alina » Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 6
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Documentation ready and completed!

* LibShift595Arduino HELP.pdf (169.8 KB - downloaded 13 times.)
« Last Edit: June 08, 2014, 03:29:00 pm by alina » Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 227
Posts: 14051
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for sharing!
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

South UK
Offline Offline
God Member
*****
Karma: 5
Posts: 587
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for sharing, looks very useful smiley
Logged

Pages: [1]   Go Up
Jump to: