New module are available, for Sensirion (temperature / humidity) sensor, SHTxx family.
Test board : BIGPIC4, MCU PIC18F8520, LCD 2X16, SHT11 sensor connected on PORTC.
4.7 K pull up resistor on Data Pin is necessary .
Available functions :
Code: Select all
Sub Sensirion_Init(ByRef Port.(Data Pin) As Bit, ByRef Port.(Clock pin) As Bit)
Sub Sensirion_Init_(ByRef Port As Byte, Data Pin, Clock Pin As Byte)
Function Sensirion_Get_Temp_Hum(ByRef temperature, humidity As Float) As Boolean
Function Sensirion_Get_Dew_Point(ByRef temperature, humidity As Float) As Float
You can download source code from : http://www.microelemente.ro/Swordfish/Sensirion.zip
Next project, available in few days, will be UDP Bootloader with ENC28J60.