Buenas a tod@s,
He intentado instalar y probar todo lo necesario para que mi distribución Linux detecte mi Arduino Mega 2560: IDE Arduino, Fritzing, y unos supuestos drivers para arduino....
La verdad es que en Windows 7 se ha instalado y funciona todo a la primera, pero es ya por cabezoneria que me gustaría trabajar en Linux.
Gracias a tdo@s.
Instalación de Arduino Mega 2560 en Linux
- funambuli
- Pi Beta
- Mensajes: 144
- Registrado: 22 Ene 2017, 21:43
- Agradecido: 0
- Agradecimiento recibido: 0
Muy buenas planck669, pues no es ninguna cabezonería, realmente la comunicación con arduino es mas fluida y da menos problemas bajo linux, doy por supuesto que estas trabajando con una distro basada en Debian, abres una terminal y con este comando instalas todo lo necesario para comunicarte y gestionar arduino:
sudo apt-get install arduino arduino-core arduino-mighty-1284p arduino-mk
Ya nos cuentas.
Un abrazo.
sudo apt-get install arduino arduino-core arduino-mighty-1284p arduino-mk
Ya nos cuentas.
Un abrazo.
La mejor forma de agradecer la ayuda es brindársela a quien la necesite.
Salud y red!!!
Salud y red!!!
-
- Pi Omega
- Mensajes: 44
- Registrado: 25 Nov 2016, 13:11
- Agradecido: 0
- Agradecimiento recibido: 0
Ya por fin he podido instalar mi Arduino Mega 2560 en linux, después de leer la documentación en la página de arduino:
https://www.arduino.cc/en/Guide/Linux
Y lo importante:
Después de haber hecho esto y añadir mi usuario a dialout ya me reconocía la placa y podría subir sketchs.
Un saludo y gracias a tod@s.
https://www.arduino.cc/en/Guide/Linux
Y lo importante:
NOTA
Please Read...
It might hapen that when you upload a sketch - after you have selected your board and serial port -, you get an error Error opening serial port ... If you get this error, you need to set serial port permission.
Open Terminal and type:
ls -l /dev/ttyACM*
you will get something like:
crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0
The "0" at the end of ACM might be a different number, or multiple entries might be returned. The data we need is "dialout" (is the group owner of the file).
Now we just need to add our user to the group:
sudo usermod -a -G dialout <username>
where <username> is your linux user name. You will need to log out and log in again for this change to take effect.
It might hapen that when you upload a sketch - after you have selected your board and serial port -, you get an error Error opening serial port ... If you get this error, you need to set serial port permission.
Open Terminal and type:
ls -l /dev/ttyACM*
you will get something like:
crw-rw---- 1 root dialout 188, 0 5 apr 23.01 ttyACM0
The "0" at the end of ACM might be a different number, or multiple entries might be returned. The data we need is "dialout" (is the group owner of the file).
Now we just need to add our user to the group:
sudo usermod -a -G dialout <username>
where <username> is your linux user name. You will need to log out and log in again for this change to take effect.
Un saludo y gracias a tod@s.