News:

Server migration complete, Welcome to version 2.1.1

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 15649
Latest: Androom
New This Month: 0
New This Week: 1
New Today: 0
Stats
Total Posts: 128368
Total Topics: 15784
Most Online Today: 46
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 43
Total: 45

RPI PICO AND WS2812B

Started by tjkaminski, November 24, 2022, 10:18:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tjkaminski

I am new to the forum and just found out about XLights and FPP.  I have long been a RPi fan and recently started using the Pico for WS2812 LED strip designs. I have developed Pico software that uses the 8 co-processors for WS2812 drive of 8 strings. 

I have tested the device and find that I can drive 8 strings of 300 pixels at 100 Hz update rate.  See the Google Drive video link to the prototype hardware below:

Pico X8 Strings

I am very impressed with XLights and I have been helping my son-in-law use the Kulp K16-AB.  Very nice hardware design and great FPP software!

As I understand it, the FPP software for the Raspberry Pi supports a "Channel" option for adding new remote controllers.  How can I find out more in order to develop a driver for my prototype? I am sure that the Pico and RPi can be set up to communicate at a pretty high rate.

I would be happy to release the software as Open Source.  It is based on the single channel Pico development kit code for driving WS2812 strings with a Pico co-processor with some custom code for glue.


 

tjkaminski

It looks like it is possible to code up either a Pixelnet-Open receive/driver on the Pico or a Generic Serial interface.   I have configured a Pi 3 Model B Rev 1.2 device with FPP 6.2 and attempted to use either the Generic Driver or Pixelnet-Open as a Channel Output.  I do not see /dev/ttyS0 in use on FPP.

I am a loss to see how to actually configure FPP to use the serial port.

tjkaminski

I now completed a "mini" tree with 8 strings of 150 pixels arranged as Wrap-2, 16 strings of 75 pixels.  I have measured the performance of the pico generating random pixel data and updating all 3600 channels at 166 Hz as shown in the attached Oscilloscope photo. Also shown is a picture of the pico with the Raspberry Pi 4 connected and the development/debugging processor.  The next step is to integrate it with the FPP running on a Raspberry Pi 3B.  I have applied for a DIY license, but I am still not clear how to use it.

Anyone interested in helping?

You cannot view this attachment. You cannot view this attachment. You cannot view this attachment.



neonexpresso

Just wanted to say, this is a really cool idea.  I'm not much help on any of your questions though 

tjkaminski

What impresses me is the pico sells for $4, with WiFi for $6 and there is tons of support and good documentation on how to use it.  For the Do-it-yourself crowd, this is a very impressive device.

tjkaminski

Current status:  The tree is up and working with the pico as a stand-alone player.  The video below shows the 8X300 LEDs being uodated at abo0ut an 80 Hz rate.  Still no idea how to connect to Pi running FPP. The "twinkle" effect is a random one-of-seven-color effect for off pixels with "fading" of lit LEDs each update cycle.

Twinkle_Random_Tree

Support FPP

+- Recent Topics

Set Time/Date by ldlammers
Today at 11:53:56 AM

No network by Steve_63
January 31, 2023, 08:17:21 PM

F48V4-NS Pixel Controller using all 12 Differential SmartReceiver ports by BirdingPix
January 31, 2023, 02:26:30 PM

F48v4NS - Pi or No Pi? by rjhodgefamily
January 31, 2023, 09:25:20 AM

Trying to configure LOR CF50D Floods on FPP Pi Player with PiCap by JonD
January 31, 2023, 07:01:41 AM

Script/Plug-In Trigger on Data by darylc
January 30, 2023, 11:31:16 PM

Attempting to move to FPP 6.3 from 4.4 - Assigned IP is in different subnet. by Poporacer
January 30, 2023, 05:06:59 PM

Camera input for WS2811's by dkulp
January 30, 2023, 04:02:55 PM

F16v3 Won't boot or power on by rjhodgefamily
January 30, 2023, 02:22:05 PM

help getting started, next step? by Poporacer
January 28, 2023, 05:10:18 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod