Adafruit NeoPixel Ring 12 x 5050
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dexyoji
- Posts: 1
- Joined: Sun Jan 15, 2023 6:39 pm
Adafruit NeoPixel Ring 12 x 5050
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?
- dastels
- Posts: 15829
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Adafruit NeoPixel Ring 12 x 5050
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
Dave
- Hayden_P
- Posts: 6
- Joined: Thu Feb 02, 2023 3:02 pm
Re: Adafruit NeoPixel Ring 12 x 5050
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:
this turn some led with different colors and blinking!
Here is how I connected to my raspberry pi 3 b+ running buster OS.
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.
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!
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()
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)
This is a frustrating situation, which I spent time to figure it out, and nothing!
- dastels
- Posts: 15829
- Joined: Tue Oct 20, 2015 3:22 pm
Please be positive and constructive with your questions and comments.