Kossel - NonaSuomy/PuRe GitHub Wiki
3D Printer we are attempting to build.
A Kossel is a Delta Robot printer, a new design that is now becoming popular in the RepRap community.
A 3D printer is an incredible tool for a maker to have. Many of the UnLab members have expressed a lot of interest in having a printer and also want to take part in the process of building one.
@WessleeT and Shachar Weis are managing the project, but the goal is to have as much people involved as possible. We plan to do much of the building on Thursday open-nights.
Printed parts in PLA Red on an Ultimaker!
10-Apr-2013 Vice: Frame parts order placed with TriDPrinting.com
https://tools.usps.com/go/TrackConfirmAction?qtc_tLabels1=cj407810794us
Parts from TriDPrinting
Have | Part | Price |
---|---|---|
X | Kossel Extrusion Kit | $49.95 |
X | Kossel Nuts, Bolts and Screw Kit | $28.95 |
X | Kossel Bearings Kit | $19.95 |
X | (3) Stepper Motor | $44.85 |
X | (3) Aluminum Filament Drive Spools | $19.95 |
X | (6) Assembled Traxxax Rods | $29.95 |
X | (3) End Stops, Limit Switches | $6.95 |
X | (1) Bearings - MR105ZZ | $4.95 |
X | (2) 8 mm Push Fit Connectors for 1.75 mm Filament | $5.95 |
X | PTFE Teflon Tube for 1.75 mm Filament - 1.5 meters | $6.95 |
X | Hobbed MK7 Drive Gear | $13.95 |
X | Stepper Motor | $14.95 |
Total: $250 | ||
Shipping: $50 |
This list is ordered to match the order of assembly.
Have | Name | Count | Designations | Vendors | Remarks | |||||
---|---|---|---|---|---|---|---|---|---|---|
X | MCP2200 I/SO | 1 | U2 | Reichelt | Farnell | RS | Digi-Key | Mouser | This is the USB-TTL adapter | |
X | 0.6 mm Wire | 50 cm | Völkner | Digi-Key | Mouser | for the wire bridges on single sided PCBs | ||||
X | Resistor 10 Ohms | 2 | R11, R12 | Reichelt | RS | |||||
X | Resistor 560 Ohms | 2 | R14, R22 | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | Resistor 1 kOhms | 8 | R1, R2, R4, R6, R8, R10, R16, R18 | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | Resistor 4.7 kOhms | 2 | RT1, RT2 | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | Resistor 10 kOhms | 2 | R3, R30 | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | Diode 1N4004(5) | 2 | D1, D2 | Reichelt | Völkner | Farnell | Digi-Key | Mouser | ||
X | Coil 10 uH | 1 | L1 | Reichelt | Farnell | Digi-Key | Mouser | |||
X | Crystal 12 MHz | 1 | U7 | Same housing as the one below, the number on the part reads the frequency. | ||||||
X | Crystal 16 MHz or 20 MHz | 1 | U6 | Reichelt | Völkner | Farnell | Digi-Key | Mouser | ||
X | Reset Switch | 1 | RESET | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | Ceramic Capacitor 0.1 uF | 13 | C8, C9, C10, C11, C12, C13, C14, C16, C17, C18, C19, C20, C21 | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | LED 3 mm Green | 5 | RxLED, TxLED, LED2, LED5, +5V | Reichelt | Völkner | Farnell | Digi-Key | Mouser | ||
X | LED 3 mm Yellow | 1 | Standby | Reichelt | Völkner | Farnell | Digi-key | Mouser | ||
X | Ceramic Capacitor 22 pF | 4 | C3, C4, C5, C15 | Reichelt | Völkner | Farnell | RS | Digi-Key | Mouser | |
X | Electrolytic Capacitor 10 uF | 2 | CT1, CT2 | Reichelt | Völkner | Farnell | Digi-key | Mouser | ||
X | Electrolytic Capacitor 100 uF | 4 | C1, C2, C6, C7 | Reichelt | Völkner | Farnell | Digi-Key | Mouser | ||
X | Jumper Header 2 Pin Pairs | 4 pair | J2/J3, J5/J6, J8/J9, J11/J12 | Reichelt | RS | Digi-Key | Mouser | cut them into appropriate pieces | ||
X | Jumper Header 2 Pin | 2 | J13, J14 | Reichelt | Völkner | RS | Digi-Key | Mouser | cut them into appropriate pieces | |
X | Jumper for the two above | 9 | Reichelt | RS | Digi-Key | Mouser | ||||
X | ICSP Header | 1 | CONN6 | Reichelt | RS | Digi-Key | Mouser | alternatively, assemble this out of the remainings of the Jumper 2 Pin Headers | ||
X | Pololu Header | 8 or 4 | U2, U3, U4, U5 | Reichelt | Völkner | Digi-Key | Mouser | cut them to appropriate length if needed, you want 8x 8 pins | ||
X | Socket for the ATmega | 1 | U1 | Reichelt | Völkner | Farnell | Digi-Key | Mouser | ||
X | ATmega 1284P-PU | 1 | Reichelt | RS | Mouser | |||||
NO | Alternative: ATmega 644-20PU (or 644P-20PU) | 1 | Reichelt | Farnell | Digi-Key | Mouser | ||||
MOSFET IRLB 8743 | 2 | Q1, Q2 | RS | Mouser |
Have | Name | Count | Designations | Vendors | Remarks | |||||
---|---|---|---|---|---|---|---|---|---|---|
Molex KK100 2 Pin Header | 2 | TEMP_EXT, TEMP_BED | Reichelt | RS | DigiKey | Mouser | ||||
Cable Connector for the above | 2 | Reichelt | RS | DigiKey | Mouser | |||||
Crimp Contact for the above | 4 | Reichelt | RS | DigiKey | Mouser | |||||
Molex KK100 3 Pin Header | 3 | X_MIN, Y_MIN, Z_MIN | Reichelt | RS | DigiKey | Mouser | Reichelt are tested to be fully compatible with Molex | |||
Cable Connector for the above | 3 | Reichelt | RS | DigiKey | Mouser | |||||
Crimp Contact for the above | 9 | Reichelt | RS | DigiKey | Mouser | same as for TEMP_EXT, TEMP_BED above | ||||
Molex KK100 4 Pin Header | 4 | X_MOT, Y_MOT, Z_MOT, E_MOT | Reichelt | RS | DigiKey | Mouser | ||||
Cable Connector for the above | 4 | Reichelt | RS | Mouser | ||||||
Crimp Contact for the above | 16 | Reichelt | RS | DigiKey | Mouser | |||||
X | USB-B Connector | 1 | CONN1 | Reichelt | ||||||
Heater Header Molex 26-48-1045 (2 Pin) | 2 | HEATER_EXT, HEATER_BED | RS | DigiKey | Mouser | |||||
Cable Connector for the above | 2 | RS | DigiKey | Mouser | ||||||
Crimp Contact for the above | 4 | RS | DigiKey | Mouser | ||||||
Alternative to Heater Header: 2 Pin Screw Terminal | 2 | HEATER_EXT, HEATER_BED | Reichelt | DigiKey | Mouser | |||||
X | Disk Power Header | 2 | CONN2, CONN3 | Reichelt | RS | DigiKey | Mouser | also see DIY 4 pin molex connector | ||
X | ATX24 Power Connector | 1 | CONN1 | RS | DigiKey | Mouser | Molex Mini-Fit 44206-0007. Also known as VAL-U-LOK (20 or 24 Pins). |
+--------\/--------+ INT8 (D 0) PB0 1|> Xmin Temp_Bed {|40 PA0 (AI 0 / D31) INT1 (D 1) PB1 2|> Ymin Temp_Ext {|39 PA1 (AI 1 / D30) INT2 (D 2) PB2 3|> Zmin Xstep >|38 PA2 (AI 2 / D29) PWM (D 3) PB3 4|< Heat_Bed Xdir >|37 PA3 (AI 3 / D28) PWM (D 4) PB4 5|< Heat_Ext Ystep >|36 PA4 (AI 4 / D27) MOSI (D 5) PB5 6| Ydir >|35 PA5 (AI 5 / D26) MIS0 (D 6) PB6 7| MotEn >|34 PA6 (AI 6 / D25) SCK (D 7) PB7 8| |33 PA7 (AI 7 / D24) RST 9| |32 AREF VCC 10| |31 GND GND 11| |30 AVCC XTAL2 12| Zstep >|29 PC7 (D 23) XTAL1 13| Zdir >|28 PC6 (D 22) RX0 (D 8) PD0 14| |27 PC5 (D 21) TDI TX0 (D 9) PD1 15| |26 PC4 (D 20) TDO RX1 (D 10) PD2 16| Estep >|25 PC3 (D 19) TMS TX1 (D 11) PD3 17| Edir >|24 PC2 (D 18) TCK PWM (D 12) PD4 18| |23 PC1 (D 17) SDA PWM (D 13) PD5 19| |22 PC0 (D 16) SCL PWM (D 14) PD6 20| PwrEn >|21 PD7 (D 15) PWM +------------------+
+--------\/--------+ GPB0 1|>08 LED1 LED2 07<|28 GPA7 GPB1 2|>09 D7LCD LED3 06<|27 GPA6 GPB2 3|>10 D6LCD Buzz 05<|26 GPA5 GPB3 4|>11 D5LCD 04 |25 GPA4 GPB4 5|>12 D4LCD 03 |24 GPA3 GPB5 6|>13 ENLCD EN_C 02>|23 GPA2 GPB6 7|>14 RWLCD EN_B 01>|22 GPA1 GPB7 8|>15 RSLCD EN_A 00>|21 GPA0 VDD 9| +5 |20 INTA VSS 10| GND |19 INTB N/C 11| +5V Ohm |18 Reset SCL 12|<> EXD17 GND |17 A2 SDA 13|<> EXD16 GND |16 A1 N/C 14| GND |15 A0 +------------------+
+--------\/--------+ MOSI (D 5) PB5 1| |28 PA7 (AI 7 / D24) MIS0 (D 6) PB6 2| |27 AREF SCK (D 7) PB7 3| |26 AGND RST 4| |25 AVCC +5VCC 5| VCCEXP |24 RESV GND 6| GNDEXP |23 RESV RX0 (D 8) PD0 7| RS485 |22 Enable TX0 (D 9) PD1 8| RS485 |21 PC5 (D 21) TDI RX1 (D 10) PD2 9| EN_A |20 PC4 (D 20) TDO TX1 (D 11) PD3 10| EN_B |19 EStep PWM (D 12) PD4 11| |18 EDir PWM (D 13) PD5 12| MCP Pin12 |17 PC1 (D 17) SDA PWM (D 14) PD6 13| SDSS MCP Pin13 |16 PC0 (D 16) SCL +5V 14| |15 +3.3V +------------------+
+--------\/--------+ VCC 1| Gen7 EXP +5V |28 N/C 1Y 2| 1 CS SDCard |27 6Y 1A 3| Gen7 EXP Pin13 |26 6A 2Y 4| 2 DI SDCard |25 N/C 2A 5| Gen7 EXP Pin01 |24 5Y 3Y 6| 5 CLK SDCard |23 5A 3A 7| Gen7 EXP Pin03 |22 4Y GND 8| Gen7 EXP GND |23 4A +------------------+
+--------------------------+ N/C 8|## | D0 7|## Gen7 EXP Pin 2 MIOS | VSS2 GND 6|## Gen7 EXP Pin 6 GND | CLK 5|## 4050 3Y Pin 6 | +3.3 VCC 4|## - 2.2uF & 3.3V Reg Out | VSS GND 3|## Gen7 EXP Pin 6 GND | DI 2|## 4050 2Y Pin 4 | CS 1|## 4050 1Y Pin 2 | N/C 9 \## | \------------------------+
Toner Transfer
Made some dipping tongs
Board after it came out of the Ferric Chloride (35 Mins)
If you warm it up it should apparently take around 2 mins.
Toner / Sharpie Marker removed with Acetone and Cloth
Top of board
Paper parts layout
Soldering Parts
All components in place
Finished Soldering & Leads all cut down. TA-DA!
Testing 5V & 12V points/Configuring surface mount USB IC. WORKS!
Needs more AMPS!
ArduinoISP Wiring
Burning Bootloader
Uploaded blink sketch to test bootloader
Added End-Stop connectors to board.
Added End-Stops to Kossel frame.
‘’’Note:’’’Do not clean out every hole with a drill. ‘’’We will make note on which ones not to drill in this guide.’’’ Some holes are intended to capture the nut beam without requiring a nut.
Kossel Nuts, Bolts, Screws Kit
Nuts - 108 Pieces - M3
Nuts - 3 Pieces - M4
Jam Nuts - 24 Pieces - M3
Nyloc Nuts - 16 Pieces - M3
Washers - 45 Pieces - M3
Fender Washers - 5 Pieces - M3
Socket Head Cap Screws - 61 Pieces - M3 X 8 mm
Socket Head Cap Screws - 12 Pieces - M3 X 10 mm
Socket Head Cap Screws - 6 Pieces - M2.5 X 12 mm
Socket Head Cap Screws - 23 Pieces - M3 X 12 mm
Socket Head Cap Screws - 33 Pieces - M3 X 20 mm
Socket Head Cap Screws - 2 Pieces - M4 X 20 mm
Socket Head Cap Screws - 19 Pieces - M3 X 35 mm
You may notice that it can be significantly easier with captured nut beams by putting the nut on first and then sliding everything on after it is already threaded. ‘’Alternately, we specifically try to use magnetic nuts (and screws) so you can push them around in the beam with a magnet.’’ This process makes the job a heck of alot easier. ‘’’Tip:’’’ Stick a magnet to a small key to slide the nuts in place down the T-Slot groove. Do the nuts furthest from the center first so they don’t magnetize together and cause issues while aligning them. Be mindful of how many hex nuts you put into the T-Slots of the beams. (We had to remove the corner pieces and add hex nuts, as we didn't realize until after.) Specifically for the clip holder pieces on the bottom interior beams.
‘’’Remember:’’’ You need 6 nuts to slide in the T-Slot aluminum extrusion interior bottom upper frame sides. You will need 2 M3 nuts for the clip plate holders in the T-Slot aluminum extrusion top track and 4 nuts in the inside track, 2 on each motor mount piece.
Motor Spindle (Aluminum in our case with set screw) 400px
Spectra Fishing Line 5 Kossels high
(For printed spools only not aluminum)
Nut - M3 - 1 Piece
Socket Head Cap Screw - M3 X 8 mm - 1 Piece
Install 1 M3 nut with an 8 mm M3 screw.
String up spools
Notes:
- Remember to put the Spectre Line through the spool and attach the spool to the motor before mounting to the frame.
- The pictures that we reviewed showed the electrical stepper motor wires facing upwards to the glass build platform. We decided to put all the wires facing the right hand side to prevent melted/soft wires from the heated build platform glass and from scraping on the ground if positioned the opposite way.
Stepper Motor
PLA Frame_Motor.scad printed piece
Socket Head Cap Screw - M3 X 8 mm - 4 Pieces
Nut - M3 - 4 Pieces Motor - 4 pieces of M3 X 8 mm Socket Head Cap Screws will be attached onto the corner pieces of the frame. Hold the motor with the attached spindle and align it to the holes of the corner piece (magnetized nut beams are your friend here)
200px Use 8 nuts to the extrusion using 6 mm screws. Install M3 20 mm button heads screws through the corner pieces.
Prepare, but do not attach to the extrusion, 6 M3 8 mm screws to the frame cheeks. Use 6 M3 20 mm socket head screws with nuts for the top corner pieces.
Install the 608ZZ Bearings into the 3 plastic idlers and connect the 3 m3 40 mm tensioner bolts with a lock nut to the top corner piece. Then put the idler and everything else into the open beam all at the same time.
Install the 3 limit switches on the frame cheeks with m2.5 12 mm socket head screws.
- Note, be especially careful not to drill out holes any more than necessary unless the screw needs a nut. The 6 bearings, for example, do not require a nut but instead are held in by the plastic.
The limit switch screw currently uses a 16 mm m3 screw. The string anchor uses an m12 m3 screw.
The center head uses the same 20 mm m3 screws and up to 2 nuts, 2 washers and 2 jam nuts to adjust.
Prepare each rod end by wrapping it in string before drilling it with a 3.3 mm drill bit. Then tap it with a 4 mm coarse tap. Be especially careful to frequently reverse the tap.
Each carriage rod connector uses 20 mm m3 button cap head screws and up to 2 nuts, 1 jam nut and 1 washer. When you are all done, you will want the spacing between the rods to exactly match at the carriage and on the head. A small adjustment can be made when adjusting the carriage tightness around the beam by tightening the inside or outside screws, however, you may find that you need to play with nuts, washers, jam nuts, etc. to get them to match exactly.
You can hang a beam from the middle of one of the sides to hang the extruder. HB designed an Airtripper mounting bracket which you can download:
https://docs.google.com/file/d/0BwwU9Nx1dsISODVCb1V5X213SEU/edit
The bracket takes 2 8 mm and 2 12 mm m3 button cap screws with fender washers on the airtripper and a nyloc nut to be certain it does not vibrate loose.
The Bowden end, mounting plate and extruder all mount to the head with 2 20 mm m4 screws and 2 m4 nuts.
Lastly, just mount the hotbed and glass with the clips and you are ready to start wiring up the electronics.
Kossel fully strung up and a drawing test (Not calibrated yet!)
Kossel draw establishing shot.
Kossel close-up of drawing an effector plate.
Firmware Settings for Configuration.h (Marlin).
Information topic on the Atmel Atmega 1284P http://arduino.cc/forum/index.php?PHPSESSID=845b17bf7201a45f2643cbedbcb4fe99&/topic,80483.465.html
Other Atmega 1284P Bootloader we are not using this one just here for reference https://github.com/maniacbug/mighty-1284p as we are using the bootloader in the GEN7 Git.
Arduino 1.0.4 -> ArduinoISP Sketch works just fine with the 1284P. 1.0 Had an old version of the sketch from Arduino 0.23 which wouldn't compile properly. So ignore any remarks online about it not working if you have the later versions of Arduino 1.0.4+ etc. It is found in the ArduinoIDE under Examples -> ArduinoISP.
I used these directions for wiring up the ArduinoISP to the Atmega 1284P Note: I didn't use Mighty-1284P for this document http://www.gammon.com.au/forum/?id=11637 we used the Gen7 files: https://github.com/Traumflug/Generation_7_Electronics/blob/master/release%20documents/Gen7%20Arduino%20IDE%20Support%202.1.zip We Select Board Gen7 with 1284P and 20MHz Crystal and then under programmer select ArduinoISP then Burn Bootloader. Dump these files into the Arduino folder like so:
Windows: C:/Program Files/Arduino/ or C:/Program Files (x86)/Arduino/
Linux (Ubuntu): /usr/share/arduino/
Arduino ____hardware ________arduino ________Gen7 ________tools
Marlin Firmware works with GEN7 since the pull requests from SCUBA on the RepRap Forums (Doesn't work with GEN7T means if you are using Toshiba stepper drivers, which we are not were using Pololu Drivers so it works fine for us.) https://github.com/ErikZalm/Marlin
You may find information in the random forums that Marlin doesn't know how to operate properly at 20MHz but this was fixed in branch: https://github.com/ErikZalm/Marlin/pull/408/files
USBTiny Can't burn the bootloader on any microcontroller with >64K memory it loops over itself and then rewrites. Need to use ArduinoISP or Pololu ISP Programmer or Parallel Hack http://forums.reprap.org/read.php?181,198665 http://blog.think3dprint3d.com/2012/04/space-using-1284p-on-sanguinlolu.html http://arduino.cc/en/Tutorial/ArduinoISP https://github.com/rsbohn/ArduinoISP
Brownout issue while using LCD/SD Conclusion: The coil "L1" wasn't siced correctly till GEN7 1.4.1. It should be 10uH instead of 100uH (as mentioned in the datasheets). Traumflug allready corrected it's value in the new GEN7 v1.5. https://github.com/ErikZalm/Marlin/issues/174
Use this to detect fuse settings if you still have the wires hooked up for the ArduinoISP: http://gammon.com.au/Arduino/Atmega_Fuse_Calculator.zip Open the serial monitor in the ArduinoIDE and you should see output like this:
Atmega fuse calculator. Written by Nick Gammon. Entered programming mode OK. Signature = 0x1E 0x97 0x05 Processor = ATmega1284P Flash memory size = 131072 LFuse = 0xF7 HFuse = 0xDC EFuse = 0xFC Lock byte = 0xCF Clock calibration = 0xA4 OCD Enable.............................. [ ] JTAG Enable............................. [ ] Enable Serial (ICSP) Programming........ [X] Watchdog Timer Always On................ [ ] Preserve EEPROM through chip erase...... [ ] Boot into bootloader.................... [X] Divide clock by 8....................... [ ] Clock output............................ [ ] Bootloader size: 2048 bytes. Start-up time: SUT0: [ ] SUT1: [ ] (see datasheet) Clock source: full-swing crystal. Brownout detection at: 4.3V.
http://forums.reprap.org/read.php?181,118329,page=1 https://github.com/ErikZalm/Marlin/issues/174
Not sure if this is needed but I did it any ways as it seems the 10uH coil change was supposed to fix this but anyeways... Edit the Board Configuration we got from the Gen7 Git change the fuses like how we have below for the 1284P 20MHz entry at the bottom of the file:
Linux (Ubuntu): /usr/share/android/hardware/Gen7/boards.txt
Gen7-1284P-20.name=Gen7 with ATmega1284P and 20 MHz Gen7-1284P-20.upload.protocol=stk500v2 Gen7-1284P-20.upload.maximum_size=129024 Gen7-1284P-20.upload.speed=115200 Gen7-1284P-20.bootloader.low_fuses=0xF7 Gen7-1284P-20.bootloader.high_fuses=0xD4 Gen7-1284P-20.bootloader.extended_fuses=0xFD Gen7-1284P-20.bootloader.path=Gen7 Gen7-1284P-20.bootloader.file=bootloader-1284P-20MHz.hex Gen7-1284P-20.bootloader.unlock_bits=0x3F Gen7-1284P-20.bootloader.lock_bits=0x0F Gen7-1284P-20.build.mcu=atmega1284p Gen7-1284P-20.build.f_cpu=20000000L Gen7-1284P-20.build.core=arduino Gen7-1284P-20.build.variant=gen7
Now we get this:
Atmega fuse calculator. Written by Nick Gammon. Entered programming mode OK. Signature = 0x1E 0x97 0x05 Processor = ATmega1284P Flash memory size = 131072 LFuse = 0xF7 HFuse = 0xD4 EFuse = 0xFD Lock byte = 0xCF Clock calibration = 0xA4 OCD Enable.............................. [ ] JTAG Enable............................. [ ] Enable Serial (ICSP) Programming........ [X] Watchdog Timer Always On................ [ ] Preserve EEPROM through chip erase...... [X] Boot into bootloader.................... [X] Divide clock by 8....................... [ ] Clock output............................ [ ] Bootloader size: 2048 bytes. Start-up time: SUT0: [ ] SUT1: [ ] (see datasheet) Clock source: full-swing crystal. Brownout detection at: 2.7V.
Note the Preserve EEPROM through chip erase has been enabled now with that X beside it and Brownout detection at: 2.7V, Marlin firmware apparently needs this.
Test blink sketch upload from Arduino Uno to the 1284P.
Remove the ATMega328p. Connect TX from the arduino to TX of the ATmega1284, and RX from the arduino to RX of Atmega1284. Then connect the reset pins together.
Note: I tried this and it didn't work! I then tried to make a filter with a 10K resistor inline with the RX0 and a 101(100pf) Capacitor to ground which was recommended because the 1284p has a wild RX0 or something which also didn't work.
http://arduino.cc/forum/index.php?PHPSESSID=20b9aaa17d5bec5cc64ecfb84fb7ca61&topic=119106.30
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=107115
I then found a FTDI Cable on the old Makerbot CupCake we have and tried it (TTL-232R-5V) http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf
FTDI | 1284P ----------------|------------- 1 BLACK GROUND | GROUND 2 BROWN CTS# | NOT CONNECTED 3 RED 5VCC | VCC 4 ORANGE TXD | TX0 5 YELLOW RXD | RX0 6 GREEN RTS# | RESET
Note: I tried with the Filter and with out the filter I talked about above and both ways worked fine :D
Uploaded blinky light sketch with no problem.
########## | 100% 0.87s avrdude: verifying ... avrdude: 1274 bytes of flash verified avrdude: Send: . [1b] . [1b] . [00] . [03] . [0e] . [11] . [01] . [01] . [1c] avrdude: Recv: . [1b] avrdude: Recv: . [1b] avrdude: Recv: . [00] avrdude: Recv: . [02] avrdude: Recv: . [0e] avrdude: Recv: . [11] avrdude: Recv: . [00] avrdude: Recv: . [1d]
avrdude done. Thank you.
Lines to change (-- Comment out or remove) (++ Change to or edit)
LINE 20,21 Comment: Generation 7 Board does not like the higher baudrate.
// This determines the communication speed of the printer --//#define BAUDRATE 250000 ++#define BAUDRATE 115200
LINE 49 Comment: This is to define the Generations 7 Electronics 1.4-5 motherboard that we are using.
#ifndef MOTHERBOARD --//#define MOTHERBOARD 33 ++#define MOTHERBOARD 13 #endif
LINE 110 Comment: This is so we don't trip the temperature shutdown feature while we have no hotend thermistor installed to testing ONLY! make sure you change this back once hotend is installed with thermistor.
--//#define TEMP_SENSOR_0 1 ++#define TEMP_SENSOR_0 0 #define TEMP_SENSOR_1 0 #define TEMP_SENSOR_2 0 #define TEMP_SENSOR_BED 0
LINE 215 Comment: If disabling the sensor is not stopping the shutdown put this to 0 as well. ONLY FOR TESTING WITH NO EXTRUDER/THERMISTOR.
--//#define EXTRUDE_MINTEMP 170 ++#define EXTRUDE_MINTEMP 0
LINE 300 Comment: Measure the distance between the hotend and the bed in mm we got 210.
--//#define MANUAL_Z_HOME_POS 402 // Distance between nozzle and print surface after homing. ++#define MANUAL_Z_HOME_POS 210 // Distance between nozzle and print surface after homing.
LINE 308 Comment: Not sure if this will need adjusting... Steps it takes to move some distance...
--//#define DEFAULT_AXIS_STEPS_PER_UNIT {40, 40, 40, 100} ++#define DEFAULT_AXIS_STEPS_PER_UNIT {54, 54, 54, 90}
LINE 312 Comment: Not sure if this will need adjusting
--//#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves ++#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves
Open Marlin.pde or Marlin.ino
// This configurtion file contains the basic settings. // Advanced settings can be found in Configuration_adv.h // BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration //User specified version info of this build to display in [Pronterface, etc] terminal window during startup. //Implementation of an idea by Prof Braino to inform user that any changes made //to this build by the user have been successfully uploaded into firmware. #define STRING_VERSION_CONFIG_H __DATE__ " " __TIME__ // build date and time #define STRING_CONFIG_H_AUTHOR "(jcrocholl, deltabot)" //Who made the changes. // SERIAL_PORT selects which serial port should be used for communication with the host. // This allows the connection of wireless adapters (for instance) to non-default port pins. // Serial port 0 is still used by the Arduino bootloader regardless of this setting. #define SERIAL_PORT 0 // This determines the communication speed of the printer #define BAUDRATE 250000 //#define BAUDRATE 115200 //// The following define selects which electronics board you have. Please choose the one that matches your setup // 10 = Gen7 custom (Alfons3 Version) "https://github.com/Alfons3/Generation_7_Electronics" // 11 = Gen7 v1.1, v1.2 = 11 // 12 = Gen7 v1.3 // 13 = Gen7 v1.4 // 3 = MEGA/RAMPS up to 1.2 = 3 // 33 = RAMPS 1.3 (Power outputs: Extruder, Bed, Fan) // 34 = RAMPS 1.3 (Power outputs: Extruder0, Extruder1, Bed) // 4 = Duemilanove w/ ATMega328P pin assignment // 5 = Gen6 // 51 = Gen6 deluxe // 6 = Sanguinololu < 1.2 // 62 = Sanguinololu 1.2 and above // 63 = Melzi // 7 = Ultimaker // 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare) // 8 = Teensylu // 81 = Printrboard (AT90USB1286) // 82 = Brainwave (AT90USB646) // 9 = Gen3+ // 70 = Megatronics // 90 = Alpha OMCA board // 91 = Final OMCA board // 301 = Rambo #ifndef MOTHERBOARD #define MOTHERBOARD 33 #endif //=========================================================================== //============================== Delta Settings ============================= //=========================================================================== // Make delta curves from many straight lines (linear interpolation). // This is a trade-off between visible corners (not enough segments) // and processor overload (too many expensive sqrt calls). #define DELTA_SEGMENTS_PER_SECOND 200 // Center-to-center distance of the holes in the diagonal push rods. #define DELTA_DIAGONAL_ROD 250.0 // mm // Horizontal offset from middle of printer to smooth rod center. #define DELTA_SMOOTH_ROD_OFFSET 175.0 // mm // Horizontal offset of the universal joints on the end effector. #define DELTA_EFFECTOR_OFFSET 33.0 // mm // Horizontal offset of the universal joints on the carriages. #define DELTA_CARRIAGE_OFFSET 18.0 // mm // Effective horizontal distance bridged by diagonal push rods. #define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET) // Effective X/Y positions of the three vertical towers. #define SIN_60 0.8660254037844386 #define COS_60 0.5 #define DELTA_TOWER1_X -SIN_60*DELTA_RADIUS // front left tower #define DELTA_TOWER1_Y -COS_60*DELTA_RADIUS #define DELTA_TOWER2_X SIN_60*DELTA_RADIUS // front right tower #define DELTA_TOWER2_Y -COS_60*DELTA_RADIUS #define DELTA_TOWER3_X 0.0 // back middle tower #define DELTA_TOWER3_Y DELTA_RADIUS //=========================================================================== //=============================Thermal Settings ============================ //=========================================================================== // //--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table // //// Temperature sensor settings: // -2 is thermocouple with MAX6675 (only for sensor 0) // -1 is thermocouple with AD595 // 0 is not used // 1 is 100k thermistor - best choice for EPCOS 100k (4.7k pullup) // 2 is 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup) // 3 is mendel-parts thermistor (4.7k pullup) // 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !! // 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan) (4.7k pullup) // 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup) // 7 is 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup) // // 1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k // (but gives greater accuracy and more stable PID) // 51 is 100k thermistor - EPCOS (1k pullup) // 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup) // 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan) (1k pullup) #define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 0 #define TEMP_SENSOR_2 0 #define TEMP_SENSOR_BED 0 // Actual temperature must be close to target for this long before M109 returns success #define TEMP_RESIDENCY_TIME 10 // (seconds) #define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one #define TEMP_WINDOW 1 // (degC) Window around target to start the recidency timer x degC early. // The minimal temperature defines the temperature below which the heater will not be enabled It is used // to check that the wiring to the thermistor is not broken. // Otherwise this would lead to the heater being powered on all the time. #define HEATER_0_MINTEMP 5 #define HEATER_1_MINTEMP 5 #define HEATER_2_MINTEMP 5 #define BED_MINTEMP 5 // When temperature exceeds max temp, your heater will be switched off. // This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure! // You should use MINTEMP for thermistor short/failure protection. #define HEATER_0_MAXTEMP 275 #define HEATER_1_MAXTEMP 275 #define HEATER_2_MAXTEMP 275 #define BED_MAXTEMP 150 // If your bed has low resistance e.g. .6 ohm and throws the fuse you can duty cycle it to reduce the // average current. The value should be an integer and the heat bed will be turned on for 1 interval of // HEATER_BED_DUTY_CYCLE_DIVIDER intervals. //#define HEATER_BED_DUTY_CYCLE_DIVIDER 4 // PID settings: // Comment the following line to disable PID and enable bang-bang. #define PIDTEMP #define PID_MAX 255 // limits current to nozzle; 255=full current #ifdef PIDTEMP //#define PID_DEBUG // Sends debug data to the serial port. //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max. #define PID_INTEGRAL_DRIVE_MAX 255 //limit for the integral term #define K1 0.95 //smoothing factor withing the PID #define PID_dT ((16.0 * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine // If you are using a preconfigured hotend then you can use one of the value sets by uncommenting it // Ultimaker #define DEFAULT_Kp 22.2 #define DEFAULT_Ki 1.08 #define DEFAULT_Kd 114 // Makergear // #define DEFAULT_Kp 7.0 // #define DEFAULT_Ki 0.1 // #define DEFAULT_Kd 12 // Mendel Parts V9 on 12V // #define DEFAULT_Kp 63.0 // #define DEFAULT_Ki 2.25 // #define DEFAULT_Kd 440 #endif // PIDTEMP // Bed Temperature Control // Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis // // uncomment this to enable PID on the bed. It uses the same ferquency PWM as the extruder. // If your PID_dT above is the default, and correct for your hardware/configuration, that means 7.689Hz, // which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating. // This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater. // If your configuration is significantly different than this and you don't understand the issues involved, you proabaly // shouldn't use bed PID until someone else verifies your hardware works. // If this is enabled, find your own PID constants below. //#define PIDTEMPBED // //#define BED_LIMIT_SWITCHING // This sets the max power delived to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option. // all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis) // setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did, // so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED) #define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current #ifdef PIDTEMPBED //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, argressive factor of .15 (vs .1, 1, 10) #define DEFAULT_bedKp 10.00 #define DEFAULT_bedKi .023 #define DEFAULT_bedKd 305.4 //120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+) //from pidautotune // #define DEFAULT_bedKp 97.1 // #define DEFAULT_bedKi 1.41 // #define DEFAULT_bedKd 1675.16 // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles. #endif // PIDTEMPBED //this prevents dangerous Extruder moves, i.e. if the temperature is under the limit //can be software-disabled for whatever purposes by #define PREVENT_DANGEROUS_EXTRUDE //if PREVENT_DANGEROUS_EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately. #define PREVENT_LENGTHY_EXTRUDE #define EXTRUDE_MINTEMP 170 #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances. //=========================================================================== //=============================Mechanical Settings=========================== //=========================================================================== // Uncomment the following line to enable CoreXY kinematics // #define COREXY // corse Endstop Settings #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors #ifndef ENDSTOPPULLUPS // fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined #define ENDSTOPPULLUP_XMAX #define ENDSTOPPULLUP_YMAX #define ENDSTOPPULLUP_ZMAX #define ENDSTOPPULLUP_XMIN #define ENDSTOPPULLUP_YMIN //#define ENDSTOPPULLUP_ZMIN #endif #ifdef ENDSTOPPULLUPS #define ENDSTOPPULLUP_XMAX #define ENDSTOPPULLUP_YMAX #define ENDSTOPPULLUP_ZMAX #define ENDSTOPPULLUP_XMIN #define ENDSTOPPULLUP_YMIN #define ENDSTOPPULLUP_ZMIN #endif // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins. const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. //#define DISABLE_MAX_ENDSTOPS // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 #define X_ENABLE_ON 0 #define Y_ENABLE_ON 0 #define Z_ENABLE_ON 0 #define E_ENABLE_ON 0 // For all extruders // Disables axis when it's not being used. #define DISABLE_X false #define DISABLE_Y false #define DISABLE_Z false #define DISABLE_E false // For all extruders #define INVERT_X_DIR false // for Mendel set to false, for Orca set to true #define INVERT_Y_DIR false // for Mendel set to true, for Orca set to false #define INVERT_Z_DIR false // for Mendel set to false, for Orca set to true #define INVERT_E0_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false #define INVERT_E1_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false #define INVERT_E2_DIR false // for direct drive extruder v9 set to true, for geared extruder set to false // ENDSTOP SETTINGS: // Sets direction of endstops when homing; 1=MAX, -1=MIN #define X_HOME_DIR 1 #define Y_HOME_DIR 1 #define Z_HOME_DIR 1 #define min_software_endstops true //If true, axis won't move to coordinates less than *_MIN_POS. #define max_software_endstops true //If true, axis won't move to coordinates greater than *_MAX_POS. #define X_MAX_POS 90 #define X_MIN_POS -90 #define Y_MAX_POS 90 #define Y_MIN_POS -90 #define Z_MAX_POS MANUAL_Z_HOME_POS #define Z_MIN_POS 0 #define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS) #define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS) #define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS) // The position of the homing switches #define MANUAL_HOME_POSITIONS // If defined, MANUAL_*_HOME_POS below will be used //#define BED_CENTER_AT_0_0 // If defined, the center of the bed is at (X=0, Y=0) // Manual homing switch locations: // For deltabots this means top and center of the cartesian print volume. #define MANUAL_X_HOME_POS 0 #define MANUAL_Y_HOME_POS 0 #define MANUAL_Z_HOME_POS 402 // Distance between nozzle and print surface after homing. //// MOVEMENT SETTINGS #define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E #define HOMING_FEEDRATE {100*60, 100*60, 100*60, 0} // set the homing speeds (mm/min) // default settings #define DEFAULT_AXIS_STEPS_PER_UNIT {40, 40, 40, 100} #define DEFAULT_MAX_FEEDRATE {300, 300, 300, 300} // (mm/sec) #define DEFAULT_MAX_ACCELERATION {9000, 9000, 9000, 9000} // X, Y, Z, E maximum start speed for accelerated moves. #define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves #define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for r retracts // #define DEFAULT_XYJERK 20.0 // (mm/sec) #define DEFAULT_ZJERK 20.0 // (mm/sec) #define DEFAULT_EJERK 20.0 // (mm/sec) //=========================================================================== //=============================Additional Features=========================== //=========================================================================== // EEPROM // the microcontroller can store settings in the EEPROM, e.g. max velocity... // M500 - stores paramters in EEPROM // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily). // M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to. //define this to enable eeprom support //#define EEPROM_SETTINGS //to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out: // please keep turned on if you can. //#define EEPROM_CHITCHAT //LCD and SD support //#define ULTRA_LCD //general lcd support, also 16x2 //#define SDSUPPORT // Enable SD Card Support in Hardware Console //#define ULTIMAKERCONTROLLER //as available from the ultimaker online store. //#define ULTIPANEL //the ultipanel as on thingiverse // The RepRapDiscount Smart Controller // http://reprap.org/wiki/RepRapDiscount_Smart_Controller //#define REPRAP_DISCOUNT_SMART_CONTROLLER //automatic expansion #if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) #define ULTIPANEL #define NEWPANEL #endif // Preheat Constants #define PLA_PREHEAT_HOTEND_TEMP 180 #define PLA_PREHEAT_HPB_TEMP 70 #define PLA_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 #define ABS_PREHEAT_HOTEND_TEMP 240 #define ABS_PREHEAT_HPB_TEMP 100 #define ABS_PREHEAT_FAN_SPEED 255 // Insert Value between 0 and 255 #ifdef ULTIPANEL // #define NEWPANEL //enable this if you have a click-encoder panel #define SDSUPPORT #define ULTRA_LCD #define LCD_WIDTH 20 #define LCD_HEIGHT 4 #else //no panel but just lcd #ifdef ULTRA_LCD #define LCD_WIDTH 16 #define LCD_HEIGHT 2 #endif #endif // Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino //#define FAST_PWM_FAN // M240 Triggers a camera by emulating a Canon RC-1 Remote // Data from: http://www.doc-diy.net/photo/rc-1_hacked/ // #define PHOTOGRAPH_PIN 23 // SF send wrong arc g-codes when using Arc Point as fillet procedure //#define SF_ARC_FIX #include "Configuration_adv.h" #include "thermistortables.h" #endif //__CONFIGURATION_H
Compile upload in Arduino-1.0.5 to the Generation 7 Electronics Motherboard 1.5 1248P @20MHz
Close Arudino IDE
Open Repetier-Host v0.85b
Click config -> printer settings
Connection Tab: Change Baud Rate to 115200 and Port to the one the printer is on (Check device manager) COM4 in our case
Printer Shape: Change Printer Type to Rostock Printer (circular print shape)
Click OK and close
400px 400px 400px 400px 400px 400px 400px 400px 400px
Random NFO found here about 1284P http://arduino.cc/forum/index.php?PHPSESSID=b1cdc9f2bf9adf97178c9cc9aacf2940&topic=119106.30
Sanguino Stuff: https://code.google.com/p/sanguino/downloads/list
Stuff on burning a bootloader: http://reprap.org/wiki/Burning_the_Sanguino_Bootloader_using_Arduino_as_ISP
List of firmware: http://www.reprap.org/wiki/List_of_Firmware
Gen7 Arm first print: http://www.youtube.com/watch?v=C57Tim6LcPA&feature=youtu.be
Smaller GEN7 Board http://forums.reprap.org/read.php?181,63487,page=17
Stepper Driver Calibration: http://forum.pololu.com/viewtopic.php?t=3428