Page 1 of 1

SPI plug in :-)

Posted: Tue Jan 28, 2014 9:39 pm
by Sven Meier
Hello,
I have seen that you have added a spi plugin :-)
That is fantastic :-) i am currently developing a spi to dmx converter.
The first Prototype on the breadboard works great.

Have you any documentation about the spi protocol that you prefer use?

My prototype uses a serial eeprom like protocol, that allows to refresh a single channel without sending the data of all channels.

SPI plug in :-)

Posted: Tue Jan 28, 2014 9:48 pm
by Sven Meier
In a frew I will have a final pcb.
If you want it , I can send you a sample.

SPI plug in :-)

Posted: Tue Jan 28, 2014 10:07 pm
by Massimo Callegari
Hi Sven, well I can't say I'm a SPI expert.
I implemented the plugin to control LED strips with the WS2801 chip.
Since I'm not sure you can find the SPI interface on a PC, basically it is to be used with the Raspberry Pi for now.

I used just 3 signals: Data, clock and ground. That's it.
The Pi sends a train of bytes (each one is a DMX channel) up to the last LED I have to control.

If you have a PCB that makes possible to use it with a PC it would be fantastic ! (maybe USB ?)
Which use do you have in mind with the SPI protocol ?
I don't think QLC+ will use it as a generic output, but always to send DMX data

SPI plug in :-)

Posted: Wed Jan 29, 2014 7:40 pm
by Sven Meier
USB to spi is very simple.
The most ftdi chips supports spi mode.

My project is to generate a dmx signal with the spi port of a cubieboard 3.

Do you remember my older post about the Qdesk ? :-)
I have already ordered 20 motorised slider, many buttons , small tft displays... all of this would be controlled over a spi port.
In a few days I can post the schematics here :-)

SPI plug in :-)

Posted: Thu Jan 30, 2014 7:10 pm
by Sven Meier
One question :-)
Do you need
a usb to WS2801 spi converter
or
a dmx to WS2801 spi converter
or
a Artnet to WS2801 spi converter

SPI plug in :-)

Posted: Thu Jan 30, 2014 11:43 pm
by Massimo Callegari
Hi Sven, sure I remember your Qdesk project !
Right now I can use the Raspberry SPI to control some home made LED bars.
I would be glad to have a USB-SPI adapter to speed up the tests from my PC.

But would you really build one for me ? That would be too much of a kindness :)

SPI plug in :-)

Posted: Sun Feb 02, 2014 2:48 pm
by Kathryn Rennie
I have had a lot of success using the SPI plugin OLA on a raspberry pi, then using Arcnet to talk to that. Drives pixel strips brilliantly.

SPI plug in :-)

Posted: Sun Feb 02, 2014 3:16 pm
by Massimo Callegari
I've had success too on the Rpi, but without OLA ;)
With the next version it will possible to use QLC+ even as an ArtNet to SPI converter

SPI plug in :-)

Posted: Mon Feb 03, 2014 9:05 am
by Sven Meier
Hello Massimo, sorry for my late answer.

I am using the "Bus Pirate" to emulate a spi bus on my normal pc.

Link: http://dangerousprototypes.com/docs/Bus_Pirate

Br

Sven Meier

SPI plug in :-)

Posted: Wed Feb 05, 2014 8:23 am
by Sven Meier
Artnet to spi is a great idea.

But I think a raspberry pi is oversized.

A small atxmega32a4 with a wiznet W5200 Ethernet chip is enough.

If some people have interest, I can put this on my todo list.

SPI plug in :-)

Posted: Wed Feb 05, 2014 10:38 am
by DJefke