logo elektroda
logo elektroda
X
logo elektroda

64 Inputs and 64 Outputs on 1 Raspberry Pi - GPIO Extension board - 2 connected to 1 Raspberry Pi

igorwydra2008 543 0
ADVERTISEMENT
  • #1 20770333
    igorwydra2008
    Level 1  

    Hi everyone,

    I want to make a chessboard that will show all possible moves of each individual chess piece when it is lifted off the board by illuminating LEDs that will be fitted in each square. To detect if a piece is lifted, I want to use 64 Reed Switches which switch on when a magnet is nearby and a magnet will be fitted under/inside each chess piece. I want to control this using a Raspberry Pi and want to connect a 4x4x4 LED cube to it and still have at least 64 extra pins for the reed switches so that the Raspberry Pi can detect any changes from them. On 'The PiHut' website, I found the PiCube (SKU: 105093) and the Pico Cube (SKU: 105089) and I am planning to rewire one of these flat and turn it into an 8x8 grid of LEDs which I can individually control.

    I need to find out which of these would be best for this project. I have almost no experience with Raspberry Pi's and want to know what I should buy in order to achieve this and which way would be the easiest to code. Also, I need to buy something to extend the number of GPIO pins on the Raspberry Pi so I can connect the Pi/Pico cube and have a back/input signal from at least 64 reed switches.

    So basically please let me know if anyone knows the easiest way to have 64 inputs from 64 reed switches and 64 LEDs that I will be able to control individually depending on the signals from the reed switches.
    For my project, is it better to use PiCube or Pico Cube?
    What Raspberry Pi should I choose? Could anyone propose the best one, please?

    IS IT POSSIBLE TO CONNECT 2 GPIO EXTENSION BOARDS TO 1 RASPBERRY PI THROUGH THE 40-PIN HEADER?
    Do you have a problem with Raspberry? Ask question. Visit our forum Raspberry.
  • ADVERTISEMENT
ADVERTISEMENT