Tag Archives: C30

Stepper motion control from signals on SD card (co-author: Mark Flanagan)

Note: This post is co-authored by Mark Flanagan. Mark is blogging about his final-year project here and has also posted a really interesting account of his preliminary investigative work here. Mark’s project concerns the development of a fascinating robotic simulator … Continue reading

Posted in PIC, Uncategorized | Tagged , , , , , , , , | Leave a comment

PWM output on 2 channels of the dsPIC30F4011 with equal duty cycle and 180 degrees out of phase

Reader Mo Hsen wrote in with an interesting query about generating PWM output from the dsPIC30F4011 on two channels with equal duty cycle but 180 degrees out of phase (see the waveforms below for an example). I’ve created a short … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , | 50 Comments

Tutorial: Getting started with PIC18F / dsPIC30F

What we will cover in this tutorial: This is an informal tutorial and we’ll see how we get on, but this is what I’m hoping to cover: Basic breadboard circuit for PIC18F / dsPIC30F What to download / install Simple … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | 8 Comments

Timer 1 Interrupt Example for the dsPIC30F4011

// // This is a Timer 1 interrupt example for the dsPIC30F4011. // Timer 1 is a 16-bit Type A timer. // It toggles an LED on pin RD0 8 times a second. // // Written by Ted Burke – … Continue reading

Posted in PIC | Tagged , , , , , , | 5 Comments