EdmondsLibrarian
Forum Replies Created
-
AuthorPosts
-
EdmondsLibrarianParticipant
Is there a work around to the sb2 file format issue to use Scratch and Makelangelo?
2019-12-19 at 13:45 in reply to: Home Position Makelangelo 5; Need to move from middle to top #27793EdmondsLibrarianParticipantMaybe there is a way to “reset” the memory and reload the software?
EdmondsLibrarianParticipantMuch better. Not overheating.
Clockwise is higher. Counter clockwise is lower.
One symptom worth noting in too little current, is that the counter weights will come up but not go back down if there isn’t enough electricity.EdmondsLibrarianParticipantCan I confirm- clockwise = increase; counterclockwise = decrease
My stepper motors are extremely hot.
DCV 2,000m shows 602 DCV 20 shows 0.60https://mcr.dozuki.com/Guide/Makelangelo+5+construction/3?lang=en
Step 15 shows how to measure voltage which I think I followed2019-10-15 at 12:45 in reply to: Home Position Makelangelo 5; Need to move from middle to top #27527EdmondsLibrarianParticipantIt might help other Makelangelo 5 users who experience the “grinding” sound when finding home position to check the orientation of stepper motor pins. It will “grind” if not oriented correctly. Refer to the assembly manual, step 7, for a picture
https://mcr.dozuki.com/Guide/Makelangelo+5+construction/3?lang=enEdmondsLibrarianParticipantI wonder if this is for Makelangelo 5?
I find that I have to move from the computer to the Makealngelo board and “click” in the button (same as navigating the LCD menu) to get things going.EdmondsLibrarianParticipantHooray, that works!- after a restart of both computer and Makelangelo 5 can talk to each other.
It was in the read me file, but I didn’t know what it meant, especially when Arduino moved the fileThere are some things that don’t seem to run correctly like
find home- right motor spins the wrong way, so it never “clicks” the top button (also it doesn’t return to home like before but stays at the top)
manual driving- left/right is up/down and vice cersaAlso, the SD card function isn’t working when USB is disconnected and it appears I now have a computer only Makelangelo 5.
I’ll explore other topics for answers to these. Thank you again!EdmondsLibrarianParticipantThanks for the update! A good stretch of my coding ability.
#5 confirm that there are many tabs at the top of the arduino program- I don’t have any tabs.
I did notice that the first time I opened my Arduino file that it prompted me to make the Makelangelo-firmware folder and move the Makelangelo-firmware.ino file into it. Perhaps the hierarchy matters?The upload is still bad with the same message.
It was super cool and a new experience to open the serial monitor. Other users may want to know that the command to send is only “set baud = 57600” and “set newline = newline” I was trying to include the star at the beginning. Also important is to change the pop up menus at the bottom of the window to match baud and new line preferences. I was also getting squares instead of text. It was MAGICAL to see the text appear:
HELLO WORLD! I AM DRAWBOT #17945
Firmware v7
== http://www.makelangelo.com/ ==
M100 – display this message
M101 [Tx.xx] [Bx.xx] [Rx.xx] [Lx.xx]
– display/update board dimensions.
As well as the following G-codes (http://en.wikipedia.org/wiki/G-code):
G00,G01,G02,G03,G04,G28,G90,G91,G92,M18,M114Alas, it did not launch as a program and still has message
Launch
The firmware (code in the brain of your robot) is not the version I expect. I found v7.
Please visit https://www.marginallyclever.com/product/makelangelo-firmware/
for the latest firmware.Software is up to date. Version is 7.15.5
I am grateful for your support. Hope this message is sufficiently detailed.
EdmondsLibrarianParticipantThank you for this awesome checklist!
On step 3, the name of the folder has a dash: Makelangelo-FirmwareStep 5- There doesn’t seem to be a file called polargraph.h There is a file called Robot_Polargraph.h which has commands about MACHINE_HARDWARE_VERSION
Robot_Polargraph.h
#ifndef ROBOT_POLARGRAPH_H
#define ROBOT_POLARGRAPH_H
//——————————————————————————
// Makelangelo – firmware for various robot kinematic models
// [email protected] 2013-12-26
// Copyright at end of file. Please see
// http://www.github.com/MarginallyClever/makelangeloFirmware for more information.
//——————————————————————————#if MACHINE_STYLE == POLARGRAPH
#define MACHINE_STYLE_NAME “POLARGRAPH”
//#define MACHINE_HARDWARE_VERSION 3 // If you have a makelangelo 3+
#define MACHINE_HARDWARE_VERSION 5 // If you have a makelangelo 5+
#define MACHINE_HAS_LIFTABLE_PEN#define MAX_ACCELERATION (5000)
#define MIN_ACCELERATION (100)#define SUBDIVIDE_LINES
#define SEGMENT_PER_CM_LINE (2) // lines are subdivided. How long are the divisions?
#define SEGMENT_PER_CM_ARC (3) // Arcs are subdivided. How long are the divisions?// servo angles for pen control
#define PEN_UP_ANGLE (90)
#define PEN_DOWN_ANGLE (50) // Some steppers don’t like 0 degrees#define NUM_AXIES (3)
#define NUM_MOTORS (2)
#define NUM_SERVOS (1)
#define NUM_TOOLS (1)#define MAX_FEEDRATE (9000.0) // depends on timer interrupt & hardware
#define MIN_FEEDRATE (100)
#define MAX_JERK (5.0)
#define DEFAULT_FEEDRATE (7000.0)
#define DEFAULT_ACCELERATION (2500)#if MACHINE_HARDWARE_VERSION == 5
#define USE_LIMIT_SWITCH (1) // Comment out this line to disable findHome and limit switches
#define HAS_SD // comment this out if there is no SD card
#define HAS_LCD // comment this out if there is no SMART LCD controller
#endif
#if MACHINE_HARDWARE_VERSION == 3
#define HAS_SD // comment this out if there is no SD card
#define HAS_LCD // comment this out if there is no SMART LCD controller
#endif#endif // #ifdef POLARGRAPH
#endif // #ifndef ROBOT_POLARGRAPH_HStep 8- The upload report is bad:
Arduino: 1.8.5 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”C:\Users\borchertp\Documents\Makelangelo7155March18\Firmware\TroubleShootLink\Makelangelo-firmware-7.15.5\Makelangelo-firmware\Makelangelo-firmware.ino:12:23: fatal error: configure.h: No such file or directory
#include “configure.h”
^
compilation terminated.exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.Verbose version
Arduino: 1.8.5 (Windows 7), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”
C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\borchertp\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0010 -ide-version=10805 -build-path C:\Users\BORCHE~1\AppData\Local\Temp\arduino_build_508936 -warnings=none -build-cache C:\Users\BORCHE~1\AppData\Local\Temp\arduino_cache_904501 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\borchertp\Documents\Makelangelo7155March18\Firmware\TroubleShootLink\Makelangelo-firmware-7.15.5\Makelangelo-firmware\Makelangelo-firmware.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\borchertp\Documents\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0010 -ide-version=10805 -build-path C:\Users\BORCHE~1\AppData\Local\Temp\arduino_build_508936 -warnings=none -build-cache C:\Users\BORCHE~1\AppData\Local\Temp\arduino_cache_904501 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files\Arduino\hardware\tools\avr -verbose C:\Users\borchertp\Documents\Makelangelo7155March18\Firmware\TroubleShootLink\Makelangelo-firmware-7.15.5\Makelangelo-firmware\Makelangelo-firmware.ino
Using board ‘mega’ from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Using core ‘arduino’ from platform in folder: C:\Program Files\Arduino\hardware\arduino\avr
Detecting libraries used…
“C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega” “C:\Users\BORCHE~1\AppData\Local\Temp\arduino_build_508936\sketch\Makelangelo-firmware.ino.cpp” -o “nul”
“C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino” “-IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega” “C:\Users\BORCHE~1\AppData\Local\Temp\arduino_build_508936\sketch\Makelangelo-firmware.ino.cpp” -o “C:\Users\BORCHE~1\AppData\Local\Temp\arduino_build_508936\preproc\ctags_target_for_gcc_minus_e.cpp”
C:\Users\borchertp\Documents\Makelangelo7155March18\Firmware\TroubleShootLink\Makelangelo-firmware-7.15.5\Makelangelo-firmware\Makelangelo-firmware.ino:12:23: fatal error: configure.h: No such file or directory#include “configure.h”
^
compilation terminated.exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.EdmondsLibrarianParticipantI like it too.
One feature that I’ve thought might be cool for a while (in a Makelangelo) is the ability to add a sensor that reacted to hand gestures- left/right, up/down. Kind of like a Jedi “use the force” exercise. Etch a Sketch for gestures.
Possible product? https://www.sparkfun.com/products/13162
Of course, more input is more coding… Hope that lots of other users would add to the discussion to make sure there is demand for this kind of feature.EdmondsLibrarianParticipantI really like the GCode list. Thank you.
As a progression at school, the Cartesian grid is the place to start. Eventually (like in Middle School), I hope my students would understand GCode, much like html. Don’t know if there are any like-minded educators. For example, having students draw a picture from GCode on paper would be a good offline experience.EdmondsLibrarianParticipantEdmondsLibrarianParticipantAs a Librarian, I don’t have the opportunity to structure a class or progression of activities, so my comment might not be as specific as you need.
Generally, I find that student (and staff) don’t have a high tolerance for things that don’t work. If something is working, then they are reluctant to “break” it, even if they know how to fix it. If something is “broken,” then it isn’t likely that a strong effort can be made to “fix” it.
One challenge I can offer is an activity summarized by “Can you find the one thing I changed?” I use this is training my crew for the school sound system. We send a group out of the room, pull one cord (or push one button), and then watch the troubleshooting skills begin when they return. (Then switch.)
My slogan in fixing equipment around the building is “I only have to know one thing.” The problem is usually that I don’t know which “one thing” is needed for the situation (physical button/wire or control panel). Students (and staff) are more willing to make a list of things that don’t work, when they know that there is only “one thing” to fix.If you are not familiar with the drawing machine (Makelangelo), then I HIGHLY recommend it as a “robot” system. The output is concrete and inexpensive. It is easily approachable for beginners, yet has as many layers of complexity as you could want to add. While the machine is at work, it is mesmerizing- even for me. It’s WAY cooler than “blink.” By choosing a machine that I like, I can keep bringing it to students again and again.
EdmondsLibrarianParticipantgcode is the way to go!
If you have a previous version of the program, 7.8, then you won’t want to save the generated art as these files are empty. (Corrected in 7.9) Just save your own picture.
The first file I tried was a big zig zag file, so the pen stayed up. Cross hatch file seems to work well except the pen is wobbling too much to stay in place.Any pointers on where to wrap the pen with tape? What kind of tape?
EdmondsLibrarianParticipantLoops could come later, but the more important suggestion is that the on screen “paper” become much smaller, and the manual driving buttons become larger. The “driving only” mode would be somewhat more approachable for younger users, perhaps. Thanks for considering it.
I did miss the gcode screen which was minimized so thanks for pointing that out.
EdmondsLibrarianParticipantUpdate- I should have thought to just unplug the servo so no electricity would be drawn. As you suggested, there was no problem in drawing “big zig zag” style of pictures. (Aside from calibration issues)
Now I’ll have to examine the power connections…EdmondsLibrarianParticipantPreliminary testing makes this seem like a good lead.
I moved the laptop that was running 7.5.0 to a station where 6.0 is working, and the movement and pen commands work fine (calibration is different so I’ll work on that).
I moved the laptop running the 6.0 to the 7.5.0 drawbot and the connection didn’t work. Will report again next week.EdmondsLibrarianParticipantThat’s excellent advice. More patience and I might have followed it.
Will be testing soon. Here’s the pictures of the current set up in case anyone else finds themselves in a similar place.
The cut
The package
The finalEdmondsLibrarianParticipantThis looks like an awesome option.
Wish I had seen it before I bought a set of breadboard jumper cables, which look like they are also going to work well. I will try to post a picture after I know it is working.EdmondsLibrarianParticipantThis was a poor choice.
The pin connector cut in half easily enough.
However this exposed the fact that the metal is shaped to fit inside the plastic, and definitely not to connect through to another. Any inventors out there? Seems like it shouldn’t be that hard to have a universal connector that is both male and female…
pictureAnyone know an actual product made for this task?
EdmondsLibrarianParticipant
I had some uncertainty if I was doing the library install right a while ago. I wasn’t copying the folder into the arduino library. I think this might be the most important screen shot.
Your set up sounds exactly like mine from a software/hardware set up and your analysis sounds very reasonable.Not sure if my story will offer a hint or not- I downloaded both the jar with dependency file and the new firmware at the same time. One of those triggered the firmware to work. I didn’t move the Arduino ino file out of the Makelangelo folder, but used the “file open” command inside Arduino. I keep my Makelangelo Files in my Documents Folder. Emotionally I know troubleshooting is hard because it feels like there isn’t any progress, and often I do the same steps over again. In this case I’m sure it wasn’t luck or skill on my part but pure tenacity and someone else doing magic coding behind the scenes. I thank all the great users who have helped me along the way, and hope this will help you in some small way.
EdmondsLibrarianParticipantCan you tell us a bit more about platform and versions? The latest firmware at GitHub did the trick for me, so I hope it will work for you too.
EdmondsLibrarianParticipanthttp://www.amazon.com/Arduino-Compatible-4-Pin-Connector-Cable/dp/B007TOPM30
I think this might be a connection I want. I will have to cut one end to attach to motor drivers board. Anyone use anything like this?
EdmondsLibrarianParticipantMy machine is working great now with the latest update and 7.3.2
Be sure to download the dependency file as well. Thanks to all voices.EdmondsLibrarianParticipantMotor shield.
Also discovering that when powered, does not turn freely- as if holding itself in place. -
AuthorPosts