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.
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)...
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...
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...
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...
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.
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.
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...
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...
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...
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...
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.
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....
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...
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...
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.
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...
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...
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...
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)...