Jump to content
43oh

mnpumar

Members
  • Content Count

    41
  • Joined

  • Last visited

  1. mnpumar

    MSP430 UART

    Thank you so much! I'm going to give this a try tomorrow and I'll let you know how it goes.
  2. mnpumar

    MSP430 UART

    I'd like to control an MSP430G2231 connected to my PC using the launchpad. After doing a little research, it looks like UART may be what I need. I found some code examples from TI, but I don't really understand how they work. What I'd like to do is send a signal from my PC to the MSP430 which would tell it to enable/disable certain pins. Here is the code i found, would anybody mind explaining how to use it? What is the difference between these two UART code samples? How do I send/receive on my PC? Do I need some sort of terminal? Can someone please explain? //********************
  3. Will this work with a G2231?
  4. Hmm..this seems a little overly complicated for what I need to do. Is there any possible way to raise and lower a single pin on the launchpad through some command sent via usb? Is it possible to do this using UART? Are there any code samples of how to use the UART on the launchpad?
  5. Thank you for the info! Since the msp430f series only comes in smt, are there still development kits available? If so, are there any you would recommend for a beginner?
  6. I'm thinking of using the MSP430 USB Developers Package for a little project i'm going to be starting, and I was wondering if anybody here has some experience with it. I can't seem to find any wiring diagrams that show how to connect the MSP430 to USB. Does anybody on here know? I suppose I could try it out with the development board, but I'd like to have something that doesn't rely on that. Also, does anybody here have experience with the HID USB Application? Is it difficult to get the MSP430 to start receiving and responding to USB messages? Here's a link to the package: http
  7. Yes, they are multiplexed digit by digit. The hours are combined into one multiplexed grid, and the minutes are each multiplexed separately. It took me hours on end to make all the connections on the breadboard to make this possible.
  8. I will post a full schematic when I have more time, the other digits are exactly the same with one less column. I'm swamped with work for my other classes now until Wednesday. Thanks for all the positive comments and support.
  9. My project/code/schematic is all posted here: http://www.43oh.com/forum/viewtopic.php?f=9&t=225
  10. Thanks! Code has been uploaded thanks to bluehash Thanks! I emailed you the schematic, would you mind adding it too? Also, is there any way to make the pictures appear larger? EDIT: Forgot to author my code :S can add it to my first post again? It's attached to this reply. EDIT2: Also authored the schematic, sent it to your email. Code.zip
  11. Thanks! The breadboarding took me 2 days straight, and a few more hours the next day after I finally made it to bed. I uploaded the full version of the pictures for you here: http://www.megaupload.com/?d=AS2R5SHU, they were too big to send via email. I also sent a copy of the link to your email, and my code.
  12. Sure, I can post the code if people are interested.
  13. So here it is: (EDIT: the forum seems to be cutting off some of the pictures to the right, if you'd like to see the full version of them, go here: http://img718.imageshack.us/gal.php?g=25703750f.png) 4 MSP430's working together The whole thing runs off a single 9V battery. The two digits for the hours are connected to one MSP430, and the two digits that make up the minutes are each connected to separate MSP430s. The whole thing is controlled by another MSP430 which keeps the time. The itself clock has two modes, one mode where it counts time
  14. mnpumar

    P2.7 As Input?

    I don't really have a button, I was just connecting the pin to ground/vcc with a wire. I got it to work by doing the following: int main( void ) { // Stop watchdog timer to prevent time out reset WDTCTL = WDTPW + WDTHOLD; P2OUT = 0; //P2 is output low P2DIR = BIT7; //P2 is output P2SEL = 0; //P2 is digital i/0 P2REN = 0; //P2 disable pullup resistors */ P2DIR &= ~BIT7; int i = 1; for(;{ //Digital Input while (!(P2IN & BIT7)){ Display(i); } //wait for P1.7 to go high (button is released) i = i + 1; //inc
  15. mnpumar

    P2.7 As Input?

    I am not familiar with interrupts i thought i'd be more comfortable working with inputs
×
×
  • Create New...