2021-11-23 13:59:45 索炜达电子 1328
项目编号:E2419
文件大小:356K
源码说明:带中文注释
开发环境:C编译器
简要概述
该电子密码锁是在普中STM32F103ZET6板子上写的,所有操作显示在了LCD屏幕上,解锁是通过解码红外遥控的码值进行的。
1.是红红外遥控进行解锁,需要自己先将红外遥控器的0-9码值破解出来,然后修改程序elecodelock.c中的枚举中的值。
2.可以自行修改本地密码,本地密码是保存在EEPROM中的,掉电不丢失。只需打开elecodelock.c中部分代码注释,再修改mima[6]数组中的值即可。该程序最大支持9位密码。10位以上需要对红外数据进行处理。
3.所有的操作现象显示在LCD屏幕上。有输入密码,及密码错误提示,还有锁的状态提示,以及一些附加功能,如时间显示,日期,星期和温度。
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