Re: Project: Teacup Firmware January 04, 2016 07:05PM |
Registered: 7 years ago Posts: 14 |
Quote
benj919
The (probably/hopefully) last step before I start printing is to modify the power on/off routine to disable the steppers directly instead of turning off the power supply to keep the sd card working.
Re: Project: Teacup Firmware January 14, 2016 03:53PM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 15, 2016 05:36AM |
Registered: 12 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 15, 2016 08:03AM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 15, 2016 08:35AM |
Registered: 12 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 16, 2016 03:06PM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 16, 2016 03:52PM |
Registered: 12 years ago Posts: 7,616 |
Quote
keedley
The only problem i see, it's that i cannot set 'temp' to zero. there's always some small signal set, from the very start. any ideas? might it be due to pwm frew too high, for example? (laser recommended 10mhz).
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 16, 2016 06:11PM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 16, 2016 06:16PM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 17, 2016 08:12AM |
Registered: 12 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 17, 2016 12:49PM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 18, 2016 04:45AM |
Registered: 12 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 18, 2016 06:34AM |
Registered: 8 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: Project: Teacup Firmware January 29, 2016 10:34AM |
Registered: 7 years ago Posts: 13 |
Arduino: 1.6.7 (Windows XP), Board: "Arduino Mega ADK" E:\arduino-1.6.7\arduino-builder -dump-prefs -logger=machine -hardware "E:\arduino-1.6.7\hardware" -hardware "C:\Documents and Settings\r\Local Settings\Application Data\Arduino15\packages" -tools "E:\arduino-1.6.7\tools-builder" -tools "E:\arduino-1.6.7\hardware\tools\avr" -tools "C:\Documents and Settings\r\Local Settings\Application Data\Arduino15\packages" -built-in-libraries "E:\arduino-1.6.7\libraries" -libraries "D:\0arduino\libraries" -fqbn=arduino:avr:megaADK -ide-version=10607 -build-path "C:\DOCUME~1\r\LOCALS~1\Temp\build4f7e3bd52d4eaa7c435ecabdc9c2e016.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "D:\0arduino\Teacup_Firmware\Teacup_Firmware.pde" ... In file included from C:\DOCUME~1\r\LOCALS~1\Temp\build4f7e3bd52d4eaa7c435ecabdc9c2e016.tmp\sketch\temp.h:4:0, from C:\DOCUME~1\r\LOCALS~1\Temp\build4f7e3bd52d4eaa7c435ecabdc9c2e016.tmp\sketch\analog.c:7: C:\DOCUME~1\r\LOCALS~1\Temp\build4f7e3bd52d4eaa7c435ecabdc9c2e016.tmp\sketch\config_wrapper.h:20:21: fatal error: config.h: No such file or directory #include USER_CONFIG ^ compilation terminated. exit status 1 Error compiling.
Re: Project: Teacup Firmware January 30, 2016 03:21AM |
Registered: 7 years ago Posts: 19 |
Re: Project: Teacup Firmware January 30, 2016 04:16AM |
Registered: 12 years ago Posts: 7,616 |
Quote
paula
One constraint is requirement to use ardunio IDE only.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 09:57AM |
Registered: 7 years ago Posts: 13 |
Re: Project: Teacup Firmware January 30, 2016 10:06AM |
Registered: 12 years ago Posts: 7,616 |
Quote
paula
C:\DOCUME~1\r\LOCALS~1\Temp\build4f7e3bd52d4eaa7c435ecabdc9c2e016.tmp\sketch\temp.c:39:29: fatal error: thermistortable.h: No such file or directory
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 10:17AM |
Registered: 12 years ago Posts: 7,616 |
Quote
Traumflug
Do a build, upload not neccessary.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 10:24AM |
Registered: 12 years ago Posts: 7,616 |
python createTemperatureLookup.py --helpUsing options is required, default values give a table, but not a usable one for any thermistor.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 11:05AM |
Registered: 7 years ago Posts: 13 |
Quote
Traumflug
there is no "generic 100k table", properties of thermistors vary wildly. Comparison resistor (typically 4K7 or 1K) has a big influence, too.
short temptable[NUMTEMPS][2] = { {1, 938}, {11, 423}, {21, 351}, {31, 314}, {41, 290}, {51, 272}, {61, 258}, {71, 247}, {81, 237}, {91, 229}, {101, 221}, {111, 215}, {121, 209}, {131, 204}, {141, 199}, {151, 195}, {161, 190}, {171, 187}, {181, 183}, {191, 179}, {201, 176}, {211, 173}, {221, 170}, {231, 167}, {241, 165}, {251, 162}, {261, 160}, {271, 157}, {281, 155}, {291, 153}, {301, 150}, {311, 148}, {321, 146}, {331, 144}, {341, 142}, {351, 140}, {361, 139}, {371, 137}, {381, 135}, {391, 133}, {401, 131}, {411, 130}, {421, 128}, {431, 126}, {441, 125}, {451, 123}, {461, 122}, {471, 120}, {481, 119}, {491, 117}, {501, 116}, {511, 114}, {521, 113}, {531, 111}, {541, 110}, {551, 108}, {561, 107}, {571, 105}, {581, 104}, {591, 102}, {601, 101}, {611, 100}, {621, 98}, {631, 97}, {641, 95}, {651, 94}, {661, 92}, {671, 91}, {681, 90}, {691, 88}, {701, 87}, {711, 85}, {721, 84}, {731, 82}, {741, 81}, {751, 79}, {761, 77}, {771, 76}, {781, 74}, {791, 72}, {801, 71}, {811, 69}, {821, 67}, {831, 65}, {841, 63}, {851, 62}, {861, 60}, {871, 57}, {881, 55}, {891, 53}, {901, 51}, {911, 48}, {921, 45}, {931, 42}, {941, 39}, {951, 36}, {961, 32}, {971, 28}, {981, 23}, {991, 17}, {1001, 9}, {1011, -1}, {1021, -26} };
Re: Project: Teacup Firmware January 30, 2016 11:24AM |
Registered: 12 years ago Posts: 7,616 |
$ cat thermistortable.h /** This file was autogenerated when saving a board with Teacup's Configtool. You can edit it, but the next board save operation in Configtool will overwrite it without asking. */ #define NUMTABLES 2 #define NUMTEMPS 25 #define THERMISTOR_EXTRUDER 0 #define THERMISTOR_BED 1 const uint16_t PROGMEM temptable[NUMTABLES][NUMTEMPS][2] = { // EXTRUDER temp table using Beta algorithm with parameters: // R0 = 100000, T0 = 25, R1 = 0, R2 = 1000, beta = 4092, maxadc = 1023 { { 1, 6384}, // 1596 C, 1 ohms, 0.005 V, 0.02 mW { 43, 1636}, // 409 C, 44 ohms, 0.210 V, 1.00 mW { 85, 1344}, // 336 C, 91 ohms, 0.415 V, 1.90 mW { 127, 1188}, // 297 C, 143 ohms, 0.620 V, 2.68 mW { 169, 1088}, // 272 C, 199 ohms, 0.825 V, 3.42 mW { 211, 1012}, // 253 C, 261 ohms, 1.030 V, 4.06 mW { 253, 952}, // 238 C, 328 ohms, 1.235 V, 4.65 mW { 295, 896}, // 224 C, 411 ohms, 1.440 V, 5.05 mW { 337, 852}, // 213 C, 495 ohms, 1.646 V, 5.47 mW { 379, 812}, // 203 C, 591 ohms, 1.851 V, 5.79 mW { 421, 772}, // 193 C, 711 ohms, 2.056 V, 5.94 mW { 463, 740}, // 185 C, 829 ohms, 2.261 V, 6.17 mW { 505, 704}, // 176 C, 991 ohms, 2.466 V, 6.13 mW { 547, 672}, // 168 C, 1169 ohms, 2.671 V, 6.10 mW { 589, 644}, // 161 C, 1358 ohms, 2.876 V, 6.09 mW { 631, 612}, // 153 C, 1621 ohms, 3.081 V, 5.86 mW { 673, 580}, // 145 C, 1947 ohms, 3.286 V, 5.55 mW { 715, 548}, // 137 C, 2357 ohms, 3.491 V, 5.17 mW { 757, 516}, // 129 C, 2874 ohms, 3.696 V, 4.75 mW { 799, 480}, // 120 C, 3628 ohms, 3.901 V, 4.19 mW { 841, 444}, // 111 C, 4630 ohms, 4.106 V, 3.64 mW { 883, 400}, // 100 C, 6338 ohms, 4.312 V, 2.93 mW { 925, 348}, // 87 C, 9417 ohms, 4.517 V, 2.17 mW { 967, 276}, // 69 C, 17119 ohms, 4.722 V, 1.30 mW {1009, 132} // 33 C, 69863 ohms, 4.927 V, 0.35 mW }, // BED temp table using Beta algorithm with parameters: // R0 = 100000, T0 = 25, R1 = 0, R2 = 4700, beta = 4092, maxadc = 1023 { { 1, 3284}, // 821 C, 5 ohms, 0.005 V, 0.01 mW { 43, 1076}, // 269 C, 208 ohms, 0.210 V, 0.21 mW { 85, 884}, // 221 C, 432 ohms, 0.415 V, 0.40 mW { 127, 784}, // 196 C, 672 ohms, 0.620 V, 0.57 mW { 169, 716}, // 179 C, 933 ohms, 0.825 V, 0.73 mW { 211, 660}, // 165 C, 1246 ohms, 1.030 V, 0.85 mW { 253, 620}, // 155 C, 1550 ohms, 1.235 V, 0.98 mW { 295, 584}, // 146 C, 1902 ohms, 1.440 V, 1.09 mW { 337, 548}, // 137 C, 2357 ohms, 1.646 V, 1.15 mW { 379, 520}, // 130 C, 2803 ohms, 1.851 V, 1.22 mW { 421, 492}, // 123 C, 3353 ohms, 2.056 V, 1.26 mW { 463, 468}, // 117 C, 3931 ohms, 2.261 V, 1.30 mW { 505, 444}, // 111 C, 4630 ohms, 2.466 V, 1.31 mW { 547, 420}, // 105 C, 5483 ohms, 2.671 V, 1.30 mW { 589, 396}, // 99 C, 6528 ohms, 2.876 V, 1.27 mW { 631, 376}, // 94 C, 7583 ohms, 3.081 V, 1.25 mW { 673, 352}, // 88 C, 9125 ohms, 3.286 V, 1.18 mW { 715, 328}, // 82 C, 11050 ohms, 3.491 V, 1.10 mW { 757, 304}, // 76 C, 13469 ohms, 3.696 V, 1.01 mW { 799, 276}, // 69 C, 17119 ohms, 3.901 V, 0.89 mW { 841, 248}, // 62 C, 21977 ohms, 4.106 V, 0.77 mW { 883, 216}, // 54 C, 29623 ohms, 4.312 V, 0.63 mW { 925, 176}, // 44 C, 43945 ohms, 4.517 V, 0.46 mW { 967, 120}, // 30 C, 79743 ohms, 4.722 V, 0.28 mW {1009, 4} // 1 C, 332510 ohms, 4.927 V, 0.07 mW } };
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 11:38AM |
Registered: 12 years ago Posts: 7,616 |
Quote
paula
Browsing this forum and internet in general shows hundreds of requests for ability to use Uno or Promini. Most no reply and never heard from again. I think gurus who are using Mega2560, Due, and other ARM may not appreciate the benefits. I really hope this can be made to work as there are many things I don't like about other firmwares besides that Mega328 issue..
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 06:06PM |
Registered: 7 years ago Posts: 13 |
Re: Project: Teacup Firmware January 30, 2016 06:10PM |
Registered: 12 years ago Posts: 7,616 |
Quote
paula
I don't really know what "config_wrapper" is. Any hints? Auto-generated by configtool too?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 30, 2016 08:26PM |
Registered: 7 years ago Posts: 13 |
Re: Project: Teacup Firmware January 31, 2016 07:22AM |
Registered: 12 years ago Posts: 7,616 |
Quote
paula
a mystery why the compiler starts looking in Temp for dda&config_wrapper..
Quote
paula
This is why I dislike HLL programming in general. It seems hackers spend 2/3 of the time strugging with tools and dependencies and hardly any actually coding.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware January 31, 2016 08:01AM |
Registered: 7 years ago Posts: 13 |
Quote
Traumflug
That's how Arduino IDE works. Before compilation, "everything" is copied to a temp folder, then stuff is compiled there. And yes, it's a limitation for more complex projects.
Quote
Traumflug
Could be done on a 5-line build script. Perhaps you're allowed to use a script.
Re: Project: Teacup Firmware February 02, 2016 05:03AM |
Registered: 12 years ago Posts: 7,616 |
Quote
paula
That does not align with my understanding of how the IDE, preprocessor, postprocessor, etc work. None of the other programs do anything important there until the end where obj and hex are generated. Looking at the log I posted above it seems that Teacup don't really use temp either until the very end where it crashes.
Quote
paula
It would be a great help if you could put up an example.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware February 02, 2016 01:20PM |
Registered: 7 years ago Posts: 13 |