Posts

Showing posts with the label puzzles

Chess Puzzle Box with E-Paper Display

Image
 The initial idea behind this project was completely different from the final result. I’ve always wanted to experiment with e-paper displays but never had the right opportunity or use case. After some time, I came up with the idea of using it to display events from two Google Calendars. Since this kind of device is battery-efficient, my goal was to create something that would remain asleep most of the time and wake up only for a few seconds during refresh. For the first iteration, I bought a 4.2" e-paper Waveshare display and an Adafruit Huzzah Feather ESP8266. My first approach involved generating an image on a server, with the e-paper and Arduino fetching whatever the server sent. I encountered two small challenges along the way. First, handling HTTPS was tricky because Arduino isn’t designed for proper HTTPS requests, and my server’s certificate changes every few months. I solved this by using a Raspberry Pi as a proxy. The second issue was with sleep functionality. When I set ...

Creating a Custom Chess Puzzle Printer

Image
As my son gets ready to start school, I wanted to surprise him with something special. Over the past few years, he's developed a strong passion for chess, playing it every chance he gets. So, I thought, why not combine his love for chess with a little lunchtime surprise? The idea was to create a custom chess puzzle that I could print out and include in his lunchbox as a fun note. The Inspiration and the Challenge I had some experience with thermal printers from previous projects, so I decided to use one for this idea. The challenge, however, was to find a way to generate chess puzzles easily. Creating puzzles manually would be too time-consuming, so I needed a reliable source of puzzles. As far as I know, two major chess platforms offer puzzles: Chess.com and Lichess. Fortunately, Lichess is open source and provides access to a vast database of chess puzzles . This made it the perfect choice for my project. Turning Puzzles into Printable Images With the puzzles secured, the next st...