Re: Project: Teacup Firmware January 12, 2017 01:22AM |
Registered: 12 years ago Posts: 290 |
Re: Project: Teacup Firmware January 28, 2017 12:29PM |
Registered: 8 years ago Posts: 1 |
Re: Project: Teacup Firmware January 30, 2017 09:46PM |
Registered: 12 years ago Posts: 290 |
Re: Project: Teacup Firmware February 12, 2017 10:04PM |
Registered: 14 years ago Posts: 1,352 |
Re: Project: Teacup Firmware February 13, 2017 12:07AM |
Registered: 10 years ago Posts: 4,977 |
Triffid Hunter's Calibration Guide | --> X <-- Drill for new Monitor | Most important Gcode. |
Re: Project: Teacup Firmware February 13, 2017 08:27AM |
Registered: 14 years ago Posts: 7,616 |
Quote
NoobMan
I want to modify the thermistortable.h manually with value input from a thermocouple.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware February 13, 2017 09:53AM |
Registered: 14 years ago Posts: 1,352 |
Re: Project: Teacup Firmware February 15, 2017 01:45PM |
Registered: 13 years ago Posts: 44 |
Quote
NoobMan
Quick questions. I want to modify the thermistortable.h manually with value input from a thermocouple. I expected the table to have only 2 columns, meaning the adc value and related temperature. However it seems it has adc value, temperature*4, and another 3rd column. What is the 3rd column about? What for? And how do i compute its values. Cheers.
{ 22, 1995, 0}, // 498 C, 22 ohms, 0.107 V, 0.53 mW, m = 0.000 { 26, 1898, 6177}, // 474 C, 26 ohms, 0.127 V, 0.62 mW, m = 6.033 { 30, 1820, 5012}, // 455 C, 30 ohms, 0.146 V, 0.71 mW, m = 4.895 { 35, 1740, 4109}, // 435 C, 35 ohms, 0.171 V, 0.83 mW, m = 4.013 { 40, 1673, 3397}, // 418 C, 41 ohms, 0.195 V, 0.94 mW, m = 3.318
commit 2291642456ec2c91ca683106e6aeced15f636e0e Author: Phil Hord Date: Thu Apr 14 15:20:41 2016 Expand thermistortable to include precomputed slope Save a division at runtime by pre-calculating the slope between each pair of adjacent thermistortable values. Since we use the larger value each time, save the slope between two values A and B in the table with the B data. Therefore the slope is that between each value and its predecessor in the list. Store this new value in the third element of the now 3-integers-wide array which makes up the table. Use fixed-point 6.10 format to store the slope. This is almost too narrow for some slopes and maybe it should be changed to 8.8 fixed-point. In practice this presents a loss in accuracy, but it is still significantly better than the previous fixed-sample-size table production method. In particular no provision is made to handle values which scale over 65535, and it seems we should at least warn about this if not simply fail before letting the user go off compiling his code. Add a new flag TEMPTABLE_FORMAT and define it as 1 to tell the code that we are using this new and incompatible format. This lets us tolerate old hand-crafted thermistor tables by keeping the slower algorithm in case one is still used. New thermistor tables should be defined with this new format and with the FORMAT define set accordingly. With the default 25 samples this adds 100 bytes to the flash image for the thermistortable storage for two different thermistors. But the code is simplified and saves me 134 bytes in the bargain for a net decrease in flash size of 34 bytes.
Re: Project: Teacup Firmware February 15, 2017 03:03PM |
Registered: 13 years ago Posts: 44 |
Re: Project: Teacup Firmware February 16, 2017 12:00AM |
Registered: 14 years ago Posts: 1,352 |
Re: Project: Teacup Firmware March 09, 2017 11:04AM |
Registered: 8 years ago Posts: 2 |
Re: Project: Teacup Firmware March 09, 2017 11:40AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware March 09, 2017 01:36PM |
Registered: 13 years ago Posts: 44 |
Quote
Spiritus
I am currently adapting the teacup firmware for it to work on a custom polar 3D printer (not yet built, there is only a very crude prototype so far). I have implemented fix point algorithm for angle computation, so that so far, the printhead moves where it should, only not in straight lines. Would there be by any chance some documentation on the bresenham algorithm implemented in the dda.c ? I have read it over and over, but I am not sure of how it perform.
Re: Project: Teacup Firmware March 18, 2017 05:17AM |
Registered: 8 years ago Posts: 2 |
Re: Project: Teacup Firmware May 27, 2017 06:43PM |
Registered: 7 years ago Posts: 17 |
Re: Project: Teacup Firmware May 31, 2017 11:22AM |
Registered: 7 years ago Posts: 6 |
Re: Project: Teacup Firmware May 31, 2017 11:26AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Dj EKI
Hi, i need the Old Version from Teacup, wehre i can find this?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: Teacup Firmware June 23, 2017 06:24AM |
Registered: 11 years ago Posts: 20 |
Re: Project: Teacup Firmware June 23, 2017 08:05AM |
Registered: 14 years ago Posts: 7,616 |
Quote
pamalofeev
Are there plans to fix this?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |