Thank you for the tip on ASCII chart. (Personally, I bleed EBCDIC.)
After seeing 'a'=97, I tried all println formats. BYTE has been dropped, but the compiler pointed me in the right direction. This is the code that works -
int crap = Serial.read();
Serial.write(crap);
Everything appeared to be working fine to start with, I managed to blink LED's and show temperature in the serial monitor etc.
The latest thing i have tried to do was to show text on an LCD. The Text was really dull even with the POT turned up and down.
Now when i connect my Arduino to the USB cable it does not show up in the Arduino software.
Mega 2560 is selected in the board options, but the port is blanked out, as if the pc cannot see the board.
I have tried different ports and the cable is brand new, and work to start with.
I have trioed pressing the Reset button which also does nto appear to work. I have tested the voltages on the power pins and they all seem fine. neither tx or rx LED illuminate but the power LED does.
My uno suddenly stoped working.. im afraid I may have touched two wires that shouldn't have while working with it last night. Power light comes on, but the other lights dont blink like they normally would when turning on and dont do anythign while trying upload to the board... I keep getting the error "programmer not responding". My computer detects the USB and so does the arduino program... but when i tried the loop test it failed to echo back the text.... have not tried another ocmputer yet, but I tried my MEGA board on the same ocmputer and it works fine...
So what do I do if my board fails the loop back test?? When i plug my board in, nothing pops up, makes a noise, or tries to install drivers. When I look at my device manager, I see a COM port, but its not called arduino anything (like the installation instructions say it will be). Uploading of the blink code doesn't work.
Binary sketch size: 1,632 bytes (of a 258,048 byte maximum)
avrdude: usbdev_open(): did not find any USB device "usb"
loop back test shows my Uno R3 is working, but I am still getting sync error
avrdude: stk500_getsync(): not in sync: resp=0x00
Sketches indicate they upload but now do nothing not even blink the on-board indicator, plugging in an external LED extinguishes the on-board LED, the power indicator is on and the "L" indicator is dimly lighted??? Is my Uno now bricked?
Yes Led in series.
Seems I corrupted my install while attempting to add ATTiny13 support files and the loop back test triggered something strange.
After a clean install of arduino-1.0.1 my Uno seems to be back to normal.
gizmoDave:
plugging in an external LED extinguishes the on-board LED, the power indicator is on and the "L" indicator is dimly lighted???
With a series resistor?
Yes Led in series.
Seems I corrupted my install while attempting to add ATTiny13 support files and the loop back test triggered something strange.
After a clean install of arduino-1.0.1 my Uno seems to be back to normal.
[/quote]
Next time do not replace any files.
" 6. Start your favourite terminal application. Serial Monitor will work fine."
Thank you,
Regards
com64
In the tools menu of the Arduino IDE there is a 'serial monitor' selection that will launch a small standalone serial monitor application that you can use to send and receive characters to an attached arduino board. Be sure you set the serial monitor's baud rate to match the baud rate you use in your running sketch on the arduino board. You can also use most any PC terminal application that you might have or obtain, and they usually have many more features on them that the arduino IDE serial monitor does not. I like brey terminal on my windows PC and there are many other free PC terminal applications avalible if you want or need something more powerful then the arduino serial monitor.
Thanks for the test. So here it goes. I have two Mega 2560 R3 that I have problems with.
I did the loop test. I connected Reset to GND and TX0 to RX0 and I tried using the Serial Monitor.
For the first board, I got COM11 in my Device Manager. The L led on the board is goes on as soon as I connect it to my PC. I did not get my messages back from the board.
For the second board, there is no COM port in my Device Manager, the L Led on the board is on for a fraction of asecond and that too very dim. And as before I did not get my messages back.
I have an UNO R3 running on an older dell laptop, windows 2000. The monitor results are perplexing. I input a string 123456789_123456789 but it only repeats back the first eight characters. 12345678 , the rest of the string is missing. I can see the TX and RX LEDs blinking but not getting a full echo. I also noted that I have to close the monitor window and reopen it to try sending another message. If I do not perform that interum step, there is no echo at all. Any thoughts on what the indications mean, thanks for the help.