Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://forums.reprap.org/feed.php?147%2C33082%2Ctype=rss

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  3.    <channel>
  4.        <title>Project: Teacup Firmware</title>
  5.        <description>Hi all,
  6.  
  7. over the last few days I&#039;ve been attempting to re-write the FiveD firmware and wrangle pin allocations enough that I can run my entire wooden mendel from an atmega168-based arduino.
  8.  
  9. At the moment, I&#039;ve implemented 90% of what I need, it compiles but is otherwise totally untested except for a few personal libraries, and it currently uses [b]40%[/b] of my maximum 16k. I&#039;d prefer it to fit in 14k so I can keep my bootloader.
  10.  
  11. Some of the design limitations I&#039;ve taken on to do this:
  12.  
  13. * NO floating point- the fp libs alone take [i]over[/i] 2k (12.5%) of the available space. I have implemented my own crude decimal fp, but use it very sparingly
  14. * NO C++ - the abstractions are lovely on desktops, but it also creates tons of extras that simply aren&#039;t suitable for microcontrollers. A data struct and methods as regular functions provide enough of the same features.
  15. * Minimal math in interrupt context - I was horrified to see the FiveD firmware doing significant amounts of floating point math in interrupt context. As a fairly experienced firmware wrangler, I literally cringed. Interrupts should be in and out ASAP, with (relatively) long-running calculations handled in the main loop somewhere.
  16.  
  17. Some features you may want to &quot;borrow&quot; from my code:
  18. * I/O pin abstraction: pass eg DIO3 to READ(), WRITE(), SET_INPUT(), SET_OUTPUT() and they&#039;ll pull the proper ports and bits from arduino.h
  19. * bare beginnings of a similar system for timers
  20. * thoroughly tested ringbuffer and serial libraries
  21. * 2d and 3d integer distance approximation routines (no fp sqrt!)
  22.  
  23. Notes:
  24. * my temp sensor is a MAX6675 on the SPI bus. you&#039;ll have to write me a new temp.c for other types ;)
  25. * extruder stepper controller is hooked into arduino just like the other axes, so only one serial port needed
  26. * I&#039;ve taken [i]significant[/i] chunks of code from the official FiveD firmware, and totally rewritten equally significant sections. I&#039;ve attempted to mark things I&#039;ve copied, but won&#039;t guarantee that I got them all
  27.  
  28. [i]Major[/i] reorganisations and horrific bugs are to be expected on a regular basis, but if you want to dive in head-first and see how I&#039;m going, download at
  29.  
  30. http://github.com/triffid/ATmega-Skeleton/tree/master/mendel/
  31.  
  32. [Edit: Changed name to &quot;Teacup Firmware&quot; for the purposes of not confusing folk, after irc discussion. --Sebastien]</description>
  33.        <link>https://reprap.org/forum/read.php?147,33082,33082#msg-33082</link>
  34.        <lastBuildDate>Sat, 11 May 2024 04:29:55 -0400</lastBuildDate>
  35.        <generator>Phorum 5.2.23</generator>
  36.        <item>
  37.            <guid>https://reprap.org/forum/read.php?147,33082,774520#msg-774520</guid>
  38.            <title>Re: Project: Teacup Firmware</title>
  39.            <link>https://reprap.org/forum/read.php?147,33082,774520#msg-774520</link>
  40.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>pamalofeev</strong><br />
  41. Are there plans to fix this?</div></blockquote>
  42. <br />
  43. The plan is to accept your contribution fixing this.]]></description>
  44.            <dc:creator>Traumflug</dc:creator>
  45.            <category>Firmware - experimental, borrowed, and future</category>
  46.            <pubDate>Fri, 23 Jun 2017 08:05:48 -0400</pubDate>
  47.        </item>
  48.        <item>
  49.            <guid>https://reprap.org/forum/read.php?147,33082,774505#msg-774505</guid>
  50.            <title>Re: Project: Teacup Firmware</title>
  51.            <link>https://reprap.org/forum/read.php?147,33082,774505#msg-774505</link>
  52.            <description><![CDATA[ Hello!<br />
  53. Why in a teacup can not include the lookahead and use different steps/mm for the X and Y axes? Are there plans to fix this?]]></description>
  54.            <dc:creator>pamalofeev</dc:creator>
  55.            <category>Firmware - experimental, borrowed, and future</category>
  56.            <pubDate>Fri, 23 Jun 2017 06:24:34 -0400</pubDate>
  57.        </item>
  58.        <item>
  59.            <guid>https://reprap.org/forum/read.php?147,33082,771119#msg-771119</guid>
  60.            <title>Re: Project: Teacup Firmware</title>
  61.            <link>https://reprap.org/forum/read.php?147,33082,771119#msg-771119</link>
  62.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dj EKI</strong><br />
  63. Hi, i need the Old Version from Teacup, wehre i can find this?</div></blockquote>
  64. <br />
  65. It's a Git repository, so you can get every version which ever existed. In case you're not comfortable with cloning the repo, go here [<a href="https://github.com/Traumflug/Teacup_Firmware/commits/master" target="_blank"  rel="nofollow">github.com</a>] , there you can walk back commit by commit. The rightmost button gives you a view of the repo at that time and also a download button.]]></description>
  66.            <dc:creator>Traumflug</dc:creator>
  67.            <category>Firmware - experimental, borrowed, and future</category>
  68.            <pubDate>Wed, 31 May 2017 11:26:42 -0400</pubDate>
  69.        </item>
  70.        <item>
  71.            <guid>https://reprap.org/forum/read.php?147,33082,771118#msg-771118</guid>
  72.            <title>Re: Project: Teacup Firmware</title>
  73.            <link>https://reprap.org/forum/read.php?147,33082,771118#msg-771118</link>
  74.            <description><![CDATA[ Hi, i need the Old Version from Teacup, wehre i can find this? The new Version dont work with Home X and Y. The Old Version has a non-Python config.]]></description>
  75.            <dc:creator>Dj EKI</dc:creator>
  76.            <category>Firmware - experimental, borrowed, and future</category>
  77.            <pubDate>Wed, 31 May 2017 11:22:34 -0400</pubDate>
  78.        </item>
  79.        <item>
  80.            <guid>https://reprap.org/forum/read.php?147,33082,770560#msg-770560</guid>
  81.            <title>Re: Project: Teacup Firmware</title>
  82.            <link>https://reprap.org/forum/read.php?147,33082,770560#msg-770560</link>
  83.            <description><![CDATA[ i  didnt notice this thread before i post a new thread....     <a href="http://forums.reprap.org/read.php?147,770516" target="_blank"  rel="nofollow">Teacup Problems-issues</a><br />
  84. <br />
  85. here is what i have written there  (also i attached some pictures from my configurations) <br />
  86. <br />
  87. <br />
  88. <br />
  89. Hi<br />
  90. i am running as small 3d printer i made with Teacup Firmware Branch-Master<br />
  91. I tried to use my 3d printer with Repetier-Host but had a lot of issues so i am testing it with Pronterface that works ok<br />
  92. <br />
  93. <br />
  94. With pronterface <br />
  95. <br />
  96. i have some issues <br />
  97. <br />
  98. 1) some times for no reason it looses steps <br />
  99. <br />
  100. Arduino uno R3 Board<br />
  101. CNC shield V3<br />
  102. A4988 stepper Drivers<br />
  103. 28BYJ-48 5v stepper motors <br />
  104. Baud rate : 115200 <br />
  105. <br />
  106. my settings are slow enough because of these small motors<br />
  107. <br />
  108. * Accelaration Type :Ramping<br />
  109. * Acceleration : 200<br />
  110. without LookAhead as i had to have different stepps for X and Y axes and LookAhead doesnt support that yet <br />
  111. <br />
  112. * Maximum Jerk : 5<br />
  113. * Movebuffer size : 8<br />
  114. <br />
  115. * Maximum Feedrate x,y : 1000<br />
  116. * Absolute E Coordinates <br />
  117. <br />
  118. <br />
  119. 2) Heater problem <br />
  120. <br />
  121. my settings for Hotend Heater (i dont have heated bed) are <br />
  122. <br />
  123. * Fast pwm<br />
  124. * Heater Sanity check<br />
  125. * Report target temparatures<br />
  126. * Temperature History Size : 8<br />
  127. * Pid Scallin Factor : 1024L<br />
  128. * Temperature Hysteresis : 10<br />
  129. * Temperature Residency time : 60<br />
  130. * Temperature EWMA : 1000<br />
  131. ------------------------------------------------------------<br />
  132. <br />
  133. Before start printing the gcode file.. and with the printer connected to the pronterface i can read temperatures from thermistor <br />
  134. <br />
  135. when i press to print and the Gcode sends commant to start heating element.... it start heating but the temperature reading freeze.. so i am reaching higher temperatures than the target temp <br />
  136. That only if i select to print. If i just set a temperature manualy from pronterface control panel and select to heat.. then everything work fine.. the element start heating and receiving all the time the temperature from thermistor.. and when it reach target temp switch off mosfet that controls the heater<br />
  137. <br />
  138. also i notice that if i havent select the '' Heater Sanity check'' then the heater overcomes the target temp as it is switched on all the time but with '' Heater Sanity check'' the mosfet witching on and off and so heating is more controlled <br />
  139. <br />
  140. notice that i have setup configuration pins of my Arduino that the pin for heater be the DI010 that supports PWM signals <br />
  141. I have tried and the default Analog pin for controling the mosfet for the heater but didnt have good results in controling the temperature ... the mosfet was staying on longer<br />
  142. <br />
  143. <br />
  144. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br />
  145. <br />
  146. <br />
  147. <br />
  148. <br />
  149. Ok i find what make freeze the temperature reading<br />
  150. <br />
  151. is the M116 command in Gcode (M116 ; wait for temperature to be reached )<br />
  152. <br />
  153. But why and what can be done to fix that ? for now i have disable this command just to make printer continue printing for test proposes (without filament.. just to watch stepper movements )<br />
  154. <br />
  155. <br />
  156. Also i noticed that i am loosing stepps in motors when in the pronterface preview window of ''current layer movement'' freeze for a while before loads the next layer... <br />
  157. when doing that the printer stops until has the new layer on but then it prints out of the original coordinates that the previous layers were <br />
  158. <br />
  159. i am not using an sd card... only from pc (linux - ubuntu 16.04) <br />
  160. <br />
  161. what settings have i wrong ?]]></description>
  162.            <dc:creator>caslor</dc:creator>
  163.            <category>Firmware - experimental, borrowed, and future</category>
  164.            <pubDate>Sat, 27 May 2017 18:43:00 -0400</pubDate>
  165.        </item>
  166.        <item>
  167.            <guid>https://reprap.org/forum/read.php?147,33082,756761#msg-756761</guid>
  168.            <title>Re: Project: Teacup Firmware</title>
  169.            <link>https://reprap.org/forum/read.php?147,33082,756761#msg-756761</link>
  170.            <description><![CDATA[ Hello, and thank you for your answers.<br />
  171. <br />
  172. Here is a lookup on what I have been doing recently. I have taken into account what you both said and I chose to go for the "slicing" option, with the help of the arc support code, because my level at this point does not allow me to dig too far into the code, so the step-wise approach is a bit too difficult for me now. Each move is sliced so that each sub-move has its length under a certain value.<br />
  173. I burnt one of my A4988 drivers, so I implemented a small code on processing that helps me visualize whats going on.<br />
  174. Here is an example of a G1 move with (blue) and without (red) slicing it. So far so good.<br />
  175. <br />
  176. [attachment 92121 bresenham.PNG]<br />
  177. <br />
  178. Doing this does a lot of small moves, and I don't really know the influence it will have in a real situation. For now, I will try to adapt the look-ahead functionality, which is mandatory if each G1 is sliced in multiples smalls moves.]]></description>
  179.            <dc:creator>Spiritus</dc:creator>
  180.            <category>Firmware - experimental, borrowed, and future</category>
  181.            <pubDate>Sat, 18 Mar 2017 05:17:06 -0400</pubDate>
  182.        </item>
  183.        <item>
  184.            <guid>https://reprap.org/forum/read.php?147,33082,754584#msg-754584</guid>
  185.            <title>Re: Project: Teacup Firmware</title>
  186.            <link>https://reprap.org/forum/read.php?147,33082,754584#msg-754584</link>
  187.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Spiritus</strong><br />
  188. 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.</div></blockquote>
  189. <br />
  190. [<a href="https://en.wikipedia.org/wiki/Bresenham's_line_algorithm" target="_blank"  rel="nofollow">en.wikipedia.org</a>]<br />
  191. <br />
  192. This is an interesting problem.  Traumflug is right about needing to perform any transcendental functions (csc, etc) in the clock function.  But you may be able to use a lookup table with linear approximations of the intermediate values if this turns out to be too slow.  <br />
  193. <br />
  194. Bresenham is not the right algorithm to use here if you are considering your two motion/stepped axes to be {θ} and {Radius}; to draw a straight line in polar coordinates requires a nonlinear relationship between θ and Radius and this is unsupported in Bresenham.<br />
  195. <br />
  196. I feel like there is a simplification you could make to do this step-wise, too, but it is only a hunch.]]></description>
  197.            <dc:creator>phord</dc:creator>
  198.            <category>Firmware - experimental, borrowed, and future</category>
  199.            <pubDate>Thu, 09 Mar 2017 13:36:40 -0500</pubDate>
  200.        </item>
  201.        <item>
  202.            <guid>https://reprap.org/forum/read.php?147,33082,754547#msg-754547</guid>
  203.            <title>Re: Project: Teacup Firmware</title>
  204.            <link>https://reprap.org/forum/read.php?147,33082,754547#msg-754547</link>
  205.            <description><![CDATA[ To change direction using Bresenham simply change the number of steps each axis should do. In the middle of a movement this number doesn't have to match the number of steps actually required for the complete movement. A larger number of steps speeds up this axis, reducing the number reduces velocity. Maximum speed is achieved with steps per axis matching the total number of steps.<br />
  206. <br />
  207. That said, forget about doing this in dda_step(), which means for every single step. Sine/cosine are simply too slow to allow this. Unless you have some speedy ARM Cortex-M3, perhaps. The right place is to do this in dda_clock(), which is executed every 2 milliseconds.<br />
  208. <br />
  209. The more often used strategy is to split paths into very short segments. Can be done in firmware, see the code coming with branch <i>arc-support</i>. Looking at the commits shows where to tweak the firmware. Another approach is to make the slicer to output short segments only, removing this task from the firmware, raising achievable speeds.]]></description>
  210.            <dc:creator>Traumflug</dc:creator>
  211.            <category>Firmware - experimental, borrowed, and future</category>
  212.            <pubDate>Thu, 09 Mar 2017 11:40:31 -0500</pubDate>
  213.        </item>
  214.        <item>
  215.            <guid>https://reprap.org/forum/read.php?147,33082,754539#msg-754539</guid>
  216.            <title>Re: Project: Teacup Firmware</title>
  217.            <link>https://reprap.org/forum/read.php?147,33082,754539#msg-754539</link>
  218.            <description><![CDATA[ Hello, I am new on this forum, and also new to the teacup firmware.<br />
  219. I am not quite sure of where I should post this, please feel free to redirect me if this is not the right place.<br />
  220. <br />
  221. 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.<br />
  222. I don't have that much experience in this domain, but I am motivated enough to not let down the project I have.<br />
  223. <br />
  224. Thank you for your help,]]></description>
  225.            <dc:creator>Spiritus</dc:creator>
  226.            <category>Firmware - experimental, borrowed, and future</category>
  227.            <pubDate>Thu, 09 Mar 2017 11:04:22 -0500</pubDate>
  228.        </item>
  229.        <item>
  230.            <guid>https://reprap.org/forum/read.php?147,33082,749037#msg-749037</guid>
  231.            <title>Re: Project: Teacup Firmware</title>
  232.            <link>https://reprap.org/forum/read.php?147,33082,749037#msg-749037</link>
  233.            <description><![CDATA[ Thank you very much for clarifications :) Cheers :)]]></description>
  234.            <dc:creator>NoobMan</dc:creator>
  235.            <category>Firmware - experimental, borrowed, and future</category>
  236.            <pubDate>Thu, 16 Feb 2017 00:00:05 -0500</pubDate>
  237.        </item>
  238.        <item>
  239.            <guid>https://reprap.org/forum/read.php?147,33082,748962#msg-748962</guid>
  240.            <title>Re: Project: Teacup Firmware</title>
  241.            <link>https://reprap.org/forum/read.php?147,33082,748962#msg-748962</link>
  242.            <description><![CDATA[ The discussion around the table changes and curve fitting can be found here: [<a href="https://github.com/Traumflug/Teacup_Firmware/pull/208" target="_blank"  rel="nofollow">github.com</a>]]]></description>
  243.            <dc:creator>phord</dc:creator>
  244.            <category>Firmware - experimental, borrowed, and future</category>
  245.            <pubDate>Wed, 15 Feb 2017 15:03:00 -0500</pubDate>
  246.        </item>
  247.        <item>
  248.            <guid>https://reprap.org/forum/read.php?147,33082,748941#msg-748941</guid>
  249.            <title>Re: Project: Teacup Firmware</title>
  250.            <link>https://reprap.org/forum/read.php?147,33082,748941#msg-748941</link>
  251.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>NoobMan</strong><br />
  252. 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.</div></blockquote>
  253. <br />
  254. The third column was added a year ago.  Originally the code retained support for either 2-column or 3-column thermistor tables, but this was later removed to reduce complexity, iirc.<br />
  255. <br />
  256. The third column represents the slope between the current row and the previous row.  Having the slope pre-calculated saves us from performing a division during temperature sampling. The slope is calculated between the ADC and the temperature values and then it is shifted 10 bits left to represent fractional values as a fixed-point 6.10 value.  For example, the samples in testcases/thermistortable.regtest.h have these values at the start of the range:<br />
  257. <br />
  258. <pre class="bbcode">
  259.    {  22,  1995,     0}, //  498 C,     22 ohms, 0.107 V, 0.53 mW, m =  0.000
  260.    {  26,  1898,  6177}, //  474 C,     26 ohms, 0.127 V, 0.62 mW, m =  6.033
  261.    {  30,  1820,  5012}, //  455 C,     30 ohms, 0.146 V, 0.71 mW, m =  4.895
  262.    {  35,  1740,  4109}, //  435 C,     35 ohms, 0.171 V, 0.83 mW, m =  4.013
  263.    {  40,  1673,  3397}, //  418 C,     41 ohms, 0.195 V, 0.94 mW, m =  3.318</pre>
  264. <br />
  265. <br />
  266. The comments in each row decode the source values used to calculate the row to help keep developers sane.  The first column is ohms, second column is temperature *  4 in Celcius, and the third column is the slope of DEGREES/OHM (C/R) from the previous row.<br />
  267. <br />
  268. The first row has no preceding row, so it's slope is ignored (zero).  Let's consider the 2nd row:<br />
  269.    R0=22, T0=1995 (498.75*4)<br />
  270.    R1=26, T1=1898 (474.5*4)<br />
  271. <br />
  272. The slope is calculated as follows: (T0-T1)/(R1-R0)/4 = (498.75-474.5)/(26-22) = 6.0625 (close to 6.033)<br />
  273. <br />
  274. Notice the slope's sign is inverted here.  That's an implementation detail that sneaked into the table.<br />
  275. <br />
  276. There is some precision loss in the numbers shown in the comments because of floating point not represented there, or I may be misrepresenting the math somehow.  But this is close enough for this discussion.<br />
  277. <br />
  278. There is another advantage to the algorithm used in ConfigTool, and that is that it uses iterative curve-fitting to find the best sample points to fit the curve best. <br />
  279. <br />
  280. <br />
  281. <pre class="bbcode">
  282. commit 2291642456ec2c91ca683106e6aeced15f636e0e
  283. Author: Phil Hord
  284. Date:   Thu Apr 14 15:20:41 2016
  285.  
  286.    Expand thermistortable to include precomputed slope
  287.    
  288.    Save a division at runtime by pre-calculating the slope between each
  289.    pair of adjacent thermistortable values.  Since we use the larger value
  290.    each time, save the slope between two values A and B in the table
  291.    with the B data.  Therefore the slope is that between each value and
  292.    its predecessor in the list.
  293.    
  294.    Store this new value in the third element of the now 3-integers-wide
  295.    array which makes up the table. Use fixed-point 6.10 format to store
  296.    the slope.  This is almost too narrow for some slopes and maybe it
  297.    should be changed to 8.8 fixed-point. In practice this presents a
  298.    loss in accuracy, but it is still significantly better than the
  299.    previous fixed-sample-size table production method. In particular no
  300.    provision is made to handle values which scale over 65535, and it
  301.    seems we should at least warn about this if not simply fail before
  302.    letting the user go off compiling his code.
  303.    
  304.    Add a new flag TEMPTABLE_FORMAT and define it as 1 to tell the code
  305.    that we are using this new and incompatible format.  This lets us
  306.    tolerate old hand-crafted thermistor tables by keeping the slower
  307.    algorithm in case one is still used.  New thermistor tables should be
  308.    defined with this new format and with the FORMAT define set accordingly.
  309.    
  310.    With the default 25 samples this adds 100 bytes to the flash image for
  311.    the thermistortable storage for two different thermistors.  But the
  312.    code is simplified and saves me 134 bytes in the bargain for a net
  313.    decrease in flash size of 34 bytes.
  314. </pre>]]></description>
  315.            <dc:creator>phord</dc:creator>
  316.            <category>Firmware - experimental, borrowed, and future</category>
  317.            <pubDate>Wed, 15 Feb 2017 13:45:38 -0500</pubDate>
  318.        </item>
  319.        <item>
  320.            <guid>https://reprap.org/forum/read.php?147,33082,747988#msg-747988</guid>
  321.            <title>Re: Project: Teacup Firmware</title>
  322.            <link>https://reprap.org/forum/read.php?147,33082,747988#msg-747988</link>
  323.            <description><![CDATA[ I am aware its just about a repetitive measurement point and not about an accurate one. But still i like to do things manually and get them as accurate as possible. I find it easier to just do this manually and imo this gives best results. Everybody has their ways, and this is my way :)<br />
  324. <br />
  325. What i do, is for a certain table row, lets say it has a temp of 143 degrees, i give the order to heat at that 143 temperature only as a trick for the system to reach that row's adc value point. Then change value to the real thermocouple reading at next update. It is enough to do it for 4-5-6 values in intervals of interest 160-250 degrees, but can be done for more. This way the system will have the most accuracy because it was calibrated against a termocouple, and it will show what the termocouple used to show. For this method, the system could be a black box, does not matter what thermistor type which pullup value, etc, it is fairly trouble free, so i like this manual method for its accuracy and simplicity.]]></description>
  326.            <dc:creator>NoobMan</dc:creator>
  327.            <category>Firmware - experimental, borrowed, and future</category>
  328.            <pubDate>Mon, 13 Feb 2017 09:53:15 -0500</pubDate>
  329.        </item>
  330.        <item>
  331.            <guid>https://reprap.org/forum/read.php?147,33082,747969#msg-747969</guid>
  332.            <title>Re: Project: Teacup Firmware</title>
  333.            <link>https://reprap.org/forum/read.php?147,33082,747969#msg-747969</link>
  334.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>NoobMan</strong><br />
  335. I want to modify the thermistortable.h manually with value input from a thermocouple.</div></blockquote>
  336. <br />
  337. Why manually? One can calibrate sensors using the Steinhart-Hart algorithm, which basically means to give three temperature/reading pairs. Certainly easier than calculating 20 such pairs. And also adds the third value, which speeds up temperature calculation at runtime.]]></description>
  338.            <dc:creator>Traumflug</dc:creator>
  339.            <category>Firmware - experimental, borrowed, and future</category>
  340.            <pubDate>Mon, 13 Feb 2017 08:27:41 -0500</pubDate>
  341.        </item>
  342.        <item>
  343.            <guid>https://reprap.org/forum/read.php?147,33082,747873#msg-747873</guid>
  344.            <title>Re: Project: Teacup Firmware</title>
  345.            <link>https://reprap.org/forum/read.php?147,33082,747873#msg-747873</link>
  346.            <description><![CDATA[ It's a precomputed slope. <br />
  347. <br />
  348. But you can simply make a table only with 2 columns. This will also work. The firmware automatically detect the width.]]></description>
  349.            <dc:creator>Wurstnase</dc:creator>
  350.            <category>Firmware - experimental, borrowed, and future</category>
  351.            <pubDate>Mon, 13 Feb 2017 00:07:28 -0500</pubDate>
  352.        </item>
  353.        <item>
  354.            <guid>https://reprap.org/forum/read.php?147,33082,747864#msg-747864</guid>
  355.            <title>Re: Project: Teacup Firmware</title>
  356.            <link>https://reprap.org/forum/read.php?147,33082,747864#msg-747864</link>
  357.            <description><![CDATA[ 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.]]></description>
  358.            <dc:creator>NoobMan</dc:creator>
  359.            <category>Firmware - experimental, borrowed, and future</category>
  360.            <pubDate>Sun, 12 Feb 2017 22:04:07 -0500</pubDate>
  361.        </item>
  362.        <item>
  363.            <guid>https://reprap.org/forum/read.php?147,33082,743841#msg-743841</guid>
  364.            <title>Re: Project: Teacup Firmware</title>
  365.            <link>https://reprap.org/forum/read.php?147,33082,743841#msg-743841</link>
  366.            <description><![CDATA[ Hi Numericas,<br />
  367. <br />
  368. That is one possibility, yet to be tested and few others I need to test.<br />
  369. <br />
  370. Regarding your issue, I can only comment on #2 :<br />
  371. You need to use M116 after heating the temp with M104.<br />
  372. That will wait for temp to achieve. But It does not work when coming move is homing. Not sure if that is by designed or a problem.<br />
  373. <br />
  374. Correct, M107 is not recognized, so M106 S0 shall work.]]></description>
  375.            <dc:creator>zungmann</dc:creator>
  376.            <category>Firmware - experimental, borrowed, and future</category>
  377.            <pubDate>Mon, 30 Jan 2017 21:46:47 -0500</pubDate>
  378.        </item>
  379.        <item>
  380.            <guid>https://reprap.org/forum/read.php?147,33082,743085#msg-743085</guid>
  381.            <title>Re: Project: Teacup Firmware</title>
  382.            <link>https://reprap.org/forum/read.php?147,33082,743085#msg-743085</link>
  383.            <description><![CDATA[ Hello Everyone here :) <br />
  384. <br />
  385. I'm from Poland and... just finished reading of 61 pages Teacup history (took me 3 weeks). Long project, enough long to influence not only reprap history but as well those who engage their lives and passion ;) <br />
  386. I hope that some passion still left to support amateurs like me to allow us delight a Teacup of speed.<br />
  387. <br />
  388. One reason which pushed me here is new design of printer I managed to finish last Christmas, which is from very beginning optimised to allow high speed moves and survive rapid direction change without loosing steps. <br />
  389. After several attempts to apply Teacup to my Core XY concept, I'm in the state when axis can travel as fast as 250mm/s (real measurement on distance 4x300mm is 6,34s with is equal to average ~189 mm/s).<br />
  390. It's looks like I can go from current feedrate 15k to 16k but need to increase voltage. Anyway above 16k there is a limit of processing power of my Mega 2560, since about second after aggressive start printer is starting to move very slowly and producing repeatable noise from motors. So I stay with secure 15k. <br />
  391. <br />
  392. There are anyhow several issues in front of me. <br />
  393. 1. Z axis movement is dramatically slow it's move about 2,15 mm / MINUTE !  <br />
  394. - standard impulse rate is 6720 imp/mm  (x16 microstep; 200 step engine; gear 2,1:1; treat fi10x2mm)<br />
  395. - entered value in Configtool is 6720000, max feedrate 800, search feedrate 100 <br />
  396. - movement is very precise G1 Z10 F800, gives me (apart of training of patience) exactly 10 mm move  <br />
  397. <br />
  398. 2. Somehow printer is not waiting for extruder temp. and attempting to print on not fully preheated hotend<br />
  399. <br />
  400. 3. PWM for cooler seems not switch of on M107. (M107 is not recognised, so I'm using M106 S0) <br />
  401. <br />
  402. 4. I used to use Full Graphic Smart Controller to run prints directly from SD card and at the same time made printer independent from computer, having in mind number of sales of such devices in recent two years (mainly produced in China) we can assume it's starting to be cheap standard as for 40 EUR You get full set Mega2560+Ramps1.4+FullGraphicContoller+5xStepper+6xEndStop and sometimes even heatbed. <br />
  403. I started to dig deeper in details what would be necessary to start with <br />
  404. - Display is ST7920 connected by SPI interface and supported by u8glib library.<br />
  405. - Mega2560 is using following pins to communicate pin 23 = CSK ; pin 17 = MOSI;  pin 16 = CS<br />
  406. - Line in u8glib.h to be uncommented is "U8GLIB_ST7920_128X64_1X u8g(23, 17, 16); // SPI Com: SCK = en = 23, MOSI = rw = 17, CS = di = 16" <br />
  407. Text menu with temps; homeing commands; g-code select from SD card will cover 90% of things most frequent used on such controllers <br />
  408. <br />
  409. After this findings I realised that many of this things is/was already under development by You. Anyhow I was unable to make it run.<br />
  410. <br />
  411. Zungmann, <br />
  412. <br />
  413. Would be good to check temperatures of steppers and motors, since they can get overheated after longer print run and not exactly stop printing but get lost some steps, especially during fast infill moves or collisions with warped material. At least I had such similar issues some half year ago, using Slic3r and honey-cumb infill.]]></description>
  414.            <dc:creator>Numericas</dc:creator>
  415.            <category>Firmware - experimental, borrowed, and future</category>
  416.            <pubDate>Sat, 28 Jan 2017 12:29:29 -0500</pubDate>
  417.        </item>
  418.        <item>
  419.            <guid>https://reprap.org/forum/read.php?147,33082,737901#msg-737901</guid>
  420.            <title>Re: Project: Teacup Firmware</title>
  421.            <link>https://reprap.org/forum/read.php?147,33082,737901#msg-737901</link>
  422.            <description><![CDATA[ I print another object and got another issue: layer shift on X. I thought it was due to insufficient motor current, so adjusted the driver trimpot a bit higher. But my second print also got the same shift at the same layer. I printed with klipper and successful.<br />
  423. Picture attached:<br />
  424. [attachment 88757 XAxisP4-LS-teacup.jpg]<br />
  425. <br />
  426. Could be this similar issue or another one in the dda_queue?]]></description>
  427.            <dc:creator>zungmann</dc:creator>
  428.            <category>Firmware - experimental, borrowed, and future</category>
  429.            <pubDate>Thu, 12 Jan 2017 01:22:51 -0500</pubDate>
  430.        </item>
  431.        <item>
  432.            <guid>https://reprap.org/forum/read.php?147,33082,737563#msg-737563</guid>
  433.            <title>Re: Project: Teacup Firmware</title>
  434.            <link>https://reprap.org/forum/read.php?147,33082,737563#msg-737563</link>
  435.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>zungmann</strong><br />
  436. <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Wurstnase</strong><br />
  437. Thanks for testing. This is an experimental branch and needs testing. Can I ask you later to test this again?</div></blockquote>
  438. <br />
  439. No problem, I will be happy to test again. I like Teacup.</div></blockquote>
  440. <br />
  441. I tested the dda_queue_fix branch (https://github.com/Traumflug/Teacup_Firmware/tree/dda_queue_fix) and now give a perfect result.]]></description>
  442.            <dc:creator>zungmann</dc:creator>
  443.            <category>Firmware - experimental, borrowed, and future</category>
  444.            <pubDate>Wed, 11 Jan 2017 01:34:42 -0500</pubDate>
  445.        </item>
  446.        <item>
  447.            <guid>https://reprap.org/forum/read.php?147,33082,733275#msg-733275</guid>
  448.            <title>Re: Project: Teacup Firmware</title>
  449.            <link>https://reprap.org/forum/read.php?147,33082,733275#msg-733275</link>
  450.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Wurstnase</strong><br />
  451. Thanks for testing. This is an experimental branch and needs testing. Can I ask you later to test this again?</div></blockquote>
  452. <br />
  453. No problem, I will be happy to test again. I like Teacup.]]></description>
  454.            <dc:creator>zungmann</dc:creator>
  455.            <category>Firmware - experimental, borrowed, and future</category>
  456.            <pubDate>Tue, 27 Dec 2016 09:55:36 -0500</pubDate>
  457.        </item>
  458.        <item>
  459.            <guid>https://reprap.org/forum/read.php?147,33082,733237#msg-733237</guid>
  460.            <title>Re: Project: Teacup Firmware</title>
  461.            <link>https://reprap.org/forum/read.php?147,33082,733237#msg-733237</link>
  462.            <description><![CDATA[ Thanks for testing. This is an experimental branch and needs testing. Can I ask you later to test this again?]]></description>
  463.            <dc:creator>Wurstnase</dc:creator>
  464.            <category>Firmware - experimental, borrowed, and future</category>
  465.            <pubDate>Tue, 27 Dec 2016 07:47:58 -0500</pubDate>
  466.        </item>
  467.        <item>
  468.            <guid>https://reprap.org/forum/read.php?147,33082,733211#msg-733211</guid>
  469.            <title>Re: Project: Teacup Firmware</title>
  470.            <link>https://reprap.org/forum/read.php?147,33082,733211#msg-733211</link>
  471.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>zungmann</strong><br />
  472. <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Wurstnase</strong><br />
  473. First of all, thanks for helping to improve Teacup.<br />
  474. <br />
  475. In your config files you set the maximum feedrate to 6000. So your 180mm/s will decrease to 100mm/s any time.<br />
  476. <br />
  477. As you are working with git. Can you please create a new local branch with<br />
  478. <pre class="bbcode">
  479. git checkout -b zungmann_1 experimental~37</pre>
  480. and test your code again?</div></blockquote>
  481. <br />
  482. Ah stupid me. Anyway I got decent 150 mm/s since now changed it to 9000.<br />
  483. Yes, I am using git. I testing it now, still printing halfway and promising, so far so good.</div></blockquote>
  484. Finish. And now printed perfectly. Thank you.]]></description>
  485.            <dc:creator>zungmann</dc:creator>
  486.            <category>Firmware - experimental, borrowed, and future</category>
  487.            <pubDate>Tue, 27 Dec 2016 06:17:07 -0500</pubDate>
  488.        </item>
  489.        <item>
  490.            <guid>https://reprap.org/forum/read.php?147,33082,733210#msg-733210</guid>
  491.            <title>Re: Project: Teacup Firmware</title>
  492.            <link>https://reprap.org/forum/read.php?147,33082,733210#msg-733210</link>
  493.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>zungmann</strong><br />
  494. Yes, I am using git. I testing it now, still printing halfway and promising, so far so good.<br />
  495. <br />
  496. Btw, how do I know what is the diff this experimental~37 from just experimental before?</div></blockquote>
  497. <br />
  498. There are some ways to do it.<br />
  499. via command line:<br />
  500. <pre class="bbcode">
  501. git diff experimental experimental~37</pre>
  502. via gitk:<br />
  503. <pre class="bbcode">
  504. git checkout experimental
  505. gitk &amp;
  506. git checkout experimental~37</pre>
  507. Hit <b>F5</b>, <u>not</u> shift-F5. Yellow circle is your current position. Everything above is new code, currently not active.]]></description>
  508.            <dc:creator>Wurstnase</dc:creator>
  509.            <category>Firmware - experimental, borrowed, and future</category>
  510.            <pubDate>Tue, 27 Dec 2016 05:59:00 -0500</pubDate>
  511.        </item>
  512.        <item>
  513.            <guid>https://reprap.org/forum/read.php?147,33082,733207#msg-733207</guid>
  514.            <title>Re: Project: Teacup Firmware</title>
  515.            <link>https://reprap.org/forum/read.php?147,33082,733207#msg-733207</link>
  516.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Wurstnase</strong><br />
  517. First of all, thanks for helping to improve Teacup.<br />
  518. <br />
  519. In your config files you set the maximum feedrate to 6000. So your 180mm/s will decrease to 100mm/s any time.<br />
  520. <br />
  521. As you are working with git. Can you please create a new local branch with<br />
  522. <pre class="bbcode">
  523. git checkout -b zungmann_1 experimental~37</pre>
  524. and test your code again?</div></blockquote>
  525. <br />
  526. Ah stupid me. Anyway I got decent 150 mm/s since now changed it to 9000.<br />
  527. Yes, I am using git. I testing it now, still printing halfway and promising, so far so good.<br />
  528. <br />
  529. Btw, how do I know what is the diff this experimental~37 from just experimental before?<br />
  530. Thanks.]]></description>
  531.            <dc:creator>zungmann</dc:creator>
  532.            <category>Firmware - experimental, borrowed, and future</category>
  533.            <pubDate>Tue, 27 Dec 2016 05:45:26 -0500</pubDate>
  534.        </item>
  535.        <item>
  536.            <guid>https://reprap.org/forum/read.php?147,33082,733175#msg-733175</guid>
  537.            <title>Re: Project: Teacup Firmware</title>
  538.            <link>https://reprap.org/forum/read.php?147,33082,733175#msg-733175</link>
  539.            <description><![CDATA[ First of all, thanks for helping to improve Teacup.<br />
  540. <br />
  541. In your config files you set the maximum feedrate to 6000. So your 180mm/s will decrease to 100mm/s any time.<br />
  542. <br />
  543. As you are working with git. Can you please create a new local branch with<br />
  544. <pre class="bbcode">
  545. git checkout -b zungmann_1 experimental~37</pre>
  546. and test your code again?]]></description>
  547.            <dc:creator>Wurstnase</dc:creator>
  548.            <category>Firmware - experimental, borrowed, and future</category>
  549.            <pubDate>Tue, 27 Dec 2016 03:47:15 -0500</pubDate>
  550.        </item>
  551.        <item>
  552.            <guid>https://reprap.org/forum/read.php?147,33082,733159#msg-733159</guid>
  553.            <title>Re: Project: Teacup Firmware</title>
  554.            <link>https://reprap.org/forum/read.php?147,33082,733159#msg-733159</link>
  555.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Wurstnase</strong><br />
  556. OK, just checked your config.<br />
  557. <br />
  558. An Atmega can handle up to approx. 35k to 40k steps/s. Your E-Axis has 1,1540,000 steps/m. Your setup in S3D is 1,800 mm/min. This are 34,620 steps/s. Maybe too close on the limit. Also you could reduce max feedrate for E from 6000, which is too high, to a save 1500. <br />
  559. <br />
  560. The old code uses the X-axis for a lot of calculations. This changed in the experiemental, and this could be the reason for your problem,</div></blockquote>
  561. <br />
  562. I tried again. Now changed the E steps to be 577000 (half of before). Also removed debug, Good thing is no more crawling nor notice of lookahead not fast enough. But still, the print skewed along X. I then flipped the STEPS/MM for X to be Y and the other way, expecting the skew would be along Y Axis. But turnout still it skewed toward X. <br />
  563. <br />
  564. On Master branch, I got good result, even travel speed increase to 180 mm/s, my fastest so far :).]]></description>
  565.            <dc:creator>zungmann</dc:creator>
  566.            <category>Firmware - experimental, borrowed, and future</category>
  567.            <pubDate>Tue, 27 Dec 2016 02:11:59 -0500</pubDate>
  568.        </item>
  569.        <item>
  570.            <guid>https://reprap.org/forum/read.php?147,33082,732953#msg-732953</guid>
  571.            <title>Re: Project: Teacup Firmware</title>
  572.            <link>https://reprap.org/forum/read.php?147,33082,732953#msg-732953</link>
  573.            <description><![CDATA[ OK, just checked your config.<br />
  574. <br />
  575. An Atmega can handle up to approx. 35k to 40k steps/s. Your E-Axis has 1,1540,000 steps/m. Your setup in S3D is 1,800 mm/min. This are 34,620 steps/s. Maybe too close on the limit. Also you could reduce max feedrate for E from 6000, which is too high, to a save 1500. <br />
  576. <br />
  577. The old code uses the X-axis for a lot of calculations. This changed in the experiemental, and this could be the reason for your problem,]]></description>
  578.            <dc:creator>Wurstnase</dc:creator>
  579.            <category>Firmware - experimental, borrowed, and future</category>
  580.            <pubDate>Sun, 25 Dec 2016 06:48:48 -0500</pubDate>
  581.        </item>
  582.        <item>
  583.            <guid>https://reprap.org/forum/read.php?147,33082,732839#msg-732839</guid>
  584.            <title>Re: Project: Teacup Firmware</title>
  585.            <link>https://reprap.org/forum/read.php?147,33082,732839#msg-732839</link>
  586.            <description><![CDATA[ Yes, there are some tests for the gcode. So it will impact.]]></description>
  587.            <dc:creator>Wurstnase</dc:creator>
  588.            <category>Firmware - experimental, borrowed, and future</category>
  589.            <pubDate>Sat, 24 Dec 2016 06:38:25 -0500</pubDate>
  590.        </item>
  591.        <item>
  592.            <guid>https://reprap.org/forum/read.php?147,33082,732836#msg-732836</guid>
  593.            <title>Re: Project: Teacup Firmware</title>
  594.            <link>https://reprap.org/forum/read.php?147,33082,732836#msg-732836</link>
  595.            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Wurstnase</strong><br />
  596. Can you send me your config files and gcode. I would like to test it.<br />
  597. First thing I've seen. You enabled debug. This could slow down the code. For normal use, you should disable debug in debug.h. Just comment out #define DEBUG.</div></blockquote>
  598. <br />
  599. Yes, debug enabled in the experimental. Does it still have an impact when debug level set to zero (M111 S0) ?<br />
  600. The gcode is big, even when compressed still can't be attached here. Let me know your email please.]]></description>
  601.            <dc:creator>zungmann</dc:creator>
  602.            <category>Firmware - experimental, borrowed, and future</category>
  603.            <pubDate>Sat, 24 Dec 2016 06:33:11 -0500</pubDate>
  604.        </item>
  605.    </channel>
  606. </rss>
  607.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//forums.reprap.org/feed.php%3F147%2C33082%2Ctype%3Drss

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda