Rank: Newbie
Groups: Registered
Joined: 5/7/2015(UTC) Posts: 3  Thanks: 2 times
|
Good evening, I am sorry to impose on you, but I looked around in the forum, and could not find help with my issue:
My PC is Win 7 64bit, Embrio is the free version. Arduino IDE is ver 1.6.0 (Originally tried 1.6.3)
I tried the Blink Built in LED, but it looks like the Embrio does not really connect to the Yun. It gives the following errors:
19:28:41 Have you selected the correct Arduino model? Tried to upload to Arduino Yún on COM9. 19:28:41 Arduino upload process finished. 19:28:28 /C ""D:\Program Files (x86)\Arduino\arduino" --upload --verbose --port COM9 --board arduino:avr:yun "C:\Users\Dewald\AppData\Roaming\Embrio\ArduinoCompile\ArduinoCompile.ino\" > output.txt 2>&1\" 19:28:28 Compiling connection program... 19:28:28 A connection program was successfully uploaded but has failed to connect before the timeout. Something is probably slowing down your program, like a delay in a custom Arduino node, messing up the timing.
When I run the sketches in the Arduino IDE, the IDE connection works and uploads to both the Wifi IP Address and the various com ports.
I have already tried the following: 1. Installing Version 1.6.0 of Arduino IDE (suggestion from other thread) 2. Upgraded the Yun to the latest firmware (suggestion from Arduino Forums) 3. Connected the Yun to several of the Com ports on my PC by swopping between USB connections (suggestion from other thread) 4. Increased the upload timeout to 200 (my own idea based on the timeout error)
I also some an additional questions: 1. is it possible to connect the Embrio software to the Yun over the wifi, or is it supposed only to run via the usb connection? 2. Additionally, I noticed that the Com port associated with the usb port to which the Arduino is connected, is always at the bottom. However, the moment I try to connect Embrio to the Yun the Com port in the Embrio connection gets cleared after the errors start displaying in the log. 3. Lastly, would a weak WIFI signal possibly cause this?
Best regards Dewie
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 81 time(s) in 76 post(s)
|
I haven't actually tried with a yun yet, I need to get one to do my own experiments. It should work though, embrio just writes an arduino program and uses the command line feature in arduino 1.6 to compile and upload. it should only work via USB now, when I get a yun I'll look into wifi integration that sounds like it could be pretty useful.
It sounds like the upload works but embrio isn't getting back the data it's looking for. Could you open a terminal from arduino and connect to the port at 57600 baud and see if any data is coming over? Have you tried with any other arduino models?
I haven't seen the com port resetting issue you mention. I did recently make some changes to how the ui refreshes the com port so it's possible i messed something up when there's an error, I'll look into that.
|
 1 user thanked EmbrioAdmin for this useful post.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/7/2015(UTC) Posts: 3  Thanks: 2 times
|
Good evening Admin
I replaced the Yun with an Uno, and it works like a charm. Connects almost immediately.
I tried connecting terminal to the Yun, using both the Arduino IDE, and PuTTY, but neither shows anything, but it may just be my inexperience with terminals. As part of my investigation I loaded a blink sketch on pin 13 (LED) to the Yun to get it to do something that I can watch.
When I connect to Embrio I can see the Yun is receiving something on it's RX led, but no responses on it's TX led, like when I upload from the Arduino IDE. The flashing LED also did not stop, which indicates to me that the upload was not successful in updating the Yun.
Sorry to be such a pain but can you give an indication when you might get to your Yun experiment, because I would really like to use your software. I think it is extremely useful.
P.S. I am willing to be your Lab Rat if it helps.
Regards Dewie
|
|
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 81 time(s) in 76 post(s)
|
In the next couple weeks I'm getting married AND moving so I'm pretty swamped. once I get settled in looking into the yun will be on top of my list. You're not the only one to ask about it and I'm also interested in it so it'll happen pretty soon after things calm down. If you have any success before then please share your experience here.
|
 1 user thanked EmbrioAdmin for this useful post.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 5/7/2015(UTC) Posts: 3  Thanks: 2 times
|
Thanks mate, best wishes on both life changes, you have my sympathy and envy at the same time. :-)
I will keep messing around, and post my results.
Best regards Dewie
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.