Multi-channel temperature logger

This project describes how to use all the 8 ADC channels of an Atmega48 microcontroller to read temperature sensors and the measured data to a PC for logging by using the built-in USART capabilities of the chip. For demonstration, the temperature sensor used is LM335 that gives an output voltage proportional to the Kelvin temperature. The microcontroller is operated with a 9.21 MHz clock that works well for serial communication at 19200 baud. The software running on the PC is written in Python that keeps looking at the serial port and receives the incoming data.

Read more

VGA display using PIC Micro

VGA stands for Video Graphics Array, which is a widely used analog interface between a computer and monitor that uses a 15-pin plug and socket. The VGA display requires accurate timing signals and synchronization. The goal of this project is to generate VGA signals using a PIC microcontroller to display characters, text and figures on a computer monitor. It uses a PIC18F452 microcontroller running at 4 MHz external crystal to generate accurate timing signals to drive VGA pins. The software is written in assembly so that timing signals will be more accurate. The author also provides a brief introduction of

Read more

Turn your TV into a Digital Voltmeter

This is an interesting voltmeter project that display the measured voltage on a TV screen, in giant digits as well as with analog bar. It also records the maximum and minimum values of measurements. The project was built by Alberto Ricci Bitti and was published in the May 1999 issue of Elektor Electonics.

Read more

A brief tutorial on frequency measurements

Measuring the frequency of a signal may seem to be a simple process of counting pulses, but in order to get better accuracy, few other things should be considered, such as the gating interval and the range of measurement. This tutorial, posted on the pcbheaven.com, briefly describes two typical methods of frequency measurement: Direct Frequency Measuring (DFM) and the Reverse Frequency Measuring (RFM), with their pros and cons. The shape of the incoming signal may be distorted and of varying amplitude. Therefore, some sort of signal conditioning along with a voltage limiter is required prior to the frequency counter circuit.

Read more

Lab 7: PIC Timers and Counters (Part 1)

Description PIC microcontrollers are equipped with one or more precision timing systems known as Timers. They can be used to perform a variety of time precision functions, such as generating events at specific times, measuring the duration of an event, keeping date and time record, counting events, etc. The main component of a timer module is a free running binary counter that increments for each incoming pulse. Since it runs independently, it can count pulses concurrently with the main program execution. A PIC16F688 microcontroller has two built-in hardware timer modules: Timer0 and Timer1. Today’s lab lesson will explore the functionality

Read more
« Older Entries Recent Entries »