47Views2Replies

Author Options:

URL controlled led strip animation Answered

Hi all,

I need some help with a diy led strip project

I have 3 led strips (WS2812), Arduino mega, and an Ethernet shield (W5100).

I want to mount the strips in our kitchen and control via a url.

Eg. http://192.168.1.12/fire demo would kick off one of the FastLED example animation.

My aim is to be able to choose different animations using urls sent via actiontiles (Samsung smartthings interface) and play a selected animation continuously until I select a different url.

I can get it to play once but I can’t get it to play something else when I click a different url.

I’m guessing my problem is my nested loops but I don’t have the skill or knowledge to be able to troubleshoot it.

I suspect The url is jumping to a continuous loop and never exits it to see if a different url is selected... At least that’s my theory

Anyone care to start me off with an example of how to achieve this ?

Arduino Mega,

Ethernet shield (WS5100)

Using FastLED.

2 Replies

user
FriedZombie (author)2018-02-21
user
JasonK275 (author)FriedZombie2018-02-24

Great, I’ll take a look. Thanks for the reply

Select as Best AnswerUndo Best Answer