JAVA Opening COM Port message ààààààààà
Shop › Forum › Makelangelo Polargraph Art Robot › JAVA Opening COM Port message ààààààààà
- This topic is empty.
-
AuthorPosts
-
2012-11-06 at 22:01 #5871EdmondsLibrarianParticipant
On some occasions, when trying to open the drawbot, the Java will return the message
ààààààààà[/color
]ààààààààà ààààààààà
àààààààààààààààààààààààààààFor varying lengths It doesn’t succeed in connecting to the Drawbot.
What does it mean? How can I fix it?2012-11-07 at 05:34 #6182AnonymousInactiveThat’s a new one to me. What OS are you using? Do you have any problems uploading firmware through arduino? Seeing the [color] is very strange and sounds like a Java issue, it should never display the [color] codes.
2012-11-08 at 16:55 #6183EdmondsLibrarianParticipantSorry not to be clear, the aaa s are all in the color yellow in the console. There isn’t any color code.
The aaaa aaaa s come while the Java is trying to connect to a COM Port.
I’m using a Gateway laptop running Win 7.2012-11-09 at 00:18 #6184AnonymousInactiveDoes it do this when connecting with Arduino? I only see that kind of effect when the baud rate of the java software is different from the baud rate of the arduino.
2012-11-20 at 19:36 #6186EdmondsLibrarianParticipantPerhaps a video of the process will communicate better than my word picture…
[youtube:2vgqouws]tnrcNgbmEJI[/youtube:2vgqouws]
2012-11-21 at 16:56 #6185AnonymousInactiveTry double clicking the drawbotgui.jar. I believe in the latest version you don’t need the runme file.
Also, why is your motor moving before you’ve sent any commands to the robot? that’s … wierd.2012-11-24 at 23:56 #6211EdmondsLibrarianParticipantI think I opened that file at the 2:00 minute mark of the movie.
Is there something I can try in the COM port settings?
9600 bits per second, 8 data bits, 1 stop bit, none for flow control.2012-12-04 at 03:37 #6204AnonymousInactivePlease try this:
Remove the motor shield from the arduino.
Plug in the USB cable.
Connect through software.What result do you get?
2012-12-07 at 00:14 #6207EdmondsLibrarianParticipantThere is a “ready” in the bottom left corner. The message frame shows “connecting to COM XX” There aren’t any ààààà
After quitting, can program “blink” command in Arduino.2012-12-07 at 02:48 #6208AnonymousInactiveplease copy/paste the entire message log (just above the ready message) when you try to connect without the motor shield. I’d like to compare to the shield version. Also, does the name of the window change when you try to connect?
2012-12-07 at 04:21 #6209AnonymousInactiveI’ve only been able to partially reproduce your results. When I connect to a device that is NOT the drawbot I get a bunch of random characters in the gold text. Perhaps the board is damaged, or something isn’t properly soldered? It’s my only guess at this point.
2012-12-11 at 23:00 #6206EdmondsLibrarianParticipantSome progress? I discovered that my jar-in-jar files were still zipped. I uncompressed them. I also eliminated all the drivers except for mine (Uno) and updated.
Running the Uno only- Above the ready message: The progress is that there is green text for the graphic file on screen, and the estimated run time. Then is says Connecting to Com XX- with no result.
When the stepper shield is added the ààààààà messages returns after the opening Com XX
WinRunmebat file is
java -classpath RXTXcomm.jar -Djava.library.path=classesrxtxnativeWindowsi3680mingw32 -jar DrawbotGUI.jar2012-12-13 at 02:40 #6210AnonymousInactiveYou shouldn’t have to unzip anything.
The software should connect whether or not the shield is there, so trying without should eliminate one possible condition.
I’m wondering if there’s damage to the board. Can you take a close up shot of the board and shield, both sides?Are you able to upload the firmware to the arduino or connect to it throught the arduino serial window?
2012-12-19 at 18:54 #6203EdmondsLibrarianParticipantAfter several tries, I’m concluding that there aren’t any messages to view aside from the
ààààààààà
The name of the window stays as “Drawbot Not Found” and the Ready in the bottom corner stays as Ready.
Thanks for your brainstorming. I know that this is not “normal” but am at a loss for what to try.2012-12-19 at 20:52 #6199AnonymousInactiveSend me a private mail, let’s connect on skype and see if we can make progress face-to-face. how does 4pm PST work for you?
2012-12-21 at 01:51 #6197AnonymousInactiveOk! We figured out that the Makelangelo firmware (the code that goes on the arduino) was not installed. Once we got past that we were able to jog the motors and move things manually. Then we got a little stuck because the arduino wasn’t responding when we asked it to start drawing whole pictures.
We can try manually sending commands through the serial monitor window like
G00 X100;
G00 X0;
G17;and so on. After each command the robot should reply with
done
>The DrawbotGUI will wait forever for the ‘>’ before it sends the next command. The question is “Why doesn’t it send the reply?”
We can also try editing the hello world file to remove unrecognized commands.
2012-12-22 at 00:16 #6198EdmondsLibrarianParticipantWhat a great a day for me! It’s the end of the funny aaaaa messages! I can’t thank you enough for your personalized help. THANKS.
2012-12-22 at 23:53 #6200AnonymousInactiveMy pleasure. Have you solved the next step? I can’t reproduce your results yet.
2012-12-27 at 05:58 #6205AnonymousInactiveviewtopic.php?f=2&t=2242&p=2488#p2488
Does this help at all?
2013-01-14 at 22:11 #6195EdmondsLibrarianParticipantSorry about my delay in moving forward- holiday fun!
It’s so great that my Drawbot is “talking” but hasn’t quite mastered the conversation. At least part of the process I should have ready the directions more carefully and had the proper Motor files (with the drawbot extension) in the proper place. The drawbot still appears “stuck.”
My motors do “jog” both directions nicely. Bobbins wound. It’s pretty cool all on its own.
I’ve configured the master area and paper area. Clockwise: 30, 10; 15, 30; -10, -30; -30, -15. Essentially a 60 cm square with a piece of paper in the middle. Negatives left and down as mentioned in other forums
https://www.marginallyclever.com/forum/viewtopic.php?f=2&t=2242&p=2488#p2488(Very Helpful! )However, much like the users here:
https://www.marginallyclever.com/forum/viewtopic.php?f=2&t=2239My Drawbot behaves irregularly with “Drive Manually.” It doesn’t matter which button I click the pen goes down.
Since my àààààààà problem is solved, it might be better to add some troubleshooting suggestions at
https://www.marginallyclever.com/forum/viewtopic.php?f=2&t=2239
Unless…One other suggestion you had was to manually enter the directions. I am unable to type in the lower window. How can I send a command?
One other hint in the process is that in the case of “Hello World” the “Ready” status changes to 9/929. If I pause, then unpause, it will step along with the commands. 11/929, etc. In most cases there is no pen movement, but in a few the pen will move. Not sure if that helps.2013-01-14 at 22:20 #6196AnonymousInactiveyou can open the arduino serial window and send commands. first you have to send the CONFIG command to tell your machine the limits (copy paste it from your java log window) and then you can send instrctions like
G00 X10 Y-15;
which means “go 1mm right and 15mm down”. note that it’s g-zero-zero, case-sensitive, and instructions must end with a semi-colon.2013-01-14 at 22:23 #6193AnonymousInactivealso could you please post your log window output? note to self: save log to file.
2013-01-14 at 23:42 #6194EdmondsLibrarianParticipantI’m sorry to say my Arduino was only good enough to get the serial window open, but nothing happened on the drawbot. I hope this is the log referred to:
This does three commands of the Hello World File
Opening file C:DrawbotArduinoarduino-1.0.1gcodeHello World outline.ngc… feed rate=25.0 2315 line segments. 74.090324cm of line. Estimated 3m25s s to draw. Connecting to COM7… Opened.
HELLO WORLD! I AM DRAWBOT #103
== DRAW BOT – http://github.com/i-make-robots/Drawbot/ ==
All commands end with a semi-colon.
HELP; – display this message
CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx];
– display/update this robot’s configuration.
TELEPORT [Xx.xx] [Yx.xx]; – move the virtual plotter.
As well as the following G-codes (http://en.wikipedia.org/wiki/G-code):
G00,G01,G02,G03,G04, G20,G21,G28,G90,G91,M18,M114
> CONFIG T30.0 B-30.0 L-30.0 R30.0 I1 J1; TELEPORT X0 Y0 Z0; L=HELLO WORLD! I AM DRAWBOT #103
== DRAWBOT – http://github.com/i-make-robots/Drawbot/ ==
All commands end with a semi-colon.
HELP; – display this message
CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx];
– display/update this robot’s configuration.
TELEPORT [Xx.xx] [Yx.xx]; – move the virtual plotter.
As well as the following G-codes (http://en.wikipedia.org/wiki/G-code):
G00,G01,G02,G03,G04,G20,G21,G28,G90,G91,M18,M114
> * Made using CamBam – http://www.cambam.co.uk * Hello World 2012-03-31 11:19:50 AM * T0 : 0.0 G21 G90 G64 G40; done
> G0 Z90.0; done
> * T0 : 0.0 * Engrave1 G17; M3 S1000 G0 F250.0 X47.3349 Y-4.7591; G1 Z10.0;HELLO WORLD! I AM DRAWBOT #103
== DRAWBOT – http://git hub.com/i-make-robots/Drawbot/ ==
All commands end with a semi-colon.
HELP; – display this message
CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx];
– display/update this robot’s configuration.
TELEPORT [Xx.xx] [Yx.xx]; – move the virtual plotter.
As well as th e following G-codes (http://en.wikipedia.org/wiki/G-code):
G00,G01,G02,G03,G04,G20,G21,G28,G90, G91,M18,M114
> G1 X49.9657 Y7.6238; done2013-01-15 at 04:06 #6192AnonymousInactiveHere’s what I’d like you to try. Open the arduino serial window when connected to the drawbot.
When the Drawbot starts you should see this message:HELLO WORLD! I AM DRAWBOT #103
== DRAW BOT – http://github.com/i-make-robots/Drawbot/ ==
All commands end with a semi-colon.
HELP; – display this message
CONFIG [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx];
– display/update this robot’s configuration.
TELEPORT [Xx.xx] [Yx.xx]; – move the virtual plotter.
As well as the following G-codes (http://en.wikipedia.org/wiki/G-code):
G00,G01,G02,G03,G04, G20,G21,G28,G90,G91,M18,M114
>at which point you type in:
CONFIG T30.0 B-30.0 L-30.0 R30.0 I1 J1;
TELEPORT X0 Y0;
G00 X10;and hit enter after each semi-colon. make sure to type the semi-colon! The first line tells the robot “you are this big”. The second tells the robot “your pen is now in the center of the board”. The third says “go right 10mm.”
What happens when you do this?
2013-01-15 at 20:10 #6202EdmondsLibrarianParticipantI hope this is what you meant.
I connected the drawbot and jogged the motors. (good)
Still can’t enter directly in the message/status window.Then I tried to open Arduino, but got a message that the Com Port was already in use (and it wouldn’t proceed).
When I quit drawbot and tried to send the message only in Arduino there was no response in either the serial monitor window, or motor movement. Is there something I can change to make the line command work? Or is there some other Arduino example I could run as a test?
-
AuthorPosts
- You must be logged in to reply to this topic.