You can now upgrade your 16-Bit Micro Experimenter to a powerful Digital Signal Processor (DSP) by just simply changing out the PIC24F microcontroller to a 40 MIPS dsPIC; the 28 pin PIC33F J128GP802, and then adding the appropriate DSP software.
How would you like to generate your own bitmaps to display on the 128x64 graphics kit that was introduced in the April 2010 issue of Nuts & Volts? Or even go the next step and produce animation with the same basic techniques? We’ll show you how easy it is to add this capability to your 16-bit Micro Experimenter using a cool tool from http://www.pavius.net
In part 1 of this feature, we discussed how to use the MCP23S08 device to add digital I/O to the Experimenter. Now, we’ll discuss the associated software to make this work. The demo software is written in PIC24F C Compiler and is available here as a software downloadable project. The demo uses the MCP23S08 device to emulate an eight bit output port. All of the outputs are configured to drive their own individual LEDs through an external current limiting 100 ohm resistor. The microcontroller turns each LED on and off, one at a time, in sequence. In addition, the LCD on the Experimenter announces the demo.
Let’s jump right in with an overview of the software.
If you’ve been following the 16-Bit Micro Experimenter series in Nuts & Volts, you are already familiar with its solderless breadboard environment and the fully programmable 10 line I/O expansion bus that comes with the kit. The 10 lines can be assigned to be digital, analog or even connected to any of the PIC24F Microcontroller’s internal extensive peripheral set (i.e. dual UART, five CCP modules, ADC, Real time Clock Calendar, dual SPI, and dual I2C).
But, if you find this 10 line I/O capability constraining, there’s a really cool enhancement to add even more I/O to your kit…