Monthly Archives: January 2013

Simple interrupt-driven sampling example for the dsPIC30F4011

Reader Swetha wrote in with a query about performing 10Hz sampling on a dsPIC30F4011 in some kind of energy monitoring system. The following example illustrates a basic structure for interrupt-driven sampling using Timer 1. I compiled this program with Microchip’s … Continue reading


Posted in PIC | Tagged , , , , , , , , | 7 Comments

Visualising transfer functions in the Z-domain

I’m fortunate to share an office with DSP guru Richard Hayes who, over the last week or so, has given me a couple of brilliant 20-minute tutorials on the Z-transform which have really helped to clear up some points that … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | 2 Comments

Updated version of IGBT control program for buck-boost dc-dc converter

This is an updated version of my IGBT control example for the dsPIC30F4011, which appeared in an earlier post. In this version, an analog control signal on pin AN6 is used to vary the duty cycle of the waveforms produced. … Continue reading

Posted in PIC | Tagged , , , , , , , , , , | 28 Comments

Nasty 4-channel logic analyser using dsPIC30F4011

This post is about a quick and dirty 4-channel logic analyser that I hacked together to get a snapshot of four parallel binary signals from something I was building. I just want to quickly capture this information here for the … Continue reading

Posted in PIC | Tagged , , , , , , , , | 2 Comments

Running CommandCam from Excel using VBA

Reader Percy Kumah wrote in with a query about running CommandCam (my free command line image capture utility) from MS Access using VBA. Since I don’t have Access installed myself, I tried it in Excel instead (also using VBA). Here’s … Continue reading

Posted in Uncategorized | Tagged , , | 117 Comments