February 2013 DocID023317 Rev 2 1/5
5
STEVAL-IHM037V1
Ceiling fan remote control unit based on the STM8 microcontroller
Data brief
Features
Operating voltage: 180-250 VAC
Low-cost capacitive power supply for the
STM8S003F3 (receiver), and CR2032 coin cell
battery for the STM8L101F2 (IR remote)
Triac-based speed control with firing angle
IR receiver for speed control through RC5
remote
Two pushbuttons for speed change
RoHS compliant
Description
The STEVAL-IHM037V1 demonstration board
implements speed control for an induction motor-
based ceiling fan using a remote control.
Traditionally, fan speed is controlled using a Triac-
based regulator, which must be operated
manually.
The STEVAL-IHM037V1 replaces the manual
regulator with a remote control-based solution.
Two pushbuttons are also provided to increase or
decrease fan speed. Speed is regulated by
controlling the firing angle of a Triac (T435x) with
the STM8S003x microcontroller.
www.st.com
Schematic diagram STEVAL-IHM037V1
2/5 DocID023317 Rev 2
1 Schematic diagram
Figure 1. STEVAL-IHM037V1 circuit schematic (1 of 2)
9
9
9
9
GDWDNH\
9
9
VZL P
NH\
NH\
VZL P
UHVHW
GDWD
NH\
9
UHVHW

Q)
&&
--
//, ((99,
88
3' 
3' 

3'
3'
3'
1567
26&,1
RVFRXW
966
9&$3
9''
 3$
3% 
3% 
3& 
3& 
3& 
3
3
&
&


3'

&&
XX))9
::66
..HH\
:
..
55
..
55
..::
QQ))
&&
-

22&&1111 75%/.
55
--
44
%%&&&&
&&
&&
QQ))99
22667733
55
--
//
22''$$
..55
SS))
&&
99
''
115577//
QQ)
&&
QQ))
&&
RRKKPP55
''
55
53*"$
,
3
3
+
+
TXJNDPOOFDUPS
48
485"$54145 O'
45.4'1
DocID023317 Rev 2 3/5
STEVAL-IHM037V1 Schematic diagram
Figure 2. STEVAL-IHM037V1 circuit schematic (2 of 2)
*1'
9
9
9
61
%08/
77%%
55&&
((
55
::66
66:3$'6
--
1122&&
&&QQ))
::66 6::63 66''$$3
''
,5/('
::66 ::663 66''$$3
44
6 55776
88
//007766 )3)3











Revision history STEVAL-IHM037V1
4/5 DocID023317 Rev 2
2 Revision history
Table 1. Document revision history
Date Revision Changes
15-Jun-2012 1 Initial release.
11-Feb-2013 2
Minor text edits throughout document.
–Replaced Figure 1 and Figure 2 with more detailed schematic
diagrams.
DocID023317 Rev 2 5/5
STEVAL-IHM037V1
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
ST PRODUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS. NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USE
IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH
PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR
ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED
FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN
WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE,
AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS.
PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE
CORRESPONDING GOVERNMENTAL AGENCY.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2013 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
STMicroelectronics:
STEVAL-IHM037V1