I was having a bit of a think about what to do with the sixth installment of this course. So what better than to add a keypad so that we can control what is displayed on the seven segment display. What you can expect to learn: How to interface a keypad to the microcontroller…
Category: Tutorials
A range of programming and electronics related tutorials.
PIC Assembly Tutorial 5 – Interfacing Seven Segment Displays.
Seven segment displays are extremely useful devices. We can quite easily drive one, two, three or more seven segment displays with just one microcontroller – we will start with just one so you can see how the circuit and code works, then we will build on that to get to four seven segment displays running…
PIC Assembly Tutorial 4 – Interfacing Buttons to the LED Scanner.
We’ll so far we have been using the microcontroller to make some nice LED’s flash and do pretty things. But what about using a couple of pins as inputs? That’s exactly what we will be covering in this module. This circuit has a left push-button and a right push-button. You press the left button to…
PIC Assembly Tutorial 3 – KnightRider LED Scanner.
Now that you have mastered making one LED flash, lets move onto using 8 LED’s. If you have ever seen the TV series Knightrider then you will already know what this circuit will do. Basically we have 8 LED’s connected to PORTB. We will program it in such a way so that each LED will…
PIC Assembly Tutorial 2 – LED Flasher.
The LED flasher is basically the “Hello World” of microcontroller programming. It is a very good place to get started and even though this is just the beginning, you will still learn a whole heap of instructions. What you can expect to learn in this tutorial: How to connect the pickit 2 to your…
PIC Assembly Tutorial 1 – Introduction to Assembly Programming.
Welcome to the first instalment of the PIC assembly tutorials. This set of tutorials is based around the ever popular PIC16F628A and PIC16F648A microcontrollers. We will be programming using assembly language for a number of reasons: Assembly is great fun and You can gain an excellent understanding of how the microcontroller works due to working…