Dan
Forum Replies Created
-
AuthorPosts
-
DanKeymaster
Yeah, I don’t see anything wrong here. 🙁
DanKeymasterI can only offer good support on robots we built. Even the smallest change in your design could make a world of difference.
DanKeymastereh, please post it to https://nopaste.me/ with “never time out” so the link will stay good.
DanKeymasterWhat is the gcode command you are sending? can you post the log.html?
DanKeymasterSo… here’s the wierd thing. Your registry keys store JAVA settings in
HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment
Which is only supposed to happen if you have 32 bit Java in 64 bit windows.
REG QUERY "HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment" /v CurrentVersion
Works on its own, which finds the current version.
FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B IF DEFINED "%CurVer%" (GOTO 32in64) ELSE (GOTO 64in64)
Does not appear to be setting the CurVer value, so the batch thinks you have 64 bit Java in 64 bit windows, and then tries to call
FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B
Which points to the wrong location, HKLM\Software\JavaSoft\Java Runtime Environment.
I don’t know why IF DEFINED “%CurVer%” (GOTO 32in64) ELSE (GOTO 64in64) is failing. Any ideas?
DanKeymasterHuh.
Please try command prompt: REG QUERY “HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment” /v CurrentVersion and post the result.
DanKeymasterWe’ve ruled out a problem with your installation of JAVA …. Aha!
Open start windows.bat in a text editor. Find
:32in64 @ECHO 32 bit Java installed on 64 bit Windows. Whoops? FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B GOTO endos
and change it to read
:32in64 @ECHO 32 bit Java installed on 64 bit Windows. Whoops? FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment" /v CurrentVersion') DO set CurVer=%%B FOR /F "skip=2 tokens=2*" %%A IN ('REG QUERY "HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment\%CurVer%" /v JavaHome') DO set JAVA_HOME=%%B GOTO endos
DanKeymasterOk, now please run REG QUERY “HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment\%CurVer%” /v JavaHome
DanKeymasterplease try:
– start command prompt (type cmd in cortana to get command prompt, then click it.)
– run REG QUERY “HKLM\Software\JavaSoft\Java Runtime Environment” and post the results.
– run REG QUERY “HKLM\Software\Wow6432Node\JavaSoft\Java Runtime Environment” and post the results.DanKeymasterDanKeymaster@toulouse – Did you try https://github.com/MarginallyClever/Makelangelo-software/blob/master/start%20windows.bat ?
Please copy paste the output so I can exactly what happened.DanKeymasterPutting 12v in a 5v circuit can be more than enough to cook it forever. I’ve cooked 3.3v circuits with 5v.
12v2a is 24 watts. 24 watts/5v = ~5a. AFAIK your 5v motors would have to draw 5a before the supply would shut down from overcurrent protection.
DanKeymasterPlease let me know if the tester steps are confusing. I want it to be easy for you.
DanKeymasterThis is now github issue #209.
I had a similar problem with a german, because the java code didn’t understand localized decimal point.
I have uploaded a patch to github. Can you follow the steps to build a test copy and confirm if the patch works, please?
DanKeymasterM17 and M18 enable/disable steppers. I forget which is which.
DanKeymasterWatch the setup video for the makelangelo 3.2, it explains the calibration location and proper centering of the pen holder.
https://www.marginallyclever.com/2016/09/set-makelangelo-3-2-robot/
DanKeymasterYes. Makelangelo 3.2 is RUMBA. Makelangelo 2 is AMS.
DanKeymasterThat’s a really good point. Currently there’s no way to tell the machine go from top to bottom. If you used crosshatch style it would be… messy.
in theory all the lines to be drawn could be put in a list, then sorted top to bottom, then saved to a file. what to do when two lines cross? I don’t know.
DanKeymasterYeah i dunno man, that’s wierd.
DanKeymasterpossibly there is some cm > mm conversion going on that accidentally loses the fraction? i don’t know yet. It’s one data point. What happens at 5mm? at 2mm?
DanKeymasterPS love the 3d printing. such style!
DanKeymasterEh… I can’t even see your switches. One thing to note is that the switches on our delta are at about -30 degrees (the arms are not horizontal when touching).
I don’t know why your third motor is being wierd. I’m slammed with work to get ready for re:make on friday, after that I will have time to make more videos (including a delta demonstration).
DanKeymasterYou have to hit set home once so the robot knows where it is. If you hit set home when the pen holder is not at the home position…. expect strange results.
vortex mode?
DanKeymasterSo… did it answer your question?
DanKeymastererm, they shouldn’t be on the switches at (0,0,0). they should touch the switches and back off. I believe that z adjust you mentioned may be part of the issue. it’s hard to say, your machine may have slight differences from ours and our assumptions differ.
BTW, can I see a pic? post an imgur link and it should embed right here in the thread.
-
AuthorPosts