Skip to main content

Posts

Showing posts with the label PIC

5.1 channel preamplifier

This project introduces a digitally controlled 5.1 channel audio preamplifier system. This amplifier is specifically designed to increase the gain of the multi-channel PC sound cards. The main reason for building this amplifier is the limited gain received from the ASUS Xonar AE sound card with the Creative Inspire T6300 , 5.1 surround speaker system. Before switching to this soundcard, we had a Creative Sound Blaster Z card which provided good audio output with the above-mention speaker system. The key motivation of building this amplifier is to solve these gaining problems. The assembled 5.1 preamplifier PCB. This preamplifier consists of six TL074 / TL072 preamplifier stages and PT2258 electronic volume control. The input stage of this preamplifier consists of six TL074 / TL072 buffer stages. The PIC16F886 microcontroller manages the PT2258 electronic volume control IC. All the volume levels and menu options are displayed on HD44780 , 16x2 character LCD screen . All the ...

μSim: PICmicro instruction simulator

μSim is a lightweight PIC™ CPU and ALU simulator. This simulator supports the PICmicro mid-range instruction set and designed to work on both PC and Arduino platforms. Compare with most of the other emulators, μSim does not provide all MCU features and peripherals. This simulator design as a minimalistic system, and based on the requirements, it can extend with additional peripherals and features. To accomplish this μSim is written with minimum system dependencies and with less complexity. To avoid resource overflows/overruns the source code is carefully organized with a few functions and data types. μSim setup for Arduino and PIC16F84 MCU. Apart from the instruction decoder, this system simulates 1024 words of flash memory, 68 bytes of SRAM, two 8 bit GPIO ports, and register map similar to PIC16F84 MCU. Some of the common MCU peripherals and features such as interrupts, timers, and UART systems are not integrated into this simulator. The main objective of this project is to prov...

Oscillator Controller for 8bit PIC Microcontrollers

This is oscillator controller for 8bit PIC microcontrollers which is specifically design to debug MCUs and related circuits by without using ICD unit. This unit consists with low speed oscillator and cycle counter with automatic hold. In current version, oscillator is capable to run in 2 frequency modes and it can count up to 4096 cycles in each run. The number of frequency modes can be extend by adding more capacitors and the upper limit of cycle counter can be increase by adding more 12bit counters (and related circuitries) to the system. Oscillator waveform in low frequency mode In current version oscillator can be run in either 66 Hz ~ 70 Hz or 666 Hz ~ 670 Hz ( aprox. ). This frequency can be adjusted by changing the value of C1 or C2 capacitors (e.g: 0.1MFD can generate 6.39 kHz output signal) OR by replacing R1 with some suitable variable resistor. In project package we include sample PIC16F84A based project to test with this system. The recommended test attachment i...

PS/2 Keyboard driven Morse code Generator

This is simple PIC microcontroller base project to generate Morse codes using standard PS/2 keyboard. This project based on Microchip’s PIC16F73 microcontroller and National semiconductor’s LM386 audio power amplifier. Software for PIC microcontroller is written using MikroC and all the source codes, schematic diagrams and other documents are available to download at here . In this project we choose PIC16F73 because of it’s 4KW (KWords) program memory, it is possible to replace this MCU with any suitable MCU which having 4KW (or more) flash memory. (For example Atmel AT89C4051-24SJ with different source code, Microchip PIC16F648 with some minor changes in source code, etc) Audio power amplifier of this project is based on National Semiconductor’s LM386. We choose LM386 because of its lower power consumption and compactness. User may also replace this module with suitable power amplifier (for example Philips TDA7052, TDA8551, National’s LM4906, etc.) PIC16F73 software is develop...

User Programmable Automatic Night Light

In this project we developed user programmable automatic night light using Microchip's 8bit MCU – PIC12F675. In this design user may be able to program and store the time duration of the master light. Compared with other designs this circuit use transformerless power supply, and TRIAC to control the master light. Complete MCU software source code, operating guides and circuit diagram of this project is available to download at here . To get more information about transformerless power supply please refer the Microchip application note AN954 , and ST application note AN438 for MCU and TRIAC interfacing.

Prithvi Development Studio for PIC Microcontrollers

Prithvi Development Studio is my new project to build an IDE for GCBASIC – PIC Programming language. Prithvi is developed using Borland Delphi 7 programming language and currently it supports over 300 PIC Microcontroller devices. This IDE is based on GCBasic, and GPUtils, so users can directly produce hex files from Basic source code without using any 3rd party tools. (e.g: without using Microchip’s MPLAB - ASM). Current version of Prithvi Development Studio supports wide range of PIC 10F, 12x, 16x and 18x devices and Prithvi Development Studio also ship with wide range of GCBasic support libraries such as X10, LCD, ADC, RS232, USART, EEPROM, etc. Current version of Prithvi Development Studio has following features, Source code editor with syntax highlighting Intermediate code (Assembler), Hex code viewer Automatic completion, suggestions and parameter information Installable library system Project manager and source explorer to speed up the development process Inbuilt help viewer To-D...