Monthly Archives: June 2013

Simple PI control using the dsPIC30F4011

This is an initial sketch of a simple PI controller using the dsPIC30F4011. I hope to add in quite a bit more detail and explanation to accompany this in the coming days, but I thought I’d post the current code … Continue reading

Posted in Uncategorized | 31 Comments

50Hz square wave example for PIC16F1829

This post presents two example programs for the PIC16F1829 microcontroller that generate 50Hz square waves. The first example uses simple bit banging to generate the waveform. The second example uses the dedicated PWM hardware module. Example 1: bit banging In … Continue reading

Posted in PIC | Tagged , , , , , , , , , , , | 27 Comments