Adafruit NeoPixel Ring 12 x 5050

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
dexyoji
 
Posts: 1
Joined: Sun Jan 15, 2023 6:39 pm

Adafruit NeoPixel Ring 12 x 5050

Post by dexyoji »

So i’m very VERY new to this. I’m trying to use two of the NeoPiexl rings and have a schematic of the circuit. However, these run on 5v. I was planning on using a 12v with a resistor but i’m not even sure where to start with that. i know it would need around 55.55565 but i don’t know which to use or how to connect it. Help?

User avatar
dastels
 
Posts: 15829
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit NeoPixel Ring 12 x 5050

Post by dastels »

Don't do that. That can work if the current load is static (meaning that a fixed voltage will be across the resistor). The current required by the neopixel rings depend on how they are used (how many are lit, with what color). Instead, either use a 5v power source, or a 5v regulator like https://www.adafruit.com/product/4739.

Dave

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

Re: Adafruit NeoPixel Ring 12 x 5050

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 57 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 57 times
IMG_4985.jpg
IMG_4985.jpg (41.08 KiB) Viewed 57 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
dastels
 
Posts: 15829
Joined: Tue Oct 20, 2015 3:22 pm

Re: Adafruit NeoPixel Ring 12 x 5050

Post by dastels »

Hayden_P wrote: Thu Feb 02, 2023 3:33 pm I have recently purchased a NeoPixel Ring - 12 x 5050 RGB LED from amazon.
Can you make a new topic for this rather than hijacking this one, please.

Dave

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

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”