Sensor Data on WordPress – Practical data monitoring with a cost-effective Raspberry Pi website

The Raspberry Pi is something of a Swiss army knife, the enormous amount of applications it has been used is mind-boggling. It is simple math – make a certain technology wildly versatile, make it cheap and accessible for the masses and soon enough there will be a lot of good ideas in circulation. One of the many things you can check in the Raspberry Pi without the need of additional gear is to read the CPU temperature.

This website is hosted by a headless Raspberry Pi working away in the cold depths of my tool shed. This post will be about how to display sensor data on WordPress collected by the Raspberry Pi, such as the CPU temperature, in the “Google Charts” gauge as you can see below.

Running ‘vcgencmd measure_temp’ in my headless Raspberry Pi terminal (which also hosts this very website you’re currently reading) yields “temp=45.1°C” which is the current temperature of the processor. This is good since the shut-down limit is 85°C and the throttle-down from 1.4GHz to 1.2GHz (soft-limit) happens already at 60°C which is easily achieved in room-temperatures. Keeping up the performance is good no matter what you decide to do, for example running retropie or maybe hosting a web server even though I doubt that the CPU utilization would peak very often.

Work in progress…

ATtiny85 – Wield the power of the mighty ATtiny through Arduino in 8 simple steps

In this post I will show how to connect and program the ATtiny85 using the Arduino Uno and Arduino IDE. The ATtiny85 is small but packs a serious punch. If the project-scope allows, it is a good alternative to its bigger sibling ATmega328p. Obviously it does not have as many pins and lacks the 16 bit timer but in many cases it can be more than enough.

Continue reading…