Without knowing in what way the "commands don't work properly", you should know that it's impossible to help.
What error messages are you receiving back?
sn
↧
Re: live drawing
↧
Re: live drawing
I'm getting no response at all on the serial monitor...the fact is that Arduino receives the data because the led blinks... maybe i'm missing something.
Maybe i have to add something to the data like spaces or other carachters?
I tried to send the data in differet ways like in a single message or with multiple single messages.
The only thing that i receive back is ready-200...
Thank you
↧
↧
Re: live drawing
The serial connection looks working because when i restart the Arduino i get all the informations back and also when i use the touch screen on the polarshield i get messages back...
↧
Re: live drawing
Well that's a good sign. Have you read https://github.com/euphy/polargraph/wiki/Polargraph-machine-commands-and-responses? There is a termination character (10, or \n) that needs to be on the end of each command - I bet that is the issue.
There is a DEBUG_COMMS flag that you can set in the firmware that shows exactly what characters are being received, how the command is being built up etc. It adds a bit to the sketch size, so might not work on an UNO.
https://github.com/euphy/polargraph_server_a1/blob/master/polargraph_server_a1.ino#L82
Have you tried sending the message manually, through the serial monitor? You know you can't connect the serial monitor _and_ anything else at the same time? Serial monitor will block other connections.
sn
↧
Re: Auto start from SD on Power on
Hey
I am new to this forum, but played with the "old Version" for quite a while. Since some of you are still using the MEGA + Motor Shield combo, I was wondering if you are interested in my latest developement. I added a cheap 2.4" TFT display with SD card slot and changed the code of the new polargraph server to make it work with my setup. Seems like my MEGA + Motor Shield V2 + 2.4 TFT (incl. SD card) is working like a regular Polargraph with Sandys polargraph shield.
If anyone is interested in wiring diagrams or code, please let me know.
Cheers,
Robert
↧
↧
PolargraphSD with MEGA + Motor shield V2 + TFT + SD card
Hey
I am new to this forum, but played with the Polargraph based on a MEGA2560 for quite a while.
I wanted to have the same features as the new PolargraphSD and added a cheap 2.4" TFT screen that also includes a SD card. For controlling motors, I use the V2 motor shield.
Stacking these shields did not work for me, so I had to do some extra wiring. I changed some pins and also changed the latest PolargraphSD firmware to fit on my MEGA.
Until now, it seems like my setup works just like a regular PolargraphSD including SD card and TFT display.
Since some of you are probably still using the old MEGA version, I wondered if you might be interested in wiring diagrams or code. If so, please let me know.
I am on a trip currently, but will add pictures later.
Cheers,
Robert
↧
Direct drawing on walls
I'm interested in using a polargraph to draw directly on walls but I read that a directly vertical surface is difficult. I like the look of direct plotting over paint. Is this possible?
↧
I Sell my PolargraphSD :-(
I have not time :-( and i need more space in my little house, if somebody wants to buy the machine, its the vitamin Kits, its running and doing fantastic draws.
I am from spain. and I sell for 90€, about the shipping cost, its better to speak about this.
my email
armandomonteslopez@gmail.com
Thanks!
↧
New tests...
Little vid
https://youtu.be/3byllkNo9vA
↧
↧
Re: New tests...
It's quite a cutey!
↧
Re: live drawing
Thank you! the 10 was the problem!
The page on github includes all the possible messages that can be sent to the machine?
Thank you
Matteo
↧
Steppers not working with RAMPS
I use firmware from lastest release 2.4.0 from https://github.com/euphy/polargraphcontroller/releases and polargraph_server_polarshield.ino is used.
Changes for RAMPS14 ;
#ifndef MOTHERBOARD
//#define MOTHERBOARD POLARSHIELD
#define MOTHERBOARD RAMPS14
//#define MOTHERBOARD TFTSHIELD
#endif
//#define USE_LCD
Check the pins for motors from configuration.ino.
Steppers is not working. I check my hardware configuration with the code below. Microstepping jumpers in ramps removed.
#include <AccelStepper.h>
// Define some steppers and the pins the will use
AccelStepper stepper1(1, 60,61);
AccelStepper stepper2(1, 46,48);
void setup()
{
stepper1.setEnablePin(56);
stepper1.setPinsInverted(false, false, true); //invert logic of enable pin
stepper1.enableOutputs();
stepper1.setMaxSpeed(600.0);
stepper1.setAcceleration(2000.0);
stepper1.moveTo(1000000);
stepper2.setEnablePin(62);
stepper2.setPinsInverted(false, false, true); //invert logic of enable pin
stepper2.enableOutputs();
stepper2.setMaxSpeed(600.0);
stepper2.setAcceleration(2000.0);
stepper2.moveTo(1000000);
}
void loop()
{
stepper1.run();
stepper2.run();
}
With these codes steppers works nicely.
Serial connection on controller software succeed.
Starting Queue succeed.
Pen lift and down setted.
Test Lift Range succeed.
Move Pen to Point is not working.
Anyone have any idea ?
↧
Re: Steppers not working with RAMPS
Solved , frame is not defined. After set it it works.
↧
↧
Re: Drawbots from around the web
Hamster Powered Drawing Machine by Neil Mendoza
https://vimeo.com/173067576
http://www.neilmendoza.com/portfolio/hamster-powered-hamster-drawing-machine/
↧
Re: live drawing
Aha that's good. No the page isn't comprehensive - the code itself is really the only documentation for the full range, you've got to dig in!
sn
↧
Stepper motor jitter
polargraphcontroller 2.4.0
Polargraph v1.3.1
Speed 1722
Acceleration 1242
New to the Polargraph and have been experimenting with how it works, settings and different drawing techniques.
I noticed when i was trying out some simple geometry vector drawings that the stepper motors were very slow tracing the shape, it also developed a jitter that meant that the line was shaky. From what i can see the gondola is shaking when it is drawing, which it haven't seen before. Also the one of steppers is making an odd electronic squeaking noise that is new, seems related to the issue. Before that I had been trying a drawing that was vector traced by Illustrator, which had a lot of very intricate detail which was working the motors hard.
To try and solve the issue, i have re hooked it to the controller to reset the settings in case that was the issue, but the only thing which i have been adjusting is the speed and acceleration. 800 seems to be the default.
Also i have noticed that when it lifts the pen and moves it is very smooth and quick, but as soon as it starts drawing again, the issue persists.
Has anyone come across this issue before?
CM
![Image]()
↧
28BYJ-48 Stepper Motor Precision
Hi guys,
soo couple of weeks ago I started to build my polargraph machine with parts lying around like old micro printer belts and 28 BYJ-48 stepper motors. It was working great with svg files I plotted awesome pictures with it then I decided to try that fancy death-to-sharpie code thingy.
It was a total disaster after 24 hours of plotting and at the end I clicked return to home and it went like somewhere else.I think my measurement are false or something wrong with the 28 byjs or 28byjs missing some steps. I tried couple of things like;
converting 28byjs to bipolar mode (which worked great I also get extra torque)
fixing the main gear to shaft with super glue (helped a lot)
these are my settings right now;
37 mm per rev
2039 steps per rev
2 step multiplier
1000 motor max speed (I should lower this I guess)
400 motor acceleration (or this)
also
I am using processing v2.2.1 with polargraph code v2.4.2
arduino code compiled with ide 1.6.7
cheap L239D motor driver shield ( basically adafruit motor shield v1)
yeah thats all for now :)
↧
↧
Re: 28BYJ-48 Stepper Motor Precision
I made a rig with 28BYJ-48's a year or two ago, and found much conflicting info about them online. Even a reliable source of info like Adafruit had specs that didn't match what I was observing with the particular motors I bought.
After much experimentation and high school level math, I concluded that the number of steps needed for turning 360 degrees wasn't an integer. Checking my old properties text file shows I settled on 2037.8864 steps per rev. I had 1000 for max motor speed and 800 for acceleration, and a multiplier of 2, so we're very close on that account. I believe I used an old v1 motor shield as well.
I wouldn't bet my house on that non-integer number, but give it a try. I think the machine was drawing reasonably well, but I don't remember doing a plot as demanding as a 24-hour Death-to-Sharpie marathon with it.
It was the output shaft and final gear that you glued?
↧
Re: Stepper motor jitter
You've properly adjusted the current to the motors, using the pots on the drivers?
↧
Re: 28BYJ-48 Stepper Motor Precision
Thank you for your almost immediate respond :)
You guys have got an awesome community here. Yes it was output shaft and final gear. Finally its working great ... actually better than great its perfect. I couldn't have imagined that I would get this kind of precision with those cheap stepper motors. so I was getting this problem. The result of continuously drawing a square for example was this
https://imgur.com/uZewYDH
It was overshooting just a little bit with every pass.
I played around with the settings
39 mm per rev (changing this I think solved the issue. More on that down below)
4096 steps per rev
multiplier 1
800 max speed
800 acceleration
as I said changing the mm per rev solved the problem because I am using handmade pulley for the belt and I should have measured the lenght wrong :)
https://imgur.com/6r6EMEf
And thats the result with the death-to-sharpie sketch
http://imgur.com/OIbKtEm
http://imgur.com/j1fXtbd
also these are some of my old prints
http://imgur.com/nNkrfMr
Thank you for your help and immediate respond :)
↧