Created
July 16, 2018 18:58
-
-
Save dnavarrom/077291a8706ab06f7bdc15612937e2e0 to your computer and use it in GitHub Desktop.
Configure GEETECH Iduino Yun Shield
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Problem: Cannot send console messages from arduino console sample: https://www.arduino.cc/en/Tutorial/ConsoleRead | |
### Config: | |
1.- Original Arduino Uno Board | |
2.- Geetech Iduino Yun Shield Clone | |
3.- Arduino IDE 1.8.5 | |
4.- Ubuntu 18.04 Linux 64 | |
### Symptom: | |
1.- Applied Jumper setting from http://www.geeetech.com/wiki/index.php/Iduino_Yun_Shield#Connect_to_Arduino_Uno | |
2.- Connected and Condigured Yun shield using Wifi (using web interface: http://arduinoyun.local/) | |
3.- Can upload sketch using network upload (from Arduino IDE) | |
3.- Serial monitor says: | |
Unable to connect: retrying (1)... | |
Unable to connect: retrying (2)... | |
Unable to connect: retrying (3)... | |
Unable to connect: retrying (4)... | |
Unable to connect: is the sketch using the bridge? | |
### Fix: Modify arduino IDE configuration | |
1.- Download both files (or edit online) | |
wget https://github.com/dragino/modules/tree/m1aster/hardware/YunShield/sketchbook/hardware/YunShield/avr | |
2.- Go to folder <arduino_install_folder>/hardware/arduino/avr | |
cd /home/diego/arduino-1.8.5/hardware/arduino/avr | |
3.- Edit Board File: | |
gedit boards.txt | |
4.- Find the right board parameters (mine was Arduino uno) and paste into boards.txt | |
############################################################## | |
unoyun.name=Arduino Uno - Dragino Yún | |
unoyun.upload.via_ssh=true | |
unoyun.vid.0=0x2341 | |
unoyun.pid.0=0x0043 | |
unoyun.vid.1=0x2341 | |
unoyun.pid.1=0x0001 | |
unoyun.upload.tool=arduino:avrdude | |
unoyun.upload.protocol=arduino | |
unoyun.upload.maximum_size=32256 | |
unoyun.upload.maximum_data_size=2048 | |
unoyun.upload.speed=57600 | |
unoyun.upload.disable_flushing=true | |
unoyun.upload.use_1200bps_touch=true | |
unoyun.upload.wait_for_upload_port=true | |
unoyun.bootloader.tool=arduino:avrdude | |
unoyun.bootloader.low_fuses=0xff | |
unoyun.bootloader.high_fuses=0xde | |
unoyun.bootloader.extended_fuses=0x05 | |
unoyun.bootloader.file=arduino:optiboot/optiboot_atmega328.hex | |
unoyun.bootloader.unlock_bits=0x3F | |
unoyun.bootloader.lock_bits=0x0F | |
unoyun.build.mcu=atmega328p | |
unoyun.build.f_cpu=16000000L | |
unoyun.build.board=AVR_YUN | |
unoyun.build.core=arduino:arduino | |
unoyun.build.variant=arduino:standard | |
############################################################## | |
5.- Edit parameters.txt file and paste this: | |
# Arduino AVR Core and platform. | |
# ------------------------------ | |
# For more info: | |
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification | |
name=Dragino Yún | |
version=1.0 | |
6.- Restart Arduino IDE and select the Arduino - Draginno Yun board | |
7.- Enjoy | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment