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

Blog Stats
- 84,785 hits
-
Recent Posts
- 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
- dsPIC Programming Workshop
- First Programming Workshop next Wednesday 1-8-2012
Archives
- 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)
Monthly Archives: December 2010
Serial data transmission from the dsPIC30F4011 UART
The following program is an example of serial data transmission from the dsPIC30F4011 UART. This program repeatedly reads 10-bit analog readings from AN0-AN7 and then prints the results to the serial output. The baud rate is set to 38,400. However, … Continue reading
Posted in Uncategorized
Leave a comment
Motor PWM example for the dsPIC30F4011
The following program is an example of PWM output from the six motor PWM pins on the dsPIC30F4011. The duty cycle of each of the three PWM channels is controlled by an analog input. The duty cycle of each channel … Continue reading
Posted in Uncategorized
1 Comment
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
Analog input on the dsPIC30F4011
The following example program demonstrates basic analog input on the dsPIC30F4011. Only one of the ADC module’s four converters is used (AD0) and only one channel at a time is read. The sampling time is controlled manually and is currently … Continue reading
Posted in PIC
Tagged dsPIC30F4011, dsPIC, read_analog_channel, C code, analog input, 30F4011, 30F
10 Comments