Can I program / upload to my Arduino Mega with Ethernet over an Ethernet connection from the IDE?
(I am using Com3 over USB serial at the moment)
My Arduino Mega with ethernet is installed in physical position that makes connecting to its USB port extremely difficult, and the installation of a 30m extension USB cable is not a good practice.
I want to be able to upload new code and (ideally) monitor the serial terminal as well
If I cant do it using ethernet does anyone aware of a solution using RPI as a serial port to ethernet converter? I am thinking a RPI located beside the Arduino Mega, connected USB to USB, then code on the RPI to transport the serial data (9600 is fine) over Ethernet to a "virtual com port" on my PC that is running the Arduino IDE.
If the "virtual com port" and the Arduino IDE wont play nicely together that other option is to have another RPI to convert the Ethernet back to USB serial beside the PC
Arduino Mega usb - (rpi usb - rpi ethernet) - LAN - PC running IDE through a virtual com port
Arduino Mega usb - (rpi usb - rpi ethernet) - LAN - - (rpi ethernet - rpi usb )- PC running IDE