
I2c_1wire_bridge.hex is a compiled firmware code. Also, this source file contains utility functions to help detection of the PIC Tibbit presence in the specified slot and determining which model it is and which version of firmware it runs.
ONE WIRE LIBRARY UPGRADE
The firmware upgrade can be initiated by pressing the "MD" button on the TPS and this action can be performed at any time when the application is running. Firmware uploading must be done once after which the firmware will reside in the PIC program memory, even if the power is switched off. PIC_LVP.tbs/PIC_LVP.tbh are complementary files, containing functions and procedures which are used to aid in uploading firmware into the PIC Tibbit memory. Add this files to your project this is an essential component of the library. There are separate components inside of this application:ġ-wire.tbs/1-wire.tbh contains 1-wire related functions and procedures.
ONE WIRE LIBRARY INSTALL
Pins 6 and 7 is direct I/O lines which are not used in this application.ĭepending on how many of sensors you plan to connect to the bus, you may need to install pull-up resistor (120 Ohm) between +5VDC and signal wire, but for about of 8-10 sensors, this step is not necessary. Pins 1, 2 and 3 are three independent 1-wire / single-wire channels, pins 5 and 9 is a system ground, and pin 8 is +5VDC. Pins on the Tibbit #20 counted from left to right. Tibbit #20 allows you to take both +5VDC and Ground right near

This layout is very handy when you plan to power sensors from the internal power source. Optionally, one Tibbit #18 (power jack).Optionally, one Tibbit #9 or #10 (12V->5V regulator).Optionally, one Tibbit #00-3 (5V and Ground).

The library contains a PIC firmware which must be uploaded to the PIC memory to correctly operate as a 1-wire decoder.īasic knowledge of 1-wire protocol internals and electrical characteristics is strongly recommended. The included 1-wire library is intended to be used as a transparent bridge between PIC Tibbit (#31) and 1-wire bus. This demo project was designed to discover and poll widely used DS18B20 digital thermometers, manufactured by Maxim Integrated and other single-wire temperature / humidity sensors such as DHT11, DHT22, etc. Test Application for 1-Wire Sensors Release Date:
