EcoSpectrum Timepiece : a Desk Clock

by vishalsoniindia in Circuits > Linux

619 Views, 7 Favorites, 0 Comments

EcoSpectrum Timepiece : a Desk Clock

1722310039075.png
1722310039096.png
1722310039043.png





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

FAHF1AXLXRK8E55.jpg
  1. Unihiker Board (amazon.com / amazon.in / dfrobots )
  2. Type C cable (amazon.com / amazon.in / dfrobots )
  3. Unihiker board case (amazon.com / amazon.in / dfrobots )

Setting Up UNIHIKER

FLQSFIELXRK8DB8.jpg
FKD8ZGHLXRK8DCE.jpg
FVCDXMRLXRK8DBT.jpg

Setting up UNIHIKER is straightforward, using a Jupyter Notebook for programming in this project. Follow these steps below to enable Jupyter programming.

  1. Connect the UNIHIKER device to your PC.
  2. Wait for it to boot up and the home screen to appear.
  3. Press the HOME button to bring up the menu.
  4. Navigate to the Service Toggle option using the up and down buttons.
  5. 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

F6RDLH9LXRK8DDL.jpg
wifi.JPG

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.

  1. Go to the network settings.
  2. 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

code.JPG
back.JPG

Now it's time to upload the Python script and image to the board.

  1. Download the python file and background image from Github.
  2. Click on the File Upload section.
  3. Make sure the folder name field is empty.
  4. Click on "Click to Select File" and choose the Python file, then click on "Upload".
  5. 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

F6Y5P42LXRK8DK6.jpg
FR0DXSXLXRK8DJD.jpg
FJ7VPNKLXRK8DIL.jpg
1722309495365.jpg

By default, the code won't run at startup. You need to enable auto boot.

  1. Power the UNIHIKER with a Type-C cable.
  2. Press the HOME button to enter the menu.
  3. Find and open the Service Toggle in the menu.
  4. 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.

  1. Find "Run Programs" in the menu and open it.
  2. Here, navigate to the /root/ directory where all the files were uploaded.
  3. 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

1722309495369.jpg
1722310039020.png
1722307527827.jpg
1722307527812.jpg
1722307527787.jpg

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