NeoPixel Ring-12x5050-Raspberry pi 3

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Hayden_P
 
Posts: 6
Joined: Thu Feb 02, 2023 3:02 pm

NeoPixel Ring-12x5050-Raspberry pi 3

Post by Hayden_P »

I have recently purchased a NeoPixel Ring - 12 x 5050 RGB LED from amazon.

I have also followed the link https://cdn-learn.adafruit.com/download ... rry-pi.pdf
to install NeoPixel Library.

So, I can turn the LEDS, but they are not acting as desired, for instance, colors are randomly changing/blinking.

So, for the test, I want to turn all the LEDs on and be colored red:

Code: Select all

import time
import board
import neopixel

pixel_pin = board.D18
num_pix = 12
order = neopixel.GRBW # won't matter if I use orders, RGB, RGBW, GRB

pixel = neopixel.NeoPixel(pixel_pin, num_pix, brightness = 0.2, auto_write = False, pixel_order = order)

while True:
	pixel.fill((255,0,0))
	pixel.show()
this turn some led with different colors and blinking!
IMG_4981.jpg
IMG_4981.jpg (33.28 KiB) Viewed 92 times
Here is how I connected to my raspberry pi 3 b+ running buster OS.
IMG_4984.jpg
IMG_4984.jpg (35.53 KiB) Viewed 92 times
IMG_4985.jpg
IMG_4985.jpg (41.08 KiB) Viewed 92 times
So if I use the following code, I'm assuming I should get all lights as red, but nothing turns on, and if I put it back under while loop it just blinks for the first few led.

Code: Select all

import time
import board
import neopixel

pixel_pin = board.D18
num_pix = 12
order = neopixel.GRBW # won't matter if I use orders, RGB, RGBW, GRB

pixel = neopixel.NeoPixel(pixel_pin, num_pix, brightness = 0.2, auto_write = False, pixel_order = order)

pixel.fill((255,0,0))
pixel.show()
time.sleep(50)
what am I missing, why, few of LED gets change colors, blinking and etc.
This is a frustrating situation, which I spent time to figure it out, and nothing!

User avatar
adafruit_support_carter
 
Posts: 29470
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by adafruit_support_carter »

Are the wire connections to the ring itself soldered?
ring.jpg
ring.jpg (15.35 KiB) Viewed 83 times

User avatar
Hayden_P
 
Posts: 6
Joined: Thu Feb 02, 2023 3:02 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by Hayden_P »

No they are not, is that make it difference?!

User avatar
adafruit_support_carter
 
Posts: 29470
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by adafruit_support_carter »

Yes. The wires will need to be soldered to the ring to make a good electrical connection.

User avatar
Hayden_P
 
Posts: 6
Joined: Thu Feb 02, 2023 3:02 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by Hayden_P »

I have soldered the wires to the ring, and nothing has changed! I even ordered another ring and the same!

User avatar
adafruit_support_carter
 
Posts: 29470
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by adafruit_support_carter »

Please post a photo of the soldering.

User avatar
Hayden_P
 
Posts: 6
Joined: Thu Feb 02, 2023 3:02 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by Hayden_P »

Here are the pics:
sold_2.jpg
sold_2.jpg (41.64 KiB) Viewed 61 times
sold_1.jpg
sold_1.jpg (27.52 KiB) Viewed 61 times

User avatar
adafruit_support_carter
 
Posts: 29470
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by adafruit_support_carter »

Thanks. Photo is little too low res to make OK soldering well enough to see if it looks good:
soldering.jpg
soldering.jpg (30.64 KiB) Viewed 60 times
Can you post another showing those solder connections better.

And "no change" means the NeoPixel ring still looks like this after running the code in the first post?
pixels.jpg
pixels.jpg (11.5 KiB) Viewed 60 times

User avatar
Hayden_P
 
Posts: 6
Joined: Thu Feb 02, 2023 3:02 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by Hayden_P »

yes, the LED flickering weirdly
Screen Shot 2023-02-08 at 1.20.55 PM.png
Screen Shot 2023-02-08 at 1.20.55 PM.png (573.39 KiB) Viewed 58 times

User avatar
adafruit_support_carter
 
Posts: 29470
Joined: Tue Nov 29, 2016 2:45 pm

Re: NeoPixel Ring-12x5050-Raspberry pi 3

Post by adafruit_support_carter »

Is the total number of LEDs that flicker the same? And it's always the same number when you run the code?

Soldering looks generally. Maybe a little thin on the GND pad? See here for a general ref:
https://learn.adafruit.com/adafruit-gui ... n-problems

In general, what's being described sounds like a connection issue.

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”