okay thank you :)
↧
Re: licence on firmware and controller
↧
Norwegian Pixels Sketch
Since I don't have the Polargraph shield but wanted to have a spiral like the Norwegian Pixels I wrote a sketch that will produce one that I can send from the Polargraph controller. Not as elegant, but it works:
Anyone interested in refining it?
It dumps a PDF, Is there an easy way to export a SVG from Processing?
https://github.com/krummrey/SpiralFromImage

↧
↧
Re: Norwegian Pixels Sketch
↧
Re: Reaction Diffusion
The CNC program didn't give me half tones, that's why I was looking for something that would look like that but preserves more tones. It's a pretty messy workflow in Photoshop right now. My programming skills are just not up there yet to code it in Processing. Working on it...
Wintopo was a great suggestion. A lot faster and accurate than Illustrator. It even works with WINE on a Mac. :)

↧
Re: Norwegian Pixels Sketch
Looks beautiful Krummrey, very nice work! Inkscape can read PDFs and export SVGs, but I suppose you know that.
There might be more elegant ways of doing it now, but Geomerative is able to export SVGs, it's quite easy to integrate.
sn
↧
↧
Re: ULN2003_DRIVER Support
Hey! Sorry for jumping into an old post, but I'm attemping to use this very bit of code. I've got some 28YBJ-48 steppers with the ULN2003 drivers hooked up to an arduino. Everything compiles correctly but I'm not getting any motion on the steppers. However, I also noticed this line:
//for a 28YBJ-48 Stepper, change these parameters above
//Step angle (8-step) 5.625deg, 64 steps per rev
//Step angle (4-step) 11.25deg, 32 steps per rev
//gear reduction ratio 1/63.68395
But I'm not understanding it, could someone explain what is meant here?
↧
Re: Norwegian Pixels Sketch
A little over my head. Having trouble understanding the Docs.
import
init
But then what? It's just straight lines...
↧
Re: Norwegian Pixels Sketch
Ha ha! When I thought about how I'd done the SVG export in the Polarweb software, I remember that that was all I'd done too :)
↧
Re: ULN2003_DRIVER Support
This section is to help you work out what motorStepsPerRev should be with geared motors.
//for a 28YBJ-48 Stepper, change these parameters above //Step angle (8-step) 5.625deg, 64 steps per rev //Step angle (4-step) 11.25deg, 32 steps per rev //gear reduction ratio 1/63.68395 // motorStepsPerRev = 32 * 63.68395 = 2038; //for 4 step sequence // motorStepsPerRev = 64 * 63.68395 = 4076; //for 8 step sequence // motorStepsPerRev = 4076; // mmPerRev = 63; // DEFAULT_STEPS_PER_REV = 4076; // DEFAULT_MM_PER_REV = 63;motorStepsPerRev is usually set in the Polargraph Controller app, and sent to the machine as part of the machine spec, rather than being hard-coded in the firmware. sn
↧
↧
Leightweight Control Server
I was wondering if anyone has written a light weight controller app for the Polargraph that would be able to run on a Raspberry Pi. My Laptop is tied up for hours while it is sending simple commands over USB. And while Processing now runs on Raspis the current controller is a little too heavy for the little computer.
So I was thinking if it would be possible to have a little print server like app running on the Raspi that will accept gcode from the Controller and then sends it command by command to the Polargraph.
What would it take to get that going?
My programming skills are very limited but I'd be willing to give it a try...
↧
Re: Leightweight Control Server
This isn't what you're asking for, but:
For my plotters that use gcode and GRBL shields, (so, not my Polargraph based projects) I've been using GRBLWeb on Raspberry Pis with wifi dongles. I've got one plotter with a very old RP1 that's been handling the job fine.
http://xyzbots.com/grblweb.html
That probably doesn't help you if you want a Sandy Noble Polargraph™ system running. My programming skills are undoubtedly less than yours, and I have no idea how difficult it would be to make something like GRBLWeb communicate in Polargraph codes. Perhaps it's something you could take a look at, though.
↧
Norwegian issues
Very impressed so far with my polargraph. Thank you for creating this. So with the Norwegian... I am was wondering if there was a newer step by step process? I read the steps from three years ago I believe and I followed them only to run into issues where the gondola wasn't wanting to move when I hit trace outline. Which is when I believe it is supposed to move. Anyway, the file that it needs to be saved is a .pbm or a .pgm. I got a little confused on that but the default is .pbm so I'm assuming that's what it needs. The steps I took was,
1. Saved the black and white file as a .pbm (but I converted it online, wasn't sure if that is a problem, because I'm not using Photoshop.)
2. Dropped that file onto the SD card and plugged that badboy into the brain.
3. Set home, and also do we still need an arbitrary image? So I set home, made a selection and then went to roving.
4. Clicked send roving area.
5. Clicked Draw Norwegian.
6. Clicked Trace Outline and nothing happened. Physically.
7. Clicked submit and nothing happened. Physically.
The command is being receive but there just isn't any output. Also I see that you suggest to hit 'c' or 'ctrl c' and when I do that nothing happens.
I might sound a bit scatterbrained but at the moment I'm a little confused and I've tried everything I can come up with.
On the far right I see some timestamps telling me the minimum grid size is 32 which I've tried adjusting that too. And then the pen width was changed to 0.5 mm. Anyway, I hope I am thorough enough to conjure up a solution. Thanks.
↧
Re: Leightweight Control Server
Kong that looks proper neat. I wish I wasn't such a javascript dunce or I'd just fork that. It's pretty much what I want out of the new Polargraph controller software.
In the meantime I knocked up this
https://gist.github.com/euphy/75366a70346689190bb5
which is a little python script that reads the contents of a command queue file, and sends the lines one by one to a Polargraph machine. It'll work fine on a pi, which is all already python'ed up.
Only python package required is pyserial: pip install pyserial Use this wee script to send a command queue to a Polargraph machine. If the filename is "mycommandqueue.txt" and the machine is connected on COM7, then do: python send.py mycommandqueue.txt COM7Perhaps that's useful (tested in python 2.7). Just updated https://github.com/euphy/polargraph/wiki/Standalone-command-queue-runner sn
↧
↧
Unable to select serial port from list on Linux
Is there a way to manually input which serial port to use?
In the serial port box under the setup tab I have a huge list of ports. (/dev/ttys0 - ttys31 and ttyUSB0) I can only select the first 10 or so, clicking on any port after that simply does not result in a checked box. The port I need (ttyUSB0) is at the bottom of the list. It's beyond me why there are so many ports listed when I only have 3 USB ports.
Cheers.
↧
Re: Unable to select serial port from list on Linux
Some machines have a lot of virtual devices installed - bluetooth is often a culprit here. Doesn't do any harm, but it's a bit confusing. And as you've seen the dialog box doesn't cope very well with it. I'm not sure why though. I'll try to have a look at that over the weekend. There's one other fix I want release soon too.
There's a file called default.properties.txt that appears in your polagraphcontroller folder, and you can open that in a text editor and find the line that starts with
controller.machine.serialport=
The value that it's set to controls which serial port to connect to, but the number is actually that port's position in the list, rather than being the name of the port. So if you have 15 serial ports, and you want the last one, then you could manually enter
controller.machine.serialport=14
(14 rather than 15 because it's a zero-indexed list, that is, the first serial port is port number 0, the second is port number 1 etc). Save the file and restart the controller.
good luck,
sn
↧
Re: Norwegian issues
Unfortunately I recently broke the console output (ctrl-c) so that doesn't do anything any more. If you're running from source, then you can see the console already, but I'm guessing you're not (otherwise you would). (I'll try to get the console reinstated this weekend - I have a plan.)
Doesn't sound scatterbrained at all, this is an excellent report. I think the grid size and pen width messages are red herrings because I'm fairly positive (it's been a while) that the norwegian pixel doesn't refer to those values.
You don't mention explicitly, but I'm guessing you are putting your filename into the "Norwegian pixel" dialog box? On windows at least, this _is_ case-sensitive, if that makes any difference.
Without the console this is pretty opaque, and there's nothing obvious that you're missing as far as I can see.
It could be a file format issue - if you email me (sandy.noble@gmail.com) an example pic I'd be happy to check it, or I can drop you an example image that I know works. The file format stuff is a bit awkward. There was a reason for it being like that at the time, but I'm struggling to remember what it was.
Issued: https://github.com/euphy/polargraphcontroller/issues/8
sn
↧
Re: Unable to select serial port from list on Linux
This combined with disabling Bluetooth at startup worked perfectly.
Thanks for the detailed and speedy reply, much appreciated.
↧
↧
Polargraph controller finally running but not communicating over serial.
I have finally got the Polargraph controller running for my recently purchased Vitamin kit.
It wasn't easy for me as I am not really versed in Arduino/coding yet , I tried running the controller application 32/64 bit versions on a number of different PCs , uninstalled Java a number of times all with no success and eventually followed the instructions to install Processing and the controller now runs. The Forum is a great resource.
I followed the instructions regarding selecting the serial port but it says that Polargraph is not connected.- I am using Com4
I am using a Chipkit Max32 board and expect that I will probably need to make changes to some aspects of the controller but I am not sure what to do next.
Any advice appreciated.
↧
Lightweight Control Server
I was wondering if anyone has written a light weight controller app for the Polargraph that would be able to run on a Raspberry Pi. My Laptop is tied up for hours while it is sending simple commands over USB. And while Processing now runs on Raspis the current controller is a little too heavy for the little computer.
So I was thinking if it would be possible to have a little print server like app running on the Raspi that will accept gcode from the Controller and then sends it command by command to the Polargraph.
What would it take to get that going?
My programming skills are very limited but I'd be willing to give it a try...
↧
Re: Lightweight Control Server
This isn't what you're asking for, but:
For my plotters that use gcode and GRBL shields, (so, not my Polargraph based projects) I've been using GRBLWeb on Raspberry Pis with wifi dongles. I've got one plotter with a very old RP1 that's been handling the job fine.
http://xyzbots.com/grblweb.html
That probably doesn't help you if you want a Sandy Noble Polargraph™ system running. My programming skills are undoubtedly less than yours, and I have no idea how difficult it would be to make something like GRBLWeb communicate in Polargraph codes. Perhaps it's something you could take a look at, though.
↧