Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won

  1. Hi Alex, Looking at your last code: It loops waiting for char(44) or ',' Then when ',' arrives it moves the servo from 0 degrees to 180 degrees in increments of 1 degree every 15 milliseconds. After that it continues doing the servo movement jumping from 180 degrees to 0 degrees without delay and repeating the 0 to 180 movement in steps of 1 degree every 15 milliseconds. Nothing stops the servo. Will be nice to move back the servo to 0 degrees and asign a diferent value to moveServo. In this way the servo will be stopped in 0 degrees waiting for the next ',' ... May be it solve
  2. Edited my last comment... may be useful.
  3. Several comments: If you are turning ON the LaunchPad and the printer simultaneously, use a delay before sending the message, maybe the printer needs more time to begin the reception... LaunchPad VCC = 3.6 Volts Two AA batteries= 3.0 Volts or less Three AA Batt. = 4.5 Volts or less How do you power the MAX232 ? (Supply voltage range 4.5~5.5V). Setting time of the MAX232 after power on? If you are using a MAX232 is good practice to place a delay routine to ensure that the charge pump voltage has risen to its proper operating level. Logic levels betwen MAX232 and the launc
  4. Why a 20 seconds delay? it's a lot of waiting time to me. You will be using the reset button to send the message... :thumbup:
  5. I like to share some pictures, (useful for your project docs). LaunchPad Ver 1.4 and Ver 1.5 I hope they will be useful.
  6. Will be nice to have a chart showing the hardware resources used by each function or library. Maybe already exist in the Energia docs...
  7. During the end of 2010 there was a shortage of ATMEGA328 in DIP package, The Arduino Team creates a SMT version of the Arduino UNO to overcome it. They ask Atmel for more than 100K DIP chips and they becomes interested in the Arduino. Atmel is making money with the Arduinos and will continue doing so because the clones and because Arduino is becoming a commodity. Texas is not making money producing LaunchPads, it
  8. The Texas Instuments launchpad strategy is to promote the knowledge and use of the MSP430 value line of microcontrollers in new applications. Energia will promote the use of LaunchPads but will prevent the majority of users from going deep in the microcontroller capabilities. Energia, like the Arduino IDE (and the whole ecosystem), put in the hands of general public the use of microcontrollers to do
  9. There is one Sketch only. Is compiled using diferent options (target Microcontroller). Both of them are working correctly (taking care of inverting TXD and RXD lines ). When the target is MSP430G2452, the compiler will use TimerSerial library because there is not a UART available. The compiler produce a more compact code when simulate the UART, a strange result in my opinion. :?:
  10. Thanks dchaplinsky for the discovery and thanks energia for the fix. Will be nice to upload the corrected file and save all the task of search-cut-paste.
  11. Doing some experiments with an older LaunchPad (rev 1.4). With a MSP340G2553 (hardware UART): Commpiling a small Sketch with serial communication found that the code size generated by the compiler is smaller using TimerSerial than the code size used for hardware UART: Target Board: LaunchPad w/ msp430G2452 (16MHz) Erasing... Programming... Done, 1358 bytes written <---- Using TimerSerial Target Board: LaunchPad w/ msp430G2553 (16MHz) Erasing... Programming... Done, 1930 bytes written <---- Using hardware UART any idea?
  12. Good work Rei. Consider the use of the label "TimerSerial" instead of "UART" in the MSP430G2452 reference chart.
  13. Thanks Rei Vilo ! Like your visual presentation. :thumbup:
  • Create New...