Jump to content


  • Content Count

  • Joined

  • Last visited

About hamada

  • Rank
    Noob Class

Contact Methods

  • Website URL

Profile Information

  • Github
  1. SOLVED: He is final working circuit, Thanks everyone for your help!
  2. No, I didn't use a resistor. is it short circuit?
  3. Hello, I'm trying to control a 3v dc motor from msp430 launchpad connect by USB cable with array of darlington transistors circuit known as ULN2003 (data sheet in attachement) in the picture below, I replaced the motor with red LED to protect the chip while testing. but I can't light it is 3v not enough to power the ULN2003? ULN2003.pdf
  4. I had the same problem, please take a look at my solution in this thread: http://forum.43oh.com/topic/3979-solved-cant-connect-serial-with-energia/
  5. Finnaly, I found solution: Once programmed you need to unplug and keep reset button on launchpad pressed a few seconds to led kernel enough time to load the module, before pluging the usb cable again. instead of using Energia serial monitor (which is buggy) I used Putty which has version for windows and Linux with following config in screenshot below
  6. I can't build the kernel module, when I run ./install.sh I get this error: make -C /lib/modules/3.8-2-686-pae/build M=/usr/src/cdcacm-0.1 modules make[1]: Entering directory `/usr/src/linux-headers-3.8-2-686-pae' CC [M] /usr/src/cdcacm-0.1/cdcacm.o /usr/src/cdcacm-0.1/cdcacm.c: In function
  7. I just got a launchpad (MSPEXP430G2) and been playing with Examples code and they all load fine under Linux. But I can't get any code that sample that use serial communication to work with MSP430G2452/2553 under Linux or Windows(virtualbox), like this one below: Are all the supplied samples working or some of them still not ported to the MSP? /* ASCII table Prints out byte values in all possible formats: * as raw binary values * as ASCII-encoded decimal, hex, octal, and binary values For more on ASCII, see http://www.asciitable.com and http://en.wikipedia.org/wiki/ASCII The circuit: No external hardware needed. created 2006 by Nicholas Zambetti modified 30 Aug 2011 by Tom Igoe This example code is in the public domain. <http://www.zambetti.com> */ void setup() { Serial.begin(9600); // msp430g2231 must use 4800 // prints title with ending line break Serial.println("ASCII Table ~ Character Map"); } // first visible ASCIIcharacter '!' is number 33: int thisByte = 33; // you can also write ASCII characters in single quotes. // for example. '!' is the same as 33, so you could also use this: //int thisByte = '!'; void loop() { // prints value unaltered, i.e. the raw binary version of the // byte. The serial monitor interprets all bytes as // ASCII, so 33, the first number, will show up as '!' Serial.write(thisByte); Serial.print(", dec: "); // prints value as string as an ASCII-encoded decimal (base 10). // Decimal is the default format for Serial.print() and Serial.println(), // so no modifier is needed: Serial.print(thisByte); // But you can declare the modifier for decimal if you want to. //this also works if you uncomment it: // Serial.print(thisByte, DEC); Serial.print(", hex: "); // prints value as string in hexadecimal (base 16): Serial.print(thisByte, HEX); Serial.print(", oct: "); // prints value as string in octal (base 8); Serial.print(thisByte, OCT); Serial.print(", bin: "); // prints value as string in binary (base 2) // also prints ending line break: Serial.println(thisByte, BIN); // if printed last visible character '~' or 126, stop: if(thisByte == 126) { // you could also use if (thisByte == '~') { // This loop loops forever and does nothing while(true) { continue; } } // go on to the next character thisByte++; }
  • Create New...