In this MSP430 timer PWM tutorial the basic workings of the on board timer peripheral will be explained, along with some C code examples which can be downloadable at the end of the tutorial. Additionally the video below demonstrates the examples ‘A picture paints a thousand words, a video displays a thousand pictures’.
Tag Archives: PWM
C2000 Solar MPPT Tutorial Pt/4
In this fourth and final part of the C2000 Solar MPPT Tutorial, the system set-up and testing will be looked at. This will involve the overall hardware set-up for testing, ADC calibration, reduction of noise on the ADC sampling, efficiency test and some improvements for future iterations. The final C2000 solar MPPT tutorial C code is also downloadable at the bottom of the page.
C2000 Solar MPPT tutorial Pt/3
In this third part of the C2000 Solar MPPT Tutorial, the software will be looked at in greater detail. This will entail a look at the Perturb & Observe algorithm, ADC code and timing code to ensure everything operates in a controlled manner.
C2000 Solar MPPT tutorial Pt/2
In this second part of the C2000 Solar MPPT Tutorial, the hardware and circuit design will be looked at in greater depth. The schematic for the system is posted again below for reference, which can be enlarged by simply clicking on it.
C2000 Solar MPPT tutorial Pt/1
This series of four posts will cover a project build for a C2000 Solar MPPT Tutorial. The Maximum Power Point Tracker (MPPT) circuit is based around an interleaved synchronous buck circuit topology. The microcontroller used is the Texas Instruments (TI) C2000 family, the C2000 Launchpad is used which has a TMS320F28027 chip on-board. Considerable research was carried out on this project, as there was no prior knowledge of the C2000, all the relevant peripherals were tested separately and then brought together and tweaked for the final code. TI provides all the documentation required, which can be found here and for this tutorial the ADC, ePWM and the F2802x Peripheral Driver Library Users’ Guide were referenced.
PID Tutorial C code Example Pt/2
In this PID tutorial C code example Pt/2, the basic concept of a Boost PID controller will be explored. All the PID controller C code is stepped through, as well as some basic concepts for testing and tuning the controller. The final C code example can be downloaded via the link at the end of the article.
Stellaris LM3S6965 PWM Tutorial
In this tutorial the Stellaris LM3S6965 Evaluation board will be used to demonstrate a simple PWM (Pulse Width Modulated) example. This is part of a larger project I am working on, which is not covered in this tutorial but will be posted at a later date.