author
1Instructables4,076Views9CommentsJoined December 30th, 2017
I'm a maker from Chicago, IL

Achievements

  • pblesi commented on pblesi's instructable Globally Synchronized Wifi Touch Lights9 hours ago
    Globally Synchronized Wifi Touch Lights

    jhei1,The link you provided (https://patrick.ble.si/manual-switch-touch-lights) should have all the instructions you need for the manual switch version of the touch light. I uploaded the code to a specific branch so you can access it in its entirety: https://github.com/pblesi/touch_light/tree/manual_...Hope this helps

    View Instructable »
  • pblesi commented on pblesi's instructable Globally Synchronized Wifi Touch Lights4 days ago
    Globally Synchronized Wifi Touch Lights

    It sounds like the power supply is not providing clean enough power and random surges in the voltage are causing the light to register a touch event. I would recommend trying to get a different power supply, name brand such as Samsung or Apple. I would also try adding a surge protector to the outlet you are using to help provide cleaner power. Lastly, you can try tweaking these values to fine tune the sensing: https://github.com/pblesi/touch_light/blob/bacacf33ea0b8bd36c8edfa28ffdab8e5a683f72/src/touch_light.ino#L40-L51Hope this helps!

    View Instructable »
  • pblesi commented on pblesi's instructable Globally Synchronized Wifi Touch Lights12 days ago
    Globally Synchronized Wifi Touch Lights

    JoS119,That's great! The code should already be set up to support predefined colors for each person. You can see this in the setup instructions for the code: https://github.com/pblesi/touch_light. The caveat here is that if the light has not been touched for 10 seconds, then it will go to the assigned color. If it has been touched within the last 10 seconds, then it will go to another random color.

    Hi ethanacm,I'm not super familiar with the touch-sensing functionality part of this project as that was borrowed from another project, but my understanding is that the resistor creates a measurable delay in the signal propagation between pins D3 and D4. This delay gets perturbed when a conductive field such as the human body comes into the vicinity of this connection, altering the time it takes for the signal to propagate. The code for this light measures a baseline for this delay and detects when a reading falls outside this expected range. You can see more on my blog post: http://patrick.ble.si/wifi-touch-light. Here's a new blog I just published that replaces the capacitive touch sensing with a manual switch: http://patrick.ble.si/manual-switch-touch-lights. And here is the code for...

    see more »

    Hi ethanacm,I'm not super familiar with the touch-sensing functionality part of this project as that was borrowed from another project, but my understanding is that the resistor creates a measurable delay in the signal propagation between pins D3 and D4. This delay gets perturbed when a conductive field such as the human body comes into the vicinity of this connection, altering the time it takes for the signal to propagate. The code for this light measures a baseline for this delay and detects when a reading falls outside this expected range. You can see more on my blog post: http://patrick.ble.si/wifi-touch-light. Here's a new blog I just published that replaces the capacitive touch sensing with a manual switch: http://patrick.ble.si/manual-switch-touch-lights. And here is the code for the touch light: https://github.com/pblesi/touch_light. Hope this helps!

    View Instructable »
  • pblesi commented on pblesi's instructable Globally Synchronized Wifi Touch Lights7 months ago
    Globally Synchronized Wifi Touch Lights

    Hi Justin,The easiest way to update the wifi credentials is to re-flash the touch light while it is still connected to the network. You can see instructions for how to do this here: http://patrick.ble.si/particle-manual-wifi-creds. This assumes you know the new wifi credentials before you move to the new network. One trick you can use if you can set your smart phone in tethering mode is add those credentials to the touch light. Then any time you want to add new credentials to the touch light, you can put your phone into tethering mode and then flash your touch light with the new wifi creds. If you do not know the new network credentials and cannot use your phone to tether, then the best way to add new credentials is to set the light into listening mode (https://docs.particle.io/tutorial...

    see more »

    Hi Justin,The easiest way to update the wifi credentials is to re-flash the touch light while it is still connected to the network. You can see instructions for how to do this here: http://patrick.ble.si/particle-manual-wifi-creds. This assumes you know the new wifi credentials before you move to the new network. One trick you can use if you can set your smart phone in tethering mode is add those credentials to the touch light. Then any time you want to add new credentials to the touch light, you can put your phone into tethering mode and then flash your touch light with the new wifi creds. If you do not know the new network credentials and cannot use your phone to tether, then the best way to add new credentials is to set the light into listening mode (https://docs.particle.io/tutorials/device-os/led/photon/#listening-mode) and then follow particles instructions for connecting the photon to a wifi network using a browser (https://docs.particle.io/quickstart/photon/#step-2a-connect-your-photon-to-the-internet-using-the-setup-web-application) or a smartphone (https://docs.particle.io/quickstart/photon/#step-2b-connect-your-photon-to-the-internet-using-your-smartphone). I hope this helps! Let me know how it goes!

    View Instructable »
  • pblesi commented on pblesi's instructable Globally Synchronized Wifi Touch Lights7 months ago
    Globally Synchronized Wifi Touch Lights

    You're right Thaimin! I just checked the wire I used and it is 22AWG. I'll update the instructions accordingly. And yes, that is just the wire I had around any size wire that fits through the holes should work. Good luck with the project!

    View Instructable »
  • pblesi commented on pblesi's instructable Globally Synchronized Wifi Touch Lights1 year ago
    Globally Synchronized Wifi Touch Lights

    As far as I know, there is not an easy way to control the LEDs that come with the Unifun Touch Lamp via the Particle Photon

    View Instructable »