Added: 1 year ago
From: mnash123
Views: 1,250
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (10)

Sign In or Sign Up now to post a comment!
  • can i use one 595 to control an LCD, and another 595 daisy chained to receive input from a keypad? or will it mes up because one is for inputs, and the otherfor outputs?

  • @amando96 there'd probably be timing issues...not to mention it'd take you a year to write a line of text -- on LCD's individual pixels are turned on/off with 4 or 8 inputs -- so running it with 4 inputs and a lead to the latch and one for the clock...stick with a microcontoller to control an LCD or basic segmented LED's if you want to use a keypad input :P

  • @mnash123 All that would then be connected to a micro controller, but i only have 4 pins left, all the other ones are in use, so i can't connect the lcd ''directly'' so i need a shift register, but since i would also like the keypad, i wondered if another 595 daisy chained to the first 595 would work, seeing as one is for outputs(lcd) and the other for inputs(keypad)

  • @amando96 i think i know what you're saying -- and the answer is yes, you can string as many shift registers together that you could ever want to have virtually an infinite amount of outputs

  • @amando96 to compensate for input/output conflict you'd have to programmatically switch between the modes, which wouldn't be a Huge problem, it just means you couldn't update the LCD while reading the keypad. if you wanted text to update as you type, the program could switch to digitalWrite(), write the letter, then switch back to digitalRead -- you probably can't type faster than it can perform those two operations... a demultiplexer would be ideal for switching between inputs

  • @mnash123 My quick fix was getting an attiny 2313 and connecting both the keypad, and lcd to it, and have it talk serialy to the arduino

  • @amando96 brilliant, how is the attiny2313? i've been thinking of moving up to them from attiny85's

  • @mnash123 i lost my dip version ages ago, i have some SOIC that just came today(ebay, 5$ for two), just have to solder them to the breakout board, and see if they are the same as the dip, if they are, they are awsome :)

    i hope i can program them with my arduino, my programmer got lost too(i moved)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more