Interfacing(USB – RS232 – I2c -ISP) Projects

Central Heating Programmer

Enhanced 5/2-day Central Heating Programmer with serial computer interface using PIC16F628A

Overview This project has come about from my desire to control my home heating from work.  As I have a VPN between work and home a straightforward relay controlled from a PC would seem the easiest solution.  However I also wanted a control unit that I could operate in the house without resorting to the […]

Enhanced 5/2-day Central Heating Programmer with serial computer interface using PIC16F628A Read More »

PIC16F84A LCD interfacing

PIC16F84A LCD interfacing code (using 3 pins only) + Proteus simulation

This post provides the LCD[1] interfacing code using only 3 pins of PIC16F84A microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of this page. It is assumed that you know how to make an LED blink with PIC16F84A microcontroller. If you

PIC16F84A LCD interfacing code (using 3 pins only) + Proteus simulation Read More »

Interfacing the AT keyboard.

Interfacing the AT keyboard.

PC Keyboard Theory The IBM keyboard you most probably have sitting in front of you, sends scan codes to your computer. The scan codes tell your Keyboard Bios, what keys you have pressed or released. Take for example the ‘A’ Key. The ‘A’ key has a scan code of 1C (hex). When you press the

Interfacing the AT keyboard. Read More »

Open Source Framework for USB Generic HID devices based on the PIC18F and Windows

Open Source Framework for USB Generic HID devices based on the PIC18F and Windows

Introduction If you’ve dabbled with PIC18F microcontrollers and the USB Generic HID standard before (perhaps you’ve even tried my Building a PIC18F USB device project) then you will have noticed that there is a lot of complexity in supporting USB on both the PIC18F and the Windows host-side of things. Getting beyond the basic steps of

Open Source Framework for USB Generic HID devices based on the PIC18F and Windows Read More »

pic and Led

PIC16F84 Fundamentals

The photo shows a PIC16F84 microprocessor board tethered, by ribbon cable, to a circuit having 8 LEDs and an 8-position DIP switch. Learning a microprocessor’s capabilities often demands such a setup where LEDs turn on/off, blink at desired rates and respond to switches. This tutorial serves to quickly accelerate your PIC16F84 development ambitions. Motivation and

PIC16F84 Fundamentals Read More »

USB device

Building a PIC18F USB device

Introduction I get a number of emails every month asking about creating USB devices using the PIC18F microcontroller. After looking at projects such as my Atari Joystick USB Adaptor and C64 VICE Front-End there seems to be a demand for more information on how to ‘hack your own’. In this article I will show how

Building a PIC18F USB device Read More »