CN112230534A - Multifunctional alarm clock based on sensor module design - Google Patents

Multifunctional alarm clock based on sensor module design Download PDF

Info

Publication number
CN112230534A
CN112230534A CN202011162009.4A CN202011162009A CN112230534A CN 112230534 A CN112230534 A CN 112230534A CN 202011162009 A CN202011162009 A CN 202011162009A CN 112230534 A CN112230534 A CN 112230534A
Authority
CN
China
Prior art keywords
module
sensor
main control
clock
electrically connected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011162009.4A
Other languages
Chinese (zh)
Inventor
周薇
陈庆
李尚元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Institute of Technology
Original Assignee
Wuxi Institute of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Institute of Technology filed Critical Wuxi Institute of Technology
Priority to CN202011162009.4A priority Critical patent/CN112230534A/en
Publication of CN112230534A publication Critical patent/CN112230534A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G17/00Structural details; Housings
    • G04G17/02Component assemblies
    • G04G17/04Mounting of electronic components
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G17/00Structural details; Housings
    • G04G17/02Component assemblies
    • G04G17/06Electric connectors, e.g. conductive elastomers
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G19/00Electric power supply circuits specially adapted for use in electronic time-pieces
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/02Detectors of external physical values, e.g. temperature
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G21/00Input or output devices integrated in time-pieces
    • G04G21/06Input or output devices integrated in time-pieces using voice
    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G9/00Visual time or date indication means
    • G04G9/08Visual time or date indication means by building-up characters using a combination of indicating elements, e.g. by using multiplexing techniques
    • G04G9/10Visual time or date indication means by building-up characters using a combination of indicating elements, e.g. by using multiplexing techniques by controlling light sources, e.g. electroluminescent diodes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Electric Clocks (AREA)

Abstract

The invention discloses a multifunctional alarm clock based on sensor module design, aiming at providing a multifunctional alarm clock based on sensor module design, which has the technical scheme key points that: the digital tube display device comprises a sensor module, a main control module, an ADC (analog-to-digital converter) module, a display module, a clock module and a power supply module, wherein the sensor module is a temperature sensor and an illumination sensor, the main control module is a main control chip, the main control chip adopts an STM32F103C8T6 model, and the display module is a digital tube display screen; the sensor module is electrically connected with the main control module, the main control module is electrically connected with the ADC module, the ADC module is electrically connected with the display module, the display module is electrically connected with the clock module, and the power supply module is electrically connected with the sensor module, the main control module, the ADC module, the display module and the clock module.

Description

Multifunctional alarm clock based on sensor module design
Technical Field
The invention relates to the technical field of electronics, in particular to a multifunctional alarm clock based on sensor module design.
Background
From ancient sundials, water clocks, fire clocks and other timepieces to modern mechanical clocks, electronic clocks and alarm clocks, the trend is towards maturity. The single timing function of the traditional quartz clock can not meet the requirement, and people tend to integrate multifunctional electronic clocks with more functions, such as an electronic alarm clock, an electronic stopwatch, temperature detection and the like. The single chip microcomputer has high precision and low price, and is widely applied to the electronic alarm clock.
Although mobile phones are developed more and more powerful, many people are willing to consume the alarm clock. The reason is not only because people can remind themselves of the things needing to be completed on time every day, but also because people do not need to worry about that the mobile phone is set to be silent and cannot remind themselves on time because the mobile phone is out of power. Therefore, the electronic alarm clock based on the single chip microcomputer has wide application prospect.
Therefore, the multifunctional alarm clock designed at this time can realize the functions of three aspects: firstly, environmental data parameters are collected through a temperature and humidity sensor to realize temperature display; secondly, calculating time and date through a perpetual calendar algorithm; thirdly, the function of setting the alarm clock is realized by combining the illumination sensor with the key module.
Disclosure of Invention
The invention aims to provide a multifunctional alarm clock designed based on a sensor module, which integrates a sensor development technology, an embedded development technology and a software coding technology, and has the advantages of low cost, easy operation, strong practicability and the like.
The technical purpose of the invention is realized by the following technical scheme:
a multifunctional alarm clock designed based on a sensor module comprises the sensor module, a main control module, an ADC (analog-to-digital converter) module, a display module, a clock module and a power module, wherein the sensor module is a temperature sensor and an illumination sensor, the main control module is a main control chip, the main control chip adopts an STM32F103C8T6 model, and the display module is a nixie tube display screen; the sensor module is electrically connected with the main control module, the main control module is electrically connected with the ADC module, the ADC module is electrically connected with the display module, the display module is electrically connected with the clock module, and the power supply module is electrically connected with the sensor module, the main control module, the ADC module, the display module and the clock module.
By adopting the technical scheme, ambient temperature is collected by using the temperature sensor DS18B20, digital signals can be directly transmitted to the main control chip, the AD conversion process is omitted, and the temperature reliability can be effectively ensured. The method comprises the steps of collecting ambient illumination intensity by an illumination sensor, transmitting collected data to a main control chip, converting an analog signal into a digital signal by an ADC (analog-to-digital conversion) module, converting the data signal into a measured value of a standard unit according to a conversion formula corresponding to the sensor, and finally displaying a temperature value and the illumination intensity on a nixie tube display screen. The current calendar clock can be calculated by a group of continuously counting counters of the RTC real-time clock module and a perpetual calendar algorithm. When we want to modify the current time and date, only the value of the counter needs to be modified, which is very convenient.
Further setting: an RTC module electrically connected with the clock module is further arranged between the main control module and the clock module, and a buzzer module electrically connected with the clock module is further arranged on one side of the clock module.
By adopting the technical scheme, if the system is in fault and needs to be reset or awaken from the standby mode, the preset time cannot be changed and the system can continue to work because the RTC module and the clock configuration system are positioned in the backup area. And judging whether the current time is matched with the set alarm clock time or not through the interruption in the RTC module, if so, entering interruption, and sending an alarm by the buzzer. When the user presses the key, the alarm clock is turned off.
Further setting: the power module comprises a 5V power supply and a 3.3V power supply, the 5V power supply is electrically connected with the sensor module, the ADC analog-to-digital conversion module, the display module, the clock module, the RTC module and the buzzer module, and the 3.3V power supply is electrically connected with the main control module.
Through adopting above-mentioned technical scheme, power module is the heart part of entire system, because all modules all need the power supply, and it can be for entire system power supply, and the system mainly uses 5V and 3.3V's power, and wherein 3.3V is for main control chip power supply, and 5V mainly is for other peripheral hardware components and parts power supply, and the power supply mode of USB is selected for use in this design, and the interface type is the MicroUSB interface, and its output voltage and electric current are respectively: +5V and 500mA, but since STMF103C8T6 is powered with 3.3V, it is necessary to convert the output voltage 5V to 3.3V. In consideration of economic cost, the AMS1117-3.3 voltage stabilizer is adopted in the design, and the positive pole of the 5V power supply output by the USB interface is forward converted into stable 3.3V power supply for the main control chip through the AMS1117-3.3 voltage stabilization.
Further setting: and a MicroUSB interface module is arranged between the 3.3V power supply and the main control module.
By adopting the technical scheme, the interface type is a MicroUSB interface, and the output voltage and the current are respectively as follows: +5V and 500mA, but since STMF103C8T6 is powered with 3.3V, it is necessary to convert the output voltage 5V to 3.3V. In consideration of economic cost, the AMS1117-3.3 voltage stabilizer is adopted in the design, and the positive pole of the 5V power supply output by the USB interface is forward converted into stable 3.3V power supply for the main control chip through the AMS1117-3.3 voltage stabilization.
In conclusion, the invention has the following beneficial effects: the alarm clock designed at this time integrates a sensor development technology, an embedded development technology and a software coding technology, and has the advantages of low cost, easiness in operation, high practicability and the like.
The functions of three aspects are realized: firstly, environmental data parameters are collected through a temperature and humidity sensor to realize temperature display; secondly, calculating time and date through a perpetual calendar algorithm; thirdly, the function of setting the alarm clock is realized by combining the illumination sensor with the key module.
Drawings
FIG. 1 is a block flow diagram of a multi-function alarm clock system based on a sensor module design;
FIG. 2 is a flow chart of a multifunctional alarm clock system based on a sensor module design.
In the figure, 1, a sensor module; 11. (ii) a A temperature sensor; 12. an illumination sensor; 2. a main control module; 21. a main control chip; 3. an ADC analog-to-digital conversion module; 4. a display module; 41. a nixie tube display screen; 5. a clock module; 6. a power supply module; 7. An RTC module; 8. a buzzer module; 9. MicroUSB interface module.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
A multifunctional alarm clock designed based on a sensor module is shown in figures 1 and 2 and comprises a sensor module 1, a main control module 2, an ADC (analog-to-digital converter) module 3, a display module 4, a clock module 5, an RTC (real time clock) module 7, a buzzer module 8 and a power supply module 6. The sensor module 1 is a temperature sensor 11 and an illumination sensor 12, the main control module 2 is a main control chip 21, the main control chip 21 adopts the model STM32F103C8T6, and the display module 4 is a nixie tube display screen 41. The sensor module 1 is electrically connected with the main control module 2, the main control module 2 is electrically connected with the ADC analog-to-digital conversion module 3, the ADC analog-to-digital conversion module 3 is electrically connected with the display module 4, the display module 4 is electrically connected with the clock module 5, and the power supply module 6 is electrically connected with the sensor module 1, the main control module 2, the ADC analog-to-digital conversion module 3, the display module 4 and the clock module 5.
The power module 6 comprises a 5V power supply and a 3.3V power supply, the 5V power supply is electrically connected with the sensor module 1, the ADC analog-to-digital conversion module 3, the display module 4, the clock module 5, the RTC module 7 and the buzzer module 8, the 3.3V power supply is electrically connected with the main control module 2, and a MicroUSB interface module 9 is arranged between the 3.3V power supply and the main control module 2.
The main working principle is as follows: ambient temperature is collected by the temperature sensor 11DS18B20, digital signals can be directly transmitted to the main control chip 21, the AD conversion process is omitted, and the reliability of temperature can be effectively guaranteed. The illumination sensor 12 is used for collecting the ambient illumination intensity, the collected data is transmitted to the main control chip 21, the analog signal is converted into a digital signal through the ADC analog-to-digital conversion module, the data signal is converted into a measurement value of a standard unit according to a conversion formula corresponding to the sensor, and finally, the temperature value and the illumination intensity are displayed on the nixie tube display screen 41. The current calendar clock can be calculated by a set of continuously counting counters of the RTC module 7 in cooperation with the perpetual calendar algorithm. When we want to modify the current time and date, only the value of the counter needs to be modified, which is very convenient.
If the system fails and needs to be reset or awakened from standby mode, the preset time will not change and will continue to operate because the RTC module 7 and the clock configuration system are located in the backup area. Through the internal interruption of the RTC module 7, whether the current time is matched with the set alarm clock time is judged, if so, the interruption is carried out, and the buzzer gives an alarm. When the user presses the key, the alarm clock is turned off.
The above-mentioned embodiments are merely illustrative and not restrictive, and those skilled in the art can make modifications to the embodiments without inventive contribution as required after reading the present specification, but only protected by the patent laws within the scope of the claims.

Claims (4)

1. The utility model provides a multi-functional alarm clock based on sensor module design which characterized in that: the digital tube display device comprises a sensor module (1), a main control module (2), an ADC (analog-to-digital converter) module (3), a display module (4), a clock module (5) and a power module (6), wherein the sensor module (1) is a temperature sensor (11) and an illumination sensor (12), the main control module (2) is a main control chip (21), the main control chip (21) adopts an STM32F103C8T6 model, and the display module (4) is a digital tube display screen (41); sensor module (1) is connected with host system (2) electricity, host system (2) is connected with ADC analog-to-digital conversion module (3) electricity, ADC analog-to-digital conversion module (3) is connected with display module (4) electricity, display module (4) is connected with clock module (5) electricity, power module (6) is connected with sensor module (1), host system (2), ADC analog-to-digital conversion module (3), display module (4), clock module (5) electricity.
2. The multifunctional alarm clock designed based on the sensor module as claimed in claim 1, wherein: an RTC module (7) electrically connected with the clock module (5) is further arranged between the main control module (2) and the clock module (5), and a buzzer module (8) electrically connected with the clock module (5) is further arranged on one side.
3. The multifunctional alarm clock designed based on the sensor module as claimed in claim 2, wherein: the power module (6) comprises a 5V power supply and a 3.3V power supply, the 5V power supply is electrically connected with the sensor module (1), the ADC analog-to-digital conversion module (3), the display module (4), the clock module (5), the RTC module (7) and the buzzer module (8), and the 3.3V power supply is electrically connected with the main control module (2).
4. The multifunctional alarm clock designed based on the sensor module as claimed in claim 3, wherein: and a MicroUSB interface module (9) is arranged between the 3.3V power supply and the main control module (2).
CN202011162009.4A 2020-10-27 2020-10-27 Multifunctional alarm clock based on sensor module design Pending CN112230534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011162009.4A CN112230534A (en) 2020-10-27 2020-10-27 Multifunctional alarm clock based on sensor module design

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011162009.4A CN112230534A (en) 2020-10-27 2020-10-27 Multifunctional alarm clock based on sensor module design

Publications (1)

Publication Number Publication Date
CN112230534A true CN112230534A (en) 2021-01-15

Family

ID=74109471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011162009.4A Pending CN112230534A (en) 2020-10-27 2020-10-27 Multifunctional alarm clock based on sensor module design

Country Status (1)

Country Link
CN (1) CN112230534A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3912801A1 (en) * 1989-03-08 1990-09-13 Ruediger Epphardt Alarm clock with temperature triggered early warning signal - has input from remote temperature sensor to trigger earlier call when adverse weather is anticipated
DE19758341A1 (en) * 1997-12-22 1999-06-24 Harald Krase Clock radio with temperature display
CN201607624U (en) * 2009-11-12 2010-10-13 康佳集团股份有限公司 Optical signal sensing alarm clock
CN201681540U (en) * 2010-05-28 2010-12-22 管湘芸 Clock-type calendar with temperature measuring function
CN206505275U (en) * 2017-02-27 2017-09-19 陈郁欣 A kind of multifunctional intellectual clock based on sensing
CN208903086U (en) * 2018-10-22 2019-05-24 五邑大学 A kind of networking clock
CN211554657U (en) * 2020-03-20 2020-09-22 大连谷隆电子有限公司 Weather clock with function of time correction through network connection

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3912801A1 (en) * 1989-03-08 1990-09-13 Ruediger Epphardt Alarm clock with temperature triggered early warning signal - has input from remote temperature sensor to trigger earlier call when adverse weather is anticipated
DE19758341A1 (en) * 1997-12-22 1999-06-24 Harald Krase Clock radio with temperature display
CN201607624U (en) * 2009-11-12 2010-10-13 康佳集团股份有限公司 Optical signal sensing alarm clock
CN201681540U (en) * 2010-05-28 2010-12-22 管湘芸 Clock-type calendar with temperature measuring function
CN206505275U (en) * 2017-02-27 2017-09-19 陈郁欣 A kind of multifunctional intellectual clock based on sensing
CN208903086U (en) * 2018-10-22 2019-05-24 五邑大学 A kind of networking clock
CN211554657U (en) * 2020-03-20 2020-09-22 大连谷隆电子有限公司 Weather clock with function of time correction through network connection

Similar Documents

Publication Publication Date Title
CN112235742A (en) Gas meter with NB-IoT communication module embedded with program and data processing method
CN106776218B (en) Server monitoring system with time calibration function
CN112230534A (en) Multifunctional alarm clock based on sensor module design
CN201681540U (en) Clock-type calendar with temperature measuring function
CN202771174U (en) Infrared remote sensing clock
CN211669506U (en) Electronic timer
CN208766472U (en) A kind of alarm clock for assisting getting up
CN204719425U (en) A kind of to ring a bell system based on GPS time service Intelligent Single-Chip Based music
CN209249050U (en) A kind of portable aura electronics tube display, mobile display device and wrist-watch
CN205507382U (en) Multifunctional timer
CN211906003U (en) Mechanical watch device based on pointer display physiological characteristic index
CN201322950Y (en) Timing and numbering device
CN211857200U (en) Medical mechanical watch device based on pointer
CN208590122U (en) A kind of gauge table Internet of Things collector
CN112782962A (en) Mechanical intelligent watch
CN214471054U (en) Multifunctional instrument with light, temperature and time monitoring function
CN213023977U (en) Multifunctional digital clock with photovoltaic power supply
CN209403778U (en) Blind person's pendant
CN201569875U (en) Electronic second watch alarm clock
CN210244096U (en) Mechanical energy-displaying intelligent meter
CN205581532U (en) Intelligent watch
CN210181122U (en) Multifunctional voltmeter with voltage monitoring and memory functions
CN216286182U (en) LED display clock
CN219418003U (en) Plate calendar clock circuit
CN203587989U (en) Multifunctional digital electronic clock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210115

RJ01 Rejection of invention patent application after publication