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.
Category Archives: C Programming
C Programming
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.
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.
PID Tutorial C code Example Pt/1
In this PID tutorial C code example Pt/1, the basic concept of a PID controller will be explored. The full example code is implemented on a Stellaris LM3S6965 microcontroller, and is used to control a simple boost converter circuit, regulating the voltage with a change in load resistance. The boost circuit is not covered in-depth in this tutorial, but the fundamentals of a boost circuit are covered.
C Programming Pointers Pt/1
This first tutorial will be a basic introduction to C programming Pointers. They are an important part of the C language, providing a powerful and flexible method of manipulating data. When pointers are used with functions, it allows the values of variables to be changed regardless of where they originated.
C Programming Functions Pt/1
C programming functions Part 1, will be a basic introduction to functions in the C language.
Eclipse Doxygen Installation
This is a quick tutorial on how to install Doxygen on a Windows 7 machine, running Doxygen with Eclipse or Code Composer Studio V5.x (CCS). In the example I will be using CCS v5.4, but essentially this is the same for Eclipse.