author
3Instructables59,681Views68CommentsSydney
"The only difference between screwing around and science is writing it down" - Adam Savage, 2012

Achievements

10K+ Views Earned a bronze medal
Indoor Lighting Contest
Contest Winner Second Prize in the Indoor Lighting Contest
  • Super Simple RGB WiFi Lamp

    Wow that's amazing! Good good!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    That is waayyyyy better than the original!The project is a bit of a mess code wise. While it still works you can see that it is hard to implenr new modes if you are not a coder. I have a new project I have been working on for a while now I need to just publish. But it will allow easier coding of LEDs for all skill levels. Keep an eye out!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome stuff! It always comes back to having a better power supply with these leds!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    That's sweet! Hook it up to the visualiser next!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Nice! The flickering is a known issue with the ESP8266 and FastLED. There is plenty of theories out there on the net as to why, but for the most part they are WiFi related. The issues do appear for me as well using all libraries and v2.5.2 of the core

    View Instructable »
  • Super Simple RGB WiFi Lamp

    You metion uploading with no SPIFFS. Make sure you upload with at least 1MB of SPIFFS so that the device can store data across reboots.You issues is because the device does work on the Soft AP. While it seems like a simple task to accomplish, in reality we tried to get it to work but requires quite a fair bit in order to achieve what I was trying to do.So in short, the sketch will only run when connected to WiFi as the board needs internet to load the webpage. This is why you are getting a very bland looking web page and functionality. Connect it to your WiFi network and see how it goes.

    View Instructable »
  • thebigpotatoe commented on thebigpotatoe's instructable IoT-Terrarium
    IoT-Terrarium

    Did you install the libraries in the repo?

    View Instructable »
  • Super Simple RGB WiFi Lamp

    One last thing, I had issues with mine tonight. Not sure what happened but got the results that you were having.Just wipe the whole device and it starts to work again. Use the erase all flash contents option in the boards dropdown menu near where you select the NodeMCU as your board.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    By the sounds of it, shouldn't be you AP then.5 to 6 days is suspect of a millis() rollover error somewhere maybe, might not even be in my code, so I'm not even sure where it may be. As you say I could provide some binaries, but I am likely to be in the same boat. I have totally wiped my PC since building this so I will be installing the same libs and rolling the core back to 2.5.2. A binary I compile though should not be any different to yours.For your timer. I have stopped support for the code on this for a couple of reasons. The first is for these out-dating issues, they really need to be kept on top of with a lot of energy given how fast everything moves. The second is I am actually building an Arduino library that is much much more powerful at these kinds of projects which I hope to …

    see more »

    By the sounds of it, shouldn't be you AP then.5 to 6 days is suspect of a millis() rollover error somewhere maybe, might not even be in my code, so I'm not even sure where it may be. As you say I could provide some binaries, but I am likely to be in the same boat. I have totally wiped my PC since building this so I will be installing the same libs and rolling the core back to 2.5.2. A binary I compile though should not be any different to yours.For your timer. I have stopped support for the code on this for a couple of reasons. The first is for these out-dating issues, they really need to be kept on top of with a lot of energy given how fast everything moves. The second is I am actually building an Arduino library that is much much more powerful at these kinds of projects which I hope to launch one day. It already supports alarms and timers so keep an eye out for it when I manage to finally finish it.For this code, if you want timers and alarms, there are stacks of good libraries available on GitHub that accomplish what you want to do. Just search Arduino alarm or esp8266 timers.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    I swear I responded to these comments. Must be the website, has been an issue in the past.But essentially, to make sure it is not the code that is failing you need to follow my install, compile, and upload instructions to the tee. I know you said you have done so, but this includes having the Arduino IDE at version 1.8.9, and the esp8266 Arduino core rolled back to 2.5.2. There are known issues with having versions not exact to these.FastLED is also a pain with the esp8266 since it interrupts wifi to clock out the led data. so make sure you use the exact same library as I have attached in the repo.If it is still failing it may be a distance issue from your access point, they do get a little bit funny when they are further away.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    The last ota recommendation won't affect this issue. As for the rest, providing you installed the libraries from the repo without any other clashes it should work. The last thing is make sure your Arduino core is rolled back to 2.5.2 as it's the version I built this is and there is known web server issues in later versions. You can do this in the boards manager menu. possibly also roll back your Arduino ide to 1.8.9 as a last resort. The thing with code in the Arduino ide and C++ in general is the lack of a good library management system with version control and package management. So the only way to garauntee that any ones code will work is to download, compile, and upload the exact same things as the creator. That's why I included the libraries I used as well as the versions of other th…

    see more »

    The last ota recommendation won't affect this issue. As for the rest, providing you installed the libraries from the repo without any other clashes it should work. The last thing is make sure your Arduino core is rolled back to 2.5.2 as it's the version I built this is and there is known web server issues in later versions. You can do this in the boards manager menu. possibly also roll back your Arduino ide to 1.8.9 as a last resort. The thing with code in the Arduino ide and C++ in general is the lack of a good library management system with version control and package management. So the only way to garauntee that any ones code will work is to download, compile, and upload the exact same things as the creator. That's why I included the libraries I used as well as the versions of other things I have. So if you haven't. Give those settings a go and see if it works. One last thing while I'm thinking of it is the esp does not like wifi rssi signals less than about 75 or so for reliable operation. So make sure you have good signal too

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Haha, Easiest fix ever. Have fun!

    Nice job man. Way to go to make and print a sweet enclosure for it all too!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Hi Mate, Sorry for the delay, been busy.You could also refresh the web page and see if that works. If it doesn't it means two things; your ESP is not connected to WiFi, or its busy doing something it shouldn't.Since I haven't touched the code in a while and the last time I did it was stable, it should work providing you follow the GitHub page precisely.This means; you need to have the Arduino core 2.5.2 installed, and the libraries I packaged as zip files with the repo as well. If you end up using other versions of anything, it may result in these errors. Easiest way to make sure of this is to make a new skecthbook location for your arduino IDE

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Nice job! Looks epic.To answer your questions;- Frequency is if you managed to figure out the visualiser mode. If you haven't don't worry about that setting, it means nothing.- If I understand you correctly, you can remotely talk to the light via websockets by connecting to the web socket server on port 81. This is really easy to do with something like node-red which is very easy to set up on a pi!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    There certainly has been some great inputs since project inception. So keep an eye on the code to see how it changes.The debunce is a typo haha, you can change the name, but you will need to change it everywhere for it not to affect functionality.

    So cool to see it in action! Nice job figuring out the ADC for the visualiser!

    Amazing! Awesome job figuring out the ADC, I have been meaning to write that up for a while now, but I just couldn't figure a decent way of streaming music to it that everyone will have easy access to.Hopefully this may serve as some inspiration to others!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    You would have to develop yourself, but the answer is certianly yes.There is one main method called when changing values via messages, instead of websockets you could use mqtt instead there to send and receive.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Amazing job! Thanks for the feedback, means a lot. Have fun with the new lamp!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    If you purchased a Node MCU package, there is an onboard ADC. I have been meaning to write this up, but I'm struggling with external hardware for the build to be suitable for everyone.It will work on wifi, and should work on any major browser such as chrome and firefox. It may not be supported on small inbuilt browsers on mobiles phones however. This is a device specific issue.The AP should work, but in its current implimentation, the website will not work for the same reasons as above, non supported uncached web data. This is an annoying issue to solve and I am still actively trying to figure the best way to appraoch it given the limited resources of the ESP. For now I would only use the sketch in station mode connected to your wifi.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Amazing stuff! Let us know how the phone detection code goes. Could be super interesting to implement.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    I left this out inetionally as hanging situations change from case to case. I however used simple picture hanging hooks and two extra holes drilled into the aluminium on the top side. You can see a little shadow of them in some of the pics.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome! Glad it tworks

    Thanks mate,This is a new one, but from the research I have done its an issue with your physical board, not the code.Makes sure you have selected the right com port to upload first. Sometimes there are more than one that shows up on the menu. This is normal, just have to find the one that works.Otherwise, it may be a baud rate issue if you could try changing that?Failing that, I don't want to say it but it seems like the board is not communicating with your PC so it might be blown up? Just try uploading an example sketch first and see if that works too.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Great! Let us know how it all goes when your done.That library looks awesome. Had a quick poke around in the source. It seems easy to use and possible to setup with this sketch. I don't have an Alexa (though this can be solved easily), so I cannot test it currently.I say possible as well, as it seems like a fair bit of work in order to import this library to work with the current sketch. Its not impossible, but would require debugging a new library which works with an external 3rd party device. Its certainly is a cool idea, so thanks for showing me the library. I'm going to add it do the backlog of changes happening to the source code over at GitHub.In the mean time, there is still the option of using an external service such as Node-Red if you have a spare PC lying around you can leave o…

    see more »

    Great! Let us know how it all goes when your done.That library looks awesome. Had a quick poke around in the source. It seems easy to use and possible to setup with this sketch. I don't have an Alexa (though this can be solved easily), so I cannot test it currently.I say possible as well, as it seems like a fair bit of work in order to import this library to work with the current sketch. Its not impossible, but would require debugging a new library which works with an external 3rd party device. Its certainly is a cool idea, so thanks for showing me the library. I'm going to add it do the backlog of changes happening to the source code over at GitHub.In the mean time, there is still the option of using an external service such as Node-Red if you have a spare PC lying around you can leave on. Its a great DIY plug and play environment that you can use to talk to the lamp currently using web-sockets. It also currently supports Alexa I believe.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome! Great job, and thanks for the feedback.Documentation is certainly lacking, I wasn't sure how the build would be received, so I wrote a bunch of not so flexible but stable code and wrote how to use it. There is now a heap of awesome contributions happening over at the GitHub page so be sure to have a look.I have also opened a discussion of turning this into a library with said documentation so people may write their own modes that attach to the front end. So having a web developer that actually knows what their doing would be far better than my hack and slash style of putting HTML together. Any ideas on code style or implementation are most welcome as a pull request or open issue.If you want, head over there and fork the repo. The website is contained in one file, which is then tr…

    see more »

    Awesome! Great job, and thanks for the feedback.Documentation is certainly lacking, I wasn't sure how the build would be received, so I wrote a bunch of not so flexible but stable code and wrote how to use it. There is now a heap of awesome contributions happening over at the GitHub page so be sure to have a look.I have also opened a discussion of turning this into a library with said documentation so people may write their own modes that attach to the front end. So having a web developer that actually knows what their doing would be far better than my hack and slash style of putting HTML together. Any ideas on code style or implementation are most welcome as a pull request or open issue.If you want, head over there and fork the repo. The website is contained in one file, which is then transformed into C++ for the Arduino using python. Not super pretty but does a pretty good job at speeding up the workflow.

    Awesome, be sure to share them back here when your done.For the modes, I'm currently tracking everything over at GitHub as its awesome for managing these kinds of requests. Don't worry if you don't have an account, as I will be sweeping through the comments hopefully soon to add these suggestions.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Thanks!I had a brief look around. Seems you would be able to add sACN to the light using; https://github.com/forkineye/E131.I'm not familiar with the DMX protocol but if you know your code, you could map inputs from sACN to select modes and such internally within the light.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Amazing stuff! Glad it works all round after that fix. Project looks amazing, well done on the build.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Sorry for the delay.Thanks for sharing, project looks great.As for the error I am not sure. I haven't seen it happen ever, even with my other projects. What I suspect though is you do not have good power. When connected to your usb you are supplying good power, when disconneceted, the situation changes. I can suggest either a larger power supply or use a large cap like the instructable says. Try this and see what happens.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Sorry for the delayed response. Is this happening when you are trying to upload or when trying to use the esp

    View Instructable »
  • thebigpotatoe commented on thebigpotatoe's instructable IoT-Terrarium
    IoT-Terrarium

    Thanks! Glad you like it.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome, glad its working. I hope to fix these issues with the new esp core soon so. Keep an eye on the github page for updates.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    I think I figured it out. There are breaking changes to the web server with the ESP8266 core version 2.6.0 and above.If you go to your boards manager and change the ESP8266 board library to 2.5.2 it should hopefully work. Let me know if it does.

    I think I figured it out. There are breaking changes to the web server with the ESP8266 core version 2.6.0 and above.If you go to your boards manager and change the ESP8266 board library to 2.5.2 it should hopefully work. Let me know if it does.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Weird indeed. Haven't seen this before. I have just tested the latest version of the code and it seems to all be working as expected. What it could be is your browser. Seems like it is not rendering the HTML at all. From the screen shot i cannot tell what you are using, so if you could provide details it would help. In my travels I have seen issues with android mostly for what ever reason. You will need to use a supported browser for the server to work and android does not have this out of the box. I would suggest using chrome or Firefox as they support the latest java script features.I love the looks of your work too, the black is a really cool addition. If changing browser works, be sure to come back here and share your results!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    If you are asking if the time in the code is capable of being accurate; yes it is. It is synced to NTP just like your phone.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    You may use any number of LED's using a strip with any number per meter. Just be sure to update the code as stated in the Setting Up The Sketch step to match what you have built.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    So long as you have not edited my code and you have followed the steps there should be nothing wrong.If you have previous libraries installed, this may cause a clash which will lead to this kind of error happening. My best suggestion would be to start a fresh sketchbook in the Arduino IDE and only use my libraries.This is actually really easy. All you need to do is create a new folder anywhere you want on your computer. Then in the Arduino IDE settings; direct your sketchbook location to this new folder. Simply follow the steps above to install the libraries required and hopefully it should compile and work.The Arduino website and google have plenty of results for how to direct the sketchbook if you get lost; https://www.arduino.cc/en/guide/environment.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome! Glad its working.The visualiser is just an analysis loop that runs an FFT over values from the ADC. So it does nto generate music or listen automatically, you will have to plug in a mic or sound source for this. I have stated that I am in the middle of developing this, but life is currently in the way so it's on the shelf just now. Ill be back into it to publish a how to hopefully soon.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome! I actually had a pull request to allow you to change the type of LED as easily as the WiFi details. be sure to check out the new code over on GitHub.Let us know how your project goes. Its always fantastic to see the end results of how people used this project!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Weird, thought I definitely responded to your messages. Maybe the website did not pass it on through, but i can't even find it on my side either. So sorry for the delay but here's what i would have said;The application looks great, really works well using that angled strip. I didn't write the code for a single strip obviously even though most of the modes do work. So for the clock, what I can suggest is that you change all of the bottom LED variables to top just like;```void setClock() { if (ntpTimeSet) { // Get the number of seconds between each LED int hourLedDeltaT = 43200 / (topNumLeds); int minuteLedDeltaT = 3600 / (topNumLeds); // Get the current time modulated to hours and mins int currentHour = now() % 43200; int currentMinute = now() % 3600; // Get the current percentage the time…

    see more »

    Weird, thought I definitely responded to your messages. Maybe the website did not pass it on through, but i can't even find it on my side either. So sorry for the delay but here's what i would have said;The application looks great, really works well using that angled strip. I didn't write the code for a single strip obviously even though most of the modes do work. So for the clock, what I can suggest is that you change all of the bottom LED variables to top just like;```void setClock() { if (ntpTimeSet) { // Get the number of seconds between each LED int hourLedDeltaT = 43200 / (topNumLeds); int minuteLedDeltaT = 3600 / (topNumLeds); // Get the current time modulated to hours and mins int currentHour = now() % 43200; int currentMinute = now() % 3600; // Get the current percentage the time is between 2 LEDS int hourGapTime = currentHour % hourLedDeltaT; int minuteGapTime = currentMinute % minuteLedDeltaT; float hourPercentOfGap = (float)hourGapTime / (float)hourLedDeltaT; float minutePercentOfGap = (float)minuteGapTime / (float)minuteLedDeltaT; // Calculate the current and next LED to turn on int hourLEDNumber = floor(currentHour / hourLedDeltaT); int hourCurrentLED = topLeds[hourLEDNumber]; int hourNextLED = (hourLEDNumber == topNumLeds - 1) ? topLeds[0] : topLeds[hourLEDNumber + 1]; int minuteLEDNumber = floor(currentMinute / minuteLedDeltaT); int minuteCurrentLED = topLeds[minuteLEDNumber]; int minuteNextLED = (minuteLEDNumber == topNumLeds - 1) ? topLeds[0] : topLeds[minuteLEDNumber + 1]; // Calculate the brightness of the current and next LED based on the percentage int hourCurrentLEDBrightness = 255 * (1 - hourPercentOfGap); int hourNextLEDBrightness = 255 * (hourPercentOfGap); int minuteCurrentLEDBrightness = 255 * (1 - minutePercentOfGap); int minuteNextLEDBrightness = 255 * (minutePercentOfGap); // Clear all the LED's FastLED.clear(); // Set the colour of the LED ledString[hourCurrentLED] = CRGB( clockHourRed, clockHourGreen, clockHourBlue); ledString[hourNextLED] = ledString[hourCurrentLED]; ledString[minuteCurrentLED] = CRGB( clockMinRed, clockMinGreen, clockMinBlue); ledString[minuteNextLED] = ledString[minuteCurrentLED]; // Dim the led correctly ledString[hourCurrentLED].nscale8(hourCurrentLEDBrightness); ledString[hourNextLED].nscale8(hourNextLEDBrightness); ledString[minuteCurrentLED].nscale8(minuteCurrentLEDBrightness); ledString[minuteNextLED].nscale8(minuteNextLEDBrightness); } else { // Set each of the lights colours for (int i = 0; i < topNumLeds; i++){ ledString[topLeds[i]] = CRGB(clockHourRed, clockHourGreen, clockHourBlue); } for (int i = 0; i < topNumLeds; i++){ ledString[topLeds[i]] = CRGB(clockMinRed, clockMinGreen, clockMinBlue); } // Set the brightness up and down // Serial.println(sin8(clockOnPauseBrightness)); nscale8(ledString, NUM_LEDS, triwave8(clockOnPauseBrightness)); clockOnPauseBrightness += 1; }}```For night rider, I'm kind of stumped as to why that first LED stays on. I could suggest making sure that the you have set the first LED in your array to 0 and not 1. The only other code suggestion is to remove all of the bottomLED variables for the night rider mode like below. But if that doesnt work i think it may be a hardware issue. Make sure all of your grounds are connected together is the big one.```void setNightRider() { int delayTime = 500 / topNumLeds; EVERY_N_MILLISECONDS(delayTime) { // Set the current LED to Red ledString[topLeds[nightRiderTopLedNumber]] = CRGB(255, 0, 0); // ledString[bottomLeds[nightRiderBottomLedNumber]] = CRGB::Red; // Serial.println(nightRiderTopLedNumber); // Serial.println(ledString[topLeds[0]]); // Increment the LED number nightRiderTopLedNumber = nightRiderTopLedNumber + nightRiderTopIncrement; // nightRiderBottomLedNumber = nightRiderBottomLedNumber + nightRiderBottomIncrement; if (nightRiderTopLedNumber >= topNumLeds - 1 || nightRiderTopLedNumber <= 0) nightRiderTopIncrement = -nightRiderTopIncrement; // if (nightRiderBottomLedNumber >= bottomNumLeds - 1 || nightRiderBottomLedNumber <= 0) nightRiderBottomIncrement = -nightRiderBottomIncrement; // Start fading all lit leds fadeToBlackBy( ledString, NUM_LEDS, 10); };}```Let me know if the above works

    Haha, yeah shot myself in the foot with this one. The time on the website is actually the time on the device your using as I didnt/couldnt figure out the easiest way to get the time off the esp. I actually had a resync button in the original code before i uploaded it but removed it for stability issues.The time for myself is also wrong as we have just gone through daylight savings as well, so i will have to look into this soon.Thanks for the feedback

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome to see another final result! Thanks for making, and the contributions.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    I went back over my code and had a look to see if I missed something and realized I had a bunch of website functionality (like jQuery and the color picker) coming from external sources. I was toying at one stage about keeping this on the device and so forgot that I left them as an external source. This means they will not load into the web page when using the ESP in soft AP mode since there is no internet connection. In order to use my web page, the external sources will need to be cached into your browser before use to have full functionality when using the softAP mode. What this means in simple speak is the softAP mode will not work unless you have visited the web page on your home WiFi before. This was an oversight on my behalf and I will look into possible remedies, but since I wanted…

    see more »

    I went back over my code and had a look to see if I missed something and realized I had a bunch of website functionality (like jQuery and the color picker) coming from external sources. I was toying at one stage about keeping this on the device and so forgot that I left them as an external source. This means they will not load into the web page when using the ESP in soft AP mode since there is no internet connection. In order to use my web page, the external sources will need to be cached into your browser before use to have full functionality when using the softAP mode. What this means in simple speak is the softAP mode will not work unless you have visited the web page on your home WiFi before. This was an oversight on my behalf and I will look into possible remedies, but since I wanted the functionality and style you see in the regular station mode this is the way I decided to design the website, and I stand by it.The example you linked is fundamentally different to my design. It uses very simple HTTP requests between your browser and the ESP to serve updated static data (like how you would use PHP almost). Meaning there is no link between you and the ESP once the web page has loaded. Any click you make on that web page loads and new static web page to generate new data. This is very basic design and is very slow, but since it is so basic is much less error prone and easy to understand.My design on the other hand serves one generic static web page with some fancy libraries and uses a web-socket server to then send messages to and from the ESP and your browser. This design keeps a permanent link open between the ESP and the browser to allow sending very fast messages, which therefore allows fast and live updates on every programmed variable. This method also allows me to maintain and debug the advanced features on the web page much easier than the example code as I can use a proper HTML editor and debug suite.So at the end of this basic description of how the web page works, to help you possibly fix this you will need to visit the website first, either on mobile or laptop of your choice, then connect to the ESP access point. Luckily the web page is downloaded with the zip file from GitHub if you have cloned it from there. So simply open the Website.html file included in the top level folder, then connect to your esp8266 access point. If all goes well it should start working.I don't have an ESP near me now, so I will test this method when I get home, then look into some potential fixes as this will be critical for a few other future projects of mine, so I appreciate the feedback on this.As of today as well, I have uploaded a revision of the code which also aims at fixing a few other bits of web socket stability. So head on over to the GitHub page and download the code for the updates before trying what I state above.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    The lack of styling on your android was just a lack of loading the bootstrap themeing without internet. This wont affect the functionality of the website, just the looks.As for using it from a windows device, you do need to wait for the websocket's to connect, this will be stated at the top of the page as to what state they are in. As you have not mentioned any new info i assume this may be the issue? You can also see what the webpage is trying to do by opening dev tools in chrome if you have it with F12.Removing code as well may lead to undesired results depending on what you have done. I have written it such that all the components play well together in the best possible way. But like you said, you have tried to make this simple as possible which is always better if you get it right.I a…

    see more »

    The lack of styling on your android was just a lack of loading the bootstrap themeing without internet. This wont affect the functionality of the website, just the looks.As for using it from a windows device, you do need to wait for the websocket's to connect, this will be stated at the top of the page as to what state they are in. As you have not mentioned any new info i assume this may be the issue? You can also see what the webpage is trying to do by opening dev tools in chrome if you have it with F12.Removing code as well may lead to undesired results depending on what you have done. I have written it such that all the components play well together in the best possible way. But like you said, you have tried to make this simple as possible which is always better if you get it right.I am happy to help you get to the bottom of this, but i really will need more info on exactly how you are using the code if you can post an overview of any modifications to the code.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest co…

    see more »

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest connecting to your home wifi over the softAP for reliability. To help futher, ill need to know;- Have you made any modifications to the code - what device are you using to connect to the ESP8266- are you using teh softAP or connecting the ESP8266 to your home network- how many LED's are you trying to useLets start with this, and see how you go

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest co…

    see more »

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest connecting to your home wifi over the softAP for reliability. To help futher, ill need to know;- Have you made any modifications to the code - what device are you using to connect to the ESP8266- are you using teh softAP or connecting the ESP8266 to your home network- how many LED's are you trying to useLets start with this, and see how you go

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest co…

    see more »

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest connecting to your home wifi over the softAP for reliability. To help futher, ill need to know;- Have you made any modifications to the code - what device are you using to connect to the ESP8266- are you using teh softAP or connecting the ESP8266 to your home network- how many LED's are you trying to useLets start with this, and see how you go

    That is a busy wall. But sounds like a great idea, and one that many others may find useful for their situations. Just maybe make sure to turn on the leds and see how the light is cast first and find a place your happy with before finally securing it. ​​If your struggling for ideas on mounting you could maybe use something that represents and H like this from bunnings; https://www.bunnings.com.au/brutus-16mm-x-3m-divisional-builders-mould_p0012234. Would be easy to secure and great to mount LED's in.​​As for the current code; it will not work if you delete or set things to 0 as I use the number of leds for the top and bottom in division calculations. So setting these to 0 will cause errors as the code will try divide by 0. This was just lazy/to specific coding by myself and i will fix th…

    see more »

    That is a busy wall. But sounds like a great idea, and one that many others may find useful for their situations. Just maybe make sure to turn on the leds and see how the light is cast first and find a place your happy with before finally securing it. ​​If your struggling for ideas on mounting you could maybe use something that represents and H like this from bunnings; https://www.bunnings.com.au/brutus-16mm-x-3m-divisional-builders-mould_p0012234. Would be easy to secure and great to mount LED's in.​​As for the current code; it will not work if you delete or set things to 0 as I use the number of leds for the top and bottom in division calculations. So setting these to 0 will cause errors as the code will try divide by 0. This was just lazy/to specific coding by myself and i will fix this so that any one may use the code for any shape they desire.​​I am most of the way through the visualiser hardware and done with the software, so i will probably update the code for this and fix the division by zero issue at the same time very soon. ​​However, in the mean time. If you just set the topLeds array to the leds you have and the bottom and sides to a single LED greater than your top leds array, then add up all of these to NUM_LEDS, Then this will work;​​#define NUM_LEDS 7int topLeds[] = {0, 1, 2, 3};int bottomLeds[] = {4};int leftLeds[] = {5};int rightLeds[] = {6};​​In this case the topLEDs array are your actual LED's on your strip. So if you have a strip of 30, top leds will be set between 0 to 29. This means that when you set numLED's to include the bottom and side arrays, it will be trying to drive LED's that do not exist, but this will not matter. ​The code updates i promise above will however fix the confusion.

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest co…

    see more »

    Ill need a little bit more information about what and how you are using this project to be able to truely help here. But ill start with a few simple things;If you manage to load the webpage, it will then need to connect via websockets. the status of the websockets is show at the top of the page as the mode if it is not connected. If it is connected, then it will show the current mode. The sockets do take some time to connect, so give it about 30 seconds, and if it does not connect then there is an issue.If you are connecting through the software access point, i did have some issues more so with android phones that laptops and iOS. Not sure why, but just did. Trying to balance all the other parts of the code with the softAP is hard to keep stable, again not sure why, but i would suggest connecting to your home wifi over the softAP for reliability. To help futher, ill need to know;- Have you made any modifications to the code - what device are you using to connect to the ESP8266- are you using teh softAP or connecting the ESP8266 to your home network- how many LED's are you trying to useLets start with this, and see how you go

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Awesome. That's good to hear. When you have the LED'S and hook them up be sure to come back here and share some pics

    View Instructable »
  • Super Simple RGB WiFi Lamp

    As promised; Let me know if you want any particular features for this mode.

    View Instructable »
    • Cheap Metal 3D Printed Jewellery
      93 views
      0 favorites
      0 comments
  • Super Simple RGB WiFi Lamp

    Thanks! Let us know back here how yours turned out. Would be awesome to see some others. If you have any issues as well, feel free to comment here on on GitHub if its the code.My skyline in frame is Chatswood here in Sydney, and just to the left out of frame is the city.

    Thanks! Let us know back here how yours turned out. Would be awesome to see some others. If you have any issues as well, feel free to comment here on on GitHub if its the code.​​My skyline in frame is Chatswood here in Sydney, and just to the left out of frame is the city.

    Thanks! Let us know back here how yours turned out. Would be awesome to see some others. If you have any issues as well, feel free to comment here on on GitHub if its the code.My skyline in frame is Chatswood here in Sydney, and just to the left out of frame is the city.

    Thanks! Let us know back here how yours turned out. Would be awesome to see some others. If you have any issues as well, feel free to comment here on on GitHub if its the code.My skyline in frame is Chatswood here in Sydney, and just to the left out of frame is the city.

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Glad you like it! I had the exact thoughts for the continuation of this project. Making a visualiser would compliment the whole design and make it more fun I think. The only issue is implementing a way of listening to sound. From what I have seen other achieve, this was either very complete or too basic, so I will have to do some research first. To let you know, I have be looking into doing this and have actually built a some visualisers based on the Arduino nano a couple of times, but I omitted from this instructable originally to keep this simple. However, I think I will be designing it in a sequel to this instructable of sorts with updated code. But what I want to do is again make it simple for people with no electronics experience to be able to easily make, modify, and use. So keep an…

    see more »

    Glad you like it! I had the exact thoughts for the continuation of this project. Making a visualiser would compliment the whole design and make it more fun I think. The only issue is implementing a way of listening to sound. From what I have seen other achieve, this was either very complete or too basic, so I will have to do some research first. To let you know, I have be looking into doing this and have actually built a some visualisers based on the Arduino nano a couple of times, but I omitted from this instructable originally to keep this simple. However, I think I will be designing it in a sequel to this instructable of sorts with updated code. But what I want to do is again make it simple for people with no electronics experience to be able to easily make, modify, and use. So keep an eye out, as I will hopefully be designing this up soonish.

    View Instructable »
    • Super Simple RGB WiFi Lamp
      15,511 views
      222 favorites
      14 comments
  • Tea Light Christmas Trees

    Really cool, totally going to make a couple of these. Thanks for sharing all files :)

    View Instructable »
  • Nuclear Switch Locator

    Given I'm obsessed with radiation and have made a career of it, I think this is a really creative idea. Who needs automatic lighting when a tiny part of a nuclear reactor can show you where the light switch is haha.Just a thought, would it be worth while trying these out of glow in the dark filament too?https://www.amazon.com/s?k=glow+in+the+dark+filament&ref=nb_sb_noss

    View Instructable »
  • Concrete Base Table Lamp

    This is really nice and simple, with easy and clear steps to understand too! Thinking about giving it a go.

    View Instructable »
  • Aquarium Auto Lighting System

    That's a pretty epic little PCB and case, but would be awesome to see how you mounted and connected your lights in the tank. Thanks for sharing!

    View Instructable »
  • thebigpotatoe commented on antoled's instructable Smart Ceiling Lamp
    Smart Ceiling Lamp

    Awesome project! I can see how much work you had to put in to get your final product. Great PCB and very nice choice in power supply.

    View Instructable »
  • Copper Rust Drop Light

    Awesome paint job, might use it on some of my projects!

    View Instructable »
  • Super Simple RGB WiFi Lamp

    Hmm does seem a bit odd. But I'm not going to be able to do much with a basic description of the error. I want to help and make sure that there are no issues with the code.If you can, go to the GitHub page and open and issue here; https://github.com/thebigpotatoe/Super-Simple-RGB-WiFi-Lamp/issues. In this issue I need you to paste the Stack Error Dump if there is one coming from the ESP in the serial monitor. This is all of the random text when the ESP8266 restarts.You can do this using the tool in the Arduino IDE from here; https://github.com/me-no-dev/EspExceptionDecoder. Just follow the steps there.In the issue if you can paste the output which will tell me exactly what is wrong.If there is no errors in the serial monitor, this could mean that the browser you are using may not be compa…

    see more »

    Hmm does seem a bit odd. But I'm not going to be able to do much with a basic description of the error. I want to help and make sure that there are no issues with the code.If you can, go to the GitHub page and open and issue here; https://github.com/thebigpotatoe/Super-Simple-RGB-WiFi-Lamp/issues. In this issue I need you to paste the Stack Error Dump if there is one coming from the ESP in the serial monitor. This is all of the random text when the ESP8266 restarts.You can do this using the tool in the Arduino IDE from here; https://github.com/me-no-dev/EspExceptionDecoder. Just follow the steps there.In the issue if you can paste the output which will tell me exactly what is wrong.If there is no errors in the serial monitor, this could mean that the browser you are using may not be compatible with the website, or there is another error there. So if this is the case, a few screen shots pasted into the issue will also help.

    View Instructable »
  • Edge Lit Wedding Gift

    Awesome idea, really want to make one

    View Instructable »