Name: vorono-iot-lamp
Owner: Particle
Description: null
Created: 2016-05-19 19:44:56.0
Updated: 2018-03-18 22:36:03.0
Pushed: 2018-01-03 18:49:42.0
Homepage: null
Size: 4153
Language: Arduino
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a simple enclosure that turns your Particle Internet Button into a beautiful, reactive desk lamp. The enclosure is laser cut out of a black acyrlic sheet and requires some assembly.
The parts come with a protective layer of paper.
Peel off the protective paper. You'll need some patience. Don't try this on an empty stomach.
You can use hot glue, or scotch tape to put together the lamp. Try not to use super glue since it will stain the surface very easily. Another option would be to lightly apply acrylic solvent cement to the inside corners with a cotton swab. The solvent will slightly seep into the cracks of the enclosure and weld them together without marring the outside.
Place the Internet button on the bottom plate. You can fix it to the base using a M3 screw and nut or simply hot glue it.
In order to diffuse the light, you can use a standard printing paper (letter size). Simply fold it into half and cut 0.25” from the edge to make a nice fit. You'll need to glue it place. We have also used tracing paper and acetate paper successfully.
Pass the USB cable through the opening as shown.
Place the top plate on (don't glue it in!). Leave the inside open - it will project some cool patterns on the ceiling when the lamp turns on.
Follow the steps to program the internet button and turn it ON!
Setting up the software side of things isn't too hard. You'll first need to get your Photon up and running, for which the “getting started” guide in the Particle documentation is great. Head over, set it up, and come back once your Photon is breathing cyan and controllable over the web (changing the D7 LED with the Tinker phone application is a good indication). If you're facing issues, don't hesitate to ask the community, since they're extremely helpful.
Once your Photon works and has access to the web, head over to the web IDE. The current demo does not yet take advantage of web connectivity, but this will be added soon. For now, go ahead and use the library system to add the “internetbutton” library to a new app you've created. Then, copy over the code from the main.ino file in this github repository and paste it over the contents of the new app you've made. Flash that to your device, and you should be good to go.
Pressing the buttons will give you different modes:
Button 1: “swirl mode”, will allow you to tilt/rotate the lamp through the colorcircle, also changing the intensity.
Button 2: Fade trough the color circle. Pressing this button again will double the speed.
Button 3: Sunrise effect. Gently increasing brightness of orange to wake you up. pressing again will double the speed.
Button 4: Off. For those times you'd rather not have light.
http://community.particle.io/t/voronoiot-lamp-maker-faire-2016/23047