題名: 具健身功能之啞鈴鬧鐘之設計與製作
其他題名: The design of dumbbell alarm clock with exercise function
作者: 孫邦凱
劉枋達
陳孟綺
劉家毓
關鍵字: 水銀開關
健身
蜂鳴器
啞鈴
Mercury switch
Buzzer
Dumbbell alarm clock
Exercise
系所/單位: 電機工程學系, 資訊電機學院
摘要: 本專題主要在設計與製作一個具有健身功能之鬧鐘裝置,整體系統架構以微控制器為基礎,周邊介面電路為輔,再以完整之軟體流程控制各個功能。調整時間與設定鬧鈴是由中斷來控制,而小時每過24,上方的星期就會自動加一。調整時間有兩個按鈕,每按一次就會加一,一個控制小時,一個控制分鐘。顯示時鐘或是設定鬧鈴也是由一開關來決定,進入設定鬧鈴模式之後之調整也與設定時間一樣。當鬧鐘設定好,鬧鈴也已開啟之後,當時間與鬧鈴設定的時間相同時,鬧鈴便會響起,七段會顯示10表示還剩下10下需要舉,當10下舉完之後鬧鈴便會停止。本專題設計主要利用內部有一個水銀開關來控制,當使用者舉鬧鐘時所造成的晃動將會使水銀流動,造成電壓訊號產生,再利用此訊號輸入至微控制器,以獲得計數之動作。
The main purpose of this project is to design an alarm clock in a shape of a dumbbell that can also be used for exercise. The main function of the system is based on a microcontroller 8052, combined with several peripheral components, such as the LEDs, the seven-segment display device, switch button and the buzzer. The software is written in assembly language under the Keil C environmental platform. Most of the functions are controlled and programmed by the software. Adjusting the time and setting the alarm time are done through the software interrupts. The seven LED lights on the display panel represent one day, from Sunday through Saturday. As soon as the hour-LEDs passes twenty-four, the LED automatically goes to the next day. There are two buttons on the dumbbell alarm clock. Both buttons are used to set the time, one for the hour and the other for the minute. Either the hour or minute button can be added one digit every time it is pressed. Further, a switch on the alarm clock can be used to determine the present time or the alarm time setting. Adjusting the alarm time is done the same way as adjusting the present time does. While the alarm is set and the alarm switch is on as well, the alarm will go off as soon as the present time is equal to the alarm time. As the alarm goes off, the seven-segment display shows how many times left you need to lift the dumbbell alarm clock to stop the alarm. The alarm will stop after it has been lifted for the required number of times. A mercury switch determines the number of times a dumbbell has been lifted. Once the dumbbell alarm clock is lifted or swayed, the mercury moves and thus triggers the switch to send a signal to the microcontroller.
日期: 2013-10-17T01:45:01Z
學年度: 101學年度第二學期
開課老師: 何子儀
課程名稱: 微處理機系統實習
系所: 電機工程學系, 資訊電機學院
分類:資電101學年度

文件中的檔案:
檔案 描述 大小格式 
D0032082101201.pdf1.15 MBAdobe PDF檢視/開啟


在 DSpace 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。