author
2Instructables27,816Views21CommentsSydney
"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
Show 1 More »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 9 days ago
    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 want...

    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 »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 11 days ago
    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...

    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 »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 14 days ago
    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 ...

    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 »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 14 days ago
    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 ...

    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 this...

    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 ...

    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 ...

    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.

    View Instructable »
  • thebigpotatoe's entry Super Simple RGB WiFi Lamp is a winner in the Indoor Lighting Contest contest 15 days ago
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 15 days ago
    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 »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 17 days ago
    Super Simple RGB WiFi Lamp

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

    View Instructable »
  • thebigpotatoe's entry Super Simple RGB WiFi Lamp is a finalist in the Indoor Lighting Contest contest 19 days ago
  • thebigpotatoe's instructable Cheap Metal 3D Printed Jewellery 's weekly stats: 19 days ago
    • Cheap Metal 3D Printed Jewellery
      93 views
      0 favorites
      0 comments
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 21 days ago
    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 »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 22 days ago
    Super Simple RGB WiFi Lamp

    Glad you liked it!

    View Instructable »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 23 days ago
    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 ...

    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 »
  • thebigpotatoe's instructable Super Simple RGB WiFi Lamp 's weekly stats: 23 days ago
    • Super Simple RGB WiFi Lamp
      15,511 views
      222 favorites
      14 comments
  • thebigpotatoe commented on JEEEFY's instructable Tea Light Christmas Trees27 days ago
    Tea Light Christmas Trees

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

    View Instructable »
  • thebigpotatoe commented on hombremagnetico's instructable Nuclear Switch Locator27 days ago
    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 »
  • thebigpotatoe commented on JamónyQueso's instructable Concrete Base Table Lamp27 days ago
    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 Lamp27 days ago
    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 »
  • thebigpotatoe commented on happenpappen's instructable Copper Rust Drop Light 27 days ago
    Copper Rust Drop Light

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

    View Instructable »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 27 days ago
    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 com...

    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 »
  • thebigpotatoe commented on ThomasVDD's instructable Edge Lit Wedding Gift4 weeks ago
    Edge Lit Wedding Gift

    Awesome idea, really want to make one

    View Instructable »
  • thebigpotatoe commented on thebigpotatoe's instructable Super Simple RGB WiFi Lamp 4 weeks ago
    Super Simple RGB WiFi Lamp

    Glad you liked it. When you do it make sure to post some pics back here!

    This is a pretty generic error stating that your device is restarting due to the reset pin. If you have nothing connected to this pin, in most cases this will indicate power issues with the device browning out. A suggestion I have, and had made above, is to put a large capacitor close to your esp8266. You should also check your power supply and make sure it has enough current to run your esp and leds. On top of this, if you have extended your power cable this may be causing a large voltage drop as well. To test this. Just plug in your esp to your laptop and upload the code. No lights. No peripherals and make sure the code runs. If it doesn't it may be an issue with your esp or my code. So if you get to this stage be sure to head to the GitHub and open an issue over there. Hope this helps.

    Thanks for the feedback. The use of 5V is great, no extra regulation required as it is on the NodeMCU. The Lights as well are great cause they have their on board driver which instead of the simple resistor led strips.If i can ask though, which parts in particular do you think are messy? I'm always looking to improve, and would completely open to adjusting this project to suit any new ideas?

    View Instructable »
  • thebigpotatoe followed Metalworking, CNC, Cameras, Pallets and 13 others channel 2 months ago