In this Code Composer Studio graphing tool tutorial, graphing variables will be demonstrated in Texas Instruments IDE. The process is fairly straightforward and will be shown in a video as well as some screenshots so it can be easily replicated.
In this switch debouncing tutorial part 2 C code debounce algorithms will be looked at further, and their effectiveness. All the software solutions shown will be demonstrated on the MSP430G Launchpad. However the basic principle of operation shown in the examples, can be applied to all microcontrollers, particularly the last example which is based on some code found at Jack Ganssle tutorial, this can be easily implemented on any system using the C language.
In this switch debouncing tutorial part 1 the cause and effect of switch bounce will be explained and demonstrated, then a cost effective hardware debouncing solution will be discussed, with oscilloscope captures to demonstrate the results. The last section of part 1 will show a simple program based on the MSP430 , this can be used to see the effects of a particular switch connected to the GPIO. Switch deboucing tutorial part 2 of this tutorial will look at further C code debounce algorithms and their effectiveness.
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.
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.
In this Stellaris timer example two timers are used to code a basic frequency counter.
The Stellaris DAC7571 tutorial will show how a LM3S6965 evaluation board is interfaced to the DAC7571 using the I2C bus.