Si7013USB-DONGLE EVALUATION DONGLE TE M PE R A T U R E A N D H U M I D I T Y S E N S O R S 1. Introduction This user’s guide describes the evaluation GUI and PCB board design for the following evaluation kits: Si7013USB-DONGLE kit for Si7013, Si7020, and Si7021 Si7022-23-EVB kit for Si7022 and Si7023 Si7006-07-EVB kit for Si7006 and Si7007 Si7050/1/3/4/5-EVB kits for Si7050, Si7051, Si7053, Si7054, and Si7055 temperature sensors Si7034-EVB kit The GUI and USB dongle support both PWM output and I2C output devices. 2. Evaluation Kit Descriptions All of the supported evaluation kits contain the following items: Si7013USB-DONGLE evaluation board consisting of one Si7013 sensor as well as USB interface and circuitry for evaluation of the Si7013 with thermistor or other analog input 3-foot flat cable to connect the “postage stamp” boards to the USB dongle USB extender cable Windows graphical user interface software for complete control of the Si70xx sensors Depending on the kit, different postage stamp boards are supplied as well. Si7013USB-Dongle kit has Si7013,Si7020, and Si7021 I2C postage stamp boards. The Si7022-23-EVB kit contains Si7022 and Si7023 PWM output boards. The Si7006-07-EVB kit contains Si7006 and Si7007 low-cost postage stamp boards. The Si7050/1/3/4/5-EVB kits contain the appropriate Si7050, Si7051, Si7053, Si7054, or Si7055 temperature sensor postage stamp. The Si7034 kit contains the Si7034 postage stamp. Using the Si7013 USB-dongle, the Windows GUI will also support “postage stamp” size boards for the Si7005 first-generation temperature and humidity sensor in a 4x4 mm package (Si7005-EB) as well as the Si7015 pin-compatible upgrade of this part (Si7015-EB). The The Windows* GUI will also support the older version Si7005USB-dongle although not all features of the newer parts can be evaluated in this case. *Note: Windows is a registered trademark of Microsoft Corporation in the United States and other countries. Figure 1. Si7013USB-DONGLE Rev. 0.8 3/16 Copyright © 2016 by Silicon Laboratories Si7013USB-DONGLE Si7013USB-DONGLE Figure 2. Si7006, Si7007, Si7013, Si7020/21, Si7022/23, Si7034, and Si705x Evaluation Boards 2 Rev. 0.8 Si7013USB-DONGLE 3. Software Setup It is important that the software be installed before connecting the USB dongle to the PC; this ensures that the software drivers are correctly installed. To set up the software, run the file, setup.exe, from the supplied software installation disk. The Si7013 USB dongle demo platform was developed based on the National Instruments LabView™ platform. To install it, you must accept the National Instruments end-user license agreement shown in Figure 3. Figure 3. National Instruments Software License Agreement Rev. 0.8 3 Si7013USB-DONGLE Continue through the following screens, which track the Graphical User Interface installation. Figure 4. Start Installation Screen 4 Rev. 0.8 Si7013USB-DONGLE Figure 5. Installer Update Screen Rev. 0.8 5 Si7013USB-DONGLE After this screen, you will see the installer for the Si7013 device drivers. Figure 6. Device Drivers Installer Screen 6 Rev. 0.8 Si7013USB-DONGLE 4. Hardware Setup and Software Operation Once the GUI installation is complete, connect the Si7013 USB dongle to your PC. Your PC should automatically recognize the USB dongle and use the newly-installed driver. Next, find the icon for the Si7013 GUI, which should be easily found under recently-installed programs from the start menu, under Programs Silicon Laboratories Si70xx Evaluation Software or at C:\Program Files (x86)\Silicon Laboratories\Si70xx With all the hardware plugged in and once your PC identifies the USB dongle, launch the GUI. The GUI itself is simple to use. Figure 7 shows a screenshot of the GUI. Figure 7. GUI Screen Note: This is the GUI screen when an additional Si7020-EB is used. The appearance will change according to the number of sensors detected. The USB dongle contains one Si7013 relative humidity and temperature sensor and can also support one additional sensor at connector J2. All Si70xx sensor evaluation boards are supported. Note: The "postage stamp" boards are used on this connector with the 3-foot flat flexible cable. To use the cable, carefully lift the darker brown piece of the connector and insert the cable with the metal fingers of the cable facing the metal fingers of the connector then close the connector on the cable (see also figures 1 and 2). If a new postage stamp board is inserted into a powered dongle, click the “INIT” button on the GUI. Rev. 0.8 7 Si7013USB-DONGLE When the GUI is started, it will recognize the sensors that are connected. The INIT button should be pressed if the hardware wasn’t connected or was changed after the GUI was started. The analog output devices, Si7007, Si7022, and Si7023, do not have a device ID capability. Analog output is “advertised” by shorting the SDA pin of the 6-pin connector low. In these cases the GUI reports “analog output” device because it is not possible to know which device is connected. Select temperature units by clicking on the “Select Temperature Units” button.The button will toggle between “Deg C” and “Deg F” indicating the selection of either degrees Celsius or degrees Fahrenheit. In the “Enter Sample Interval (seconds)” number box, the time interval between samples can be entered as any value greater than 0.2 seconds in increments of 0.1 seconds. Depending on the number of devices connected, sample times less than 1 second might not be possible. In this case, the window will turn red and the sample time will be as short as possible. The upper chart by default displays temperature; this can be changed to dew point by clicking on the selection box located directly under the Silicon Labs logo. The temperature and dew point should always be logged regardless of setting. The default Y-axis range on each chart auto-ranges. If desired, the auto-ranging can be turned off and the upper and lower limits for the charts can be set by clicking on the appropriate box. The same configuration changes can be made to the X-axis. If a log of the data is desired, click “START” inside the “Log Data to File” box to begin collecting data. If “Create Log File?” is enabled, a dialog box will appear requesting a file name and save location. The time base of the log file can be chosen to be absolute date and time or relative time in seconds. To stop data collection, click “STOP”. To exit the GUI click “QUIT”. If an Si7005 or Si7015 evaluation board is connected, the GUI automatically adjusts for the temperature and non-linearity effect of the RH sensor. (This is not required for the other sensors as this is done internally to the part). The data logged to file is saved in comma separated value (csv) format, which can be easily opened in a spreadsheet application such as Microsoft Excel, as shown in Figure 8. Figure 8. Logged Data Displayed in Excel with Absolute Date and Time Base 8 Rev. 0.8 Si7013USB-DONGLE 4.1. Configuration Screen The configuration screen displays the configuration settings for the device that is connected. Figure 9. Configuration Screen For Si7013, this includes: The device ID information (an 8-byte identification that is unique to each device) Configuration and enable settings for the on-chip heater. While the on-chip heater can go as high as 94 mA, the GUI only supports 39 mA maximum to avoid drawing too much power from the USB port. Conversion speed settings for the RH and temperature sensor Control of the voltage conversion settings (Si7013 user register 2) An option to disable the Si7013 on the USB dongle is included for the case where the device connected to J2 is of more interest. Rev. 0.8 9 Si7013USB-DONGLE 4.2. Voltage Measurement Screen The voltage measurement screen configures the lookup table based on linearization of analog measurements for Si7013. This is discussed in more detail in the Si7013 data sheet and also in AN607. Figure 10. Voltage Measurement Screen The graph and output window in the upper section of this page shows the measurement result. The graph can be configured as in the previous discussion of graphs on the main page. By default, the linearization is configured to support the NCP18XH103F03RB thermistor with 24.3 k bias resistors supplied on the evaluation board. The lookup table is chosen so that the linearization results in an output code that is linear with temperature and scaled in the same way as the temperature sensor internal to the Si7013. If the linearization coefficients have not been written to the Si7013 part the lookup table entries are applied by GUI and the resultant linearized (temperature) output can be graphed on the main page. In this case coefficients can be modified to try different lookup tables. Prior to writing the coefficients to the Si7013, coefficients in the GUI entry boxes can be saved and later loaded. (They are saved to the file Si7013.ini in directory where the GUI executable is located). the the the the Clicking the Program coefficients button writes the coefficients to the part. This is a one-time process. After doing the write, close the GUI and cycle power. After doing this, the internal correction can be enabled on the configuration screen (lower right) and when enabled the corrected data will be displayed on the measurement screen as well as the main screen (if enabled). 10 Rev. 0.8 Si7013USB-DONGLE 4.3. Calculation of Dew Point Value The Si7013 measures both temperature (T) and relative humidity (RH). These two values can be used to approximate the dew point (Td). b T,RH T d = ------------------------------a – T,RH Where RH- aT - + ln -------- T,RH = ----------- 100 b+T a = 17.625 b = 243.04 The calculation used is based on the August-Roche-Magnus approximation for the saturation vapor pressure of water in air as a function of temperature, it is considered valid for: 0 °C < T < 60 °C 1% < RH < 100% 0 °C < Td < 50 °C Rev. 0.8 11 Si7013USB-DONGLE 5. Si7013 USB Dongle Description The USB dongle facilitates communication between the Si7013 and the optional postage stamp size evaluation board and a PC. This function is enabled by the Silicon Laboratories' C8051F381 microcontroller. The optional postage stamp board is connected to connector J2 by a 6 wire flat flexible cable. The pin connections for connector J2 are shown in Figure 10. A full circuit diagram of the board is shown in Figure 11. VDD CS/ Analog 6 5 4 3 USB DONGLE RIBBON CONNECTOR GND SDA 1 2 Si70xx EB RIBBON CONNECTOR 3 4 2 GND 5 1 SCL 6 Figure 11. Ribbon Cable Pin Assignments 5.1. Si7013 USB Dongle Schematic The Si7013 USB-DONGLE is a simple board that contains a Si7013 relative humidity and temperature sensor, a C8051F381 USB microcontroller, a USB type A connector, and an auxiliary connector for connection to a second sensor. There is also support for a thermistor or other analog input. The thermistor and bias circuitry is connected by J3, J4, and J5 which are small solder bridges. To disconnect the thermistor and use the analog input directly (TP6 and TP7), simply use a soldering iron to remove the solder bridges on J3 and J4. Solder wick may aid in removing the bridge, but is usually not required. 12 Rev. 0.8 +V DD+ GND 1 2 3 4 C5 0.1uF D1 SP0503BAHT Rev. 0.8 C7 0.1uF RESETn +3V3 C6 4.7uF 1K GND C2CK C2D J1 R11 R10 10K 9 10 5 4 RST/C2CK P3.0/C2D DD+ 7 8 REGIN VBUS 6 VDD 18 17 16 15 14 13 12 11 26 25 24 23 22 21 20 19 2 1 32 31 30 29 28 27 SDA R6 332 D2 AMBER SCL R2 10K TPV6 TPV5 R3 2K SCL SDA SCL2 SDA2 VINP VINN VSNS ADD/VOUT RST2 R4 2K Si7013 10 1 U1 C8 0.1uF 5 2 6 7 0 0 R8 R9 0 0 R7 R5 R17 0 TPV7 Figure 12. USB Dongle Circuit Schematic P2.0 P2.1 P2.2 P2.3 P2.4 P2.5 P2.6 P2.7 P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 C8051F381 U2 R1 10K 8 9 VDDA VDDD GNDD GNDA GND 3 4 EPAD P1 USB TYPE A SH SH 6 5 C2 0.1uF GND 3 C1 4.7uF NC TP3 SDA SCL TP4 CS TP1 VDD VINN/remote thermistor TP6 J4 NC J3 TP7 VINP/remote thermistor TP2 GND TP5 6 5 4 3 2 1 C3 0.1uF C4 0.1uF FH12 J2 6 5 4 3 2 1 R12 24.3K J5 NC R14 10K R13 24.3K thermistor interface Si7013USB-DONGLE 13 -t° Si7013USB-DONGLE 5.2. Si7013 USB Dongle Board Layers Figure 13. Si7013 Dongle Board Layout Top Layer Figure 14. Si7013 Dongle Board Layout Bottom Layer Note from Figures 15 and 16 that there is no ground plane around the Si7013 and that there is a cutout in the PCB between the Si7013 and other circuitry. While these are not requirements for successful operation of the Si7013, they do (in the case of the dongle board) provide thermal isolation from heat sources, such as the host PC and MCU circuitry. There is also a second thermal cutout to provide isolation between the thermistor and Si7013. 5.3. Si7013 USB Dongle Board Firmware For board firmware revisions less than 3, when using the Si7013 dongle board at the end of the USB extension cable, there will be approximately 0.8 °C of heating from the USB MCU despite the use of the thermal cutouts. This amount of heating will reduce the local humidity in the vicinity of the Si7013 by as much as 4% (the error linearly increases from zero to 4% as the ambient humidity increases from zero to 100%). For more accurate determination of the humidity, the optional “postage stamp” size evaluation boards can be used. For board revision 3 or greater, the heating has been reduced to about 0.2 °C and can usually be ignored. Firmware revision 3 is required for the analog output boards. If the MCU senses SDA is tied low it assumes the board is analog output. Boards with firmware revision 3 or higher have a sticker to indicate this. An easy way to be sure of the board firmware revision is that the LED is constantly on after the GUI recognizes the board for older firmware revisions but only blinks when there is USB activity for newer firmware revisions. 14 Rev. 0.8 Si7013USB-DONGLE 6. Optional “Postage Stamp” Evaluation Boards 6.1. Si7013 EB Schematic R12 24.3K J5 NC R14 10K R13 24.3K thermistor interface The evaluation board is a simple board containing just the Si7013 sensor, decoupling capacitors, thermistor interface, and a ribbon connector for connection to the USB dongle board. Figure 15. Si7013 EB Schematic TP6 VINN/remote thermistor J4 NC C3 0.1uF NC J3 2 TPV4 TPV6 Si7013 FH12 1 2 3 4 5 6 1 2 3 4 5 6 J1 SDA SCL 10 C1 4.7uF C2 0.1uF TPV5 ADD/VOUT VINP VINN 5 VSNS VDDA VDDD 1 GNDD GNDA GND 8 9 U1 3 4 EPAD TPV3 6 7 R17 0 TPV7 TP7 VINP/remote thermistor C4 0.1uF -t° Rev. 0.8 15 Si7013USB-DONGLE 6.2. Si7006, Si7020/21, or Si7050/1/3/4/5 EB Schematic Figure 16. Si7006, Si7020/21, or Si7050/1/3/4/5 EB Schematic 739 1& 1& 739 739 739 The evaluation board is a simple board containing just the Si7006/20/21/50/51/3/4 or Si7055, decoupling capacitors and a ribbon connector for connection to the USB dongle board. The populated part number is indicated by a check box on the silkscreen on the top of the PCB. 739 Rev. 0.8 )+ - & X) & X) 739 9'' 6&/ 6'$ *1' 8 6L6L RU6L 16 Si7013USB-DONGLE 6.3. Si7005/15 EB Schematic *1' '1& '1& 6'$ '1& & X) & 6&/ '1& X) '1& )+ - Figure 17. Si7005/15 EB Schematic '1& '1& &6 '1& '1& '1& '1& 8 6L 9'' &H[W '1& '1& *1' *1' '1& *1' '1& The evaluation board is a simple board containing just the Si7005 or Si7015 sensor, decoupling capacitors and a ribbon connector for connection to the USB dongle board. The part number is populated and indicated by a check box. Rev. 0.8 17 (3$' Si7013USB-DONGLE 6.4. Si7007, Si7022, and Si7023 EVB Schematic These evaluation boards contain the Si7007, Si7022 or Si7023 PWM output parts. An RC filter is included to convert the PWM output to an analog voltage referenced to VDD. The MCU on the Si7013 USB dongle digitizes the analog voltage using an A/D converter that has VDD as a reference which allows accurate determination of the PWM output value. 739 6L6L 8 - & X) 739 739 Grounding this pin identifies the board as analog. 73 3:0QRUPDO 73 - - 1& 12 73 3:0RSSRVLWH . 5 & X) 5 & X) Figure 18. Si7007, Si7022, and Si7023 EVB Schematic 18 739 )+ *1' 1& 3:0 6HOHFW 3:0 *1' & X) 9'' RU6L Rev. 0.8 . Si7013USB-DONGLE 6.5. Si7034 EVB Schematic The Si7034 evaluation board has a 3.3 to 1.8 V LDO for the Si7034, decoupling capacitors, and a ribbon connector for connection to the USB dongle board. No I2C level translation is required because the Si7034 I2C inputs are 3.3 V tolerant. TPS79718 IN VOUT 5 1 U2 4 3 2 1 2 4 C1 4.7uF J1 1 2 3 4 5 6 SCL NC SDA NC C2 0.1uF 3 TPV1 TPV2 5 1 2 3 4 5 6 6 VSS C3 4.7uF TPV3 VDD U1 Si7034 VDD NC GND PG TPV4 GND TPV5 SDA TPV6 SCL FH12 Figure 19. Si7034 Schematic Rev. 0.8 19 Si7013USB-DONGLE 7. Additional Reference Resources Si7005/6/7/13/15/20/21/22/23/34/50/53/54/55 data sheets AN607: Si70xx Humidity Sensor Designer’s Guide 8. GUI Revision Notes As explained in section “5. Si7013 USB Dongle Description”, firmware Revision 3 of the USB adapter board reduces self-heating of the USB board. GUI Revision 3.3.0 Corrects a minor problem in the data logging which resulted in small output fluctuations that were not “real.” support for disabling the device in the USB dongle. Improves the timing accuracy for the sampling interval. Adds support for other heater current settings for Si7020 and Si7021. Allows removal of individual graphs by clicking the green radar button for that graph. Adds GUI Revision 4.0 Adds 20 support for the Si705x temperature sensors. GUI revision 4.0 also includes support for the Si7034. Rev. 0.8 Si7013USB-DONGLE DOCUMENT CHANGE LIST Revision 0.1 to Revision 0.2 Updated "2. Evaluation Kit Descriptions" on page 1. Added Si7020-EB “postage stamp” size evaluation board for the Si7020. Revision 0.2 to Revision 0.4 Updated "4. Hardware Setup and Software Operation" on page 7. Updated Figure 7, “GUI Screen,” on page 7. Updated "4.1. Configuration Screen" on page 9. Updated Figure 9, “Configuration Screen,” on page 9. Updated Figure 10, “Voltage Measurement Screen,” on page 10. Updated "5.2. Si7013 USB Dongle Board Layers" on page 14. Added "8. GUI Revision Notes" on page 20. Revision 0.4 to Revision 0.5 Updated "1. Introduction" on page 1. Updated "2. Evaluation Kit Descriptions" on page 1. Updated "3. Software Setup" on page 3. Updated "4. Hardware Setup and Software Operation" on page 7. Updated "5. Si7013 USB Dongle Description" on page 12. Updated "5.2. Si7013 USB Dongle Board Layers" on page 14. Updated "6.2. Si7006, Si7020/21, or Si7050/3/4/5 EB Schematic" on page 16. Added "6.4. Si7007, Si7022, and Si7023 EVB Schematic" on page 18. Revision 0.5 to Revision 0.6 Added support for the Si705x temperature sensors. Revision 0.6 to Revision 0.7 Added support for Si7034. Revision 0.7 to Revision 0.8 March 14, 2016 Added Si7051. Rev. 0.8 21 Smart. Connected. Energy-Friendly. Products Quality Support and Community www.silabs.com/products www.silabs.com/quality community.silabs.com Disclaimer Silicon Laboratories intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Laboratories products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Laboratories reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Laboratories shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Laboratories. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Laboratories products are not designed or authorized for military applications. Silicon Laboratories products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc.® , Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clockbuilder®, CMEMS®, DSPLL®, EFM®, EFM32®, EFR, Ember®, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZRadio®, EZRadioPRO®, Gecko®, ISOmodem®, Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress® and others are trademarks or registered trademarks of Silicon Laboratories Inc. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com