Serial GW to Raspberry USB connection, which tty ?
-
Hi everyone,
I build a serial gateway (based on an Arduino nano v3) that I'll plug to a Raspberry that will house a NodeJS controller.I would like to have my Arduino to communicate with the rpi over usb.
So my questions are :
How can I tell the gateway to use the usb to send the data ? (I'm using the default serialgateway code)
And on the RPI which tty should I connect to ?Thanks !
-
@Splinteer said:
And on the RPI which tty should I connect to ?
Login to the RPi, plugin your USB serial device and type in a console:
dmesg | grep tty
which will return something like
[145.376756] usb 5-1: pl2303 converter now attached to ttyUSB0
The serial device is now available at /dev/ttyUSB0