Author Topic: PI zero pixel drive board  (Read 8525 times)

Offline AAH

  • Hero Member
  • *****
  • Join Date: Jul 2014
  • Location: Australia
  • Posts: 618
  • Kudos: 19
  • Blinky blinky blinky
    • I love blinky lights
Re: PI zero pixel drive board
« Reply #30 on: May 05, 2016, 06:40:49 AM »
I'm having trouble correlating the info in the FPP help file to the hardware I have. The help file segment is below. What I have is the PI that is labelled as 2B in the below attachment. I can see A+ and B+ on the picture but nothing that is labelled as B V2 that has 40 pins. As I can't currently get my 2nd data string going I'm guessing it's because I have the wrong variety of PI but as I can't match info up I'm not sure.

RPIWS281X - The RPIWS281X output can drive two independent strings of WS281x pixels directly off the Raspberry Pi's GPIO ports. The data and ground lines attach directly to the Pi while power for the pixels is injected from another source. NOTE: When you enable the RPIWS281X output, the onboard audio on the Pi will be disabled since both audio and RPIWS281X need to use the same PWM output.
RPIWS281x Output Connections
WS281x Function    Raspberry Pi
Data String #1    Pin 12 - GPIO18
Data String #2    Pin 35 - GPIO19 (Only on A+/B+/B v2)

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,020
  • Kudos: 178
Re: PI zero pixel drive board
« Reply #31 on: May 05, 2016, 06:21:21 PM »
Sometimes the v2 is referred to as the B v2 and sometimes it is referred to as the Pi 2 B.  I think that's what the label on the board shows, so we probably should refer to it that way on here.

Either way, all of the pins we are dealing with here are the same except the second WS281x output which only exists on the newer boards with 40-pin headers.
-
Chris

Offline robj

  • Newbie
  • *
  • Join Date: Jan 2014
  • Location:
  • Posts: 17
  • Kudos: 0
Re: PI zero pixel drive board
« Reply #32 on: May 24, 2016, 04:53:32 PM »
So what cases are people using for pi's with add-on boards?

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,020
  • Kudos: 178
Re: PI zero pixel drive board
« Reply #33 on: May 24, 2016, 07:56:49 PM »
So what cases are people using for pi's with add-on boards?

Cases??  :)

2-4 screws is all you need or if you want to use a case just use the case bottom and leave the top off.

Offline algerdes

  • Supporting Member
  • ******
  • Join Date: Apr 2014
  • Location: Lebanon, Illinois
  • Posts: 757
  • Kudos: 10
Re: PI zero pixel drive board
« Reply #34 on: May 24, 2016, 08:13:47 PM »
  :)  just use the case bottom and leave the top off.


+1
Sequencers: Vixen3 and xLights
Players: FPP and xSchedule Controllers:  Renards - SS24/SS16; E1.31 - San Devices E682 - Falcon F16, F4, F48 - J1Sys - DIYLEDExpress E1.31 Bridges.  Much more!

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,020
  • Kudos: 178
Re: PI zero pixel drive board
« Reply #35 on: June 07, 2016, 03:43:23 PM »
0x01 - Falcon.F16V2-alpha
0x02 - Falcon.F9DV1

0x03 - Falcon.FPDV2

I replied to your PM a few days ago, but we can continue the discussion here if that's fine with you.

Offline ronp

  • Newbie
  • *
  • Join Date: Nov 2014
  • Location:
  • Posts: 30
  • Kudos: 1
Re: PI zero pixel drive board
« Reply #36 on: June 13, 2016, 01:05:26 PM »
Thanks for the reply, I have been busy lately.

An ID of 0x81 works for me. If you change the spi clock to 16Mhz, then I know it worked. Please let me know which version of test software or you want a controller for testing.

Ron

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,020
  • Kudos: 178
Re: PI zero pixel drive board
« Reply #37 on: June 13, 2016, 04:17:17 PM »
I will update master and get this pushed in the next set of binaries for FPP v1.8.

Offline ronp

  • Newbie
  • *
  • Join Date: Nov 2014
  • Location:
  • Posts: 30
  • Kudos: 1
Re: PI zero pixel drive board
« Reply #38 on: July 01, 2016, 05:04:03 PM »

I finished the FPGA for the SPI to pixel converter, that supports driving 16 outputs. The FPP version I used did not appear to ID the board correctly (V1.8-18-ged1f3c2).

Enclosed is a picture of all of the SPI activity on a PI at power up. This only includes the first 8 bytes of each transmission. Note at the end the ID (00), followed by the zeroing of DMX(55) and pixelnet (CC). The SPI on the PI is funny to me, since the controller needs to send at least a byte before the slave can properly respond. If I have no data, I can't figure out what to send.

Anyway, I put in my firmware to send 0x81 hex for the first byte, followed by all zero's. This occurs on the first byte after the chip select for all messages.

I am content with the no ID on this board, since 8192 channels only takes about 8mS to send at 8Mhz.

http://www.diychristmas.org/vb1/showthread.php?6292-Driving-16-Outputs-off-PI

http://www.diychristmas.org/vb1/showthread.php?5016-Programming-Files


Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,020
  • Kudos: 178
Re: PI zero pixel drive board
« Reply #39 on: July 01, 2016, 09:13:30 PM »
I don't think I added the new ID yet.  I will try to get that into v1.8 this weekend with the speed set to 16.

 

Back to top