1

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!

3
  • 2
    Read about SPI. You can connect all devices to SCK, MISO, MOSI bus and address individual devices via CS(or SS). Commented 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
    Commented 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. Commented Sep 5, 2019 at 10:12

0

Your Answer

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

Browse other questions tagged or ask your own question.