I cannot get anything to talk to my UNO arduino bd in myrobotlab for a couple of days.
Trying the servo and Inmoov files. Tthe inmoov files listen and talk but no servos move.
Running windows 7 and have java version 1.8.0_20-b26 runtime environment and have tried several computers.
Downloaded the latest version of myrobotlab 1.0.53
looking at the myrobotlab.log I see it cannot find a hex file.
173746 [Thread-14] INFO class org.myrobotlab.service.Arduino - avrdude: can't open input file obj\MRLComm.20140829155318081\MRLComm.hex: No such file or directory
It looks like the file is be written to C:\Users\jhs42\AppData\Local\Temp\build2977277257579611086.tmp with some other files.
I have no problems loading myrobotlab.ino using arduino.exe and can move the servos with my own ino file.
Hello Harland and
Hello Harland and Welcome...
I believe the problem might be an Arduino.zip file not being downloaded and uncompressed.
Here are some possible instructions to fix:
Definition of mrl directory = directory you are running mrl from: In this example we are going to call it c:\mrl
Check to see if the zip was downloaded .. if it was .. it should be
c:\mrl\libraries\zip\arduino.x86.32.windows.zip
within it is a "arduino" directory ... drag & drop / unzip the directory such that it will be in the mrl root
c:\mrl\arduino
restart - and try again ..
if it doesn't work - send a noWorky & put a comment as a description.
Good Luck !
I sent a noWorky along with
I sent a noWorky along with the posted message
still not working
I did as suggested arduino was all ready there but unzipped and did pasted it again.
still no servo motion and still error on arduino hex file
sent 2nd noworky
Ok, I really need to take
Ok, I really need to take this part out of MRL..
MRL no longer supports compiling & uploading of MRLComm.ino.. you'll need to copy paste MRLComm.ino out of MRL and into the standard Arduino IDE.
Your getting a compiler error in the MRL/Arduinio compile/upload.
You should be able to copy paste compile & upload in a regular Arduino IDE.
You only need to upload once per MRL version - MRL & the Arduino's MRLComm.ino should match -
After uploading with the Arduino IDE - you should be able to start an Arduino service in MRL and just "connect" .. there will be a few rx/tx error warning on the initial connection - but that is just garbage from the Arduino - after that you should be able to drive servos, use the oscope, etc..
used arduino 1.0.5-r2 ide to
Something is goofy .. I
Something is goofy .. I see
in the log - which should not happen if the sketch was successfully uploaded in the Arduino IDE ...
It will say - found version yatta yattah
...
start at step 0 ... when you load blinky sketch in the Arduino does it run & blink?
I have used several UNO
I have used several UNO boards for projects, been doing elec design for more than 30years. I can run this:
I had the same error when i
I had the same error when i loaded the mrlcomm.ino file from the examples. When i went into the arduino service and copy paste the file from inside the service to the arduino ide, it did work fine for me. That was with windows 7, myrobotlab 1.0.53 and arduino 1.05r2 and no errors. With the example file i got the same error. Maybe that will help!
but did you connect to the arduino service, before starting inmoov service? That could give problems.
what i do is start python service, beware that when you right click on python to start service you name it python and not Python.
then load your script you want and make sure the com ports are selected the right ones.
press run script and now you see all kind of tabs beeing started, including io1.left or io1.right depending on script. That is the arduino service for the inmoov. When you already started an arduino service and connected to that one you get serial null errors.
So in short:
open mrl
start python service
load your script you want to use
make sure com ports are right
start script and it should work
Hope it helpes!
gr. Wilco
got working
I tried several things:
new arduino uno board (maybe mine was bad)
latest arduino.exe and new usb driver (have been using old version)
added 10uf caps to I/O board and some .01uf caps (thinking maybe noise was causing my communication issues, since the code I wrote was working, but only running one servo at a time)
upped the power supply to 6v from 5v and ran heavier wire to power inmoov (18AWG was 24AWG)
in the end I was rewarded with "version 17....goodtimes" when starting python inmoov code
the uno board is working with the right hand and arm
thanks for the help!
That's very great news
That's very great news harland !
It's been gnawing on the back of my head for a while..
I'm really glad you figured it out and told us :D