Search Results for: test circuit software

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. The temperature is available as an 8-bit digital word stored in its internal temperature register, which is accessible through a 2-wire I2C compatible serial bus. This tutorial describes how to use the TC74 sensor with a PIC microcontroller to measure the surrounding temperature.

Read more

LM386 based stereo audio amplifier with digital volume control

Due to its simplicity (requires minimum external components) and high availability, LM386 is very popular among hobbyists for use in low-voltage audio amplification applications. Most of the time a potentiometer is used at the input side of LM386 to provide a volume control in the output speaker. The potentiometer does not control the gain of the amplifier itself, but it creates a voltage divider network at the input, which in fact controls the fraction of the audio signal that is fed to the amplifier. This project is about a stereo audio amplifier using two LM386 ICs with digital volume control for both

Read more

Experimenter’s board for enhanced mid-range PIC microcontrollers (PIC16F1827 and PIC16F1847)

The PIC16F628A has always been my first choice for microcontroller-based projects. It is simple, inexpensive, and easily available. Due to its compact size (18 pins) it occupies lesser space on the circuit board, and meanwhile, it is powerful enough to serve most of a hobbyist’s needs. It is a very well accepted successor of the classic PIC16x84, and therefore, the tons of resources available for PIC16x84 on the internet and books can also be used for PIC16F628A. Last month, Microchip Technology Inc. announced the latest addition to its Enhanced Mid-Range core 8-bit PIC® microcontroller (MCU) family by introducing PIC16F(LF)1847. When

Read more

How to make a contact-less digital tachometer using IR-light reflection technique

Tachometer is a device that measures the rotational speed of any shaft or disc. The unit of the measurement is usually revolutions per minute or RPM. The traditional method of measuring RPM of a rotating shaft was based on velocity feedback concept where a dc generator is hooked to the rotating shaft so that the voltage induced across the generator’s terminals is proportional to the speed of the shaft. Today, we are going to make a digital tachometer based on a PIC microcontroller that requires no physical contact with the rotating shaft to measure its rotational speed. The physical contact

Read more

Getting started with PIC18F Microcontrollers

After writing quite a bit of experimental tutorials on PIC16F series of microcontrollers, I thought of moving forward to the enhanced-range family of PIC microcontrollers, the PIC18F, which was introduced by Microchip in late 90s. Although PIC16F series are excellent general purpose microcontrollers, certain limitations have emerged, such as, they have limited program and data memory, their stack size is small, and all the interrupt sources have to share a single interrupt vector. Their limited instruction set also doesn’t provide direct support for more advanced peripherals interfaces like USB and CAN. The basis of the PIC18F Series is to address

Read more
« Older Entries Recent Entries »