Electric Imp GUI

Hi Folks,

I’ve been doing some research into the electric imp and it looks like the perfect thing to help me with my project.

Essentially what I would like to do is create a program that allows a user to interact with an interface online.
The user will be able to change the frequency and period of a blinking light.
(i.e. If the user inputs a 0.5 for frequency, the program will communicate with the electric imp to tell the LED to turn ON for 1 second and OFF for 1 second and repeat until the user tells it to stop.)

I found this video which does something similar to what I’d like to do: https://vimeo.com/48358960

However, this guy doesn’t show the code behind his program.
Does anyone know of an example online that shows how to create a GUI like the one in the link?
What would this code look like?

Thanks a ton!

Sorry if the link didn’t attach.
Here it is again: https://vimeo.com/48358960

Brian, that demo is 3 years old. A lot has changed since then. The imp agent can host it’s own HTML web page, so you can create a lot of neat things without needing a website of your own.

See this:

Your imp (agent) has its own URL. You would give people that URL to play with your imp web page UI. If you have your own website, you could create whatever you want there and then you would have your own domain name (URL). PHP scripting along with JQuery can handle all of the UI and communication with your imp agent.

If the imp tails are still available, the RGB tail is really fun to use, and the documentation has all of the coding you need:

With that tail, you can control the colors of 5 LED’s. The construction is all done for you:


This is exactly what I was looking for

Thanks so much!

doh! Too bad the imp tails are no longer available. Maybe there is another source.

Anyhow, you will learn a lot by building your own circuits. And you’ll be addicted to the imp like everyone else.

More tails are being made, I believe they should be back in stock soon (takes a while from china…)

Thanks for that info Hugo. I’ll be watching for it.

Hope the tails will be made available in UK this time round ?

We’ll see if that’s an option to tick on the amazon seller console… amazon hold the stock and ship it, so I guess so?

Otherwise, someone on this forum, (U.S. person) could order and ship one to you, where you pay them via PayPal. Shipping might cost as much as the tail though.