Skip to content

exiidor/Intensivuhr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

Digital Clock

Concept

This program shows the current time, date and weekday. It's designed with a Raspberry Pie Zero in mind.

Preview

image image

(Dark/Lightmode)

Schematics

You will need a Respberry Pie Zero and a RTC-module

Features

  • Shows time, date and weekday
  • Darkmode

Setup

Hardware

  1. Connect the RTC-module to your Raspberry Pie
    /// Tutorial ///

Software

  1. Install Raspberry Pie OS (32-bit) on a micro SD card
  2. Set up your RCT-module
  • Activate I2C -> raspi-config
  • i2cdetect -y 1 to check for the RTC, it should show 68
  • sudo nano /etc/modules and add rtc-ds3231
  • sudo nano /boot/firmware/config.txt and add dtoverlay=i2c-rtc,ds3231
  • sudo apt-get -y remove fake-hwclock
  • sudo nano /lib/udev/hwclock-set and comment from the first if to first fi
  • reboot
  • Check if the RTC is working with sudo hwclock -r
  • And write the correct time with sudo hwclock -w
  1. Copy clock.py in your /home/USER directory

  2. Create a autostart directory (if not present) and do not use sudo

    mkdir /home/USER/.config/autostart

  3. Create a .desktop file with nano

    nano /home/USER/.config/autostart/clock.desktop

    Content :

    [Desktop Entry]
    Type=Application
    Name=Clock
    Exec=/usr/bin/python3 /home/USER/Intensivuhr/clock.py
    
  4. Reboot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages