Projects

PIC18F452 LED Blinking

PIC18F452 LED Blinking Code and Proteus Simulation

This post provides the LED blinking code (compiled in MPLAB + HI-TECH C) for PIC18F452. Complete project code and the proteus simulation can be downloaded from the Downloads section at the bottom of this post. The following diagram shows the required circuit. In this project a crystal of 10MHz is used with PIC18F452. This crystal frequency is fed […]

PICKit 2 and ICSP

Ultra-easy use of 64-pin TQFP PIC18F6620 using TQFP-to-DIP PCB from VOTI

A while ago I purchased a batch of 18F6620 TQFP PIC Microcontrollers at a ridiculously low price. The barrier to use of TQFP packages is, of course mounting these SMD packages effectively alongside the ‘normal’ components enthusiasts tend to use. At the time I set about and designed a header, and test motherboard for these […]

A Minimal USB CDC ACM aka Virtual Serial Port

A Minimal USB CDC ACM aka Virtual Serial Port

This page introduces a minimal firmware that implements a USB Virtual Serial Port for Microchip PIC18F4550 processor. The code has been optimized to use minimal amout of memory (both Flash and RAM) and tuned to work well with the Free SDCC C-compiler. The code size is less than 2500 bytes and it requires about 230 […]

VCR Pong

pic12f675 Microcontroller 8-PIN PONG

This project is based on ideas from Rickard’s electronic projects page and David B. Thomas VCR Pong. However, I have developed the simplicity even further, eliminating most of the external components. Using microcontrollers with internal 4MHz clock generator there is no need for the xtal. The 12f675 part also operates on wide voltage range, and […]

Using Microcontrollers Microchip PIC

Using Microcontrollers ( Microchip PIC)

Many people using Arduino or some other development board in their projects, instead of making their own board with microcontroller because they simply don’t know how to design PCB with microcontrollers. What microcontrollers need in order to operate? This time I will be focusing on two most popular 8 bit micro architectures: PIC Microchip . […]

LED Tester

Quick & Easy RGB-LED Tester using PIC16F627 microcontroller

Quick & Easy RGB-LED Tester Have you ever built a project with a lot of LEDs, and found out that one of the LEDs was defective? Although it’s somewhat rare, there are some defective LEDs when you go through hundreds of them. I found that RGB-LED have high defect rate, most likely due to the […]

Pitch Wheel inside

MIDI Chord Button Keyboard Using PIC18F4620 part 2

How chords are formed Before discussing the processor board and software, it is worth mentioning how the chords are composed. I have provided the table below which shows the installed chords together with the intervals/notes they are constructed from, and examples of each in the key of C major. Since the source-code is provided, and […]

Hexpad and processor board

MIDI Chord Button Keyboard Using PIC18f4620 part 1

Every time I sit down to document one of my projects, I try to remember the occasions in the past when looking at the finished web page, I might say ‘Well, I won’t do that again!’, because despite how many drafts I’ve gone through, there is always some aspect of the presentation that fails to […]

Isolated RS232C

Isolated RS232C for PIC16F84

Another method that helps program development besides a dot LED as the output device is a serial bit. With a serial transmission to a terminal emulator program, developer may then test program running easier than a dot LED. One of my circuit uses PIC16F84 having one bit for sending ascii character with “printf” function. The […]