Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: control 7 digital switch with minimum pins

  1. #1
    Junior Member
    Join Date
    Nov 2019
    Posts
    11

    control 7 digital switch with minimum pins

    Good morning all,

    I need help with my synthesizer project.

    To control by MIDI the different analog switches of the synthesizers, I replaced them with digital switches (DG444 and MAX333ACWP). To control the snumeric switches, all you need is a high or low signal.
    I had planned to fly them with 7 chain of shift register 74hc595 controlled by the SPI.

    However, I wonder if this solution is good and if there is no better solution?

    Is there a 16-channel shift register for the Teensy?

    Sincerely Anoat

  2. #2
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    5,715
    I could be wrong, as I have not used one of these in a long while, but if you need 16 bits, you can simply use 2 of the 74hc595 to each other and connect the input of one of them to the output of the other... But again it has been a long time since I have done that.

  3. #3
    Junior Member
    Join Date
    Nov 2019
    Posts
    11
    In fact, that's what I did, however I put 7 together.

    While looking on the forum I found the answer to my question: MCP23S17, 16 pins digital in SPI. We can put 8 ic on the same port spi, the ideal for my project!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •