Hello all,
Hoping I can find an answer from the valuable experience on here!
I've built a polargraph using:
Arduino Uno
Clone Motor shield (DK Electronics - this appears to be the same design as the Adafruit motor shield [V1])
2 x stepper motors (4V, 1A, 1.8 .deg step, bipolar)
and beaded cord nicked from my mam's blinds! (I need to get some longer ones to make use of the full machine size)
I have installed all the necessary bits (controller, arduino polargraph server, processing etc) but I have a problem.
The only complete drawings I've yet managed are trace captures.
Any of the pixel drawings I have tried stop within the first 1/8th or so of the drawing. It looks like they are loosing serial connection.
I'm on Ubuntu 12.04 and have given full permissions to /dev/ttyACM* and ensured that the default.properties.txt file is linking to controller.machine.serialport=0
Here is the error I get when the machine stops while drawing:
java.io.IOException: Input/output error in nativeavailable
at gnu.io.RXTXPort.nativeavailable(Native Method)
at gnu.io.RXTXPort$SerialInputStream.available(RXTXPort.java:1598)
at processing.serial.Serial.serialEvent(Unknown Source)
at gnu.io.RXTXPort.sendEvent(RXTXPort.java:774)
at gnu.io.RXTXPort.eventLoop(Native Method)
at gnu.io.RXTXPort$MonitorThread.run(RXTXPort.java:1643)
What I don't understand is how I can get comms but it then drops.
Any ideas?
|