PIC microcontroller based audio spectrum analyzer

This project introduces a real-time audio spectrum analyzer based on a PIC18F4550 microcontroller. The spectrum frequency analysis is done with a 16-bit Fast Fourier Transformation (FFT) routine coded in C. It uses a 128×64 GLCD to display the FFT waveform of a live audio signal. “In order to perform a FFT calculation on an audio signal it is necessary to prepare the audio so the PIC18F4550 can sample the signal. The PIC18F4550 provides several analogue to digital converters (ADCs) which can be used to measure a voltage from 0V to 5V with 10-bit accuracy (0-1023). A typical audio line-out signal

Read more

Programmable digital timer switch using a PIC Microcontroller

Digital timer switches are used to control the operation of electrical devices based on a programmed schedule. This project describes a programmable digital timer based on the PIC16F628A microcontroller that can be programmed to schedule the on and off operation of an electrical appliance. The appliance is controlled through a relay switch. This timer switch allows you to set both on and off time. That means, you can program when do you want to turn the device on and for how long you want it to be remained on. The maximum time interval that you can set for on and

Read more

Lab 9: Pulse Width Modulation (PWM) using PIC CCP module

Description Pulse width modulation (PWM) is a technique of controlling the amount of power delivered to an electronic load using an on-off digital signal. The fraction of the period for which the signal is on is known as the duty cycle. The average DC value of the signal can be varied by varying the duty cycle. The duty cycle can be anywhere between 0 (signal is always off) to 1 (signal is constantly on). Suppose, if the signal has +5 V while it is on and 0 V during off condition, then by changing the duty cycle of the signal,

Read more

Regulated power supply for embedded systems

Power is an important aspect of all embedded systems. Nothing works without electric power. Depending upon the type of applications, several options for power are available. For example, if the system doesn’t need to be portable, it can be powered directly from the wall source using AC adaptors. AC adaptors are cheap and easily available at any electronics store. They are used to power a bunch of electronics gadgets at home, like radios, answering machines, wireless routers, etc. They also come with mobile phones as chargers. They convert the high voltage AC in the wall socket to low voltage DC

Read more

Looking for expanding RAM for your Atmega128?

An Atmega128 microcontroller has got 4K of built in static RAM, which is pretty enough for small and medium range projects that do not involve huge amount of data processing. But if you think you need more than that for your application, you can expand it by adding an external RAM chip. This article shows how you can expand the RAM capacity of Atmega128 up to 64K.

Read more
« Older Entries Recent Entries »