Home
Datasheet - STMicroelectronics
Contents
1. 756 User manual STEVAL ICBOOSV1 front panel demonstration board based on the STLED316S and the STMPE1208S Introduction This document explains the functioning of the STEVAL ICBOO3V1 demonstration board which represents a general purpose front panel solution utilizing an STLED316S LED driver STMPE12088 capacitive touch sensor and STM8 series microcontroller STM8S207K6 The basic idea is to develop a generic front panel for white goods in general Some features such as quadrature rotary encoder interface power management feature and a logic level input for water level sensor have also been provided to increase versatility The objective of this demonstration board is to display the capabilities of STLED316S and STMPE12088 for a sophisticated front panel to address the market segment of front panels for DVD players DVD recorders set top boxes washing machines and many more while keeping system cost as low as possible The system design focuses on 3 key areas standby management for low power consumption general touch key as well as rotary encoder input and a water level sensing which accepts a 38 43 kHz output from a water level sensor All user I O is handled by the STLED316S inputs only with little MCU overhead For example rotary encoder buzzer and water level sensor inputs are handled by the STLED316S only without consuming MCU resources In the sections that follow the operation of the system is e
2. 16 Water level message above 16 Water level message no input 510 16 Standby mechanism using host system and front panel 17 Standby in progress 2 2 18 Standby of system 19 Schematic of demonstration board STEVAL ICBO03V1 1 of 2 21 Schematic of demonstration board STEVAL ICBOOSV1 20f2 22 Doc ID 16031 Rev 1 5 28 Features UM0756 6 28 Features The key features of the STEVAL ICBOOSV1 demonstration board are 4 seven segment LED displays 8 touch keys 8 x 3 mm LEDs 1 bi color LED for on standby indication 1 interrupt assert LED On board buzzer Rotary encoder for up down functions Standby management for low power operation Relay for switching host power Power supply connector for single 9 V supply Wakeup feature from system standby Embedded in circuit programming capability through SWIM interface Water level sensor input for 38 43 kHz water sensors Doc ID 16031 Rev 1 ky UM0756 Getting started 2 2 1 2 2 2 3 Getting started System requirements The system operates in standalone mode with a single 9 V 15 V DC supply For power supply connection refer to Section 2 3 P
3. Using the front panel board UM0756 18 28 For the signal from the pin PD4_STBY_INTR the host should configure its pin as input floating with interrupt If the system is working normally and the standby switch is pressed the system prepares to enter the standby and displays Stb on the LED display and the power LED glows red Figure 17 The front panel indicates to the main host controller that the standby switch has been pressed and waits for the standby command from the host system Figure 17 Standby in progress e 1 n CHANNEL timi ce Ph p are edle D 010 911 BRIBHINESS AM05105v1 The host system should detect the signal from the front panel and within 10 seconds should send the standby command to the front panel through I C indicating that the host System is ready and the front panel can cut off the power supply of the host system see Table 6 Table 6 Details of I2C communication with the STEVAL ICB003V1 Sr no Description Value in hexadecimal 1 address of STEVAL ICBO03V1 2 Command for standby OxAD 3 Command for no action OxFD There are three different possibilities which are explained as follows e Front panel receives a command other than the standby command from the host system the system exits standby and normal operation of the system continues e Front panel receives the standby command the front panel cuts of
4. the output of the rotary encoder is given to a dual D flip flop to stabilize and predefine the default level of the two signals The output of the flip flop is provided to the key inputs of the LED316S device see schematic in Section 6 Depending on the rotation of the encoder the two key press interrupts follow the order The decoding of the rotary encoder using the STLED316S device saves the extra I O of the FP MCU which would otherwise detect the sensor input The decoding of the rotary encoder can be done in parallel with the normal working of the other keys if these functions are included in the system In the present system the rotary encoder is decoded along with the water level measurement which is also connected at the key inputs of the STLED316S device see Section 4 3 1 Doc ID 16031 Rev 1 ky UM0756 Using the front panel board 4 3 4 3 1 Additional features Water sensor The system has the capability to decode the output of the water level sensor The output of the water level sensor is a Square wave signal which varies based on the level of the water The output signal variations are provided in table Table 1 Table 1 Water sensor output values Sr no Water level Square wave frequency 1 Lower than midpoint 38 kHz 2 At midpoint 40 kHz 3 Above midpoint 43 kHz The output of the water level sensor can be sent to connector J6 Figure 2 on the board the details of which are as follo
5. ECG ND or equivalent R34 R37 Panasonic E P470ATR 27 R R 4700 SMD0805 6GEYJ471V Digi Key 4 Resistors ECG or equivalent ND R5 R9 R10 R13 R28 R29 R30 ERJ 28 R31 R33 iko Panasonic Digi Key P OKATR 44 ECG ND R34 R35 or equivalent R37 R38 R39 R1 R2 R3 R ERJ 29 6 R7 R8 R2 47ko 00805 Panasonic 72 Digi Key P7KATR ECG ND 6 R40 R41 or equivalent R4 R12 ERJ 30 R16 R32 1 sMDosos Panasonic 1 Digi Key PIOKACT 6 ECG ND R36 R42 or equivalent 63M T607 Trough 1020 Farnell 9608206 1 Spectrol f equivalent ky Doc ID 16031 Rev 1 25 28 Schematics diagrams and bill of material UM0756 Table 7 Bill or material continued 5 Component Orderable Supplier Gat no designator descr Package Manuf part no Supplier order code Qty 32 swt Tact switch Through Tyco FSM6JH Farnell 1555983 1 hole Electronics J5 Rotary Through manaii 1520819 1 encoder hole 07 Through HRM S 34 RL1 SPDT relay hole Multicomp DC5V Farnell 9480021 1 Misc Compon 35 BZ1 Buzzer DC bos gh Kingstate KPEG242 Farnell 1502726 1 ents j 3M 517 8 36 hemisphere Paste panna SJ 5003 Mouser 5003WH 4 WHT didi d Heat sink for 37 Heat sink TO 220 Futurlec Pd
6. Futurlec TOZAOLGBA 1 or equivalent or equivalent packaged IC Note C25 not to be mounted 26 28 Doc ID 16031 Rev 1 ky UM0756 Revision history 7 Revision history Table 8 Document revision history Date Revision Changes 09 Oct 2009 1 Initial release Doc ID 16031 Rev 1 27 28 UM0756 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 prop
7. material cate ege a nt ar 23 Document revision history 27 Doc ID 16031 Rev 1 ky UM0756 List of figures List of figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 STEVAL ICBOO3V1 front panel demonstration board 1 Front panel front 7 Front panel rear view 8 Power supply connections 9 System stable ready to 9 Volume level on the LED display 11 Channel number on the LED 12 Message display when the MENU BRGH key is pressed 13 Demo mode message same brightness 13 Demo mode message different brightness 13 Rotary encoder 1 2 0 tees 14 Water level message below midpoint 16 Water level message at
8. touched WSENSOR The system has the capability to measure the output of the water level sensor to determine water level When the WSENSOR key is touched the present water level is displayed on the LED display for details refer to Section 4 3 1 The display is changed to the default display after 5 seconds Doc ID 16031 Rev 1 13 28 Using the front panel board UM0756 4 1 8 4 2 Note Note 14 28 RESTORE When this key is touched the system restores the factory default values for volume channel and brightness see Section 2 5 Rotary encoder The system has a free running rotary encoder on the board This encoder can be used to increase decrease the volume when the system is in the normal mode or to increase decrease the brightness of the LED display when the system is in brightness mode The encoder can be rotated clockwise or counter clockwise to increase or decrease the system parameters The free running rotary encoder can be given countless rotations in any direction This encoder gives two square wave outputs which are phase shifted from each other and the type of phase shift gives an indication of the direction of rotation The number of pulses in the square wave signal provides the number of rotations Figure 11 Figure 11 Rotary encoder Dl iok positi on AS ON f i f B i P1 tL OFF d 1 divectian CCW direction CW direction AMO5101v1 In this system
9. with the rotary encoder which is also attached at the key inputs of the STLED316S device The system operates at 5 V so the logic level of the water level signal should be within the range of 3 5 V 5 V for high and V 1 5 V for low logic To use the water level sensor a 1 kQ resistor should be soldered on R33 of the STEVAL ICBOOSV1 board Without this the system will not detect the water sensor level signal Standby The system demonstrates a smart power management control system to control the power of other host systems in order to save the maximum amount of power during standby The block diagram of the control system is as shown in Figure 16 Figure 16 Standby mechanism using host system and front panel Full on power supply Front panel Power supply Standby Main IC command 1 1 controller Standby controller 1 1 1 N 2 gt tw o E AM05104v1 The host system can be connected to the front panel using jumpers J1 and J3 see Table 4 and 5 Table 4 Connection of jumper J1 Pin no Input signal Function 1 Normally open Normally open 2 Common Common 3 Normally closed Normally closed Table 5 Connection of jumper J3 Pin no Input signal Function Interrupt from STEVAL ICBO03V1 to host controller EN PD4_STBY_INTR indicating that STBY key has been pressed Ground reference of STEVAL ICBOO3V 1 Doc ID 16031 Rev 1 17 28
10. 12088 device U2 Connect pin 8 PB2 TRESET of jumper J3 to the pin of the external microcontroller which is configured as push pull output and is to be used to reset the STMPE1208S device U2 Connection for standby feature Connect pin 9 PD4_STBY_INTR of jumper J3 to the pin of the external microcontroller which is to provide the standby interrupt to the other host system Connect pin 10 PD5_STBY_SW of jumper J3 to the interrupt pin of the external microcontroller which is to take the switch input from the STBY switch SW2 e Connection for power management Connect pin 11 GND of jumper J3 to the GND pin of the external microcontroller to create a common ground level reference for the whole system Connect pin 12 BVO of jumper J3 to the VDD pin of the external microcontroller The pins of the external microcontroller must be configured as described in the datasheet of the STLED316S and STMPE1208S devices The working of the board depends on the software being loaded in the memory of the external microcontroller The setup cannot perform the SWIM communication with the external microcontroller using the jumper J3 Doc ID 16031 Rev 1 Schematics diagrams and bill of material UM0756 Schematics diagrams and bill of material 6 ICB003V1 1 of 2 ion board STEVAL f demonstrat IC O Schemati igure 19 F YOLOANNOD WIMS zzng 991a 2
11. 13TR 1 counter STLED316S STLED316S STLED316S i U8 LED driver 5020 PE MTR e MTR i ST LD1117V50 devices 5 U9 regulator TO 220 ST LD1117V50 ST LD1117V50 1 M74HC74R 3 M74HC74RM M74HC74R 6 U10 M13TR flip 50 16 ST 13TR ST M13TR 1 flop STPSIL30A 7 D1 D13 Schottky SMA ST STPS1L30A ST STPS1L30A 2 diode D3 D14 BAT54 8 D15 D16 signal diode SOD323 ST BAT54JFILM ST BAT54JFILM 4 2STR1215 9 Q1 Q2 Q3 small signal SOT23 ST 2STR1215 ST 2STR1215 3 BJT 5mm Panasonic PAO01 3 or 10 J1 6 3 pin WAGO pitch ECG equivalent Farnell 1357319 2 11 J2 S pin SWIM SMDwith 284697 ERNI 284697 1 Connecto connector mm pitch rs and 6x2pin DIL 2 5 mm jumpers 12 J3 Berg pitch Any Cliff 13 J4 Power jack 6mm Electronic DC108 or Farnell 224960 1 equivalent Comp ky Doc ID 16031 Rev 1 23 28 Schematics diagrams and bill of material UM0756 Table 7 Bill or material continued 5 Component Orderable Supplier Gat no designator descr Package Manuf part no Supplier order code Qty D2 D4 D5 D 14 6 D7 D8 D9 LED red peel Multicop dia ad Farnell 1581112 9 D10 D11 Pee 15 Di2 Bicolor LED 5mm Dialight 521 9628For 1461589 4 Corp equivalent Red SMD D17 D18 LNJ206R5R 16 019 020 LEP for 5 Panasonic Uxor Digi Key P11496TR 5 touch SSG LEDs D47 equivalent recognition Green SMD LN1371S
12. 935 1935 ZADA OAS oaa ML oz 8935 40935 voas 2935 vo 3935 093S 9038 393S ig 35391 78 voas 393S zvo vo 4945 doas 993S 393S 3SN3S dVO C25 NOT TO BE MOUNTED SSHNIHDINE 8935 00935 voas 2935 vo 4945 093S 9945 393S 5 OZI Gar Ag G31 204 NOILOAS OXDIIN 8935 40935 voas 2035 zvo vo 4945 0995 9945 393S AMO05107v1 21 28 Doc ID 16031 Rev 1 UM0756 Schematics diagrams and bill of material Figure 20 Schematic of demonstration board STEVAL ICBOO3V1 2 of 2 NOILO3S HLELNAHY OHTZIN 56 NOILO3S YOSNAS YALVM NOILO3S 422 9121416 49 4312209 22 04 9910 YOLVLOY _ B 1945 AMO05108v1 Doc ID 16031 Rev 1 22 28 UM0756 Schematics diagrams and bill of material Table 7 Bill or material 5 Component Orderable Supplier Cat no designator descr Package Manuf part no Supplier order code Qty STM8 STM8S207K STM8S207K 1 microcont LQFP 6 6 SI 6T6C 1 STMPE121 8S touch STMPE1208 STMPE1208 2 U2 QFN40 ST SQTR ST SQTR 1 controller HCF4020M HCF4020MO HCF4020MO 3 U3 013TR SO 16 ST 13TR ST
13. Ad neh UNA 13 4 1 7 WSENSOR deeds acean dub dba dod d ad Rae ed 13 4 1 8 RESTORE od ewe eed RR 14 4 2 Hotary encoder eR 14 4 3 Additional features 15 4 3 1 Water sensOr cse rade kk ERR Re e t WORT ee EE 15 4 3 2 Standby ee Ret eee eta ades 17 4 3 3 272 A Ma WORRY oboe eae gere 19 4 3 4 Potentiometer sss cus kac ase kim Re VD RR See e dp x 19 5 Connecting an external microcontroller to the demonstration board 20 2 28 Doc ID 16031 Rev 1 UM0756 Contents 6 Schematics diagrams and bill of material 21 7 Revision history 27 ky Doc ID 16031 Rev 1 3 28 List of tables UM0756 List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 4 28 Water sensor output values 15 Connection details for water sensor input to the front 15 Water level messages 15 Connection of jumper J1 0 2 0 0 000 eae 17 Connection of 17 Details of IC communication with the STEVAL ICBOO03V1 18 Bill or
14. GT D22 D23 LED for Panasonic 17 D24 SOR SMD0805 SSG Ror Digi Key P516TR ND 3 a equivalent recognition HDSP5501 0 55inch 18 U4US U6 U 2 5 mm Avago HDSP 5501 Farnell 1003293 4 7 Tech or equivalent anode pitch C9 C10 C1 ECJ 1 C21 C22 Panasonic bis PCCO20CNT 19 C23 C24 2 pF SMD0805 ECG ibd Digi Key R ND 9 C25 C26 C2 C5 C7 C ECJ 12 C14 Panasonic PCC1828CT 20 C15 C16 100 nF SMD0805 ECG ee Digi Key ND 9 C17 C18 3 Capac ECJ 21 47onF smposos Panasonic yE1e4747 Digi Key PCCT847TR 4 ECG ND or equivalent 2930106 96 74 Vishay 22 e pasties Type 1 S y R3A2TE3 or Mouser 293D106X96 6 prague equivalent R3A2TE3 Through MCGPR25V1 23 C19 100 uF 25 V Multicop 07M6 3X11 9451188 1 or equivalent 24 28 Doc ID 16031 Rev 1 UM0756 Schematics diagrams and bill of material Table 7 Bill or material continued 5 Component Orderable Supplier Gat no designator descr Package Manuf part no Supplier order code Qty Panasonic PRJ 24 R14 0 SMD0805 6GEYOROOV Digi Key m 1 ECG or equivalent or equivalent R17 R18 R19 R20 R21 R22 R23 R24 ERJ 25 R43 R44 2200 SMDosos Panasonic 21 Digi Key P220ATR ECG ND R45 R46 or equivalent R47 R48 R49 R50 R11 R15 Panasonic ERJ P360ATR 26 R25 360 Q SMD0805 6GEYJ361V Digi Key 1
15. The system operates in various modes depending on user actions Normal mode The system operates in normal mode in normal working conditions In this mode the user can increase or decrease the volume level or channel number using the touch keys or the rotary encoder The user can also see the water level by touching the corresponding key Additionally the user can reset the various parameters to the default values by touching the restore key Brightness mode In this mode the user can increase or decrease the brightness of the LED display using the touch keys or the rotary encoder The brightness level of the display is indicated by the number of glowing discrete LEDs If the system is in normal mode the user can enter brightness mode by touching the menu brgh key The system exits brightness mode after 5 seconds or if any key other than CH UP or CH DOWN is touched Demo mode In this mode the system continues demonstrating the various types of brightness variance options possible with the STLED316S device The two different modes are e Constant brightness of all the digits of the STLED316S e Variable brightness of all the digits of the STLED316S The system exits the demo mode if any key is touched Standby mode In this mode the front panel is in low power mode and the power of the main host system is switched off using the on board relay As the front panel is in low power mode neither any key nor the rotary enc
16. ackage content The demonstration board package includes Hardware One demonstration board Documentation User manual Hardware installation The demonstration board can be powered through an external power supply having a 9 V 15 V output typically Figure 2 Front panel front view Screw type connector Screw type connector 4 7 segment 8 discrete red LEDs for relay output for water sensor input displays as brightness level indicator Relay MCU La OC A OO 8 8 E STM8S207K6T6 1 Gr Voltage fame Sa f LED driver STLED316SMTR regulator BRIGHTNESS Standby switch E ncoder External interface IRQ LED SWIM connector connector AM04454v1 Doc ID 16031 Rev 1 7 28 Getting started UM0756 8 28 The major components present on the front of the board are see Figure 2 Microcontroller STM8S207K6T6 LED driver STLED316S LED display 4 seven segment digits On board fabricated touch keypad containing 8 touch keys Relay Potentiometer Rotary encoder 5 mm pitch screw type connector for the relay interface 5 mm pitch screw type connector for water sensor input LED as touch indicator Standby switch Bicolor LED as power LED Buzzer External interface jumper SWIM connector Power connector Figure 3 Front panel rear view S Touch controller STMPE1208S SMD LEDs for touch indicati
17. erty 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 UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK 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 t
18. f the power of the host system through the on board relay e Front panel receives no command from the host system front panel waits for timeout 10 sec to occur then the front panel cuts off the power of the host system through the on board relay and stb1 appears on the LED display Doc ID 16031 Rev 1 UM0756 Using the front panel board Figure 18 Standby of system after timeout D 97 Qa BRIGHTNESS 5 AM05106v1 When the system is in standby the front panel is also disabled and the touch keys and rotary encoder do not work Now when the system is in standby and the standby switch is pressed again the front panel exits standby mode and switches ON the power of the host system using the on board relay The front panel displays the channel number and volume on the LED display and the power LED glows green Figure 5 4 3 3 Buzzer The system has an on board DC buzzer which is used to improve user interaction The buzzer is driven from the LED digit output of the STLED316S device For details of the circuit see the schematic in Section 6 The buzzer is controlled by the STLED316S and a transistor The digital output of the STLED316S device switches ON OFF the transistor to turn the buzzer ON OFF As the STLED316S is a scanning device and brightness of a particular LED digit is controlled by the duration that the digit is kept ON during one complete scanning the intensity of the bu
19. heir respective owners 2009 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 28 28 Doc ID 16031 Rev 1 ky
20. l number continues to increase to its maximum value if the user does not release the key When the system is in brightness mode on touching this key the brightness of the display is increased by one unit The brightness continues to increase to its maximum value if the user does not release the key Figure 7 Doc ID 16031 Rev 1 11 28 Using the front panel board UM0756 Note Note 12 28 The channel number rolls back to the minimum value 00 when it reaches its maximum value which is 99 The brightness does not increase or roll back when it reaches its maximum value which is level 8 or 14 16 CH DOWN When the system is in normal mode on touching this key the channel number is decreased by one unit The channel number continues to decrease to its minimum value if the user does not release the key When the system is in brightness mode on touching this key the brightness of the display is decreased by one unit The brightness continues to decrease to its minimum value if the user does not release the key Figure 7 The channel number rolls back to the maximum value 99 when it reaches its minimum value which is OO The brightness does not decrease or roll back when it reaches its minimum value which is level 1 or 1 16 Figure 7 Channel number on the LED display Channel number CHANNEL VOLUME PN D Lr 210 211 EE 1100 MENU BRGH This key is used to put the system into b
21. ls of the board see Section 6 This jumper can be used to connect an external microcontroller to the demonstration board The following steps should be followed when connecting an external microcontroller to the demonstration board Remove de solder the STM8S207K6 microcontroller U1 from the board e Connection the STLED316S device Connect pin 1 PC1 DIN DOUT of jumper J3 to the pin of the external microcontroller using the data and commands that are to be sent to the STLED316S device U8 Connect pin 2 PC2 CLK of jumper J3 to the pin of the external microcontroller using the clock signal that is to be sent to the STLED316S device U8 Connect pin 3 STB of jumper J3 to the pin of the external microcontroller using the control signal STROBE that is to be sent the STLED316S device U8 Connect pin 4 PC4 IRQ of jumper J3 to the pin of the external microcontroller which is configured as interrupt input and is to receive the interrupt signals coming from the STLED316S device U8 e Connection to the touch screen controller STMPE1208S Connect pin 5 PB4 TSCL of jumper J3 to the I C SCL pin of the external microcontroller Connect pin 6 PB5 TSDA of jumper J3 to the I C SDA pin of the external microcontroller Connect pin 7 PB3 TINT of jumper J3 to the pin of the external microcontroller which is configured as interrupt input and is to receive the interrupt signals coming from the STMPE
22. oder operates when the system is in the standby mode The system can be put into standby mode by pressing the on board STDBY switch The system comes out of standby on pressing the STDBY switch again For details refer to Section 4 3 2 Doc ID 16031 Rev 1 ky UM0756 Using the front panel board 4 Using the front panel board 4 1 Touch keys There are 8 different touch keys on the front panel for various operations Whenever a key is touched a buzzer emits a beep and an LED blinks as an indication of the touch The various keys and their descriptions are provided in the sections that follow 4 1 1 VOL When the system is in normal mode the user can increase the volume by one unit by touching the key labeled as VOL The volume continues to increase to its maximum value if the user does not release the key Figure 6 Note The volume does not increase or roll back when it reaches its maximum value which is 99 4 1 2 VOL When the system is in normal mode the user can decrease the volume by one unit by touching the key labeled as VOL The volume continues to decrease to its minimum value if the user does not release the key Figure 6 Note The volume does not decrease or roll back when it reaches its minimum value which is 00 Figure 6 Volume level on the LED display Volume level AM04466v1 4 1 3 CH UP When the system is in normal mode on touching this key the channel number is increased by one unit The channe
23. on 14 stage counter HCF4020M013TR 95530 bosso pene 9299 999 Bumpon for Dual D flip flop board support M74HC74RM13TR AM04455v1 The major components present on the back of the board are see Figure 3 Touch key controller STMPE1208S 14 stage counter HCF4020 Dual D flip flop M74HC74 SMD LEDs as touch indicators Doc ID 16031 Rev 1 UM0756 Getting started 2 4 2 5 Powering on the system The system is easy to use As soon as the DC power supply is connected the system is running The power supply connections should be made as shown in Figure 4 Figure 4 Power supply connections Giese eee praes f Aker Power connector BRIGHTNESS IN amm WD n y RS Power connector AM04462v1 At power on a welcome message STLED316S is displayed which scrolls across the LED display from right to left After approximately 4 5 seconds the last set of channel volume and brightness values are displayed Figure 5 System stable ready to use Volume level AM04466v1 Default setting of the system The system is programmed with the following default settings Channel minimum 00 Volume minimum 00 Brightness maximum which is level 8 14 16 Doc ID 16031 Rev 1 9 28 System operation modes UM0756 3 3 1 3 2 3 3 3 4 10 28 System operation modes
24. rightness mode When this key is touched the system enters brightness mode and 8888 is displayed on the 7 segment LED display with the current brightness level The brightness of the display can be increased or decreased using the CH UP and CH DOWN touch keys The brightness can also be varied using the rotary encoder see Section 4 2 Discrete LEDs on the board represent the brightness level of the display Figure 8 Doc ID 16031 Rev 1 ky UMO0756 Using the front panel board Figure 9 Figure 8 Message display when the MENU BRGH key is pressed VOCUME pP BRIBHINESS N AMO04500v1 Demo mode This key is used to put the system into demo mode In this mode the system demonstrates the capability of the STLED316S device to vary the brightness of the individual LED DIGIT output to a different brightness level In this mode the system displays two messages in sequence e When message 8881 is displayed on the LED display the LED digits glow with the same brightness Figure 9 When message 8882 is displayed on the LED display the LED digits glow with a different brightness Figure 10 Demo mode message same Figure 10 Demo mode message different brightness brightness 97979 OC Ge LT CHANNEL VOCUME CHANNEL f BRIGHTNESS AM05109v1 AMO05100v1 The system remains in demo mode and messages are displayed in sequence until any other key is
25. ter level LED display message 3 Above midpoint HI 4 No input signal ul Figure 12 Water level message below Figure 13 Water level message at midpoint midpoint SL EL D b CHANNEL CHANNEL VOCUME VULUME om vm um RTN m rm om 210 9 BRIBHINESS BRIGHTNESS AMO5110v1 AMO05102v1 Figure 14 Water level message above midpoint Figure 15 Water level message no input signal CHANNEL VOLUME n poms ms 2010 91 BRIGHTNESS AMO5111v1 AMO5103v1 The system by design has a margin of 500 Hz at the midpoint level to compensate for the water level sensor accuracy So if the square wave signal being input to the system is between 39 5 kHz and 40 5 kHz the system will show it as the water level at the midpoint Also if the input to the system is below 30 kHz the system interprets this as no input provided to the system This is to provide for a damaged water level sensor Note The measurement of the water level sensor using the STLED316S device saves the extra of the FP MCU which would otherwise detect the sensor input Water level measurement can be done in parallel with the normal working of the other keys if this function is included in the system In the present system water level is being 16 28 Doc ID 16031 Rev 1 ky UM0756 Using the front panel board 4 3 2 measured along
26. ws Table 2 Connection details for water sensor input to the front panel Pin no Input signal 1 5V0 2 Water sensor output 3 GND The output of the water level sensor is divided by 1024 using a digital counter a 14 stage counter is wired to a 10 bit counter and is used to switch ON OFF the transistor that is connected between the key and segment pins of the STLED316S device When the transistor switches ON the STLED316S device interprets this as a key press and interrupts the FP MCU The MCU reads the STLED316S interrupt and the STLED316S device again prepares to take the other square wave input signal The system measures the square wave output signal every 3 seconds and processes the result to alert the system when the water level changes from the midpoint level When the water level changes from the midpoint level the buzzer in the system starts producing an audible alarm tic tic tic until the water level again reaches the midpoint The user can see the current water level at any time by touching the WSENSOR key of the system As per the level of the water the various messages are displayed on the LED display Figure 12 and 13 Table 3 Table 3 Water level messages Sr no Water level LED display message 1 Lower than midpoint LO 2 At midpoint Doc ID 16031 Rev 1 15 28 Using the front panel board UM0756 Table 3 Water level messages continued Sr no Wa
27. xplained Once the board is connected to the power supply the system is ready to perform operations Figure 1 STEVAL ICBOO3V1 front panel demonstration board CHANNEL VOLUME BRIGH INESS AM05293v1 October 2009 Doc ID 16031 Rev 1 1 28 www st com Contents UM0756 Contents 1 i i Ce 6 2 Getting started desee p Ree RC Roue c RC e 7 2 1 System requirements 7 2 2 Package 7 2 3 Hardware installation 7 2 4 Powering on the system 9 2 5 Default setting of the system 9 3 System operation modes 10 3 1 Normal Tibe iacu reste acp he ded aea ap ee ee ob 10 3 2 Brightness mode 10 3 3 DEMO ModE s Xe exa PET Lee El eE eae 10 OA Standby mode 10 4 Using the front panel board 11 4 1 amp ner dears a antag O beste EE 11 4 1 1 err 11 4 1 2 Mon T 11 4 1 3 Gasse ETT 11 4 1 4 CH DOWN saree See wx Ge Rer E n XA AUS eda S ET Re ee vas 12 4 1 5 MENU BRGH 0 0 00 ccc 12 41 6 Demo Mode bees a Rok eee
28. zzer volume varies greatly with the brightness setting of the digit In the system there is no change in the volume of the buzzer when the brightness is changed using the touch keys or rotary encoder but if the brightness is changed using the potentiometer then the buzzer volume varies Section 4 3 4 4 3 4 Potentiometer The system has an on board potentiometer which can be used to set the brightness level of the LED display With the rotation of the knob of the potentiometer clockwise counter clockwise the value of the resistance connected to the ISET pin of the STLED316S is changed and therefore the current flowing though the LED digits is also changed causing the brightness of the display to vary The variation of the brightness using the potentiometer is a hardware setting and thus it can be changed at any time without entering brightness mode Note The maximum and minimum brightness of the LED display is set by the value of the resistance connected to the ISET pin of the STLED316S device which in turn depends on the potentiometer A minimum value of the ISET resistance is required for the buzzer to work Thus the potentiometer should be set accordingly ky Doc ID 16031 Rev 1 19 28 Connecting an external microcontroller to the demonstration board UM0756 5 Note 20 28 Connecting an external microcontroller to the demonstration board Jumper J3 has been provided on the board for probing the important output signa
Download Pdf Manuals
Related Search
Related Contents
Desa LSL18PT User's Manual Instructor Quick Access Guide BIODIVERSITÉ VCL-E1 (G.703) fiber optic modem - User Manual Frequently Asked Questions AE Remote PV Tie (RPT™) Accessory Kramer Electronics VP-8X4AK video switch Package `Hmisc` - R Copie de NOTICE BALANCE SATRUE N3670 OK Professional Surveillance System User's Manual (For MAC) Copyright © All rights reserved.
Failed to retrieve file