IoT Clock: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
'''Look Obama, I made a clock.''' | '''Look Obama, I made a clock.''' | ||
[[File:iot_clock_1.jpg|400px]] | |||
== BOM == | == BOM == | ||
| Line 5: | Line 7: | ||
* Particle Photon | * Particle Photon | ||
* Adafruit neoPixel Ring 60 Pixels | * Adafruit neoPixel Ring 60 Pixels | ||
* Some leftover MDF and Plexiglass | |||
* Hotglue | |||
== Code == | == Code == | ||
| Line 14: | Line 17: | ||
== Settings == | == Settings == | ||
There is a webapp to do this now. So no need for curl anymore: | |||
https://iot-clock2.appspot.com/ | |||
== Modes == | |||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 42: | ||
*Second hand jumps not every second | *Second hand jumps not every second | ||
**Second hand moves trough a rainbow during one minute | **Second hand moves trough a rainbow during one minute | ||
Revision as of 20:35, 30 November 2015
Look Obama, I made a clock.
BOM
- Particle Photon
- Adafruit neoPixel Ring 60 Pixels
- Some leftover MDF and Plexiglass
- Hotglue
Code
Hacky and stuff... but working.
https://gist.github.com/morgulbrut/ed29a2c7a000f6117db1
Settings
There is a webapp to do this now. So no need for curl anymore:
https://iot-clock2.appspot.com/
Modes
| Modes | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Binary | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Reverse | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | X |
| Trail | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | X |
| random Secs * | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | X |
| rainbow Secs ** | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | X |
*Second hand jumps not every second **Second hand moves trough a rainbow during one minute