No description, website, or topics provided.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes Initial import into GIT Feb 17, 2013
.gitignore Ignore svn May 5, 2013
EEPROMAnything.h Now no longer including the SD and SPI libraries for UNO builds May 19, 2015
README.md Added links to Motorshield docs Sep 10, 2018
comms.ino Now no longer including the SD and SPI libraries for UNO builds May 19, 2015
configuration.ino v1.2.1 compiling in Arduino IDE v1.6.6 now. Nov 29, 2015
curves.ino v1.12 Adding MEGA as microcontroller target Mar 28, 2015
eeprom.ino v1.2.1 compiling in Arduino IDE v1.6.6 now. Nov 29, 2015
exec.ino Fix for working with multiplier 32 (1/32 microstep driver) Mar 27, 2018
impl_uno.ino Now no longer including the SD and SPI libraries for UNO builds May 19, 2015
penlift.ino Bit more work around param numbers. Sep 24, 2014
pixel.ino Now no longer including the SD and SPI libraries for UNO builds May 19, 2015
polargraph_server_a1.ino v1.2.1 compiling in Arduino IDE v1.6.6 now. Nov 29, 2015
polargraph_server_a1_adafruit_v1.cpp.hex v1.2.1 compiling in Arduino IDE v1.6.6 now. Nov 29, 2015
polargraph_server_a1_adafruit_v2.cpp.hex v1.2.1 compiling in Arduino IDE v1.6.6 now. Nov 29, 2015
rove.ino Added rove.ino and sprite.ino. I'd forgotten them, eh. Apr 7, 2015
sd.ino Now no longer including the SD and SPI libraries for UNO builds May 19, 2015
sprite.ino Added rove.ino and sprite.ino. I'd forgotten them, eh. Apr 7, 2015
util.ino Now no longer including the SD and SPI libraries for UNO builds May 19, 2015

README.md

polargraph_server_a1

Polargraph Server for Arduino UNO and MEGA compatible boards using Adafruit motorshields, serial stepper drivers (eg Easy Drivers, stepsticks etc) or signal amplifiers (eg ULN2003s).

This doesn't seem to compile in Arduino IDE v1.8.6! Why? I don't know! It works fine in 1.8.5. It also doesn't work in the online web Arduino IDE. I'm on it.

It is called _a1 because it is the version for the first arduino (ie Uno, or Duemilanove).
Bit obtuse that, I know.

For convenience, I have pre-compiled and included two hex files:

  1. polargraph_server_a1_adafruit_v1.cpp.hex - Is for Adafruit motorshield v1 looks like this: https://www.adafruit.com/product/81.
  2. polargraph_server_a1_adafruit_v2.cpp.hex - Is for the Adafruit motorshield v2 looks like this: https://www.adafruit.com/product/1438.

Motor driver:

This firmware works for:

  1. Adafruit Motorshield v1 that uses AFMotor as it's software driver
  2. Adafruit Motorshield v2 that uses Adafruit_MotorShield as it's software driver
  3. Generic serial stepper drivers, eg Stepsticks or Easy Drivers
  4. Four-wire signal amplifier, eg UNL2003

To switch between the different drivers, and to configure a few other bits and pieces, comment out some lines near the beginning of polargraph_server_a1.ino.

There are five config sections:

  1. Specify what kind of controller board you are using
  2. Add some libraries if you have a MEGA
  3. Specify what kind of motor driver you are using:
  4. Adafruit Motorshield v1 (https://www.adafruit.com/product/81)
  5. Adafruit Motorshield v2 (https://www.adafruit.com/product/1438)
  6. Discrete stepper drivers (eg EasyDriver, stepstick, Pololu gear).*
  7. Signal amplifier like a UNL2003*
  8. Turn on some debugging code
  9. Disable program features if you need to free up space
  • For motor drivers iii and iv, you will need to change the values in configuration.ino to set the exact pins the drivers are wired up to.

The program has a core part that consists of the following files that are common to all Polargraph Server versions:

  • comms.ino
  • configuration.ino
  • eeprom.ino
  • exec.ino
  • penlift.ino
  • pixel.ino
  • util.ino

and

  • polargraph_server_a1.ino

which is named for the project.

Polargraph

Polargraph is the name of the project, and is a portmanteau word invented by the writer solely for this purpose. Any machine that runs the Polargraph software is technically a polargraph machine. I usually reserve the big-P "Polargraph" for things made by The Polargraph Company, including the Polargraph software and PolargraphSD machine.

Other hanging-v plotters are probably compatible with Polargraph software, but unless they run it, they are not even polargraphs with a small P.

Project and software written by Sandy Noble.

Released under GNU License version 3.

http://www.polargraph.co.uk

https://github.com/euphy/polargraph_server_a1