News

moodlite - Coming soon


moodlite software [2.0] Release

spigot · 2884

shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 45
    • Likes: +4/-0
    • View Profile
Reply #45 on: January 31, 2019, 07:44:41 AM
Hi again!

i been lookin that link, and its a project by itself. For using it, we have to rewrite all the code and adapt it to that webserver... Im using 72 LED powered by usb cable wired to my computer, and im not having any flicker at all and i belive spigot have even more with no flicker... Maybe try to turn off MQTT, NTP, Motion sensor, and look to arduino debug window, maybe something its happening when the flicker occurs

I think I've uncovered a downside to using 3 glorious LEDs per corner and having more than 7 panels:

https://github.com/jasoncoon/esp8266-fastled-webserver/issues/85#issuecomment-436991978

Are y'all implementing the fork of FastLED that uses DMA to help buffer the LED driving to avoid Wifi processes from taking up too many cycles/interrupts?
... any chance you could, if this is indeed the root cause to my issue?

I took some slow motion on my iPhone to capture what I perceive to be a flicker.  It actually seems to be some sort of weird, temporary color inversion for barely a frame.  See below for imgur album of the frame before the flicker and the 'flicker' frame as well.

Is noone else having this issue?!  lol

I have 2 other NodeMCUs wired up that i'll flash with v2 later today to troubleshoot with, but given that this had been flicker-free before v2, I don't think it's hardware related.


https://imgur.com/a/oONDqxB



mannymiller

  • Newbie
  • *
    • Posts: 19
    • Likes: +1/-0
    • View Profile
Reply #46 on: January 31, 2019, 05:10:00 PM
Hey.. i fixed my issue by clearing EEPROM, as well as  SPIFFS.. problem fixed.  as for Allstars issue i havent encountered it yet.  having worked with the ws2812b leds, see here at Cine-lights, on my youtube channel

my channel... i have used bluetooth and IRRemote before and the ws2812b do not like them.  they do not like interupts, even little ones.  i have tried the command #define FASTLED_INTERRUPT_RETRY_COUNT   0 or otherwise on my fasteled fire examples and found it reduced the framerate to almost a standstill.. so removed it from all of my shared code. So Allstar it maybe worth trying,  comment out that line to see if it helps.

I have changed my setup from a single led a corner to 3 a corner to try and get closer to the original nano leaf. , i will be sharing my build etc on my channel, as well as all links to here, and obviously all credit to you guys.. here would be a little advice.., The added palettes in version 2.0 is a great add..,  but some patterns do not work on this project. sinelon, juggle etc..  ripple would, but slowed down. As for sound reactive, ( As seen from my youtube channel)  its what i have spent alot of time covering do not use a microphone..,  aim for line in. yes its a long arse cable.. or you could add a second esp8266 to send the data .. an idea.!!???  as i do intend of adding wifi / wireless to my vu meters..

keep up the good work..
« Last Edit: January 31, 2019, 05:12:34 PM by mannymiller »



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 45
    • Likes: +4/-0
    • View Profile
Reply #47 on: January 31, 2019, 07:09:36 PM
Hello!

Gled you fixed your problems. I will have that on count if i need it, but mines arent flickering at all and for other users.

Why Sinelon, juggle etc arent working for you? They are working like a charm on my build at 120 speed, i ususally have "Rainbow with glitter" or Rainbow with BPM. Love this effects! The idea behind this changes is to set the base for future development. I want to add a zone on the webapp to create custom color palettes to use with different patterns. Just thinking on the idea. Maybe even create little animations that work over the patterns so people can activate this effects thru some kind of script, mqtt... so they can use it with twitter, twich and those kind of things... but first of all is stabilize the code and add the custom sides by tiles to use with different kind of tiles.

On the other side, yes, we are thinking on adding music reaction. I found your channel some weeks ago and saw your vumeters, they are great!!
I use a microphone żMAX446? with an arduino UNO and the moodlites and dude... that was reaaaally coool. But i cannot find the way to use it with nodeMCU, just with arduino UNO and Nano. The input signal does not work at all with this board BUT! I found a build (can remember where...) that use an MSGEQ7 Band Graphic Equalizer chip, that works incredible well with that micro, so i ordered a couple to give it a try. Also, i found that an ADMP401 MEMS microphone work really well with nodeMCU so i ordered too... just a few buck so i think they both worth a try. If they doesnt work i will try with line in like you said, or maybe the wireless... but for now, lets go step by step....

Hey.. i fixed my issue by clearing EEPROM, as well as  SPIFFS.. problem fixed.  as for Allstars issue i havent encountered it yet.  having worked with the ws2812b leds, see here at Cine-lights, on my youtube channel

my channel... i have used bluetooth and IRRemote before and the ws2812b do not like them.  they do not like interupts, even little ones.  i have tried the command #define FASTLED_INTERRUPT_RETRY_COUNT   0 or otherwise on my fasteled fire examples and found it reduced the framerate to almost a standstill.. so removed it from all of my shared code. So Allstar it maybe worth trying,  comment out that line to see if it helps.

I have changed my setup from a single led a corner to 3 a corner to try and get closer to the original nano leaf. , i will be sharing my build etc on my channel, as well as all links to here, and obviously all credit to you guys.. here would be a little advice.., The added palettes in version 2.0 is a great add..,  but some patterns do not work on this project. sinelon, juggle etc..  ripple would, but slowed down. As for sound reactive, ( As seen from my youtube channel)  its what i have spent alot of time covering do not use a microphone..,  aim for line in. yes its a long arse cable.. or you could add a second esp8266 to send the data .. an idea.!!???  as i do intend of adding wifi / wireless to my vu meters..

keep up the good work..



mannymiller

  • Newbie
  • *
    • Posts: 19
    • Likes: +1/-0
    • View Profile
Reply #48 on: January 31, 2019, 09:47:24 PM
Hey shiryou, its not that sinelon and juggle do not work,  but more they do not suit this build.  im guessing its down to personal taste., i do prefer a nice slow animation on this particular setup. if you have seen my vu meters,  sinelon and juggle work quite well, but on the ring version those patterns don`t .. its just down to taste i guess..

i have used the msgeq7 board for a few of my setups, its a capable board and produces great sound reaction.  To make it easier for people to build that particular vu meter i recommend the msgeq7 board, the downside is cost and the only decent one i can find is in the US..  i can get a 5 metre, 60 leds a metre led strip for £19, the msgeq7 board is £12 for mono, or £15 for stereo add £5 shipping.. it just doesnt make sense.   i printed 10 pieces out of a roll of filament ( £13),   The leds using 3 a corner worked out about a metre and a half ( £7),  2 x esp8266 (£8) , then a msgeq7 breakout board (£19 with shipping) ...

 yes i could build one of my own, then you have problems with fake chips ( which is quite common)  then you have problems with other people building them.  Like you i share what i do for free,  i do not make any money out of it as its a hobby i enjoy. so i try and make things a simple as possible so i do not spend what little time i have helping people with there problems.., if that makes sense.

 My llne in version uses a couple of resistors and a capacitor and works as well as the msgeq7 for sound reaction.  but as mentioned a rather long input lead would be needed.  A wireless version using the esp8266 has been done  seen here :
&t=259s not sure if something like this could be added to this setup.

Anyways, just ideas... But so far what has been done is brilliant. i finished converting from 1 led a corner to 3 this afternoon and hope to get a video together which will be a review of my build. hopefully it will push some more people your way.. keep up the great work!!!



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 112
    • Likes: +24/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #49 on: February 01, 2019, 02:09:24 PM
Look at timezone lib: https://github.com/JChristensen/Timezone

Part "Coding TimeChangeRules".
Hello.
Can you help.
I just can not deal with ntp.

// Ntp Server
// Time zones
// Eastern European Time (Ukraine, Kiev)
// Eastern European Summer Time
TimeChangeRule uaEest = {'EEST', Last, Sun, Mar, 31, 180};
// Central European Standard Time
TimeChangeRule uaEet = {'EET', Last, Sun, Oct, 27, 120};
Timezone uaEastern (uaEest, uaEet);
TimeChangeRule * tcr;
How to use public ntp server?
And why does one LED remain on when switching off via the interface?

Once you have change  timezones setup in the code and uploaded it to arduino, you need to change NTP server over web interface. Use: europe.pool.ntp.org address for NTP server.

The red LED is "standby" mode. So if you turn off moodlite and see one red LED it means everything is working as it should be.



SULTAN

  • Newbie
  • *
    • Posts: 18
    • Likes: +0/-0
    • View Profile
Reply #50 on: February 01, 2019, 02:40:36 PM
Look at timezone lib: https://github.com/JChristensen/Timezone

Part "Coding TimeChangeRules".
Hello.
Can you help.
I just can not deal with ntp.

// Ntp Server
// Time zones
// Eastern European Time (Ukraine, Kiev)
// Eastern European Summer Time
TimeChangeRule uaEest = {'EEST', Last, Sun, Mar, 31, 180};
// Central European Standard Time
TimeChangeRule uaEet = {'EET', Last, Sun, Oct, 27, 120};
Timezone uaEastern (uaEest, uaEet);
TimeChangeRule * tcr;
How to use public ntp server?
And why does one LED remain on when switching off via the interface?

Once you have change  timezones setup in the code and uploaded it to arduino, you need to change NTP server over web interface. Use: europe.pool.ntp.org address for NTP server.

The red LED is "standby" mode. So if you turn off moodlite and see one red LED it means everything is working as it should be.



I changed timezones.
I enter the server on the page and nothing happens.
In the firmware included ntp


// Ntp Server
// Time zones
// Eastern European Time (Ukraine, Kiev)
// Eastern European Summer Time
TimeChangeRule uaEest = {'EEST', Last, Sun, Mar, 31, 180};
// Central European Standard Time
TimeChangeRule uaEet = {'EET', Last, Sun, Oct, 27, 120};
Timezone uaEastern (uaEest, uaEet);
TimeChangeRule * tcr;





spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 112
    • Likes: +24/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #51 on: February 01, 2019, 03:18:29 PM
Fill the NTP server value and press "save and restart" button. ESP should restart and start to communicate with NTP server. If it's not working you're doing something wrong or change something in the code. It's working for 100%.



SULTAN

  • Newbie
  • *
    • Posts: 18
    • Likes: +0/-0
    • View Profile
Reply #52 on: February 01, 2019, 03:24:08 PM
Fill the NTP server value and press "save and restart" button. ESP should restart and start to communicate with NTP server. If it's not working you're doing something wrong or change something in the code. It's working for 100%.
What ntp server to use for the time zone which is in the firmware?
Just want to check



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 112
    • Likes: +24/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #53 on: February 01, 2019, 03:32:37 PM
I've already mentioned it few times: europe.pool.ntp.org

You can use any NTP server, it has noting to do with the arduino code.



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 45
    • Likes: +4/-0
    • View Profile
Reply #54 on: February 01, 2019, 05:12:50 PM
Ill try this with my mic this weekend, ill report back!!

Hey shiryou, its not that sinelon and juggle do not work,  but more they do not suit this build.  im guessing its down to personal taste., i do prefer a nice slow animation on this particular setup. if you have seen my vu meters,  sinelon and juggle work quite well, but on the ring version those patterns don`t .. its just down to taste i guess..

i have used the msgeq7 board for a few of my setups, its a capable board and produces great sound reaction.  To make it easier for people to build that particular vu meter i recommend the msgeq7 board, the downside is cost and the only decent one i can find is in the US..  i can get a 5 metre, 60 leds a metre led strip for £19, the msgeq7 board is £12 for mono, or £15 for stereo add £5 shipping.. it just doesnt make sense.   i printed 10 pieces out of a roll of filament ( £13),   The leds using 3 a corner worked out about a metre and a half ( £7),  2 x esp8266 (£8) , then a msgeq7 breakout board (£19 with shipping) ...

 yes i could build one of my own, then you have problems with fake chips ( which is quite common)  then you have problems with other people building them.  Like you i share what i do for free,  i do not make any money out of it as its a hobby i enjoy. so i try and make things a simple as possible so i do not spend what little time i have helping people with there problems.., if that makes sense.

 My llne in version uses a couple of resistors and a capacitor and works as well as the msgeq7 for sound reaction.  but as mentioned a rather long input lead would be needed.  A wireless version using the esp8266 has been done  seen here :
&t=259s not sure if something like this could be added to this setup.

Anyways, just ideas... But so far what has been done is brilliant. i finished converting from 1 led a corner to 3 this afternoon and hope to get a video together which will be a review of my build. hopefully it will push some more people your way.. keep up the great work!!!



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 45
    • Likes: +4/-0
    • View Profile
Reply #55 on: February 01, 2019, 07:42:52 PM
I try this code of natural nerd:
https://github.com/hansjny/Natural-Nerd/tree/master/arduino/soundsread2

over nodeMCU with my mic MAX4466 the analog read from the mic is totally shit... its better than with other code but not working at all...

I tried the same with a Wemos D1 R1 board and the signal is a lot better, but you have to put the mic in front of the speaker to work nice...

so.... this mic is a bullshit xDDDDDD

Ill buy the one he use and try again in 2 weeks when it arrives xDDDD



ARN

  • Newbie
  • *
    • Posts: 13
    • Likes: +1/-0
    • View Profile
Reply #56 on: February 11, 2019, 01:21:54 PM
Look at timezone lib: https://github.com/JChristensen/Timezone

Part "Coding TimeChangeRules".
Hello.
Can you help.
I just can not deal with ntp.

// Ntp Server
// Time zones
// Eastern European Time (Ukraine, Kiev)
// Eastern European Summer Time
TimeChangeRule uaEest = {'EEST', Last, Sun, Mar, 31, 180};
// Central European Standard Time
TimeChangeRule uaEet = {'EET', Last, Sun, Oct, 27, 120};
Timezone uaEastern (uaEest, uaEet);
TimeChangeRule * tcr;
How to use public ntp server?
And why does one LED remain on when switching off via the interface?

I am facing the same behavior there is one led always on red in the first panel.
If I dim the lights to 0 it will stay off along all others, but using manual turn off leaves one on.



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 45
    • Likes: +4/-0
    • View Profile
Reply #57 on: February 11, 2019, 01:31:28 PM
thats the standby mode



shiryou

  • moodlite Developer
  • Newbie
  • *****
    • Posts: 45
    • Likes: +4/-0
    • View Profile
Reply #58 on: February 12, 2019, 07:36:53 PM
ey @mannymiller!

I have news! I received the ADMP401 mem microphone module i ordered from china today and ive been playing with it all the afternoon. It works a lot better than the arduino microphone MAX4466. Im looking for some simple code to test it and get some clear animations, right now im using some demo codes from here:
https://github.com/atuline/FastLED-Demos but they are a little complex to test them

I saw your moodlight reviews on cine-light! Glad you solved your problems. Now lets see if we can make some sound reaction effects and add them to the project!



mannymiller

  • Newbie
  • *
    • Posts: 19
    • Likes: +1/-0
    • View Profile
Reply #59 on: February 15, 2019, 07:09:00 PM
ey @mannymiller!

I have news! I received the ADMP401 mem microphone module i ordered from china today and ive been playing with it all the afternoon. It works a lot better than the arduino microphone MAX4466. Im looking for some simple code to test it and get some clear animations, right now im using some demo codes from here:
https://github.com/atuline/FastLED-Demos but they are a little complex to test them

I saw your moodlight reviews on cine-light! Glad you solved your problems. Now lets see if we can make some sound reaction effects and add them to the project!

Sorry for the late reply.., been very busy.

I have about 18 vu meter patterns which i use for all my vu meters, the problem being is the design., for example, some vu meters just dont look right on a led ring, but look cool on a strip. and visa versa. because this is  made of triangles with 3 leds per corner some vu meter patterns may look strange.  when i get a chance i will throw a video together testing all the vu meters and then people can pick which looks best...  juggle and ripple vu meters will look cool....



 


SMF spam blocked by CleanTalk