Jump to content

Search the Community

Showing results for tags 'serial monitor'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 7 results

  1. HI All Im havng a number of problems, Serial monitor doesn't seem to work for programs Ive written yet if I use an example sketch with serial prints in it the example sketch works. If I add a some simple button reading code to the example sketch the serial monitor stops working. I have a 10kOhm resistor connected to ground the other end to pin4 and the button and other end of the button to Vcc. Ive spent three frustrating days trying to get this working. I have version 1.5 of the MSP430 launchpad with a MSp430g2553. The jumpers are connected horizontally for Txd and Rxd. Im using Energia r17 (which seems to hang the computer randomly). Ive tried different baud rates 9600 and 115200. I thought reading a couple of buttons and checking them on the serial monitor would take an hour to do boy how wrong was I.The MSP is com5 on my computer (checked this with device monitor, Im running windows 10) which is what I selected in energia and Ive selected the proper board. Ive even put in a new MSP430g2553 chip. Ive tried the AnaloguInOutSerial program and serial monitor works. I then added code but commented out the analog stuff so the sketch looks like this but serial monitor stops working. See below: /* Analog input, analog output, serial output Reads an analog input pin, maps the result to a range from 0 to 255 and uses the result to set the pulsewidth modulation (PWM) of an output pin. Also prints the results to the serial monitor. The circuit: * potentiometer connected to analog pin 0. Center pin of the potentiometer goes to the analog pin. side pins of the potentiometer go to +3.3V and ground * LED connected from digital pin 9 to ground created 29 Dec. 2008 modified 30 Aug 2011 by Tom Igoe This example code is in the public domain. */ // These constants won't change. They're used to give names // to the pins used: //const int analogInPin = A0; // Analog input pin that the potentiometer is attached to //const int analogOutPin = 9; // Analog output pin that the LED is attached to //int sensorValue = 0; // value read from the pot //int outputValue = 0; // value output to the PWM (analog out) const int b1=4; void setup() { // initialize serial communications at 9600 bps: Serial.begin(9600); pinMode(b1,OUTPUT); } void loop() { int but1; // read the analog in value: //sensorValue = analogRead(analogInPin); // map it to the range of the analog out: //outputValue = map(sensorValue, 0, 1023, 0, 255); // change the analog out value: //analogWrite(analogOutPin, outputValue); // print the results to the serial monitor: but1=digitalRead(b1); Serial.print("button1 = " ); Serial.println(but1); // wait 500 milliseconds before the next loop // for the analog-to-digital converter to settle // after the last reading: delay(500); } Can anybody tell me whats wrong is it a jumper setting? my code? my computer? Now and again I get error=57 and no unused fet when trying to upload not all of the time but some of the time. Something as simple as reading a button shouldnt be this difficult. Any help would be appreciated. Andy
  2. Hello, I have hooked up an ESP8266 to Serial1 of a MSP430F5529 launchpad. I also made sure the chip select line is hooked up as well, then uploaded the following code, that simply turns on the ESP8266 on, and forwards Serial <-> Serial1 When I go with the energia serial monitor and run the sketch and type AT I get the following: setup done AT (first is the program typing setup done, second is the AT I typed locally echoing) - it should return an OK. So after making sure that I did all the connections ok, I used screen such as: and I type AT and get AT OK as expected. my guess is that the when you type something and press enter, it will not send the CR LF as it is supposed to. This problem goes beyond this example, I have encountered in other settings as well. for example the code: will not work as well. Are there any workarounds to this problem? Best regards, C.
  3. Hi, I'm trying to read analog values from a SHARP IR sensor GP2Y0A41SK0F using the MSP430F5529 launchpad. There was not any error when I verified and uploaded the codes in Energia. However, when I clicked on the Serial Monitor, nothing showed up. But when I chose the MSP430G2452 from the "Tools" menu, the monitor successfully showed the analog values. I connect Vcc (red wire) to 5 V pin, the ground (black wire) to GND pin, and the analog output (white wire) to P6.4 pin/A4 pin. The same thing also happened to the MSP430G2553 launchpad. It only works when MSP430G2452 is selected. I looked at the codes very thoroughly but I couldn't see any mistakes: const int IR = A4; void setup() { Serial.begin(9600); } void loop() { int maxVal = 0, minVal = 1024, n=200; float x_i, total=0, mean; for (int i=1; i <= n; i++) { x_i = analogRead(IR); total += x_i; Serial.println(x_i); if (x_i < minVal) { minVal = x_i; } if (x_i > maxVal) { maxVal = x_i; } } mean = total / n; Serial.print("minimum = "); Serial.print(minVal); Serial.print(", maximum = "); Serial.print(maxVal); Serial.print(", total = "); Serial.print(total); Serial.print(", mean = "); Serial.println(mean); delay(100); }
  4. Hi, Is there a quick way to store the serial monitor output to a file? Thanks, Shrenik
  5. Is there a way to change the font of the Serial Monitor in Energia (version 1010E0012)? I want to change it to a fixed size font so columns line up. Looked in preferences.txt, but couldn't find it there. (not for the Serial Monitor anyway, just the code editor.)
  6. Is there a way to change the font of the Serial Monitor window in Energia (version 1010E0012)? I want to change it to a fixed size font (like courier or deja vu) so columns line up. Looked in preferences.txt, but couldn't find it there. (not for the Serial Monitor anyway, just the code editor.)
  7. Hi everyone, today I made a simple sketch to show the measured values of a sensor in the serial monitor, but it doesn't seem to work with Energia 0101E0010 and Windows 8.1. I tried the same sketch in another computer with Windows 7 and it was working properly, displaying the values captured with the sensor. So it seems that there is a bug with the serial monitor in Windows 8.
  • Create New...