Our Cookies Policy
To make full use of www.electromaker.io, enjoy the personalised features and ensure the websites works to its full potential, your computer, tablet or mobile phone will need to accept cookies.
Our cookies don’t store sensitive information such as your name, address or payment details: they simply hold information about how you use our site so we can improve your experience and resolve any errors.
If you’d prefer to restrict, block or delete cookies from www.electromaker.io, or any other website, you can use your browser to do this. Each browser is different, so check the ‘Help’ menu of your particular browser (or your mobile phone’s handset manual) to learn how to change your cookie preferences.
Here’s a list of the main cookies we use, and what we use them for:
Electromaker – Login session
Google Analytics – Analytics
Twitter – Twitter Feed
Each web browser handles cookie management differently, please follow instructions for your chosen browser:
2738 ARM Raspberry Pi Sense HAT - For the Pi 3 / 2 / B+ / A+
Software app and online services
curl -sSL https://install.pi-hole.net | bash
sudo apt-get install sense-hat
After setting up Pi-hole(an ad and tracker blocking application) on a Raspberry Pi 3, I wanted a way to conveniently view its performance without having to load the web interface. I had a spare Sense-HAT with an LED screen just big enough to display charts that could be interpreted from a distance. The onboard joystick controls would also be useful for adjusting program options interactively.
My first step was to recreate the main chart from the web interface(as shown above), which displays the total number of DNS queries and ads blocked on the network in the previous 24 hours. Because of the limited display area, I decided to enable the user to contract or expand the data presented by adjusting the value of the time interval. The addition of color is used to convey either the level of DNS queries generated or the percentage of ads blocked. To improve the visual experience, I added a time delay to create a ripple effect and an option to randomize the order of pixel generation. Contributer Zach Cross added options to change the display orientation and enable low-light mode.
Next I wanted to display the daily percentage of ads blocked, but in a different visual style. I brainstormed different animations that I could use to display the data and thought a spiral pattern would be most interesting. I used the number of red pixels displayed against the blue background to represent the proportion of ads blocked during the last 24 hours.
To access additional statistics regarding Pi-hole performance, I wrote some code to request authorization from the web server. If the user does not have access in the form of a password hash, the program will only display the two charts mentioned above.
I used the third animation to display top clients on the network and the relative level of DNS queries each generates. The chart has the same structure as the first, but with a descending horizontal layout.
Lastly I chose a simple pie chart to represent the proportion of IPV4 to IPV6 queries. The closest I could get to mimicking radial movement was to start generating pixels in a southeast direction from the first to second quadrant and then expanding northwest from the third to fourth quadrant.