烽火社区 首页 方案 工业控制 马达控制 查看内容
仪器仪表 工业电子 医疗设备 智能装备 智能控制 马达控制 LED照明

[方案]STSTM8S003F3风扇遥控参考方案

2017-11-23 09:53 PM| 发布者: 繁华星空丶| 查看: 1939| 评论: 0

摘要: ST公司的STM8S003F3/K3系列是提供8KB闪存步伐存储器和数据EEPROM的8位微控制器(MCU),工作频率16MHz,接纳哈佛架构和三级流水线,具有可靠的I/O,单独看门狗和差别的时钟源以实时钟安全系统.本文先容了STM8S003F3/K3主要 ...

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质料清单:


详情请复制打开此衔接地址:
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf
和http://www.st.com/web/en/resource/technical/document/user_manual/DM00055898.pdf
DM00024550.pdf
DM00055898.pdf


鲜花

握手

雷人

路过

鸡蛋

相关阅读

热点图文
推荐阅读
文章排行
返回顶部