In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to use raspberry pie and low-power monitor to track your family schedule. I believe most people don't know much about it, so share this article for your reference. I hope you will learn a lot after reading this article. Let's take a look at it.
Hardware
The project started as a holiday project, so I tried to make use of as much old stuff as possible. Including one that has been idle for too long raspberry pie 2. Since I don't have an e-ink screen, I need to buy one. Fortunately, I found a vendor that provides open source drivers and examples for screens that support raspberry pie, which are connected using the GPIO port.
My family also wants to switch between different calendars, so some form of input is needed. Instead of adding a USB keyboard, I chose a simpler solution and bought a keyboard similar to the 1x4 size described in this article. This allows me to connect the keyboard to some GPIO ports in the raspberry pie.
Finally, I need a picture frame to accommodate the entire setting. Although the back looks a little messy, it can get the job done.
Calendar internals
Software
I took inspiration from a similar project and started writing Python code for my project. I need to get data from two places:
Weather information: obtained from OpenWeather API
Time information: I intend to connect to a calendar running on my home server using the CalDav standard
Because I had to wait for some parts to arrive, I used a modular approach to input and display, so I could debug most of the code without hardware. The calendar application needs a driver, so I wrote a Pygame driver to run it on my desktop.
The best part of writing code is the ability to reuse existing open source projects, so it's easy to access different API. I can focus on designing the user interface, which includes everyone's weekly calendar and everyone's calendar, as well as allowing the use of a keypad to select a schedule. And I took the time to add some additional features, such as a custom screen saver for special days.
E Ink calendar screensaver
The final integration step will ensure that my calendar application will run at startup and is fault tolerant. I used a basic raspberry pie system image and configured the application to the systemd service so that it could run in the event of a failure and a system restart.
After all the work, I uploaded the code to GitHub. So if you want to create a similar calendar, you can view it at any time and restructure it!
The above is all the contents of the article "how to use raspberry pie and low-power monitor to track your family schedule". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.