0 卖盘信息
BOM询价
您现在的位置: 首页 > 技术方案 >工业控制 > 基于ST公司的STM8S003F3风扇遥控参考设计

基于ST公司的STM8S003F3风扇遥控参考设计

来源: 中电网
2019-01-15
类别:工业控制
eye 250
文章创建人 拍明

原标题:ST STM8S003F3风扇遥控参考设计

  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.

  风扇速度遥控板STEVAL-IHM037V1材料清单:



责任编辑:HanFeng

【免责声明】

1、本文内容、数据、图表等来源于网络引用或其他公开资料,版权归属原作者、原发表出处。若版权所有方对本文的引用持有异议,请联系拍明芯城(marketing@iczoom.com),本方将及时处理。

2、本文的引用仅供读者交流学习使用,不涉及商业目的。

3、本文内容仅代表作者观点,拍明芯城不对内容的准确性、可靠性或完整性提供明示或暗示的保证。读者阅读本文后做出的决定或行为,是基于自主意愿和独立判断做出的,请读者明确相关结果。

4、如需转载本方拥有版权的文章,请联系拍明芯城(marketing@iczoom.com)注明“转载原因”。未经允许私自转载拍明芯城将保留追究其法律责任的权利。

拍明芯城拥有对此声明的最终解释权。

相关资讯