Tips and Tricks

The following collection of Tips n Tricks can be applied to a variety of applications to help make the most of the microcontrollers.


spacer

Building wireless sensor applications with DRF4432A and DRF5150S RF modules

DRF5150S and DRF4432S are two complimentary GFSK RF transmitter and receiver modules working in 433 MHz ISM band and are manufactured by Dorji Applied Technology. The presence of a pre-programmed microcontroller on board allows to connect selected analog and digital sensors directly to the DRF5150S module, which collects data from the sensor and sends out to the DRF4432S module at a configurable interval.

spacer

Measure amps with ACS712 current sensor

This tutorial talks about Allegro ACS712 device which works on the principle of Hall-effect and provides an economical and precise way of sensing AC and DC currents.

spacer

Setting up CCS v4 build and debug environment for MSP430 Launchpad

Here’s a step-by-step guide to set up the CCS v4 build and debug environment to get started with the MSP-EXP430G2 experimenter board.

spacer

Connecting multiple tact switches on a single input pin of a microcontroller

Here’s a trick of connecting multiple tact switches on a single input pin of a PIC microcontroller. The input pin must be an ADC channel for this technique to work.

spacer

Use mikroElektronika’s GLCD bitmap editor tool to convert a BMP image in to a data array

This tutorial describes how to use the mikroElektronika’s GLCD bitmap editor tool to convert a monochromatic bit map (BMP) image file into a data array so that it could be displayed on a graphics LCD using a microcontroller.

spacer

Experimenter’s I/O board for rapid prototyping

This article describes a general purpose I/O board that is easy to construct and is very useful for rapid prototyping of microcontroller-based projects. It can be connected to your breadboard circuit through male jumper wires.

spacer

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.

spacer

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.

spacer

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.

spacer

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.

spacer

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.

spacer

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.

spacer

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

spacer

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.

spacer

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.

spacer

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.


gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.