Collegando il 19 TX della Mega sul pin 1 (tx) di una board arduino senza ATMEGA a sua volta collegata con il pc via usb, riesco a leggere correttamente i dati... Mi piacerebbe però usare l'adattatore...
comuqnue, tanto per cominciare è un adattatore a 3.3V, per fortuna funziona lo stesso perchè l'1 logico di arduino è 3V se alimentato a 5V ( e arduino DEVI alimentarlo a 5v o varie impostazioni di fuse di incasinano).
Level Translation Note
You may have noticed that the cable’s output level isn’t 5V; it’s 3.3V. So how does it work when the ATmega expects 5V? Well if you’ll look at the ATmega datasheet you’ll see that the minimum input high VIH is 0.6VCC, which is 3V when VCC is 5V. So even though the cable puts out only 3.3V the ATmega still recognizes it as a high. Going the other way, the ATmega TxD pin puts out 5V which is possibly too high for the PL-2303 chip to receive without being damaged. This is why a voltage divider was put on the cables RxD line; 5V(15/(10+15)) = 3V. For the PL-2303HX rev. A the voltage divider is not necessary because it’s RxD pin is 5V tolerant. Other chip versions may not be; Check their datasheets.