Description
We are trying to connect an Arduino MKR WAN 1300 device to a Raspberry Pi zero W computer board by wiring the 13(RX), 14(TX) Pins of Arduino and the corresponding GPIO14 (UART0_TXD), GPIO15 (UART0_RXD) on RPi zero W.
Following several online tutorials and the arduino-cli installation guide, we were able so far to configure RPi properly and to install all the required software.
Moreover, we were able to successfully test the UART connection by uploading a simple sketch on Arduino
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
and testing the serial communication on Raspberry with minicom (minicom -b 9600 -o -D /dev/ttyAMA0)
However, all attempts both to detect the board (arduino-cli board list) or to upload a compiled sketch (arduino-cli board attach serial:///dev/tty/AMA0 MyFirstSketch) to arduino mkr wan 1300 by means of arduino-cli has failed!
We are wondering if the communication via uart is available in the Arduino-CLI code?
Any help would be greatly appreciated!