how can I not run via USB but via the serial interface of the Raspberry Pi to transfer data?
[Solved] Connect Arduino Pro Mini via serial interface
Thank you for your quick response
I had no luck so far. /dev/ttyAMA0 and pro5v328 are included in the Makefile and the signal is level-shifted. The Upload ends with the error-message “programmer is not responding”. Programming with an USB-RS232-Converter via /dev/ttyUSB0 should work if the DTR-Pin of the converter is connected to the DTR/Reset of the Arduino Pro Mini. Which GPIO is responsible for the DTR/Reset-Signal?
Next Problem: An already programmed Arduino Pro Mini does’t work at the RS232-Port. The config.json in the plugin-directory was edited to contain:
Is the DTR/Reset-Signal needed during normal operation? Is there something else i haven’t considered jet?
@ufelet As far as I know Raspi has no GPIO pin for DTR, but it is possible to assign a GPIO for it, if the driver software is able to handle it. Apparently, several solutions exist:
If you use the USB-RS232 converter (USB is connected to Raspi) the following wiring should apply for Arduino Pro Mini:
done - Thank you
I had “console = ttyAMA0,115200 kgdboc = ttyAMA0,115200” comment out forget.
thanks a lot. That little detail did the trick. I’ve totally overlooked the missing console-string and didn’t know it could cause this problem. thanks again for the help