Normally one input switch requires one digital input pin of a microcontroller. Use of keypad style multiplexing saves some input pins while interfacing an array of switches. There exist another technique based on ADC channel that allows to connect multiple switches on a single input pin of a microcontroller. This tutorial from Embedded Lab demonstrates this as applied to PIC12F683 microcontroller.
|
|
Friday, January 20, 2012
DHT11 sensor protocol and its interface with PIC microcontroller
DHT11 is the most inexpensive calibrated digital sensor currently available in the market for measuring relative humidity and temperature together. However, it has got its own proprietary 1-wire protocol which makes it little challenging to interface with microcontrollers. Raj from Embedded Lab shows how to implement this protocol in the firmware of PIC microcontroller so that the temperature and relative humidity information can be retrieved from the sensor.
Subscribe to:
Posts (Atom)

