12/30/2023 0 Comments Raspberry pi start 60 minute timerNext to that attach a large capacitor (1000 microfahrad at 6.3 volts or higher) across the GND and + of the power supply. Neopixels are attached to a microcontroller through a 300-500 ohm resistor. In 2015 I already wrote a general introduction to these adressable leds. If you do not know what neopixels are you really have been living under a rock the last few years, or just stepped into this hobby. The books are available on Amazon worldwide and through every major bookstore. If you want to learn more about MicroPython on the Raspberry Pi Pico consider buying one of my books on this subject: Next to that it's prime programming language is MicroPython and I love MicroPython. To control the neopixel ring I used a Raspberry Pi Pico. ![]() The easiest way to achive this is by using a neopixel ring. In reality this means that the more time has passed the more the amount of light will get dimmed. To have a visual indication on how much time is left I decided to decrease the number of leds that were lit according to the time that has passed. Green when you start showering and red when your 15 minutes are spend. So why not have a bunch of leds that give a color code. And a small display is an annoyance in the shower so I don't need that either. So I do not have to have buttons to adjust it. Next to that a small display is not convenient. I do not want a mechanical clock with hands. ![]() ![]() Well if you call yourself a tinkerer you should live up to it. So how am I going to know if 15 minutes have past. And I stopped wearing wristwatches ages ago. And as docile citizens we do as asked.Wrong !!! We indeed shorten our shower time not because the Government asks us but because energy prices have more then tripled last year. One thing we are asked to do is to take shorter showers. And in the Netherlands we all are advised to reduce our energy use. For an index to all my stories click this text
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |