LED hat project for music festivals.

LED hat project for music festivals.

The code is available on github:
https://github.com/fuse314/gmaLightMusicHat
http://www.youtube.com/watch?v=5lxXJYJBU3g

Looks great!
Do you have an idea yet of how long it can run on the 6000mAh battery?

Also, to my eye (via the screen, via the original camera-- all of which may be off), it looks a bit heavy on green color component, in the way that many LED strips are.
I’m curious if you’re using
FastLED.addLeds<…>(…).setCorrection(TypicalLEDStrip);
or similar, yet?

It could also just be the camera. Or the screen. Or that everywhere I look these days I want to apply color correction… please excuse me…

Very nice, and thanks for sharing the code and original credits in such detail. I’m still an Arduino noob so it looks a bit complex to me, but looking forward to looking at it more closely for some ideas…

Thank you guys :slight_smile:
@Mark_Kriegsman : the battery keeps the hat running for about 11 hours. (Brightness set to 40)
I haven’t noticed any green bias yet, I will try the color correction and see if there is a big difference :wink:
@John_Oatham : this is my first stab at using classes and header files and passing references to functions instead of using global variables, so the code is more complex than my average Arduino code…
Take a look at my “gmaLightstrip_RF” repository on github, it might be easier to look at the code.

simple and brilliant!!

How is the microphone wired up to the micro controller?

The audio part of the schematic was copied from here:

the microphone is connected to the MSGEQ7 chip which in turn is connected to the microcontroller.

going to give this repo a go later this week on my 8x100. really digging how’s its organized.

just running the repo, but it wont compile because some files are missing namely gmaRGBLight.h

also some other issues, but i think i can work through those

@Randal_B I just pushed an update to properly disable the still experimental integration of the RF24 radio. Just pull the current code and it should compile without errors.

…and remember to download the latest 2.1 branch of the FastLED library, otherwise some functions like sin8 are missing.

oh right on. Thanks @Gottfried_Mayer I’ll give it a go tonight.

i just noticed that hat gmaRGBlight.h and .cpp arent there though… but there is a few #include gmaRGBLight.h

I’m not at home right now, just try commenting out the #include line and try compiling it again.
The gmaRGBLight.h just contains wireless address definitions for the RF24 modules. I will try removing the include when I get home and commit the changes to the repo.

ya I ended up sorting out when I got home that it wasn’t needed. Was able to compile, woohoo! Now to make time to finish my wiring and give it a go. many thanks