olimpo88:
Hello I have an Arduino MEGA and I am trying to send data from arduino to the pc.
Connect the serial port to pins 18 and 19 of arduino.
Hi.
On my mini-pro and uno I always use pin 0 an 1 ( digital ). Try it.
And you could again test with 115200 ( I got issue at this speed, but some times work fine )
olimpo88:
I have a serial to usb adapter, but I'm not sure if it's a converter TTL.
Inside is electronic.
The GND es connect.
A serial to USB connector is completely inappropriate. That is for connecting a PC with a USB port to an accessory that needs a serial connection. USB works at a a very high speed that is quite incompatible with the Arduino pins.
"screen / dev / ttyUSB0 115200
I have a serial to usb adapter, but I'm not sure if it's a converter TTL"
I understand where you are coming from. However when I quoted Reply #8 I discovered it had a link to this image which informed my response. I've just realized the image is not generally visible.
Robin2:
I've just realized the image is not generally visible.
However the whol thing is very uncertain.
...R
Hi.
Your write, on my firefox cant see any picture/any broken link for this image, but over opera mobile I can see now a broken link.
I'm pretty sure his adapter is a usb to serial one ( not with ttl level ) I use one very similar to connect my laptop to some serial devices ), and he used a old mouse cable to get it connected to arduino TX-RX-gnd.
So, you are write too, when you say "What you need is Rs232 to TTL " if he have a genuine serial port on his computer ( I think he have: his print-screen. HP-COMPAQ-6000 pro.. a desktop computer with one serial port. any max232 or max3232 based adapter will work fine. Or as I say, less than 2usd: ebay usb-to-ttl adapter.
Your are using linux box with your arduino, Arduino Software running on linux to program the arduino.
Your linux computer have a DB9, serial port ? I saw some pics of hp-9000 pro, and it's look like.
if yes check on the BIOS computer if is activated.
check on linux, name of it: /dev/ttSXX
get rid of this chinese usb to serial adapter, and connect this ttl converter that you build directly to that BD9 port on your computer.
try again: " cat /dev/ttSXXX "
Still not working, get a usb-to-ttl adapter. Or an old nokia-siemens serial data cable and connect it to your DB9 serial computer port. Even a cheap based max232 rs232 to ttl converter will work.
Remember: arduino TX connected to RX on ttl converter, and RX on arduino to TX converter ttl. GND are GND. or even a cheap based max232 rs232 to ttl converter.