We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2014/02/23 04:21:06 AM CET
Hello,
I am new to Libstock and the MikroC... I started using it for my senior design project ... my project is about Automatic Irrigation Systems where I use the PIC16877A to control the whole process. I am using the DS18B20 Temperature sensor and the SEN0114 Moisture sensor (http://www.dfrobot.com/wiki/index.php/Moisture_Sensor_(SKU:SEN0114))... There is a problem in the moisture sensor.. it is arduino compatible and I dont know what is arduino... I want some one to help me in creating the the libraries as in how to read and write from the DS18B20 ... also if someone can help me in the SEN0114 problem i would be greatful.
Thanks All,
Hamzah Ghanem
USER Comments
posted on 2014/02/23 03:05:18 PM CET
Mr. Hamzah,
you have to identify if your sensor is digital or analog. DS18B20 is digital sensor. There are examples in mikroelectronica webpage in the book section.
http://www.mikroe.com/chapters/view/17/chapter-4-examples/#c4v14
you don't need extra libraries. compiler already supported it.
Wolf
Do you want to report abuse comment ID: 1048 in "DS18B20 Temperature Sensor with PIC16F877A" request.