Arduino UNO [PDF]

  • 0 0 0
  • Gefällt Ihnen dieses papier und der download? Sie können Ihre eigene PDF-Datei in wenigen Minuten kostenlos online veröffentlichen! Anmelden
Datei wird geladen, bitte warten...
Zitiervorschau

Arduino UNO Update USB Firmware: ● ● ● ● ●

Get new firmware: https://github.com/arduino/Arduino/tree/master/hardware/arduino/firmwares/ arduino-usbserial/ Select Arduino-usbserial-uno.hex, click on the file in the list then right click on “raw” and click “Save as“ Check md5sum: for the 4th December version: 8e01ee236e70bbea43f7eb4e11c9688a Install DFU Programmer tools: sudo aptitude install dfu-programmer Put the chip into DFU programming mode:





Sequence: ○ Hold the 1st wire on the top left 8U2 ICSP pad ○ Hold the 2nd wire on the left side of the capacitor below the RX LED ○ Remove both wires Be careful with the second wire as the capacitor is quite near a 5v track. Try using a low-

value resistor instead of a wire. To get back to normal mode, hold the 1st wire place as mentioned above, press the Reset button and then remove the 1st wire; or just unplug the USB cable and plug it back in. Reflash the AT90USB82 serial-usb chip with the following commands: ○ sudo dfu-programmer at90usb82 erase ○ sudo dfu-programmer at90usb82 flash --debug 1 Arduino-usbserial-uno.hex ○ sudo dfu-programmer at90usb82 reset Disconnect the USB lead and reconnect to reset the device back to normal mode. ●





References: ● http://www.strangeparty.com/2010/12/13/fix-your-arduino-uno-for-linux/ ● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286088093/34#34 ● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1285962838/10#10 ● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1286088093/38#38 Install Arduino IDE on Ubuntu LTS 10.04 ●





● ●

Install the compiler (gcc-avr) and the libraries (avr-libc) packages: sudo apt-get install gcc-avr avrlibc ● Other possible requirements: Java Runtime (openjdk-6-jre or sun-java6-jre), RXTX Java Communication library (librxtx-java) and for uploading programs (avrdude): sudo apt-get install openjdk-6-jre/sun-java6-jre librxtx-java avrdude If you use the USB port to dialog, you should add yourself to the group 'dialout' in order to have write permissions on that port: sudo usermod -aG dialout ○ Other possible required permissions: to send/receive data from a command prompt in a terminal session user must be member of the uucp group: sudo usermod -aG uucp

In case you have more than one such device then some udev rules may help avoid confusion: create a etc/udev/rules.d/09-local.rules file with this entries to creates two softlinks, one called arduino and one called arduino_$SERIAL where $SERIAL is the serial number of the FT232R. ○ SUBSYSTEMS=="usb", ATTRS{product}=="FT232R USB UART", ATTRS{idProduct} =="6001", ATTRS{idVendor}=="0403", SYMLINK+="arduino arduino_$attr{serial}" ○ SUBSYSTEMS=="usb", ATTRS{product}=="ARDUINO UNO", ATTRS{idProduct} =="6001", ATTRS{idVendor}=="0403", SYMLINK+="arduino arduino_uno_$attr{serial}" If you have brltty installed (the default on recent versions of Ubuntu), you'll need to remove it: sudo apt-get remove brltty Download the latest Arduino Linux distribution from: http://www.arduino.cc/en/Main/Software. Copy/ extract these files to a directory (or your desktop) and Run the "arduino" script.

References: ● http://www.arduino.cc/playground/Linux/Ubuntu ● http://www.arduino.cc/playground/Learning/Linux ● http://www.arduino.cc/playground/Linux/Udev ● http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1215915613