Difference: Lecture8:DHT11TemperatureAndHumiditySensor (3 vs. 4)

Revision 42017-10-26 - uli

Line: 1 to 1
 
META TOPICPARENT name="LectureSlides"

Start Presentation

Slide 1: DHT11 Temperature and Humidity Sensor

Line: 16 to 16
 

DHT11 pinout

Changed:
<
<
The DHT11 has only
3 pins:

  • Vcc
  • Ground
  • one data pin
dht11.png
>
>
The DHT11 has only
3 pins:

  • Vcc
  • Ground
  • one data pin

Be careful:
The pinout of the DHT11 in our sensor kit
is different from the one shown on the photo!

The PCB layout of the PCB board in my
sensor kit is different!

dht11.png
 

Serial Protocol

Line: 215 to 215
 shareLib.png

Added:
>
>

Where is the include file, where the binary of the shared lib?

I installed the include file in /opt/ucc/include

and the library in /opt/ucc/lib.

These are non-standard directories and must be declared in the Makefile

-I /opt/ucc/include for the include file in CFLAGS

-L /opt/ucc/lib for the library path

Since the shared library is loaded separately when running the

main program, it must be found by the system:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ucc/lib

 

Documentation

When writing a library that is supposed to be used by other people,

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback