
nexusone1984
-
Content Count
56 -
Joined
-
Last visited
-
Days Won
2
Reputation Activity
-
nexusone1984 got a reaction from jsolarski in Temperature demo 2, using 2 digit LED display CC
A poster asked about using Common cathode display, just happens that is the type I had in hand.
And had been wanting to use the 74hc595 in driving LED's, so this is what I came up with.
I used of code I created for my first LED display project as a base.
I have drawn a schematic in Eagle for this project, which I have posted on my website in PDF format for those without Eagle.
The code has some interesting bits in it.... Binary to Decimal conversion, Seven segment truth table example, writing to the 74hc595, multiplexing LED's.
https://sites.google.com/site/ericstringer/home/projects/msp430launchpad/temperature-led-demo-version-2
-
nexusone1984 reacted to NatureTM in Launchpad TV output
I got my Launchpad to output B/W composite video. It only displays one image without re-flashing though, so it's not extremely useful. The only external components are two resistors and a crystal oscillator. I plan on writing it up on my blog and releasing the source sometime this week, unless I get too busy with school. I wasn't sure if I'd be able to ever get this working, so I'm feelin' pretty good right now!
Proof ;-)
Code for use with an external oscillator:
Launchpad_TV_Out.rar
Code for if you have your DCO configuration constants calibrated:
Launchpad_TV_Out_for_calibrated.rar
EDIT: Here's the writeup!
http://naturetm.com/?p=47
-
nexusone1984 got a reaction from zeke in CC vs CA 7-Segment displays
What are you using to drive the LED's?
My LED temperature project using the CD4511 which is made to drive a Common cathode LED display.
If you using something like a 74hc595, Just invert the data your sending.
Where one becomes zero and zero becomes one.
My 74hc595 output code:
j = ~data; //add the '~' which will apply a Not logic and reverses the data bits.
P1OUT &= ~BIT2; //ST_clock low
for(i=0; i < 8; i++)
{
P1OUT &= ~BIT1; //SH_clock low
if (j & 0x01)
{
P1OUT |= BIT0; set data high
}else{
P1OUT &= ~BIT0; set data low
}
P1OUT |= BIT1; //SH_clock high
j = j>>1;
}
P1OUT |= BIT2; //ST_clock low
-
nexusone1984 got a reaction from GeekDoc in Read from a Analog port on the MSP430
First off thanks NatureTM for the help with the code and the others who gave input.
Just a simple demo of reading a Analog signal and output some type of information.
I have a CDS photocell connected to a port, and I display the light change on a bar graph display.
Link below for video and code:
https://sites.google.com/site/ericstrin ... nalog-port
-
nexusone1984 got a reaction from jsolarski in Read from a Analog port on the MSP430
First off thanks NatureTM for the help with the code and the others who gave input.
Just a simple demo of reading a Analog signal and output some type of information.
I have a CDS photocell connected to a port, and I display the light change on a bar graph display.
Link below for video and code:
https://sites.google.com/site/ericstrin ... nalog-port
-
nexusone1984 got a reaction from bluehash in Read from a Analog port on the MSP430
First off thanks NatureTM for the help with the code and the others who gave input.
Just a simple demo of reading a Analog signal and output some type of information.
I have a CDS photocell connected to a port, and I display the light change on a bar graph display.
Link below for video and code:
https://sites.google.com/site/ericstrin ... nalog-port
-
nexusone1984 got a reaction from bluehash in Temperature demo using 2 digit LED display
I like to share with you, my current msp430 launchpad demo.
This demo show how to use the CD4511 BCD-to-7 Segment Latch/Decoder/Driver.
Video of my project:
My webpage of the project:
https://sites.google.com/site/ericstrin ... ed-display