Hacking the Xbox CONTROLLER

In this tutorial I show you step-by-step how I install a PIC microcontroller inside of an Xbox controller in order to provide custom functions. Now that you have the methods, all you have to do is go write some code and program a chip! Well, I know this is easier said than done, but check out my "5 transistor PIC programmer" if you are ready to go down that road. Step 1: Tools a small phillips screwdriver s ...

Read more

TIC TAC TOE game using PIC16F628

This project is not to introduce Tic Tac Toe. Everyone knows this game. It's to introduce two features. Bi-coloured LEDs, microcontrollers and the skill of writing an ALGORITHM. You can use the project to learn the skills of creating the Tic Tac Toe program or create animations on the 3x3 display. Tic Tac Toe is one of the simplest yet most-challenging games to be invented. With just a choice of nine locati ...

Read more

DIY Muscle Sensor / EMG Circuit for a Microcontroller

Measuring muscle activation via electric potential, referred to as electromyography (EMG) , has traditionally been used for medical research and diagnosis of neuromuscular disorders. However, with the advent of ever shrinking yet more powerful microcontrollers and integrated circuits, EMG circuits and sensors have found their way into prosthetics, robotics and other control systems. Yet, EMG systems remain ...

Read more

Bicycle Persistence of Vision Light Display using PIC16F84

In February of 2007 I spent a little while prototyping a board that turns any bicycle wheel into a moving display billboard using a single string of LEDs. The idea was to do something that would be very visible, turn itself on and off automatically, have enough processing power to dynamically generate bike computer style displays, and have enough memory to store full resolution bitmaps. The first revision w ...

Read more

PIC16F877 LED blinking code and Proteus simulation

This post provides the code to make an LED blink using PIC16F877 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. This code is intended to be the first step in learning how to use PIC16F877 microcontroller in your projects. You can download this code from the 'Downloads' section at the bottom of this page. Following figure shows the minimum circuit required to make an ...

Read more

A memory game using a PIC16F84A microcontroller

This article describes a game we all know. It is SIMON. It uses 4 switches, 4 colored lights and a speaker to produce a sequence of tones and flashes that has to be repeated. After each correct sequence, the computer adds another tone with its corresponding colored LED. The main purpose for presenting this project is not to deliver a game but to show programming routines. This program is more complex than y ...

Read more

MUSIC BOX using PIC12F629 Microcontroller

This project is an extension of a number of musical projects (Happy Birthday and It's a Small World) and puts 11 melodies into a single design. It's called EVOLUTION. From the previous projects we learnt a lot about producing a tune. The first thing we learnt: it takes a lot of memory. Each note needs one, two, or even three bytes and this severely limits the length of the tune, as the PIC12F629 has a maxim ...

Read more

Pic RGB color generator using PIC12F629

Description PIC RGB is a circuit that generates random RGB colors using a RGB LED and fades between them. The idea for this circuit came from the candle simulator [1] and another project called TinyRGB [2] . The challenge was to create an algorithm that could fade 3 independent colors at different speeds in the same time interval, using integer math, (of course). There are other enhanced versions of this pr ...

Read more

PIC16F84A LED blinking code and Proteus simulation

This post provides the code to make an LED blink using PIC16F84A microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. This code is intended to be the first step in learning how to use PIC16F84A microcontroller in your projects. You can download this code from the 'Downloads' section at the bottom of this page. Following figure shows the minimum circuit required to make an ...

Read more

HAPPY BIRTHDAY using PIC12F629 Microcontroller

Why spend $10.00 on a Happy Birthday musical card when you can produce the tune yourself. This project uses just 4 components and a small prototype PC board to produce a project that will teach you a lot about programming. The circuit uses a piezo diaphragm connected to pins 3 and 5. That's the only component. All the work is done by the program. The project is so easy, we don't need to provide any construc ...

Read more
Scroll to top