Sanguino for windows (link)
- Install Arduino software (I got version 1.0) (But this doesn't work for Sprinter yet (see below), so I also got 0023)
- Which means download it and unzip to a suitable folder. Then we skip to Sanguino steps
- Download latest Sanguino version from Google code. (I got version 0023r3)
- Copy /sanguino into arduino-xxxx/hardware
- So I ended up with arduino-1.0/hardware/Sanguino
- Start Arduino
- I put a shortcut on my Quick Launch bar
- Choose Sanguino from the Tools -> Board menu.
- Choose Com x from Tools -> Serial Port menu (where x is your printer com port. Mine is 6)
The above should now put me back to where I was when installing firmware on the TechZone Gen 3 stuff back in 2010.
The one thing I know I have to setup is the Thermistors. It's great to see that a number of the thermistors have now been loaded into the firmware config by default so you simply need select the correct one. (Thanks again to Think3dPrint3d)
//// Thermistor settings:
// 1 is 100k thermistor
// 2 is 200k thermistor
// 3 is mendel-parts thermistor
// 4 is 10k thermistor
// 5 is ParCan supplied 104GT-2 100K
// 6 is EPCOS 100k
// 7 is 100k Honeywell thermistor 135-104LAG-J01
My heated bed uses the EPCOS 100k (#6) and I have a ParCan HotEnd so I presume #5 (he didn't say).
I'll tweak these settings so long and use this as a test as I know I will need to make changes for the motors (having started this sidebar due to discovering my X-axis isn't performing as expected.
Basic Configuration Steps
- Open Arduino software
- Load sprinter.pde sketchbook (BTW: On saving, Arduino now changes the extension from .pde to .ino)
- Open configuration.h and read through, tweaking settings as you go. These are the ones I changed.
- MOTHERBOARD = 62
- THERMISTORHEATER = 5
- THERMISTORBED = 6
- I have a Metric Sells Mendel (not Prusa) with Wade extruder, so leaving the defaults in for Calibration until I get around to actual calibration.
- INVERT_X_DIR= true
- *_MAX_LENGTH I need to figure these out during calibration. Leaving as default at the moment.
- Save changes
- Choose Sketch -> Verify/Compile. Any Errors?
- Yes!! Sprinter.cpp:63:21: error: Arduino.h: No such file or directory
- So off to figure this one out.
- I found someone listing the same error in a comment on Dust's Reprap Blog. The answer is apparently to use Arduino 0022 as the firmware won't currently compile on v1.0.
- So, off to get 0022 (I saw 0023, so thought I would try that - sucker for punishment).
- Copy the Sanguino folder (which includes the edited values above) into the hardware folder.
- I actually moved the folder as I didn't want to confuse myself later with which was the correct one.
- I also deleted my Arduino 1.0 shortcut and replaced it with the new one.
- Select the appropriate board and com port as mentioned above. It remembered the settings, so probably stored as part of the sketchbook.
- Now repeat Steps 1,2,4 & 5 above till we have a success.
- Yay!! Done compiling!!!
- Switch on and connect to the printer (USB)
- Select File -> Upload to I/O Board.
- Yay!! Done uploading!!!
- So Arduino 0023 compiles and uploads Sprinter.
That's all for the firmware loading post. I will now be able continue with the calibration.
Yes, 0023 works too, just not version 1.0
ReplyDelete