Shift Register in and out

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Karman , created: 2013-04-16 | updated: 2013-04-16


Shift in - out object to work with the 74x165 parallel to serial input and 74x595 serial to parallel output shift registers.

This is the first version of code, tested on 16 inputs and 16 outputs and seem to work fine.

Uses only 3 pins for up to 32 inputs and 32 outputs. (32bit)

Currentley polling at ~15Khz (15 000 reads writes / second) so please be aware of slight delays between clicking and input reading. (will recode in assembler to make faster in next version). Inputs are read first, then outputs are shifted out in same routine.

No seperate cog or crystal needed.

version 0.02 --> corrected (i hope) connection diagram


Original File Upload
Package icon shift_in_out_demo_-_Archive__Date_2011.03.14__Time_23.20_1.zip10.29 KB