当前位置:首 页 --> 方案设计
STM8S003F3风扇遥控参考设计
发布时间:2015/12/25 10:18:00 来源:
在线咨询:
给我发消息
李湘宁 2850985550
给我发消息
张代明 3003290139
给我发消息
姚红霞 3003214837
13713728695
ST公司的STM8S003F3/K3系列是提供8KB闪存程序存储器和数据EEPROM的8位微控制器(MCU),工作频率16MHz,采用哈佛架构和三级流水线,具有可靠的I/O,单独看门狗和不同的时钟源以及时钟安全系统.本文介绍了STM8S003F3/K3主要特性,功能框图,以及基于单路TRIAC的风扇速度遥控板STEVAL-IHM037V1主要特性,电路图和材料清单.
The STM8S003F3/K3 value line 8-bit microcontrollers offer 8 Kbytes of Flash program memory, plus integrated true data EEPROM. They are referred to as low-density devices in the STM8S microcontroller family reference manual (RM0016).
TheSTM8S003F3/K3 value line devices provide the following benefits: performance, robustness and reduced system cost.
Device performance and robustness are ensured by true data EEPROM supporting up to 100000 write/erase cycles, advanced core and peripherals made in a state-of-the-art technology at 16 MHz clock frequency, robust I/Os, independent watchdogs with separate clock source, and a clock security system.
The system cost is reduced thanks to a high system integration level with internal clock oscillators, watchdog, and brown-out reset.

STM8S003F3/K3主要特性:
Core
16 MHz advanced STM8 core with Harvard architecture and 3-stage pipeline
Extended instruction set
Memories
Program memory: 8 Kbyte Flash memory; data retention 20 years at 55 ℃ after 100 cycles
RAM: 1 Kbyte
Data memory: 128 bytes true data EEPROM; endurance up to 100 k write/erase cycles
Clock, reset and supply management
2.95 V to 5.5 V operating voltage
Flexible clock control,4master clock sourcesLow-power crystal resonator oscillatorExternal clock inputInternal, user-trimmable 16 MHz RCInternal low-power 128 kHz RC
Clock security system with clock monitor
Power managementLow-power modes (wait, active-halt, halt)Switch-off peripheral clocks individuallyPermanently active, low-consumption power-on and power-down reset
Interrupt management
Nested interrupt controller with 32 interrupts
Up to 27 external interrupts on 6 vectors
Timers
Advanced control timer: 16-bit, 4 CAPCOM channels, 3 complementary outputs, dead-time insertion and flexible synchronization
16-bit general purpose timers, with 3 CAPCOM channels (IC, OC or PWM)
8-bit basic timer with 8-bit prescaler
Auto wakeup timer
Window and independent watchdog timers
Communications interfaces
UART with clock output for synchronous operation, SmartCard, IrDA, LIN master mode
SPI interface up to 8 Mbit/s
I2C interface up to 400 Kbit/s
Analog to digital converter (ADC)
10-bit ADC, ± 1 LSB ADC with up to 5 multiplexed channels, scan mode and analog watchdog
I/Os
Up to 28 I/Os on a 32-pin package including 21 high-sink outputs
Highly robust I/O design, immune against current injection
Development support
Embedded single-wire interface module (SWIM) for fast on-chip programming and non-intrusive debugging

图1.STM8S003F3/K3功能框图

风扇速度遥控板STEVAL-IHM037V1
The remote fan speed controller is a single channel TRIAC based solution meant to replacethe existing fan speed controllers and provide the IR remote control feature. It is designed tofit easily inside an enclosure with the dimensions of a single-switch module.A non-isolated capacitive power supply is used to power the microcontroller and the IR sensor. The TSOP38438 IR sensor is used to demodulate the 38 kHz IR signal from the IRtransmitter and decoded by the STM8S003 value line microcontroller to perform the variouscontrol functions. IR communication is based on the RC5 protocol standard. A TRIAC isused as the control element to regulate the power going into the fan by varying its firingangle for different speed settings. The speed settings can be changed by using the onboardtactile switches or by using the IR remote controller.
The STM8S003F3 value line 8-bit microcontroller, with its internal data EEPROM, hardwaretimers and external interrupts on GPIOs, makes an efficient implementation of theapplication possible while keeping the size, cost and external component count to aminimum.

图2.风扇速度遥控板STEVAL-IHM037V1外形图

风扇速度遥控板STEVAL-IHM037V1主要特性:
■ Fan speed control using SW1, SW2 keys or IR remote
■ Compact and cost effective capacitive power supply
■ Example firmware based on RC5 protocol. Can also work with NEC and other IR protocols
■ Low cost solution. Can be used for light dimmer applications with software modifications.

图3.风扇速度遥控板STEVAL-IHM037V1电路图(1)

图4.风扇速度遥控板STEVAL-IHM037V1电路图(2)
风扇速度遥控板STEVAL-IHM037V1材料清单:


 
    您可能对以下产品感兴趣  
产品型号 功能介绍 兼容型号 封装形式 工作电压 备注
 
深圳市永阜康科技有限公司 粤ICP备17113496号 服务热线:0755-82863877 手机:13242913995