23
Mar 13

Low cost under cabinet lighting with the launchpad

This is my low cost under cabinet lighting system based around the Texas Instrument Launchpad and my PowerFet Booster Pack.

Read the rest of this entry »

7
Mar 13

Power Feet Booster Pack

This write-up is for the power fet booster pack (PFBP) which is up for sale on the products page. It's sold as a kit of parts which requires assembly. This video is a quick over view of the board and a demonstration of it pulse-width-modulating and LED strip. The source code is discussed below.

Read the rest of this entry »

25
Jan 13

SOIC - 16 Narrow Breakout Board

This is a SOIC narrow breakout board for 16 pin and lower pin count parts. This board breaks the pins of the SOIC package out to 0.100" (100 mil) header pins. As shown in the pictures below and described in the video, these boards allow you to breadboard circuits. This is important because it allows users to get a functional circuit up and running with the bugs worked out before they order expensive circuit boards.

Read the rest of this entry »

29
Dec 12

Reflow Toaster Oven: Conclusion

So the project is finally done other than cleaning up the box and making it look better etc.... The big question though, is, was this project really worth it? How well does this reflow toaster actually work? This is the answer.

Read the rest of this entry »

28
Dec 12

Single channel - Single Sequence ADC10 example

This is a quick write-up to show how to configure and use the MSP430's ADC10 in single channel/single sequence mode. Lets start off with the entire section of C-code and go from there:

/*
 * main.c
 *
 * Basic ADC10 Example
 * GetSomeSystems.com
 */

#include "msp430g2553.h"

// Globals variables
volatile int adc10_value;

void main(void) {

 	WDTCTL = WDTPW + WDTHOLD;             // Stop watchdog timer

	// Configure Clock
	DCOCTL = CALDCO_8MHZ;	// MCLK = 8Mhz
	BCSCTL1 = CALBC1_8MHZ;
	// Configure Submain clock for TimerA
	BCSCTL2 &= ~SELM0;	// MCLK comes from DCO
	BCSCTL2 &= ~SELM1;
	BCSCTL2 &= ~SELS;	// Sub main clock comes from DCO
	BCSCTL2 |= DIVS0 + DIVS1;	// SMCLK = 1 MHz (DC0/8)


	// Setup ADC10
	ADC10CTL1 |= INCH_11 + ADC10SSEL_3 + CONSEQ_0  + ADC10DIV_0;
	ADC10CTL0 |= ADC10SHT_0 + ADC10IE + MSC + ADC10ON + SREF_0;

	ADC10CTL0 |= ENC + ADC10SC;	// start ADC10
	_BIS_SR(GIE + LPM0_bits);

}
/* *******************************
 * ADC10 ISR
 *	
 *	
 */
#pragma vector=ADC10_VECTOR
__interrupt void ADC10_ISR(void)
{

	adc10_value = ADC10MEM;

// Maintanence
	ADC10CTL0 &=~ ADC10IFG;		// reset flag
	ADC10CTL0 |= ENC + ADC10SC;	// Begin new sampling sequence
}

Read the rest of this entry »

24
Dec 12

Interrupt driven Timer/Timing tutorial

This tutorial covers the basics of the TimerA0 capabilities including interrupt configuration. The Timer module counts clock cycles in an accumulation register called the "TAR" register. The chip I'm using (MSP430G2553) has 3x associated capture compare registers. These registers compare a set value (that they hold) to the TAR and throw an interrupt when they match. A simple way to look at this is that TimerA0 as 3x sub-modules (the capture compare registers) and all of them work together as a unit. Below is a screen shot from the datasheet.

TimerA0

Read the rest of this entry »

20
Dec 12

Reflow Toaster Oven Vid 8: Analog Op Amp Circuit

This section discusses the analog front end for all of my sensors. I had to do some signal conditioning which I'll discuss in a second.

Read the rest of this entry »

20
Dec 12

Reflow Toaster Oven Vid 7: Power System

Here I discuss the power system I used for this project. It's pretty simple and short.

Read the rest of this entry »

20
Dec 12

Reflow Toaster Oven Vid 6: Integer Division and Main State Machine

This will be a quick write-up about how I did my integer division by 10 and a brief discussion of the main state machine that runs the overall 140-170-215 thermal profile.

Read the rest of this entry »

19
Dec 12

Reflow Toaster Oven Vid 5: ADC10 ISR

This (ADC10 interrupt service routine) is one of the most confusing sections. Here, I sample and do most of the math and averaging calculations regarding room temperature and thermal couple temperature.

Read the rest of this entry »