I got my Dotklok up and running some days ago, I am really enjoying it on my room.
But I want to do more with it. Too bad right now I don’t have much time to play with electronics and build cool things.
Anyway, today I decided to spend some time learning the Dotklok’s code and add a temperature sensor to it. The result was really cool, and now I am sharing the bit of code I added to the clock.
I got a sound sensor on Ebay some days ago, and decided to give it a try!
Really simple, just made a code to light up the led when the volume was higher than the ambient sound.
Just for fun! 😉
As many people have asked, here goes the code:
Remember that there are many other ways of doing this, for example using the PWM function along with analogRead() and map().
This is a simple and quick code I made for teach variables with arduino programming,
where we enter the variable numbers a, b, c in
and we get the answer using the Serial Monitor..
I won’t get in details about this code, it’s quite straightforward. But if you have any question, just ask! 🙂
Long ago, I wrote How I Made my HTPC at my place. Time passes and things change. End of year has arrived, Christmas and everything, so I decided to upgrade my system to a more efficient and cheaper one. The new choices were using a NAS (Network Attached Storage) allowing all files can be accessed from any machine connected to the network, in this case I am using Lacie Network Space 2 2TB storage. A Gigabit router TP-LINK , so far I’m very happy with this router, although. A media player WD-PLUS Live that has an embedded Linux and play videos in various formats, even FullHD , and access online content like YouTube and some radios.
I made some modifications in one of my projects, my moodlamp, where I mounted it in a CTRL huge key.
I’m planning on releasing all the project as Open Hardware/Source, but due my lack time, it’s not on my website yet!
Would you like to take a look at this project?