You can also search our Digital issue here.
 

Getting Started With PICS

This novice-level column helps readers begin their journey into working with microcontrollers. Programming is done with Basic and each month, a weekend PIC-based project is featured. Started in January 2006.


Articles from this Column

Read the Digital Edition (subscribers only!)

Eight-Pin Projects
By Chuck Hellebuyck
November 2009, Page 56
recently received a development setup that I found quite interesting, as it’s targeted at my favorite audience—the beginner market. It is called the CHIPAXE system.

Read the Digital Edition (subscribers only!)

Programming the PICDEM 2 Plus Development Board
By Chuck Hellebuyck
September 2009, Page 24
After getting everything set up — I used an MPLAB® ICD 2 for the programming tool because it is available bundled with the PICDEM 2 Plus board — I was ready to write some code.

Read the Digital Edition (subscribers only!)

Improving the PICKit 2 Development Board
By Chuck Hellebuyck
July 2009, Page 68
The one thing I always wanted to add was a breadboard area, so I modified the development board included with the Starter Kit — it’s called the low pin count development board.

Read the Digital Edition (subscribers only!)

Counting Pulses with Timer 0
By Chuck Hellebuyck
May 2009, Page 26
Keep track of your distance traveled on the golf coarse with this counting application.

Read the Digital Edition (subscribers only!)

SPI Communication
By Chuck Hellebuyck
March 2009, Page 82
In my January column, I described the I2C form of serial communication. This month, I am covering its cousin — the Serial Peripheral Interface or SPI communication.

Read the Digital Edition (subscribers only!)

PICKIT™ 2 Command-Line Option
By Chuck Hellebuyck
January 2008, Page 67
I have good news for all the users of Microchip Technology’s PICkit 2 programmer who want to use it with an Integrated Development Environment (IDE) other than Microchip’s MPLAB® IDE. Microchip has released a DOS command-line option for the PICkit 2, and I’ve successfully used it with the MicroCode Studio IDE from Mecanique (www.mecanique.co.uk) and microEngineering Labs’ PICBASIC PRO™ sample version (www.microengineeringlabs.com)...

Read the Digital Edition (subscribers only!)

Assembly Language Programming
By Chuck Hellebuyck
March 2008, Page 14
When I started programming microcontrollers (MCUs), assembly language was the only real choice. I didn’t even know what a compiler was. Now, it seems many beginners and even experienced programmers tend to fear — or at least try to avoid — using assembly language. I will admit that the latest variety of C compilers and Basic compilers make programming much easier, but I still feel it is necessary for a programmer to understand enough about assembly language to write a simple program...

Read the Digital Edition (subscribers only!)

Getting Started With The PICBASIC™ Pro Compiler And MPLAB® IDE
By Chuck Hellebuyck
May 2008, Page 96
Email feedback has made it clear that there are many who would like me to go back and cover how to get started, as the title of the column suggests. Though I’ve covered this in many previous columns, much has changed, and there are still some beginner topics I have not covered.

Read the Digital Edition (subscribers only!)

Monitoring Input Signals
By Chuck Hellebuyck
July 2008, Page 70
In this month’s column, I want to introduce a common topic involving sensing or measuring input signals. A wise, experienced engineer recently suggested I point out that all MCU projects involve three basic parts...

Read the Digital Edition (subscribers only!)

Getting Started with the PICAXE-28X1 Microcontroller
By Ron Hackett
August 2008, Page 16
In essence, the PICAXE-28X1 is like a 28X on steroids. It’s pin-for-pin compatible with the 28X and all the 28X commands will function correctly on a 28X1. In other words, if you have an existing 28X circuit, it will function exactly the same with a 28X1 installed. This is a good thing, because Revolution Education considers the 28X to be obsolete and has discontinued it. Amazingly, the new 28X1 is about the same price as the old 28X...

Read the Digital Edition (subscribers only!)

Pulse Width Modulation
By Chuck Hellebuyck
September 2008, Page 16
Pulse Width Modulation (PWM) is a common term in today’s microcontroller (MCU) world. What PWM is and how you use it are the subjects of this column.

Read the Digital Edition (subscribers only!)

Getting Started On Your Holiday Gift List
By Chuck Hellebuyck
November 2008, Page 84
With the holidays looming, I wanted to pass along a holiday shopping list that you can pass on to your loved ones who don’t have a clue what to get for you.

Read the Digital Edition (subscribers only!)

I2C Communication
By Chuck Hellebuyck
January 2009, Page 68
It's a new year and, unfortunately, economic times are looking quite dismal.

Read the Digital Edition (subscribers only!)

A Primer For Beginners
By Chuck Hellebuyck
January 2006, Page 74
A third category of feedback involves readers that have little or no electronics background and with all the different programmers, compilers, microcontroller choices, software options, etc., they are confused and afraid they would waste a bunch of money and still not get what they want. I’m here to tell you it isn’t that difficult and it doesn’t have to cost that much to get started.

Read the Digital Edition (subscribers only!)

Microchip PIC-Based Resistor Checker
By Chuck Hellebuyck
February 2006, Page 72
This article describes this project and shows how easy it is to use the A/D port with the PICBasic Pro compiler. In fact, I was able to write the code within 31 commands so this could be done with the sample version of PICBasic Pro which you can download from www.melabs.com for free.

Read the Digital Edition (subscribers only!)

PIC-to-PC Communication
By Chuck Hellebuyck
March 2006, Page 78
This month, I want to address one form of PIC-to-PC communication using serial RS232 format, and you get this one for free (excluding the magazine subscription fee).

Read the Digital Edition (subscribers only!)

Going Beyond 31 Commands
By Chuck Hellebuyck
April 2006, Page 74
The feedback to my articles tells me this series on programming Microchip PICs is a success. Based on loads of email, I’ve helped many readers get back in the electronics game and comfortable programming microcontrollers. That is a reward in itself and is enough for me because many years ago, I was there, too. That success, though, also invites its detractors...

Read the Digital Edition (subscribers only!)

Using The MicroChip PIC Timers
By Chuck Hellebuyck
May 2006, Page 12
For this article, I’ll explain timers and then use the Timer 1 peripheral to form an accurate one-second time base. This could be considered an advanced project so don’t be too hard on yourself if it takes a while to completely understand it...

Read the Digital Edition (subscribers only!)

Using The PIC External Interrupt
By Chuck Hellebuyck
June 2006, Page 82
Life can throw you in many directions and how we deal with it builds our character. This happened to me recently while trying to get this article out for Nuts & Volts...

Read the Digital Edition (subscribers only!)

Developing With A PIC Bootloader
By Chuck Hellebuyck
July 2006, Page 18
If you’ve been a regular reader of this column and have started to actually program PICs, you are probably tired of moving the PIC from programmer to project and back again every time you make a change. It not only damages pins, but can sometimes cause confusion if the PIC is put in the board backwards or even shifted by one pin. This is why I like to develop with a bootloader and it’s one of the most difficult items to explain to a beginner...

Read the Digital Edition (subscribers only!)

Multiplexed LED Displays And Relays
By Chuck Hellebuyck
August 2006, Page 88
For this article, I wanted to demonstrate how to control two LED displays from one set of I/O pins in a method called multiplexing. To make this into a project for the reader, I revisited a model rocket launch control box design I did back in high school (long time ago) for an electronics competition...

Read the Digital Edition (subscribers only!)

Real Time Clock
By Chuck Hellebuyck
September 2006, Page 90
One of the more interesting things I've discovered about the readers of Nuts & Volts is their diversity. Through the emails I've received from writing this column, I've discovered that both hobbyists and professionals read these articles.

Read the Digital Edition (subscribers only!)

USB PIC Programmers
By Chuck Hellebuyck
October 2006, Page 18
The emails keep pouring in and it’s great. Easy and instant feedback is what makes the Internet so awesome. Though a few people let me know they feel I’m just writing this to sell my stuff, most understand that my goal is to help everyone I can learn how to develop microcontroller-based designs using PICs. I also get several emails from people who have discovered a different Basic compiler and wanted to let me know about its great features. If it gets you programming, then I say go for it....

Read the Digital Edition (subscribers only!)

PIC Hardware Interface
By Chuck Hellebuyck
November 2006, Page 12
Programming Microchip’s PICs is a lot of fun, especially if you have a nice development board with all the connections pre-wired for you. My BasicBoard, built around the 40 pin Atom chip (16F877A with Atom bootloader installed), was designed just for that purpose. A beginner could get a lot of programming in before they ever have to build custom circuitry around their PIC micro-controller. What I’ve found from reader feedback is a lot of people are looking for a little guidance...

Read the Digital Edition (subscribers only!)

Christmas Music
By Chuck Hellebuyck
December 2006, Page 81
This month’s installment marks the conclusion of the first year of this column. I want to thank everybody who reads these articles for their support. Since it’s the December issue, I thought I would offer a project related to the holidays. I also wanted to tackle the subject of digital-to-analog conversion. To do that, I plan to have a PIC play a little Christmas music through a small speaker — kind-of like one of those Christmas cards that plays a tune every time you open it up...

Read the Digital Edition (subscribers only!)

PIC12F675 Replaces The 555 Timer
By Chuck Hellebuyck
January 2007, Page 94
If you have been fooling with electronics as long as I have, you will have seen a lot of changes throughout the years. I watched the birth of integrated circuits which led to op-amps and TTL or CMOS digital chips, and eventually to the microcontroller. Somewhere along the way, an eight-pin chip used by hobbyists all over the world was developed.

Read the Digital Edition (subscribers only!)

Quick And Dirty Hockey Scoreboard
By Chuck Hellebuyck
February 2007, Page 84
Once you learn how to control an LCD module, you suddenly see them all over the place and numerous ideas for LCD projects come to mind. Over the years, I’ve done many projects with LCDs...

Read the Digital Edition (subscribers only!)

In-Circuit Serial Programming
By Chuck Hellebuyck
March 2007, Page 12
The advantage to ICSP is the ability to program the PIC in-circuit.Now this may sound familiar since this is the same feature I’ve promoted about using a bootloader in a previous column.ICSP and bootloaders are similar in function,but the difference is...

Read the Digital Edition (subscribers only!)

PIC vs. PIC Speed Test
By Chuck Hellebuyck
April 2007, Page 19
If you look through Nuts & Volts or surf the Internet, you’ll see lots of different Microchip PIC-based development chips and modules offering all kinds of different features...

Read the Digital Edition (subscribers only!)

8/14/20-PIN PIC® Microcontroller Family
By Chuck Hellebuyck
May 2007, Page 90
Programming PIC® microcontrollers (MCUs) has been my hobby and sideline for many years. In fact, I started back when there were only five PIC MCUs to choose from. Now there are hundreds of different PIC MCUs...

Read the Digital Edition (subscribers only!)

C Language Introduction
By Chuck Hellebuyck
June 2007, Page 16
In my April column, I did a speed-test comparison of various PIC® microcontrollers (MCUs) that were programmable in Basic, and then compared a Basic and C compiler. I made a mistake that affected the results...

Read the Digital Edition (subscribers only!)

Hot Wheels Drag Race Finish Gate
By Chuck Hellebuyck
July 2007, Page 98
On a recent trip to the local Kmart, I saw that Mattel had released a series of classic Hot Wheels sets similar to the ones you could buy when I was a kid...

Read the Digital Edition (subscribers only!)

BasicATOM In-Circuit Debugger
By Chuck Hellebuyck
August 2007, Page 80
If you’ve thought about getting started with PIC® microcontrollers (MCUs), you’ve probably seen the variety of available development tools, such as programmers, debuggers, and the Integrated Development Environments (IDEs)...

Read the Digital Edition (subscribers only!)

Large Digits on a 4x20 LCD
By Chuck Hellebuyck
September 2007, Page 14
Driving a Liquid Crystal Display (LCD) module has become very easy to do with the various PIC® microcontroller (MCU) options that are available...

Read the Digital Edition (subscribers only!)

PICkit™ 2 Starter KIT vs. PICkit 2 Debug Express
By Chuck Hellebuyck
October 2007, Page 88
If you’ve been reading this column on a regular basis, you will — no doubt — have realized that I’m always on the lookout for a better and lower-cost starter package, or at least programming solution...

Read the Digital Edition (subscribers only!)

PICBasic Pro, Excel, and The Beginner
By Chuck Hellebuyck
November 2007, Page 90
Good things come to those who wait. This is a common saying, but the real question is how long do I have to wait? Some would say it all depends on how you define a “good thing.”

Read the Digital Edition (subscribers only!)

Stocking Your Lab
By Chuck Hellebuyck Dave Baker
December 2007, Page 90
One of the more common emails I receive involves recommendations on which PIC® microcontroller (MCU) should be stocked in the home lab.