Right now, the Dock is probably sitting at the bottom of your screen, showing you applications, a couple of folders, and your Mac’s trusty Trash. (Then again, it may be hidden, or stretch along the side of your screen; see this article to learn how to customize the Dock.) Most Mac users know the basics of using this OS X tool, but what you may not realize is that the Dock offers powerful and convenient ways to access the files and folders you work with most often. Continue reading “Add a Recent Items stack to the Dock”
Now that we have connected our temperature sensor and saved the data in a SQL database, it is time to add a small function to save the temperature every hour. I could use a RTC clock, but as the ESP8266 is connected to my Wifi network, both use the functions it offers : NTP clock.
Now that we know how to read the temperature from our DS18B20 sensor, it’s time to save this data to a MySQL server.
I would like to point out that for this tutorial, I will not use a PHP page to send and save the temperatures to the SQL server. Here, only a simple request will be used.
The DS18B20 is a very small temperature sensor which can be easily hooked into a Arduino through any digital input.
Now, before we get to the programming part, lets wire up our temperature sensor.
A few years ago I decided to say goodbye to my TV. Why accept to watch 10 minutes of commercials every 20 minutes, or watch more and more stupid shows over the years while we have the internet and increasingly easy ways to access programs that one want ?!
So I opted for a 30″ computer screen connected to a raspberry Pi with a 2TB external hard drive with my movies, series and music.
For 2 years I was using Plex media player to watch my media but recently I discovered Slice.
For a few months I started learning the Arduino in order to create projects that do not require a large installation. The Raspberry Pi was fine at first, but soon you realize that it’s too big for projects that only require a temperature control or different display script.
The official Arduino IDE is very comprehensive, but soon after several hours of writing, my eyes started to make me a headache. All this white ! ARGH !
For some time, I discovered the need to view or use the time and date in my various projects without being able to use an internet connection. From a simple alarm clock to more complex projects, I had to find a solution.