Copyright © 2010-2019 Ted Burke, All Rights Reserved.
Blog Stats
- 1,434,264 hits
- My Tweets
-
Recent Posts
- Moving statue of David Foster Wallace
- TU Dubuntu 19.10 – a customised live USB version of Xubuntu Linux 19.10 for TU Dublin
- Using Canon EOS 70D DSLR as a USB web cam in Xubuntu Linux 19.04
- TU Dubuntu – a customised live USB version of Xubuntu Linux 19.04 for TU Dublin
- Using the PHP command line web server to transfer files between devices on a local network
- €5 PPG – photoplethysmogram amplifier / Arduino circuit
- Clap detector circuit / AirSpell typing system
- AirMouse – control mouse pointer in Linux using one switch or by blowing on microphone
- Some RGB fractal doodles
- How to display USB webcam as live video on desktop using mplayer
- Ronan Byrne’s ultra low-cost brain-computer interface
- H-bridge control example for Arduino Nano (ATmega328) – two phase-displaced square waves
- An offcut from the Fraktalismus pattern factory
- Cafe Terrace at Starry Night
- €2 Robots in DIT
- A brief introduction to binary numbers…
- Can the PIC12F675 drive motors directly from its GPIO pins?
- Minimum Viable Program for PIC12LF1572
- dsPIC30F Quadrature Encoder Interface (QEI) – Basic Example
- Simple example program for the PIC12F675 microcontroller
- A simple way to read and write audio and video files in C using FFmpeg (part 2: video)
- A simple way to read and write audio and video files in C using FFmpeg (part 1: audio)
- Fraktalismus Outtakes: Sea Monsters
- Fraktalismus – my presentation at Dublin Maker 2016
- Example code from presentation: Ways of Seeing Julia Sets
- C or Python? Comparison of execution time for Mandelbrot image generation
- Julia Set Explorer
- (no title)
- What I’m working on right now…
- Simple 2-channel hardware PWM example for the MSP430G2452 microcontroller
- RoboSlam @ Dublin Maker – only two days away!
- Generating antiphase PWM signals with the dsPIC30F4011
- Very simple Python / Tkinter GUI to send selected keystrokes via serial port
- Using a dsPIC30F4011 to generating 4 PWM signals with equal duty cycles but at 90 degree phase increments
- Faster Mandelbrot image generation using numpy in Python
- Fractal variations using Python
- Using SendInput to type unicode characters
- Three PWM outputs with three different frequencies using the dsPIC30F4011 microcontroller
- 8-channel PWM with the MSP430G2553
- Simple Phaser Framework example – Flappy Words
- Installing Microchip XC16 in CrunchBang Linux
- Low-cost motor control by displaying coloured shapes on a phone or PC screen
- Phasor diagrams in GNU Octave
- 2D Room Mapping With a Laser and a Webcam
- Motion Tracking on the Cheap with a PIC
- Big Foot Magic Hands
- Keyboard shortcut to simulate a mouse right-click in CrunchBang Linux
- Real-time analysis of data from BioSemi ActiveTwo via TCP/IP using Python
- Programming the PIC16F819 on an LCD03 adapter using a PICkit 2
- Simple communication with a TCP/IP device using Python
Recent Comments
Maram Alanhhas on Clap detector circuit / AirSpe… Orit Malki on A simple way to read and write… Orit Malki on A simple way to read and write… Tim-Felix on Running CommandCam from Excel… Benjah on Simple command line trick for… Archives
- November 2019 (2)
- July 2019 (1)
- June 2019 (1)
- May 2019 (1)
- April 2019 (3)
- January 2019 (1)
- September 2018 (1)
- May 2018 (1)
- April 2018 (1)
- February 2018 (1)
- January 2018 (1)
- May 2017 (1)
- April 2017 (4)
- February 2017 (3)
- August 2016 (1)
- July 2016 (1)
- February 2016 (2)
- January 2016 (3)
- November 2015 (1)
- July 2015 (1)
- April 2015 (1)
- March 2015 (2)
- November 2014 (1)
- October 2014 (2)
- September 2014 (1)
- April 2014 (1)
- March 2014 (2)
- February 2014 (4)
- January 2014 (5)
- December 2013 (2)
- November 2013 (3)
- October 2013 (1)
- September 2013 (1)
- 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: dsPIC30F4011
Generating antiphase PWM signals with the dsPIC30F4011
I frequently receive queries from people who are using a dsPIC microcontroller to control power electronics of some kind, such as in an inverter, a voltage converter, or similar. Many of these queries relate to the generation of different combinations … Continue reading
Posted in Uncategorized
Tagged antiphase, C, dsPIC, dsPIC30F, dsPIC30F4011, duty cycle, example, interrupt, oscilloscope, OSYNC, out of phase, PDC1, PICkit 2, PTPER, pulse-width modulation, PWM, PWM1H, PWM1L, sawtooth, sawtooth wave, simple example, tutorial, XC16, _POUT1H, _POUT1L, _POVD1H, _POVD1L, _PTCKPS, _PWMIE, _PWMIF, _PWMInterrupt
2 Comments
Using a dsPIC30F4011 to generating 4 PWM signals with equal duty cycles but at 90 degree phase increments
In a recent comment on one of my blog posts, Saptarshi De posed an interesting problem: How can the dsPIC30F4011 be used to generate four PWM signals of equal (but variable) duty cycle at 90 degree phase increments? Saptarshi wants … Continue reading
Posted in Uncategorized
Tagged 4-phase, 90 degree, boost, converter, dsPIC, dsPIC30F4011, duty cycle, interleaved, inverter, OC1, OC2, OC3, OC4, output compare, phase shift, PWM
22 Comments
First attempt at printing to an LCD display from a dsPIC30F4011
The following example is my first attempt at printing to an LCD display using the dsPIC30F4011 microcontroller. The display I’m using is a 16×1 character screen with what I think is a standard Hitachi interface. It’s my first time using … Continue reading
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
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 buck-boost, converter, dsPIC, dsPIC30F4011, IGBT, OC1, OC2, OC3, OC4, output compare, PWM
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 C, capture, digital signal, dsPIC, dsPIC30F4011, logic analyser, logic analyzer, sampling, XC16
2 Comments
IGBT control in a buck-boost DC-DC converter
Reader Jil Sutaria wrote in a with a query about controlling four IGBTs in a buck-boost DC-DC converter. Some of the main features of this application are: Two pairs of IGBTs need to be controlled. Each pair of IGBTs share … Continue reading
Posted in PIC
Tagged buck-boost, converter, dsPIC, dsPIC30F4011, duty cycle, IGBT, OC1, OC2, OC3, OC4, output compare, PWM
17 Comments