2021-11-23 13:59:45 索煒達電子 1327
項目編號:E2419
文件大?。?56K
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述
該電子密碼鎖是在普中STM32F103ZET6板子上寫的,所有操作顯示在了LCD屏幕上,解鎖是通過解碼紅外遙控的碼值進行的。
1.是紅紅外遙控進行解鎖,需要自己先將紅外遙控器的0-9碼值破解出來,然后修改程序elecodelock.c中的枚舉中的值。
2.可以自行修改本地密碼,本地密碼是保存在EEPROM中的,掉電不丟失。只需打開elecodelock.c中部分代碼注釋,再修改mima[6]數(shù)組中的值即可。該程序最大支持9位密碼。10位以上需要對紅外數(shù)據(jù)進行處理。
3.所有的操作現(xiàn)象顯示在LCD屏幕上。有輸入密碼,及密碼錯誤提示,還有鎖的狀態(tài)提示,以及一些附加功能,如時間顯示,日期,星期和溫度。
4.該程序適用于STM32F103ZET6型。
目錄│文件列表:
└ 電子密碼鎖
│ EventRecorderStub.scvd
│ keilkilll.bat
│ Template.uvguix.99278
│ Template.uvoptx
│ Template.uvprojx
├ APP
│ ├ 24cxx
│ │ │ 24cxx.c
│ │ └ 24cxx.h
│ ├ DS18B20
│ │ │ ds18b20.c
│ │ └ ds18b20.h
│ ├ EleCodeLock
│ │ │ elecodelock.c
│ │ └ elecodelock.h
│ ├ EXTI
│ │ │ exti.c
│ │ └ exti.h
│ ├ HWJS
│ │ │ hwjs.c
│ │ └ hwjs.h
│ ├ IIC
│ │ │ iic.c
│ │ └ iic.h
│ ├ LED
│ │ │ led.c
│ │ └ led.h
│ ├ RTC
│ │ │ rtc.c
│ │ └ rtc.h
│ ├ tftlcd
│ │ │ font.h
│ │ │ picture.h
│ │ │ tftlcd.c
│ │ └ tftlcd.h
│ └ TIME
│ │ time.c
│ └ time.h
├ Libraries
│ ├ CMSIS
│ │ │ core_cm3.c
│ │ │ core_cm3.h
│ │ │ startup_stm32f10x_hd.s
│ │ │ system_stm32f10x.c
│ │ └ system_stm32f10x.h
│ └ STM32F10x_StdPeriph_Driver
│ ├ inc
│ │ │ misc.h
│ │ │ stm32f10x_adc.h
│ │ │ stm32f10x_bkp.h
│ │ │ stm32f10x_can.h
│ │ │ stm32f10x_cec.h
│ │ │ stm32f10x_crc.h
│ │ │ stm32f10x_dac.h
│ │ │ stm32f10x_dbgmcu.h
│ │ │ stm32f10x_dma.h
│ │ │ stm32f10x_exti.h
│ │ │ stm32f10x_flash.h
│ │ │ stm32f10x_fsmc.h
│ │ │ stm32f10x_gpio.h
│ │ │ stm32f10x_i2c.h
│ │ │ stm32f10x_iwdg.h
│ │ │ stm32f10x_pwr.h
│ │ │ stm32f10x_rcc.h
│ │ │ stm32f10x_rtc.h
│ │ │ stm32f10x_sdio.h
│ │ │ stm32f10x_spi.h
│ │ │ stm32f10x_tim.h
│ │ │ stm32f10x_usart.h
│ │ └ stm32f10x_wwdg.h
│ └ src
│ │ misc.c
│ │ stm32f10x_adc.c
│ │ stm32f10x_bkp.c
│ │ stm32f10x_can.c
│ │ stm32f10x_cec.c
│ │ stm32f10x_crc.c
│ │ stm32f10x_dac.c
│ │ stm32f10x_dbgmcu.c
│ │ stm32f10x_dma.c
│ │ stm32f10x_exti.c
│ │ stm32f10x_flash.c
│ │ stm32f10x_fsmc.c
│ │ stm32f10x_gpio.c
│ │ stm32f10x_i2c.c
│ │ stm32f10x_iwdg.c
│ │ stm32f10x_pwr.c
│ │ stm32f10x_rcc.c
│ │ stm32f10x_rtc.c
│ │ stm32f10x_sdio.c
│ │ stm32f10x_spi.c
│ │ stm32f10x_tim.c
│ │ stm32f10x_usart.c
│ └ stm32f10x_wwdg.c
├ Obj
│ │ Template.hex
├ Public
│ │ system.c
│ │ system.h
│ │ SysTick.c
│ │ SysTick.h
│ │ usart.c
│ └ usart.h
└ User
│ main.c
│ stm32f10x.h
│ stm32f10x_conf.h
│ stm32f10x_it.c
└ stm32f10x_it.h