iRX 2.1 Prototyping Board

The iRX 2.1 board is a simple but malleable prototyping board for PIC based projects. It features the EEPROM programmable PIC16F84, an RS232 port and infrared I/O. All of the subsequent projects presume that you have an iRX board -- this is how to make one (or 100).

Getting Started

To create the PIC based projects described below, you will need a PIC C compiler, a PIC programmer and development environment, and one or more iRX boards. This section describes how to together all the pieces to compile and run a simple program on an iRX board.
Project: Hello The Hello Project is the cannonical "Hello, world." program, which introduces some of the features of the PIC microcontroller and the PCM C compiler functions that access those features.
Project: Temperature The Temperature Sensor project shows how you can make analog measurements (such as the resistance of a thermistor) without an A/D converter.

The basic idea is that the PIC can measure the time it takes to charge a capacitor, from which you can compute the current flowing into the capacitor, from which you can deduce the value of a resistor.

Project: IrDA The IrDA Project shows how to create an infrared serial link between two iRX boards using IrDA (Infrared Data Association) protocols.
Project: Sony Remote The Sony Remote Project uses an iRX board to translate between serial commands (e.g. sent and received by your computer) and "Sony" style infrared remote control protocol. Suitably modified, you can use this code to control your computer with your TV remote, or alternatively to control your TV with your computer.

Here's the source code that makes this work. It's a good example of how you can use the RTCC (aka TMR0) to keep track of time.


...[back]
...[home]
Robert Poor