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 directly download the individual files as needed.
There are eleven planned posts in the series so far - each post introduces new functionality and explores different features of the PIC. Although they are intended to be read in sequence each post is independent and easily understood in isolation. The posts in this series are:
- Microcontrollers - The PIC16F628A
- Serial Programming - Part 1 (PIC16F628A)
- Serial Programming - Part 2 (PIC16F628A)
- Serial Programming - Part 3 (PIC16F628A)
- Digital IO (PIC16F628A)
- Servo Controller
Posts that show up as links are completed and published to the site, those that are not links haven't been published yet (although if you want a preview the code turns up in git before the post gets published).