Custom Search

Category Archives: MSP430

New Toys, Bigger msp430 and a stellaris launchpad

0
Filed under General, Hardware, MSP430, programing
Tagged as ,

New toys came in the other day from the 43oh.com store.
I ordered 2x msp430f5510 USB dev boards, created By Robg , also I received a Stellaris Launchpad (on loan till mine come in) .

 

These are Nice little boards, and will work great for any one trying with a Launchpad and would like to try some of the bigger flagships. These are very easy to solder and get up and running.

image

 

image

To program them, all I did was connect the RST, TST, Vcc, Gnd between the launchpad and the dev board. Ran mspdebug, and it worked on the first try.

Sorry for the poor screen shot.

 

 

image

 

As of right now, I am working on porting msp430USBDev API from TI. It is both IAR and CCS code, and both will not work out of the box with mspgcc.

But with some minor changes I think I can get it to work.

There is a Port of the devpack, but It has an autogen.sh file that makes the makefile and links things automatically…… and in general I had issues with it, it compiled correctly but did not run on my 5510, even after I changed the minimal configuration options it gave.
Now I don’t know what the guy changed or what he did to get it to work other then some linker options about the usb buffer/ram.

I will give an update on this as soon as I get it to work.

 

RFID + Back door = Easy Access

1
Filed under electronics, Hardware, MSP430
Tagged as , , ,

Lately I have been lazy about getting into my home, early in the morning I dislike rummaging through my pockets to get out my keys just to go through 2 doors just to get in and sit down.  So I fixed this issue by making my patio door RFID accessible. With a few parts on hand and a whole bunch of time, I made a “patio un-locker”, because it only unlocks the patio door but does not lock it.

Read More »

WP mobile app test & update

0
Filed under electronics, General, Hardware, MSP430

Hopefully this will help me stay motivated to keep posting. my current side project

image

My motor driver should be done this weekend. 

image

msp430 BMP counter, its getting there

0
Filed under Hardware, MSP430

Doing some more testing on my BPM counter,  the beat detection circuit is getting closer and closer.

 

Using NightBass “Sky Ride extended mix(A1)”  I have tested the circuit and finally have some results.  See video below.

The signal is coming from my turntable, through the mixer, and into my low pass filter, then the signal is read by the SD16, every time the threshold is reached the LED is turned on.

 

Test Code

/*****************************************************************************/
//Author- Justin Solarski
//Copyright 2011 justinstech.org
#include
/*****************************************************************************/
volatile unsigned int results = 0;
/*****************************************************************************/
/*****************************************************************************/
void main(void) {
WDTCTL = WDTPW + WDTHOLD; // Stop WDT
//basic clock settings
DCOCTL = CALDCO_1MHZ;
BCSCTL1 = CALBC1_1MHZ;
BCSCTL2 |= DIVS_3; //divide smclk/8 125000Hz
//GPIO setup
P2DIR |= BIT7;
P1DIR |= BIT6;
//sd16 settings
SD16CTL = SD16REFON + SD16SSEL_1; // 1.2V ref, SMCLK
//SD16CTL |= SD16XDIV_3; //
SD16INCTL0 = SD16INCH_0; // A1+/- P1.2
SD16CCTL0 = SD16IE; // 256OSR, bipolar offset, interrupt enable
SD16AE = SD16AE0; // P1.0 A0+, A0- = VSS
SD16CCTL0 |= SD16SC; // Set bit to start conversion
_BIS_SR(LPM0_bits + GIE);
}
/*****************************************************************************/
// SD16 ISR
#define THRSHMAX 0xc000 // not used yet
#define THRSHMIN 0x4000 // not used yet
__attribute__((interrupt(SD16_VECTOR)))
void Sd16_Isr(void){ // 0000 - FFFF -- 8000 = halfway point or 1.2V
//P1DIR ^= BIT6;
results = SD16MEM0;
if (results < 0x4000) { //results is less then 0x4000 P1OUT |= BIT6; } else if ( results > 0xc000) { // results greater then 0x9000
P1OUT |= BIT6; }
else { P1OUT = 0; }
}

the code needs to be tweaked a little more to show better results, maybe adding a adjustable threshold would be nice. only a few more things to finish, like calculations of BPM and the 3x 7 segment display. hopefully it will be the majority will be finished sometime this next week, and then clean up and find a nice project box for everything.

once i get the calculations done I will do a bigger write up, explaining how it all works…….Please let me know what you think

Thanks
Justin

MSP430 BPM counter ….coming soon

0
Filed under Hardware, MSP430

I am almost finished with my BPM counter :)

There will be a Post coming this weekend, with most of it finished except the small final touches, like the enclosure and finalized board.

Also I am so excited that i get to enter it into the http://43oh.com project of the month contest for August…..