Make yourself a homemade clock with thermometer using ATMEGA128

In this step by step I wanna share my experiment with ATMEGA128 timer and interrupt using DS1307 and NTC to display homemade clock and thermometer.
It displays hour,minute,second, day of week, day of month, month, and year, and the temperature in celcius
Enjoy the project…Make yourself a homemade clock with thermometer using ATMEGA128

Step 1: Prepare all the parts for this project

This project will need these parts :
1. ATMEGA128 board
2. ATMEGA 128 chip
3. DS1307 module
4. USBASP for debugging
5. AVRStudio
6. NTC,
Please have a look on the photo

Step 2: Assemble all the parts together

After we prepare all the parts, we need to assemble them together,
Here are the ports I used for them :
Make yourself a homemade clock with thermometer using ATMEGA128
#define lcd_data_pin PORTA

#define en PORT_D.b0
#define rs PORT_D.b1
#define rw PORT_D.b2
ADMUX=(1<<REFS0 | ADC_0);                  //Conversion on channel 0, thermistor input
 
For more detail: Make yourself a homemade clock with thermometer using ATMEGA128


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top