Jump to content
43oh

nemi

Members
  • Content Count

    9
  • Joined

  • Last visited

  1. I haven't tried this (yet) but I was wondering if the MSP430G2211 chip that accompanies the MSP430G2231 chip pre-installed on the launchpad could share the same PC USB UART interface, at the same time? I was thinking that if each had different serial command sets and only transmitted data after receiving a command then they could share the same (9600 baud) comms to a host PC, doubling the I/O lines available, assuming there is no USB UART speciic issue that I am unaware of. I realize both chips would have to be programed separably, one would then be installed in the launchpad demo PCB
  2. Good idea. though as I said in the post, I routed VCC and an output line to the mini board for future expansion - such as rear illumination of the monitors (nice on the eyes at night). So I need a 5+ pin connector. I may just look into cheap rj46 jacks and use a network cable.
  3. surplus electronics for the tilt switches. I got the cheapest single pin type. Need to solder or contact the case for the other terminal. http://www.surplus-electronics-sales.com/Zencart/index.php?main_page=product_info&cPath=28&products_id=316 autoit is a very handy language for automating widnows programs that don't have command line options or an API. http://www.autoitscript.com/autoit3/index.shtml
  4. Hi Everyone, my first project with the launch pad is to automatically rotate my windows desktop orientation when I rotate my monitors. I have been working with dual monitors for a while but recently got a monoprice dual monitor stand that allows rotation. http://www.monoprice.com/products/product.asp?c_id=109&cp_id=10828&cs_id=1082808&p_id=5560&seq=1&format=2 I then had the idea to implement my own hardware sensor to detect when they had been rotated to portrait (or even up-side-down). The circuit is simple and the pictures should explain everything.
  5. Well it doesn't crash, but the 't' command retuns nothing until another character is sent from the PC, and it always repsonds with the same values even if i warm the chip. Very confusing... //****************************************************************************** // MSP430G2xx1 Demo - Timer_A, Ultra-Low Pwr UART 9600 Echo, 32kHz ACLK // // Description: Use Timer_A CCR0 hardware output modes and SCCI data latch // to implement UART function @ 9600 baud. Software does not directly read and // write to RX and TX pins, instead proper use of output modes and SCCI data // latch
  6. I put those lines (anywhere) in my code and serial comms either doesn't work, or stops after a few chars. Am I missing something? What would be a compete code block to get the temperature ADC reading (including any delay needed to settle) either in the "t" section or the main loop? thank you.
  7. Thank you. It would take some time to pour over the code and understand the syntax. For my immediate needs I re purposed the example 9600 baud UART code. Using the 2 LEDS P1.0 and P1.6 as outputs and the other lines as digital inputs. However "grafting" the temperature sensor code for the example fails, I no longer get working serial communications. The other (minor) issue is i couldn't set P1.3 to pull down, so I set all other pins to pull up for simplicity. I guess I can carry on wishing for a well documented + simple function library /frame work for simple pin reading/writing. I'm
  8. Hi Everyone, I just received my TI LaunchPAd kit and have been searching for a general purpose IO program for it to speed up my hardware development (via a PC) before I dive into specific MSP code. I was hoping there might already be something out there that allows simple serial terminal control of the MSP430G2231 as if it were an "instrument". The TI example program "msp430g2xx1_ta_uart9600.c Timer_A, Ultra-Low Pwr Full-duplex UART 9600, 32kHz ACLK" is a start but only allows for setting of 8 digital output pins and the setting is done at the byte level so a bit of a pain compare
×
×
  • Create New...