Use SPI Chip Select

  • I stopped my demon with socket server, which controls NRF24, kernel panic disappeared on setColor! (ok I will try to solve it later)


    When I start hyperion all leds became off. But there is no rainbow swirl effect. Led doest work. I cant control it. So spidev0.1 doesnt work.
    Suggestions?


    I believe that it is wiring problem. I found mistake:
    led CL was connected to 1A (SCLK)
    led DI (MOSI) was connected to 1Y


    On hyperion start all leds became off.
    Now - all connections are correct, but several leds are on after hyperion start.


    Please, confirm that:
    1Y <-> led CL
    GPIO10 <-> NRF24 MOSI <-> led DI
    GPIO11 <-> NRF24 SCLK <-> 1A
    GPIO7 <-> 1OE

  • Yep 1Y is the output of the chip 1A is the input. we are connecting SPI clock of the Pi to LED Clock.
    So whenever the pi pulls the CE pin low, the clock signal on 1A is forwarded to 1Y into the LED strip.



    But I'm having issues too, that I can't get the NRF working. I think it's more of a software issue though. Haven't had time to tinker much lately though.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!