Moteur de recherche de fiches techniques de composants électroniques |
|
SI7013EVB-UDP Fiches technique(PDF) 8 Page - Silicon Laboratories |
|
SI7013EVB-UDP Fiches technique(HTML) 8 Page - Silicon Laboratories |
8 / 24 page Si7013EVB-UDP Si7013EVB-UDP-F960 8 Rev. 0.2 3.1.2.7. LCD Driver The LCD driver contains routines for displaying characters, strings, and numbers on the LCD. The LCD driver is implemented in four files: lcdConfig.c lcdPutChar.c lcdPutString.c lcdPutNumber.c The LCD driver provides the routines lcdPutChar(), lcdPutString() and lcdPutNumber() for displaying characters, strings and numbers on the LCD. The lcdPutNumber.c file also contains the routines lcdPutTemperature() and lcdPutHumidity() for displaying temperature and humidity on the LCD. The demo software does not use the printf() routine, because the printf() routine is very large and slow. Instead, the lcdPutHumidity() and lcdPutTemperature() routines use the lcdPutNumber() routine, which is much smaller and quicker. The lcdPutTemperature() routine formats the temperature such that it is displayed with the greatest possible resolution. 3.1.2.8. I2C Driver The I2C driver provides routines for reading and writing registers on an I2C slave device. The I2C driver is implemented in a single file called I2C.c. The I2C_ReadByte() routine and the I2C_WriteByte() routine read and write 8-bit registers on an I2C slave device. The demo software uses these routines to access most registers on the Si7013. The I2C_ReadData() routine and I2C_WriteData() routine perform multi-byte reads and writes from an I2C slave device. The demo software uses the I2C_ReadByte() routine to read the 16-bit Data register on the Si7013. The Si7013 daughter card has two I2C buses. The first bus is connected to the onboard Si7013 device. The second bus is connected to the flat flexible cable (FFC) connector (J2) on the side of the board. A second Si7013 device can be attached to the FFC connector. The “Bus” parameter in each of the I2C routines selects which bus to use (I2C_BUS_1 or I2C_BUS_2). 3.2. Data Logger The Si70xx Data Logger demonstrates how the C8051F960 microcontroller unit (MCU) and the Si7013 sensor can be used to record temperature and humidity over an extended period of time. This project includes Data Logger firmware that runs on a C8051F960/Si1020 MCU card (UPMP-F960-MLCD) and a Data Logger application that runs on a PC. The Data Logger firmware reads the temperature and humidity from an Si7013 port header card (Si7013EB-UDP), which is plugged into the MCU card, and stores the samples in the MCU's flash memory. The flash memory can store up to 8192 samples. The Data Logger application displays the samples on a graph. 3.2.1. Installing the Data Logger There are three steps to installing the Data Logger: 1. Install the Data Logger firmware on the MCU card. 2. Install CP210x drivers on the PC. 3. Install the Data Logger application on the PC. 3.2.1.1. Installing the Data Logger Firmware The “Si7013 UDP F960 Evaluation Board Documentation and Software” CD contains the source code for the Data Logger firmware. However, you do not need to build the Data Logger firmware, because the CD also contains a pre-built image file and a batch file to download the image file to the MCU card. 1. Plug the Si7013 port header card on to J11 of the MCU card. The Silicon Labs logo on the port header card faces the battery on the MCU card. 2. Connect the USB Debug Adapter to a USB port on the PC and connect the USB Debug Adapter to the debug connector (J13) on the MCU card. 3. Connect the power supply to the MCU board (P1). 4. Table 3 lists the correct MCU card switch settings: |
Numéro de pièce similaire - SI7013EVB-UDP |
|
Description similaire - SI7013EVB-UDP |
|
|
Lien URL |
Politique de confidentialité |
ALLDATASHEET.FR |
ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Echange de liens | Fabricants 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 |