Lately I’ve working on improving my chess game by reading up on and practicing tactics. Most chess tactics guides describe the moves using algebraic notation, where each square of the chessboard is identified by a unique coordinate pair — a letter and a number.
I wanted a way to drill (practice) this notation, so I wrote a small DHTML app that will present a chessboard with a highlighted square, then take input from the keyboard, and highlight the square green if the position guessed is correct, or red if it’s incorrect. Continue Reading
Here’s a demonstration of the PWM module on the PIC16F88. We’ll take the input from a rotary pot connected to the A/D described in this tutorial and use it to set the PWM connected to an LED. Varying the duty… Continue Reading
The PIC16F88 includes a 10-bit Analog-to-Digital (A/D) conversion module with seven input pins. I wanted to test this with a simple rotary potentiometer between Vdd and Gnd with the wiper connected to AN0. An example of this configuration would be… Continue Reading
Here I’ll explain how to use the USART module on a PIC microcontroller to perform RS-232 I/O. Many PIC microcontrollers include a Universal Synchronous/Asynchronous Receiver Transmitter (USART) module. We can use this module to perform I/O from a DB-9 connector… Continue Reading
Over the past couple of months, I’ve taken up learning PIC microcontrollers. Along the way I’ve accumulated a collection of hardware and software tools and today I’d like to talk about them. With this collection of tools I was able… Continue Reading
This is the start of my personal blog- a place I plan to collect code snippets and other thoughts about whatever I’m interested in at the moment.