Soldering NeoPixel 1/4 60 Ring

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.
User avatar
mtyeager
 
Posts: 19
Joined: Sat Jan 11, 2020 4:23 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by mtyeager »

Nothing.

Adafruit support answered the question about RGBW above.

I suspect they know the answer regarding sudo on RPi.

Pretty sure there is no way around it, but I thought it was worth asking and I didn't think it was worth starting a new thread...

Thanks.

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by Franklin97355 »

sudo in Linux is a way to allow a regular user to run programs with superuser privileges. There are ways around it but I'm not good enough to tell you how. Google can get you instructions on setting up accounts and privileges.

User avatar
mtyeager
 
Posts: 19
Joined: Sat Jan 11, 2020 4:23 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by mtyeager »

Yea, running under sudo means it is running under a superuser, which is a security problem.

I am calling the circuit python routines from a larger program running on the Raspberry Pi, and I can't afford to open a security hole just to light these guys up.

I read instructions somewhere that you have to run it under sudo, but then I read that maybe it was a Python 2.7 thing, and under Python 3.7 you don't.

At any rate, if I try to run under a normal user, I get a credentials error. Runs fine under sudo.

Its a little confusing.

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by Franklin97355 »

Can you post the program you are trying to run and how you are calling it?

User avatar
mtyeager
 
Posts: 19
Joined: Sat Jan 11, 2020 4:23 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by mtyeager »

From the terminal I am running the RPi simple test python script that is part of the circuit python neopixel GitHub.

sudo python3 RpiSimpleTestNeoPixels.py

If I run without sudo, I get a Permissions denied error, along with the message "NeoPixel support requires running with sudo, please try again!"

User avatar
mtyeager
 
Posts: 19
Joined: Sat Jan 11, 2020 4:23 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by mtyeager »

Franklin, do you have an Alpaca?

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by Franklin97355 »

Two in fact.

User avatar
mtyeager
 
Posts: 19
Joined: Sat Jan 11, 2020 4:23 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by mtyeager »

Fantastic! Very cool!

User avatar
mtyeager
 
Posts: 19
Joined: Sat Jan 11, 2020 4:23 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by mtyeager »

Picture of my build.

Decided not to go with circular.

Thought this was more "expressive".
NeoPixelBuild.jpg
NeoPixelBuild.jpg (943.64 KiB) Viewed 150 times

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: Soldering NeoPixel 1/4 60 Ring

Post by Franklin97355 »

Nice!

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

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