All articles tagged as:

pic

Where are the PIC Projects?

I enabled Google Analytics on this site a little over a month ago to try and get a feel for what pages people were reading and which (if any) other pages that led them to. I've now got enough data collected to get a reasonable overview and some of the results surprised me. It seems a lot of people are coming here to read my PIC related posts even though I haven't published a new one for over a year. I've migrated away from using the PIC over that period and (judging by what shows up on the web) a lot of other people have as well. This led me to wonder why people have moved on from the chip - I…

Read more »

Digital IO (PIC16F628A)

This is another article in the PIC Tutorial series. In this post we cover the basics of digital IO on the PIC 16F628A chip as well as covering the basics of using the timer and storing persistent data in the EEPROM. Introduction This part of the PIC tutorial introduces digital input and output. We have used some digital output previously (the first post simply toggled an output pin to flash an LED) but we are going to look at it in a little more detail this time around. We are also going to look at some more advanced features of the PIC chip such as the built in EEPROM and the timer peripheral…

Read more »

PIC Tutorial

This is a series of tutorial style posts which introduce the PIC16F628A microcontroller and many of it's features. The tutorial culminates with an RS232 controlled interface board which can directly control two servo motors and two DC motors as well as providing a small amount of digital IO to the host. If you are only interested in the controller board itself you can simply skip to the last post. All the code, circuit diagrams and breadboard layouts are available on The Garage Lab git repository which you can clone from git://thegaragelab.com/electronics/pictutorial if you like or simply dire…

Read more »

Serial Programming - Part 3 (PIC16F628A)

This is the fourth in a series of articles describing the construction of an interface board suitable for controlling 2 motors, 2 servos and providing a collection of binary inputs and outputs; previous posts are ... Microcontrollers - The PIC16F628A Serial Programming - Part 1 (PIC16F628A) Serial Programming - Part 2 (PIC16F628A) The board provides limited onboard intelligence (only enough to protect the motors and servos from invalid operations) - it is designed to be controlled from an external computer through an RS232 connection. I've spent the last few days playing with Fritzing wh…

Read more »

Serial Programming - Part 2 (PIC16F628A)

This is the third in a series of articles describing the construction of an interface board suitable for controlling 2 motors, 2 servos and providing a collection of binary inputs and outputs; previous posts are ... Microcontrollers - The PIC16F628A Serial Programming - Part 1 (PIC16F628A) The board provides limited onboard intelligence (only enough to protect the motors and servos from invalid operations) - it is designed to be controlled from an external computer through an RS232 connection. Introduction In this, the second part of the serial programming tutorial, we implement the code nee…

Read more »