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
Add a TFT Touchscreen to a Raspberry with WS2801 leds
- Saphiryo
- Geschlossen
- Erledigt
-
-
You need to gate the SPI clock line with the 2 slave select pins.
A 74hct125 should work :
https://hyperion-project.org/t…pi-chip-select.279/page-2 -
Another thought - performance could be a problem at high update rates as there's only a single data line that is shared.
This might work :
http://raspberrypi.stackexchan…spi-interface-with-spidev
It is an entire second SPI interface with separate data lines -
use leds via arduino and your display via raspi, thats the easiest way to solve this
-
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 ?
-
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-pr…r/assets/firmware/arduinoI 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.
-
-
I usually use a usb video grabber too, I think that is impossible to connect this to a single 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
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!