vu-meter baseball hat too bright

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
leeberry13
 
Posts: 16
Joined: Mon Sep 03, 2018 4:39 pm

vu-meter baseball hat too bright

Post by leeberry13 »

Hi Everyone, I built this project and it works great. However, dance partners say it's blinding them. How would I alter the code to turn down the intensity and get better battery life? I read the page about getting the most battery life but it's beyond me at this point...

User avatar
jerryn
 
Posts: 1868
Joined: Sat Sep 14, 2013 9:05 am

Re: vu-meter baseball hat too bright

Post by jerryn »

In your setup section of the sketch, you should be able to set the brightness

Code: Select all

strip.setBrightness(64);
the number (64) in this example will set it to 1/4 brightness -- the value can be from 0 (off) to 255 (full)
Put this after the

Code: Select all

strip.begin()

this came from the "UberGuide" https://learn.adafruit.com/adafruit-neo ... ibrary-use
Last edited by jerryn on Sat Jun 19, 2021 10:46 am, edited 2 times in total.

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

Re: vu-meter baseball hat too bright

Post by Franklin97355 »

You might be able to modify setpixelcolor to adjust the output. I have not tried this so I'm just guessing.

User avatar
leeberry13
 
Posts: 16
Joined: Mon Sep 03, 2018 4:39 pm

Re: vu-meter baseball hat too bright

Post by leeberry13 »

Thanks Jerrlyn, I used that idea and tried to upload to the flora. It can't find the com port. The port is greyed out and down below it says flora on com15. I went into device manager and looked at hidden devices to view the com ports. I have com3, com4, and com5. How do I get around this? I hit re-set on the board as it tried to upload a couple of times to get the computer to find the port, but no luck. Maybe my timing of when to push the button is off? This happened years ago when I first built the hat and I forget how I fixed it. Thanks, lee Windows 10, latest version of every driver and arduino software installed.

User avatar
jerryn
 
Posts: 1868
Joined: Sat Sep 14, 2013 9:05 am

Re: vu-meter baseball hat too bright

Post by jerryn »

I'm sorry, I have no experience with either the Flora or with Windows 10. I hope someone else can offer some suggestions.

User avatar
leeberry13
 
Posts: 16
Joined: Mon Sep 03, 2018 4:39 pm

Re: vu-meter baseball hat too bright

Post by leeberry13 »

I added the code suggested in the set up section and get this error
'class Adafruit_Neopixel' has no member named 'SetBrightness'
I'm guessing that I needed to add something about SetBrightness somewhere in the define section? Thanks, Lee

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

Return to “Wearables”