EcoSpectrum Timepiece : a Desk Clock
by vishalsoniindia in Circuits > Linux
619 Views, 7 Favorites, 0 Comments
EcoSpectrum Timepiece : a Desk Clock
Hello everyone!
I created the EcoSpectrum Timepiece to blend functionality with the beauty of nature. This desk clock features a vibrant rainbow and serene nature background, providing a visually pleasing way to keep track of time and date. It updates via the internet, ensuring accuracy, and brings a touch of colorful tranquility to any space.
By the way, subscribe to my YouTube channel for more projects like this. I also update my upcoming projects on Instagram.
buy me a coffee! ☕: Paypal
What Is EcoSpectrum Timepiece?
"EcoSpectrum Timepiece" combines "Eco," referring to the nature and environmental aspect of the background image, and "Spectrum," representing the rainbow. "Timepiece" refers to the clock function. So, it suggests a clock that embodies the beauty of nature and the spectrum of colors in a rainbow.
This clock is based on the UNIHIKER board, which has a 240x320 resolution display. A Python script runs on the device to display the time and date, updating through the internet to ensure accuracy. The vibrant rainbow and serene nature background add a touch of colorful tranquility to any space.
Supplies
- Unihiker Board (amazon.com / amazon.in / dfrobots )
- Type C cable (amazon.com / amazon.in / dfrobots )
- Unihiker board case (amazon.com / amazon.in / dfrobots )
Setting Up UNIHIKER
Setting up UNIHIKER is straightforward, using a Jupyter Notebook for programming in this project. Follow these steps below to enable Jupyter programming.
- Connect the UNIHIKER device to your PC.
- Wait for it to boot up and the home screen to appear.
- Press the HOME button to bring up the menu.
- Navigate to the Service Toggle option using the up and down buttons.
- Enable Jupyter in the Service Toggle and wait for it to activate.
This completes the setup on the device side; now we will proceed to file uploading and programming on the PC.
Connect to Wifi
After following the above steps, proceed to the PC.
Open your browser and type "10.1.2.3" in the address bar. The UNHIKER page will appear, giving you control over the device.
- Go to the network settings.
- In the "Connect Wi-Fi" section, connect to your Wi-Fi network.
After connecting to Wi-Fi, it will be able to update the time from the internet.
Uploading Image and Code
Now it's time to upload the Python script and image to the board.
- Download the python file and background image from Github.
- Click on the File Upload section.
- Make sure the folder name field is empty.
- Click on "Click to Select File" and choose the Python file, then click on "Upload".
- Click again on "Click to Select File" and choose the background image, then click on "Upload".
To view all the files, go to the Service Toggle and click on "Open page in Jupyter" section. The next page will show the file selection for the board, where you can verify all the files and images.
Github: https://github.com/vishalsoniindia/EcoSpectrum-Timepiece-a-Desk-Clock
Run Code on Startup in UNIHIKER
By default, the code won't run at startup. You need to enable auto boot.
- Power the UNIHIKER with a Type-C cable.
- Press the HOME button to enter the menu.
- Find and open the Service Toggle in the menu.
- Now enable the Auto Boot option.
Now the device will automatically start the last running code 5 seconds after booting. After enabling the auto boot option, run the program once so it can auto-run on boot.
- Find "Run Programs" in the menu and open it.
- Here, navigate to the /root/ directory where all the files were uploaded.
- Run the EcoSpectrum_Timepiece.py code and wait for it to show the dog face.
Now, it can be powered off and will run the program automatically 5 seconds after booting.
Done
The EcoSpectrum Timepiece is now ready to enhance any desk with its vibrant and serene design. Perfect for both home and office environments, this desk clock not only adds a touch of coolness to your workspace but also ensures you stay on time.
Featuring a Type-C connection, it offers convenient and versatile connectivity options, making it easy to set up anywhere. Thanks to its internet connection, the EcoSpectrum Timepiece maintains accurate time without any chance of loss, ensuring you’re always on schedule.
buy me a coffee! ☕: Paypal