データシートサーチシステム |
|
SI7013EVB-UDP-F960 データシート(PDF) 6 Page - Silicon Laboratories |
|
SI7013EVB-UDP-F960 データシート(HTML) 6 Page - Silicon Laboratories |
6 / 24 page Si7013EVB-UDP Si7013EVB-UDP-F960 6 Rev. 0.2 6. Double-click on the “Install_Si70xx.bat” file in the project folder. This opens a command window and downloads the pre-built image file (UDP_Demo_Si70xx.hex) to the MCU card. 7. If the command window says “Could not connect with the board. Unknown device.,” then the MCU may be in sleep mode. The flash utility cannot talk to the MCU while it is sleeping. You must pause the MCU before running the batch file. Turn off the MCU board (VBAT SEL to UDP), press and hold SW4, and then turn on the MCU board (VBAT SEL to VREG). The LCD displays “PAUSED”. While continuing to hold SW4, double-click on the “Install_Si70xx.bat” file. When the command window says “Press any key to continue”, then release SW4. 8. The download is complete when the command window says “Press any key to continue”. Press any key to close the command window. The demo software displays temperature and humidity on the LCD. The LCD is updated twice a second with new temperature and humidity readings. If you prefer the temperature to be displayed in Fahrenheit, then press the SW1 button. The demo software is now installed on the MCU card and the USB Debug Adapter is no longer needed. Disconnect the USB Debug Adapter from the debug connector on the MCU card. 3.1.2. Source Code for the Demo Software The source code for the demo software consists of eight components: Main Sensor Power Management Real Time Clock Tick Counter Port Match LCD Driver I2C Driver 3.1.2.1. Main The Main component is the entry point for the demo software and it calls routines in the other components to implement the application. The Main component is implemented in a single file: Main.c The demo software is written to have the longest battery life possible. The demo software uses the internal low-power oscillator and it puts the MCU into the lowest power mode (sleep) between sensor reads. The main() routine begins by initializing the MCU and the other components. It then configures a real time clock (RTC) alarm to wake up the MCU twice a second. The Power Manager is configured to wake up when an RTC alarm occurs or when a port match occurs. The main() routine then enters an infinite loop where it alternates between sleeping the MCU, and reading and displaying the temperature and humidity. 3.1.2.2. Sensor The Sensor component provides routines for reading temperature and humidity from an Si7013 device and is implemented in a single file: Sensor_Si70xx.c The Sensor component provides the following routines: Sensor_ReadTemperature(), Sensor_ReadThermistor(), and Sensor_ReadHumidity(). These routines call the Sensor_Measure() routine to take a measurement and return the value from the Si7013’s data register. The Sensor_ReadTemperature() and Sensor_ReadThermistor() routines convert the returned value to deci-degrees Celsius. The Sensor_ReadHumidity() routine converts the returned value to deci-percent relative humidity. The Sensor component also provides the Sensor_Sleep() and Sensor_WakeUp() routines. These routines are not needed by the Si7013 because the Si7013 automatically sleeps between commands. The demo software does not use floating point numbers because the floating point library is large and slow. The |
同様の部品番号 - SI7013EVB-UDP-F960 |
|
同様の説明 - SI7013EVB-UDP-F960 |
|
|
リンク URL |
プライバシーポリシー |
ALLDATASHEET.JP |
ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | リンク交換 | メーカーリスト All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |