Trying to get Repartier-host Sprinter Ramps 1.4 to do something.

Ok… I’m pretty sure that the sprinter firmware uploaded to the Arduino.
The default test program I was using was constantly blinking.   That doesn’t seem to be happening any more.
Let me try this once more when I try to upload I get a message Serial Port Com1 not found Retry the upload with another serial port?  And the only option is /dev/ttyACM0   Then I hit ok with this option it seems like things are uploading.

So when I go to connected through  the Repetier host /dev/ttyACM0 I thought initially was is not one of the options….

Update:
It turns out that it was the last option on a very long list.   The answer was in front of me if I had eyes open to see.  Apparently the Arduino IDE searches and lists Arduinos connected and Repartier lists all ports available.
One thing I did understand is why all other ports have tty### and they’re one port ttyACM0. This link sort explains that http://www.rfc1149.net/blog/2013/03/05/what-is-the-difference-between-devttyusbx-and-devttyacmx/

Anyway, the research notes below are pretty much not required, but there was some interesting content in the so I decided to leave them.

 
Ok…..
I did a little bit of googling.
http://forums.reprap.org/read.php?146,170560,170560
I should be able to try gtkterm which will send characters that don’t appear on the screen.
If I have a good connection, a carriage return should return an OK,  M105 should give a temperature report.
Baud rate s/b 115200
Ok.. something about needing to be a member of a dialout group for serial connection.
according to this http://stackoverflow.com/questions/9839988/dev-ttys0-does-not-open-in-ubuntu-12-04-beta

I can test doing this:
jonasthomas@jonasthomas-Satellite-P305D:~$ ls -al /dev/ttyS4
crw-rw—- 1 root dialout 4, 68 Apr  3 21:47 /dev/ttyS4
jonasthomas@jonasthomas-Satellite-P305D:~$ id -Gn
jonasthomas adm dialout cdrom sudo dip plugdev lpadmin sambashare

Ok dialout is not an issue(which I didn’t think it was since I uploaded the firmware to arduino without root access).

This link had a couple of useful blurbs http://blog.markloiseau.com/2012/05/install-arduino-ubuntu/
Talks about using dmesg to figure out what port the arduino is connect to.

Here’s some info on how to connect via terminal: http://playground.arduino.cc/Interfacing/LinuxTTY
Here’s another way to figure out the port: http://superuser.com/questions/361885/how-do-i-figure-out-which-dev-is-a-usb-flash-drive

I’m getting now where fast.   I started arduino 1.0 and load the test routine and my motors are humming.
I then loaded Arduino 23 abd loaded the sprinter software.
With the motors still running I tried to upload and I got this.

Binary sketch size: 20014 bytes (of a 258048 byte maximum)
java.lang.NullPointerException
at processing.app.debug.Compiler.execAsynchronously(Compiler.java:299)
at processing.app.debug.Compiler.compile(Compiler.java:160)
at processing.app.Sketch.build(Sketch.java:1515)
at processing.app.Sketch.exportApplet(Sketch.java:1555)
at processing.app.Sketch.exportApplet(Sketch.java:1524)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2293)
at java.lang.Thread.run(Thread.java:679)
This link talks about lsusb which is interesting http://ubuntuforums.org/showthread.php?t=1755534

Good stuff here: http://chmodux.wordpress.com/2012/07/05/ramps/

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *