nevadaopf.blogg.se

Ds3231 library proteus using atmega 8 Seven Segmnet
Ds3231 library proteus using atmega 8   Seven Segmnet









ds3231 library proteus using atmega 8 Seven Segmnet ds3231 library proteus using atmega 8 Seven Segmnet ds3231 library proteus using atmega 8 Seven Segmnet

Ok.apart from jokes,let's get started about how to build it.Īt my very first version of firmware,i programmed it such a way that the Atmega32 was reading the DS3231 register every second and updating data to the GLCD.According to the datasheet,the DS3231 has dual buffer register that means while you are reading the data from the 2nd buffer,the DS3231 will automatically count up in the background and write the data to first buffer.Later it will transfer the data to the second one.That means your reading process has no effect on counting.īut surely it affects the counting for the cheap chinese modules.These suckers stops the counting while you access the registers of the chip in order to read.

ds3231 library proteus using atmega 8 Seven Segmnet

I have used Atmega32 as the CPU which acts as the heart of the circuit.It is clocked at 16Mhz.Ī 128圆4 GLCD is used to display the time,date,month,year,day of the week,am/pm.Believe me,the total display is much more beautiful as compared to the picture i uploaded.Īdditionally it serves another purpose.If you turn it on at night,there is no need to lit a night lamp.LOLZZZ. In DS3231,the chip uses an internal temp compensated crystal i.e the chip reads the environmental temp and adjust itself accordingly to maintain accurate time. This clock is based on DS3231 chip which is basically the upgraded version(with many additional features) of DS1307.The DS1307 uses an external crystal(32.768KHz) for it's counting.But the counting gets slow/fast depending on the external temperature.As the temp rises/falls,the crystal gets drifted and as a result,the DS1307 gets slow/fast. Any DIYer feels an unknown attraction for making a clock.Either you are a noob or a professional or a diyer like me,at a certain point of our working span,the urge for making a clock is felt.So here I am with my brand new instructables about how to make an extremely accurate+Good looking clock-calender.











Ds3231 library proteus using atmega 8   Seven Segmnet