Needing help establishing Delta configuration August 04, 2017 05:14PM |
Registered: 6 years ago Posts: 61 |
#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-(DELTA_EFFECTOR_OFFSET)-(DELTA_CARRIAGE_OFFSET))
/* * EEPROM Clear * * Sets all of the bytes of the EEPROM to 0. * Please see eeprom_iteration for a more in depth * look at how to traverse the EEPROM. * * This example code is in the public domain. */ #include void setup() { // initialize the LED pin as an output. pinMode(13, OUTPUT); /*** Iterate through each byte of the EEPROM storage. Larger AVR processors have larger EEPROM sizes, E.g: - Arduno Duemilanove: 512b EEPROM storage. - Arduino Uno: 1kb EEPROM storage. - Arduino Mega: 4kb EEPROM storage. Rather than hard-coding the length, you should use the pre-provided length function. This will make your code portable to all AVR processors. ***/ for (int i = 0 ; i < EEPROM.length() ; i++) { EEPROM.write(i, 0); } // turn the LED on when we're done digitalWrite(13, HIGH); } void loop() { /** Empty loop. **/ }
Re: Needing help establishing Delta configuration August 09, 2017 05:31PM |
Registered: 6 years ago Posts: 10 |
#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-(DELTA_EFFECTOR_OFFSET)-(DELTA_CARRIAGE_OFFSET))
Re: Needing help establishing Delta configuration August 09, 2017 08:36PM |
Registered: 9 years ago Posts: 978 |
Quote
rstcologne
Depending on your firmware, you can also modify quite a few of the delta relevant variables with M666. For example M666 H270.5 will set your delta's height overriding the firmware value. You can then store that value to EEPROM with M500. M666L usually prints out the current set of values either from Firmware or eeprom if set. You'll see height, endstop, angle corrections for your towers etc. in variables A, B, C, X, Y, Z, H etc. (just examples, names and values don't correspond, check the documentation for the right letter to meaning).
Re: Needing help establishing Delta configuration August 10, 2017 04:21AM |
Registered: 6 years ago Posts: 10 |
Re: Needing help establishing Delta configuration August 10, 2017 05:33AM |
Registered: 6 years ago Posts: 61 |
Re: Needing help establishing Delta configuration August 10, 2017 05:58AM |
Registered: 6 years ago Posts: 10 |
Re: Needing help establishing Delta configuration August 10, 2017 06:04AM |
Registered: 6 years ago Posts: 61 |
Quote
rstcologne
One comment... The M665 line you wrote changes all the values at once (L, R, S, A, B and C). I usually don't do that (unless in a situation where it's desired). I had better luck doing things step by step and only changing one of the values every iteration.