element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Raspberry Pi Clock with date and temperatures
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 0 replies
  • Subscribers 673 subscribers
  • Views 256 views
  • Users 0 members are here
  • RoadTest
  • clock
  • python
  • rpiintermediate
  • chipkit
  • temperature
  • raspberry_pi
  • time
  • date
Related

Raspberry Pi Clock with date and temperatures

hybotics
hybotics over 12 years ago

I've been working on a project to show the usual date/time plus Celsius and Fahrenheit temperatures. The software is written in Python and uses several components and libraries from Adafruit, including a 0.56" 7 segment display, a 1.2" 8x8 matrix display, a DS1307 RTC breakout board, and a 10 DOF IMU breakout board. The date is displayed at startup and every several minutes (controlled by a setting), then the time is displayed for 35 - 45 seconds (depending whether the date was displayed or not), and finally, the Celsius and Fahrenheit temperatures are displayed for 7 seconds each. Of course, you can control how long each item is displayed, by changing the settings variables. You don't have to modify the code at all, if all you want to change are display lengths for each item. Everything is controlled using I2C, and the time and date are set at boot up from the DS1307 RTC.


I've also modified some of the Adafruit libraries to give me some features I need, such as rotation and display clearing. I want to expand this project and make it portable, but I need some dedicated processing power. I am roadtesting the ChipKit Pi addon board, but it apparently it's gone bad on me, and really messes up my rPi when I connected it. I don't know who to contact to get this board replaced.


My goal is to convert my project to run on a ChipKit Pi and communicate information back to the rPi over a serial port. Then I will integrate everything into a Device Control System client for the rPi. I've already got a DCS client working on the rPi, so I just need to integrate code from my clock test program into it. Everything is written in Python, so that shouldn't be too difficult. I want the ChipKit Pi to handle all the display and sensor reading, and send the sensor readings back to the rPi.

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube