๐ŸŽ„โ›„โ„๏ธ๐ŸŽ It's beginning to look a lot like ADABOX-mas! The next ADABOX from Adafruit ships soon! Get yours now, or give as a gift! ๐ŸŽ„โ›„โ„๏ธ๐ŸŽ
0

Pixie power...wired and not lit
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Pixie power...wired and not lit

by momcconnell on Fri Oct 04, 2019 3:29 pm

I recently bought a set of Pixie LEDs and have wired a few up individually, but the won't light up at all.

I set up both a raspberry Pi with some simple fade programs, successfully tested on 64 standard 2812Bs and also on larger 3w LEDs.
I also set up the same 2812Bs and 3w RGBs on a Fadecandy board through my PC. All of this works well.

I have tried 5 of the pixies individually and a set of three in both of the above setups, with both a 3A and 10A power supplies running 5v. They have bllnked super briefly once or twice, but never turn on. Using the Fadecandy Server test patterns to turn on full and 50% brightness produces no results.

Maybe I am missing something simple? I have check the wiring endlessly and tested 5 of these independently. the 5v power is getting through to the chps, but the just won't light. Is it a baud issue? What can I do to test them and get them moving?

thanks for any help. new to the game here.

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by mikeysklar on Fri Oct 04, 2019 3:37 pm

Hello momcconnell,

I'm hopeful that we can get your pixies up and running.

Can you share with me the following:
    photos of your wiring setup
    link to the guide you are following
    which circuit board / processor you are driving them with
    which power supply you are using

mikeysklar
 
Posts: 376
Joined: Mon Aug 01, 2016 8:10 pm

Re: Pixie power...wired and not lit

by momcconnell on Fri Oct 04, 2019 5:30 pm

images attached.

For Fadecandy...I simply downloaded and ran the PC files and the directions found here: https://learn.adafruit.com/led-art-with ... y?view=all

The attached image shows the setup with a PC controlling the card. I have tested Processing samples with the 64 pc line I built and they work well. The pixies will not light

For Raspberry pi, I followed the directions found here: https://tutorials-raspberrypi.com/conne ... ed-strips/

I can get a color fade with the 2812Bs. The pixies will not light up when wired the same, but this time, I had left the black ground wire off, and they lit up. When the ground is connected to the Pi, they will not light, but when it is only grounded to the power supply, the chain of three all light.

I hope this helps
Attachments
Photo Oct 04, 4 43 16 PM.jpg
Photo Oct 04, 4 43 16 PM.jpg (99.22 KiB) Viewed 169 times
Photo Oct 04, 4 40 44 PM.jpg
Photo Oct 04, 4 40 44 PM.jpg (109.47 KiB) Viewed 169 times
Photo Oct 04, 4 36 16 PM.jpg
Photo Oct 04, 4 36 16 PM.jpg (90.62 KiB) Viewed 169 times

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by momcconnell on Fri Oct 04, 2019 5:31 pm

Here are the power supplies I have, and the Raspberry Pi setup
Attachments
Photo Oct 04, 4 59 43 PM.jpg
Photo Oct 04, 4 59 43 PM.jpg (97.99 KiB) Viewed 168 times
Photo Oct 04, 4 45 18 PM.jpg
Photo Oct 04, 4 45 18 PM.jpg (67.92 KiB) Viewed 168 times
Photo Oct 04, 4 45 31 PM.jpg
Photo Oct 04, 4 45 31 PM.jpg (60.45 KiB) Viewed 168 times

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by mikeysklar on Fri Oct 04, 2019 6:54 pm

The Adafruit Pixie 3W chainables are currently supported with our Arduino Library "Adafruit Pixie" and our CircuitPython library adafruit_pixie. That being said you should be able to use the CircuitPython library adafruit_pixie on your Raspberry Pi. Standard NeoPixel and FadeCandy HW is not compatible with the pixies.

https://learn.adafruit.com/pixie-3-watt ... ython-test

mikeysklar
 
Posts: 376
Joined: Mon Aug 01, 2016 8:10 pm

Re: Pixie power...wired and not lit

by momcconnell on Sat Oct 05, 2019 10:01 am

Results of the process landed me at an attribute error, perhaps since I am not using a board but working straight from the GPIO pins, the board command is not working?

>>> import time
>>> import board
>>> import busio
>>> import adafruit_pixie
>>> uart = busio.UART(board.TX, rx=None, baudrate=115200)
Traceback (most recent call last):
File "<pyshell#7>", line 1, in <module>
uart = busio.UART(board.TX, rx=None, baudrate=115200)
AttributeError: module 'board' has no attribute 'TX'

The error that followed that one seems born from the above:
>>> pixies = adafruit_pixie.Pixie(uart, num_pixies, brightness=0.2, auto_write=False)
Traceback (most recent call last):
File "<pyshell#9>", line 1, in <module>
pixies = adafruit_pixie.Pixie(uart, num_pixies, brightness=0.2, auto_write=False)
NameError: name 'uart' is not defined


other question/issue:
I have not been able to figure out if I loaded the Arduino libraries properly on the Raspberry Pi. Because I am new to the file structure and commands I am struggling to get command throught the GPIO pins to the pixies. The above was the stall I have using the article you linked.

I moved the Adafruit_CircuitPython_Pixie and Adafruit_Pixie folders to the main /lib/ folder on the Pi, and I saw one post where it was recommended to place them in home/pi/sketchbook/libraries.

here are a few references:
https://learn.adafruit.com/welcome-to-c ... -libraries

https://learn.adafruit.com/adafruit-all ... nstall-use

https://www.raspberrypi.org/forums/view ... p?t=114983

I ordered a Feather M0 Express board in hopes this might help me get this sorted out. I am hoping there is a way to control these without the extra board.

Grateful for any input!

btw Hardware is Rapsberry Pi 4 with 2Gb of memory and fully updated systems. The tutorials have me checking everything for updates.

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by mikeysklar on Sat Oct 05, 2019 3:26 pm

It looks like you are mixing up some of the Arduino configuration with the Raspberry Pi setup which would be pure CircuitPython.

Let's try and avoid some confusion by just focusing on the instructions on this page with the M0 Express. Since we don't have a specific tutorial for using a Raspberry Pi that will be confusing for a first time setup.

https://learn.adafruit.com/pixie-3-watt ... ython-test

mikeysklar
 
Posts: 376
Joined: Mon Aug 01, 2016 8:10 pm

Re: Pixie power...wired and not lit

by momcconnell on Sat Oct 05, 2019 3:32 pm

Thanks... I should have the board in a few days... Will work from there.

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by momcconnell on Sun Oct 06, 2019 1:49 pm

Thanks for your help! I hope to resolve direct control from a Raspberry PI, but for now...I hooked up an Arduino Uno R3 today and the sample 'strandtest' is working fine. I will see what I can do programming these through Arduino rather than direct from the Raspberry Pi, at least for now.

I assume that have an intermediate control board like the Feather M0 Express is really the better way? Can I use the power of Raspberry Pi for larger more complicated programs at speed?

In the end, I am looking to create an array of around 375 of these for a large scale piece that uses either capacitive touch or motion sensor/proximity controlled systems to affect light patterns in three 125 unit lines.

One inspiration, based on WS2812s, is a fairly common 10 x 10 interactive table, that uses proximity sensors for each element. The builder used stacked Centipede Shields to allow 100 input pins. I am headed to simplify the sensor input and wiring on my concept, but this was a good example of what I want to do with the 3w pixies:

Video of the project: https://youtu.be/qYL9GYsOQjo
Page on the project: http://www.led0n.de/ledtisch.html

For now... I have and Arduino doing the job.

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by mikeysklar on Sun Oct 06, 2019 4:28 pm

This sounds like a fun and ambitious application.

Glad you are up and running with the Arduino.

I think you will find the Feather M0 Express is the best of all world with easy programming in CircuitPython and rock solid stable.

Personally if I were to do a large scale version I'd use the Raspberry Pi for remote console access to the Feather M0 Express and drive the lights off the M0 Express. That way you can remotely reprogram the Feather from anywhere and don't have to rely on the Pi being stable or coming back from power outages.

mikeysklar
 
Posts: 376
Joined: Mon Aug 01, 2016 8:10 pm

Re: Pixie power...wired and not lit

by momcconnell on Sun Oct 06, 2019 4:41 pm

Thanks. I am still so new with programming that just getting either of these moving is requiring samples from wherever I can pull them.

There is not a lot out there for the pixies yet, and the difference between python and Arduino code is just subtle enough that a new by like me can mess it up.

Thanks for your time and help!

momcconnell
 
Posts: 9
Joined: Wed Oct 02, 2019 8:39 pm

Re: Pixie power...wired and not lit

by mikeysklar on Sun Oct 06, 2019 4:47 pm

You are welcome...

Once you get both a Arduino and CircuitPython version up and running it will be pretty easy to move back and forth and even setup a Raspberry Pi CircuitPython version to play with. Getting all the libraries and code examples functional is the first big step.

mikeysklar
 
Posts: 376
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.