Sorry, this entry is only available in Deutsch.
Category: Home stories
Lava lamp project, part 3 — mk2
Recently, I stumbled upon an advertisement for this object. It is a gadget called Blink(1), which can be plugged into a USB port and which has two color LEDs, one on top and one on the bottom, that can be controlled by a piece of computer software to show any color in any brightness. The gadget is costing around 40 swiss franks and it has a nice piece of control software, which can be used to make the gadget light in many different useful ways. For example, IFTTT (If This Then That) can be used to make it light in various colors upon given conditions, or URLs, files or scripts can be called to define color combinations, or a mailbox can make it light up if a given number of new mails arrive, or if the mail of your significant other arrives or if the mail has a certain subject line. Or you warn of a low battery, or when the CPU load exceeds a certain percentage.
Lava lamp project, part 2 — firmware
In part 1, I described the hardware of my project of a computer controllable lava lamp. In this second part, I want to discuss the necessary firmware, which is the software necessary to teach the Picaxe Microcontroller the desired functionality.
We need to keep two areas in focus:
- We need to be able to read the desired color values from the USB serial port, defining the desired intensities of the colors green, red and blue.
- These desired values have to be turned into actual light in desired color and intensity. This means, the LEDs have to be turned on.
Lava lamp project, part 1 — hardware
I wanted to build a device that can light in different colors, and where the colors can be controlled from a computer. My idea was to hook it up with a computer, who then should signal some state by lighting the appropriate color. For example, while building and compiling a program, the lamp should blink in blue color. When the build is finished, the lamp should light either in green (when the build ran fine) or red (when something went wrong).
I found the lava lamp shown to the right, which is equipped with a color-changing LED and is powered from USB. I bought one and intended to modify the controlling electronics to my purposes.
Öl auf der Europabrücke
Mein Vater verstorben
Gestern Montag morgen ist mein Vater gestorben. Er wäre im April 90 geworden, aber konnte das nicht mehr erleben. Nach glücklicherweise nur kurzer Leidenszeit in einem Spital und anschliessendem Pflegeheimaufenthalt wegen Demenz und körperlicher Gebrechen ist er im Pflegeheim dahingegangen. Möge er in Frieden ruhen.
Velotour an den Neuenburgersee und nach Fribourg
Le Tour des Trams
Neue Dekoration der Wohnung fällig?