Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Alarm clock and a simple weather station

Status
Not open for further replies.

Vermes

Advanced Member level 4
Advanced Member level 4
Joined
Aug 2, 2011
Messages
1,163
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,316
Activity points
22,318


The most important components:
  • Atmega32
  • humidity and temperature sensor SHT11
  • pressure sensor MPX4115
  • thermistor to measure the outside temperature
  • RTC DS1307
The device is also equipped with memory card SD. At certain time (interval), data from sensors can be saved. The memory card also acts as a magazine of alarm clock sounds, because the sounds are in wav files (8 bits, 32kHz, mono). Although the sound doesn't have too good quality, it is enough for the alarm clock. A constant alarm sound can be set, a separate sound for each day of the week and separate sound for each day of the month. Configuration is also stored on the memory card.
If for the alarm clock, it is possible to make the settings only once and determine a repeated schedule for a week (useful for example in the school year).
The display is a typical LCD 4x16marks. All data or only time (big marks) can be shown. It is also possible to set the 'mixed mode', where for example for 30sec only time is being displayed and next 30sec all data is being displayed. Lightness of LCD display can be set once or automatically regulated by light sensor placed on the front panel. The whole device is supported by three buttons on the front panel.
The housing was made of a plywood that was painted with stain, then varnish. Front and rear panel was made of aluminum sheet with thickness of 1,5mm.
The program was written in C. A ready code was used to support FAT. It takes about 23kB of flash memory and about 1,5kB of RAM. The support of memory card from FAT is about 10kB flash and 1kB RAM. The 'subtitles' from the menu also take a lot of space.
Schema:



Files on the memory card:




Link to original thread – Stacjobudzik - budzik oraz prosta stacja pogodowa
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top