Tips and Tricks

Wireless data transmission between two PIC microcontrollers using low-cost RF modules

A lot of times we need to keep track of data from a device or a sensor located in a remote location from the point where it is processed. This article talks about interfacing low cost RF modules (KST-TX01 and KST-RX806) for transmitting data between two remotely located PIC microcontrollers.

Temperature and Relative Humidity measurements using HSM-20G sensor

HSM-20G is an analog sensor for measuring temperature and relative humidity. Learn how to interface this sensor with Atmega8 or any other microcontroller to measure these two ambient parameters and display them on a LCD.

Using TC74 (Microchip) thermal sensor for temperature measurement

The TC74 chip is a serially accessible, digital temperature sensor from Microchip Technology that acquires and converts temperature information from its onboard solid-state sensor with a resolution of 1°C.This tutorial describes how to use the TC74 sensor with a PIC microcontroller to measure the surrounding temperature.

Using Fixed Voltage Reference (FVR) for A/D conversion in enhanced mid-range PIC microcontrollers

The enhanced mid-range family microcontrollers are equipped with FVR (fixed voltage reference) module that generates a stable reference voltage internally. This tutorial describes how to use the FVR output as the reference for more accurate A/D conversion in PIC microcontrollers.

How to use the DS1868 digital potentiometer with a PIC microcontroller

Digital potentiometers are replacing the traditional electro-mechanical forms in many digital applications. This tutorial describes MAXIM’s DS1868 dual digital potentiometer chip and its interface with a PIC microcontroller.

Expand the input/output capability of your microcontroller with MCP23008

There are a number of ways of expanding the I/O capability of a microcontroller. Use of shift registers can simply expand the output pins but they don’t have input capabilities. MCP23008 provides both input and output using 2-wire serial interface. This tutorial illustrates how to add an 8-bit I/O port to PIC12683 microcontroller.

How to measure relative humidity and temperature with Sensirion’s SHT1x and SHT7x sensors

Relative humidity and temperature are important ambient parameters as they can impact on human comfort. Sensirion’s SHT1x and SHT7x are very popular series of humidity sensors that provide calibrated digital outputs. This tutorial describes how to interface these sensors with PIC microcontroller

Serial LCD using shift register (74HC595)

HD44780 based LCD displays are very popular among hobbyists. They require at least 6 I/O pins of microcontroller to interface. Here, we describe a technique of reducing the required number of pins to 3 using a shift register. This allows you to include a LCD module to your 8-pin microcontroller based projects.

2-wire keypad interface using 555 timer

This article describes a technique of interfacing a keypad to a microcontroller using only two I/O pins. It uses a 555 timer IC configured as an astable multivibrator and pressed key information is retrieved from the frequency of oscillation.

How to measure DC current with microcontroller

Microcontrollers usually don’t have specific ports for measuring currents, but they do have ADC channels through which you can measure analog voltages of a certain range. This tutorial explains a method of measuring DC current through a microcontroller’s ADC channel.

Pages: 1 2

Continue Reading ...

One comment