For the device I am creating, I am hooking up an apa102 led strip to pins 11 and 13 to control each LED. But I would also like to hookup my NRF receiver to the arduino, but I also use pins 11 and 13. My question is can i hookup both to the same pins and control the inputs and outputs through the MOSI amd MISO pins separately!

  • 2
    Read about SPI. You can connect all devices to SCK, MISO, MOSI bus and address individual devices via CS(or SS). Sep 5, 2019 at 2:53
  • @OlegMazurov the APA102 however doesn't have a CS pin, so it can't share a SPI bus. You can implement SPI in software (i.e. bitbang SPI).
    – Gerben
    Sep 5, 2019 at 9:17
  • 2
    @Gerben but you can disable the clock signal to the strip with a transistor or buffer, and it doesn't use the MISO at all so that's not an issue. Sep 5, 2019 at 10:12


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.