1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add a TFT Touchscreen to a Raspberry with WS2801 leds

Discussion in 'Development' started by Saphiryo, 6 December 2016.

  1. Saphiryo

    Saphiryo New Member

    Messages:
    3
    Hardware:
    RPi3, +Arduino
    Hello, a long time ago,I have bought a touchscreen for a Raspberry Pi 3b but after that, I used this raspberry for a Lightberry box. Now, I want to incorporate this screen in my box (to show a digital clock and others informations in a dashboard for example). But, to plug this screen I need to connect several gpio pins including Mosi and Clock pins which is used by my led strip. Can I plug this two equipments only on one raspberry pi ?
    Thanks to reply me
     
  2. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  3. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
  4. redPanther

    redPanther Moderator Developer

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    use leds via arduino and your display via raspi, thats the easiest way to solve this
     
  5. Saphiryo

    Saphiryo New Member

    Messages:
    3
    Hardware:
    RPi3, +Arduino
    Thanks for your replys, I think use an another pi (for manage Philips Hue lights in the same time with hyperion) or a arduino uno (I have one that drags in my closet) but it is really possible to manage the ledstrip with it, for real ?
     
  6. penfold42

    penfold42 Moderator Developer

    Messages:
    643
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Yes, it is really possible to manage the ledstrip with an arduino.

    There are a variety of firmwares for traditional arduino boards at
    https://github.com/hyperion-project/hyperion.ng/tree/master/assets/firmware/arduino

    I have some firmware for esp8266 wifi arduinos too but that might be over complicating your use case.

    I had some success with the second SPI device above. It doesn't work well with osmc and my ws2812b SPI device, but should work with ws2801 and apa102 devices.
     
  7. redPanther

    redPanther Moderator Developer

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    would love to see them in firmware folder :)
     
  8. Saphiryo

    Saphiryo New Member

    Messages:
    3
    Hardware:
    RPi3, +Arduino
    I usually use a usb video grabber too, I think that is impossible to connect this to a single arduino...
     
  9. redPanther

    redPanther Moderator Developer

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    you need of course the raspi AND the arduino. the arduino is connected to raspi via usb. The work is done by the pi, the arduino is just a kind of "io extension". Then your pins on rpi a free and can be used for other things like the tft