Copyright © 2010-2013 Ted Burke, All Rights Reserved.

Blog Stats
- 96,387 hits
-
Recent Posts
- Simple PI control using the dsPIC30F4011
- 50Hz square wave example for PIC16F1829
- Starting with Circuitry
- PWM servo control example for the PIC18F14K50
- First attempt at printing to an LCD display from a dsPIC30F4011
- A dsPIC program to display bytes received via serial link
- Simple PWM example for the PIC18F4620
- 2-D Linear Interpolation in C
- PIC18F development in Linux using XC8 and pk2cmd
- Gitshots für Windows verwendet CommandCam
- Measuring phase difference between two 50Hz sine waves with the dsPIC30F4011
- Sending a key to a window that’s not in focus (C program)
- Writing bytes to a serial port in C
- Simple command line trick for sending characters to a serial port in Windows
- Another Julia Set animation
- Creating Julia Set images in Python
- Simple interrupt-driven sampling example for the dsPIC30F4011
- Visualising transfer functions in the Z-domain
- Updated version of IGBT control program for buck-boost dc-dc converter
- Nasty 4-channel logic analyser using dsPIC30F4011
- Running CommandCam from Excel using VBA
- IGBT control in a buck-boost DC-DC converter
- Variable exponent in Mandelbrot algorithm
- More Mandelbrot
- Visualising the Mandelbrot Set
- Visualising logistic map chaos
- Vision: a DirectShow machine vision engine
- Setting the precise dimensions of a window
- RoboSlam: robots for beginners
- Simple dsPIC33FJ32MC202 example
- Rational Hunt: Finding a rational approximation to a value
- Servo motor control example for the PIC18F4620
- Polyphonic Keypad
- Creating a shadow template of a PGM image
- Working dsPIC30f4011 code to control servo angle from PC via serial
- Simulating a Ctrl-V keystroke in Win32 (C or C++) using SendInput
- Automating image creation with ImageMagick
- Posting C code on wordpress.com
- Short dsPIC30F4011 program to test output compare SFR values
- PWM Sinewave generation using output compare on dsPIC30F4011
- Drawing Trees with PyCairo
- Basic example program for MSP430G2231
- Ugly speech synthesis in C
- dsPIC Workshop: Digital i/o, timing, PWM, UART
- Using pk2cmd to transfer a hex file onto the dsPIC30F4011
- PWM generation with the dsPIC30F4011
- Printing text from the dsPIC30F4011 to a PC via UART
- Creating a new XC16 project in MPLAB X
- Next programming workshop: 2-4pm Thursday 30-8-2012
- Two square waves with arbitrary phase shift on dsPIC
Archives
- June 2013 (2)
- May 2013 (1)
- April 2013 (4)
- March 2013 (4)
- February 2013 (5)
- January 2013 (5)
- December 2012 (6)
- November 2012 (7)
- October 2012 (7)
- September 2012 (2)
- August 2012 (8)
- July 2012 (1)
- June 2012 (2)
- May 2012 (4)
- April 2012 (7)
- February 2012 (5)
- January 2012 (1)
- December 2011 (2)
- November 2011 (11)
- October 2011 (3)
- August 2011 (1)
- July 2011 (1)
- May 2011 (1)
- April 2011 (4)
- December 2010 (4)
- November 2010 (2)
Tag Archives: _PTCKPS
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 C30, dsPIC, dsPIC30F4011, duty cycle, frequency, MPLAB, PDC1, period, phase, PIC, PICkit 2, PTPER, PWM, PWMCON1, _PTCKPS, _PTMOD
21 Comments