{"repo":"lancewilhelm/pingPongBallClock","free":true,"listed":false,"github":"https://github.com/lancewilhelm/pingPongBallClock","clone":"git clone https://github.com/lancewilhelm/pingPongBallClock.git","description":"Raspberry Pi code for the Ping Pong Ball Clock Project","language":"Python","stars":24,"topics":["python","clock","clockface","ping","pong","ball","raspberry-pi"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"Ping Pong Ball Clock Raspberry Pi code for the Ping Pong Ball Clock Project Author: PlanetaryMotion --- Video https://www.youtube.com/watch?v=jIoWmhVCPb4&feature=youtu.be Inspiration A reddit post originally tipped me off to the project. This thingiverse project detailed some 3D printed parts for a ping pong ball clock. Upon further investigation I found an instructable project that laid out designs that did not involve 3D printing and optimized the LED placement. I used this instructable project as the basis for the hardware design. However, I knew from the start that I was going to control the clock using a raspberry pi (zero) and that I would build upon a previous project that controlled LEDs using a local web app. Software Design Concept This firmware is centered in python because of how easy it is to use and a couple easy to use and essential libraries: - Neopixel libraries - Flask (web server) The layout of the LED strips called for a font libraries and character writing functions to be written from scratch. This project only pulled from a previous project the code to be able to light up an LED. The the following images gave me a concept of how I was going to program the LED display with each vertical red line in the first image being an LED strip: Implementation Font libraries and things related to the layout can be found in Utils. The functions that drive almost every single part of the lighting and logic and display can be found in LEDUtils. The flaskUtils file conta","default_branch":null,"files":null,"tree":[],"storefront":"/r/lancewilhelm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lancewilhelm/pingPongBallClock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}