Arduino Dock 2: Connection between Arduino IDE and the dock
-
The whole Arduino Dock 2 is confusing.
I was able to follow instructions and upload a sketch but I keep getting the message "ash: telnet: not found" when I open the serial console.
The Arduino IDE shows the the sktech compiled and it was able to upload it to the board via the ssh / Omega networking port.
BUt not output on the serial console of the Arduino IDE?
-
@Ashu-Joshi
The serial communication is possible because the serial pins of Omega2 (RX1, TX1 ie UART1) and the ATmega chip (TXD, RXD) are connected by default via a 3.3V-to-5V level shifter on the Arduino Dock 2.
On the Arduino side you have already uploaded that appropriate sketch.
On the Omega2 side you should install and run a serial terminal program: for exampleminicom
,screen
,pyserial
(python).There is neither telnet server nor telnet client on Omega2.
If you can't live without them - the full version of Busybox has atelnetd
(server) and atelnet
(client) applet / function.
-
@Ashu-Joshi
I'm very sorry. I'm afraid I misunderstood your question.
You want to use the Serial Monitor of the IDE on the usual "Arduino way".
There is no direct serial connection between your desktop PC and the ATmega chip of the Dock.
So I think it is not possible presently.
-
@György-Farkas Does that mean that from the Omega2+ prompt if I run a serial terminal that connects to the Arduino - I will be see the output? What serial port should I use to connect to the Arduino from the Omega2+ prompt?
-
@Ashu-Joshi
@György-Farkas said in Arduino Dock 2: Connection between Arduino IDE and the dock:... the serial pins of Omega2 (RX1, TX1 ie UART1) and the ATmega chip (TXD, RXD) are connected by default via a 3.3V-to-5V level shifter on the Arduino Dock 2.
Ergo Omega2's UART1 (ie
/dev/ttyS1
) is hard-wired to ATmega's USART on the Arduino Dock 2.Onion Omega2 Documentation
Communicating with Serial Devices