You Are Here: Home » Projects » Interfacing(USB – RS232 – I2c -ISP) Projects

My New MIDI Merger uses 10 MIPS £1.00 PIC Microcontroller using PIC18F4320

This unit provides 4 autonomous MIDI inputs and 1 MIDI output. Note this is a ‘proper’ MIDI Merger – all 4 MIDI inputs can be used at the same time, unlike other ‘designs’. The unit also provides an indication of the channel number being played, and has shown itself to be capable of expansion into a full-blown controller. The PIC microcontroller I used – 18F4320 was being sold off cheap, at £1.00 each by Cr ...

Read more

USB and PIC Microprocessors 16C745 and 18F2455

Introduction This page describes a project a colleague and I completed between September, 2000 and March, 2001 as part of the Engineering Physics degree program at the University of British Columbia.   In summary this project involved building a USB device using the PIC 16C745 microprocessor from Microchip.  The USB device consisted of a microphone, the microprocessor and other hardware and the device sent ...

Read more

Low cost ICSP PIC-programmer using PIC16F648A

Galvanic from PC isolated PIC programmer The Wisp648 from www.voti.nl is an In Circuit Serial Programmer to program a flash PIC which mostly can stay in your circuit. No irritating doings like pulling the PIC out of the PCB, place it in the programmer, programming it, pull it out the programmer and place it back in the PCB, over and over again, it can stay in the circuit on your breadboard or PCB while prog ...

Read more

Bit-Banging Serial Interfaces for the Low-End and Mid-Range PICMicros using PIC16F84

When I designed the "YAP" for the "YAP" PICMicro programmer presented in "Programming and Customizing the PIC Microcontroller", I felt that the serial interface provided in "execution mode" of the programmer would be very useful for people developing their own software. With this interface, the user could input new values into the PICMicro application or output temporary values to help with debugging. This ...

Read more

Arduino to PIC Communication using PIC18LF4520

One very common thing in electronics is the need for two intelligent devices to communicate with each other. When you first see a PIC and Arduino you might think that they are two differeny systems and don't share much in common, but you'd be wrong! In fact, the AVR and the PIC microcontrollers have many of the same types of hardware modules and some of them follow the exact same protocols for communication ...

Read more

Interfacing with UART of PIC microcontroller

This post provides the solution for using the PIC controller UART interface (e-g to connect PIC controller with PC using serial adapter). Complete code and simulation can be downloaded from the 'Downloads' section at the bottom of this post. The following figure shows the result of simulation of PIC UART in Proteus7.6. In the main function UART is intialized by calling the function InitUART (defined in the ...

Read more

PIC18F452 UART code and Proteus Simulation

This post provides the UART code (compiled in MPLAB + HI-TECH C) for PIC18F452 (e-g to connect PIC18F452 controller with PC using serial adapter). 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. A crystal of 10MHz is used with PIC18F452. This crystal frequency is fed into PLL of PIC18F ...

Read more

PIC12F675 LCD Interfacing Code and Proteus Simulation

This post provides the LCD[1] interfacing code using PIC12F675 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 PIC12F675 microcontroller. If you don't then please read this page first, before proceeding with this article. PIC12 ...

Read more

PIC12F675 ADC code and Proteus simulation

This post provides the ADC code using PIC12F675 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 interface LCD with PIC12F675 microcontroller. If you don't then please read this page first, before proceeding with this article. The result of simulating ...

Read more

How to interface keypad with PIC12F675

This post provides a simple method to interface any keypad (e-g 4x4 or 4x3 etc) with PIC12F675 microcontroller. The code for PIC12F675 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. In this post, it is assumed that you know, How to use ADC of PIC12F675 microcontroller. If you don't then please read this page. ...

Read more
Scroll to top