Вы находитесь на странице: 1из 4

SYSTEM SPECIFICATION

Description:
This specification describes and defines the system level architecture
of an internet weather desk clock. The clock is connected to Internet
through WIFI, get time/date/weather information to display on LCD. It
supports Alarm mode with 4 alarm times. This clock can updates
surrounding environment temperature, humidity. It can also work
without internet, time is updated via real time IC.
External Environment:
Clock is used indoor, put on desk, directly powered by 5V adapter
(smartphone’s charger).
Temperature range is between 10 and 50 Celcius.
System block diagram.

Real-Time I2C
Input

Temperature I/O
&Humidity BUZZER
Sensor TTL 1 wire
Micro-
Controller
Module wifi User UART Display
SPI, UART Interfac Screen
e

Analog Button
Button
Driver I/O
Power Supply

5V
ADAPTER 5V DC MICRO USB 5V DC to 3.3V
3.3V
DC
GND

1. Control Interface
- Purpose: User interface, used for mode choosing, changing time &
date, changing access point, ….
- Requirement: Simple and easy to use.

Hardware Component Interface Component Note


part number
Rotary Encoder Single end, 1 KY-040 4 phase clock encoder
GPIO, 5V/0V with button

2. Real time update


- Purpose: Timing unit, remain set time when main power supply is cut
off or disconnected from internet.
- Requirement: Low power consumption.

Hardware Component Interface Component Note


part number
Real Time IC I2C, 2xGPIO, DS1307
5V/0V
3. LCD
- Purpose: Display time, weather, setting and other information…
- Requirement: Low power consumption, easy to implement and
replace, cheap.

Hardware Component Interface Component Note


part number
Display SPI, 4xGPIO, Nokia 5110 LCD in module type, 6
3.3V/0V pins connect to MCU

4. Internet connection
- Purpose: get time/date/weather from internet.
- Requirement: easy to implement, commonly used, adapt to user
network environment.

Hardware Component Interface Component Note


part number
ESP 8266 WIFI UART, 2xGPIO, ESP8266-01 2.4GHz Wifi
module 3.3V/0V

5. Sounder
- Purpose: used for alarm mode.
- Requirement: power must higher 70dB.

Hardware Component Interface Component Note


part number
Buzzer Single end, >= 80dB, diameter =
GPIO, 5V/0V 12mm, height = 9mm

6. Power Supply
- Purpose: Supply regulated 3.3V DC voltage for modules and
components inside the system.
- Requirement: Stable.
Hardware Component Interface Component Note
part number
Regulator to 3.3V DC-DC ASM1117 Convert 5V DC from
adapter to 3.3V DC
Adapter Micro USB, 220V
AC – 5V DC

7. Temperature and Humidity Sensor.


- Purpose: measure temperature and humidity in surrounding
environment.
- Requirement: cheap, not highly required in precision.

Hardware Component Interface Component Note


part number
Temp. & One Wire, GPIO, DHT-11
Humidity Sensor 3.3V/0V

8. Micro Controller:
Requirement:
- Pins: At least 30 GPIO.
- Supported Interface: SPI, One Wire, UART, I2C.
- Working Voltage Range: the wider, the better.
- ROM: at least 8KB.

Hardware Component Interface Component Note


part number
MCU SPI, One Wire, Microchip 8 bit, 40 pins, 35
UART. PIC 16F887 GPIOs, 20MHz,
Internal ROM: 14KB,
Power range: 2V –
5.5V

Вам также может понравиться