User Tools

Site Tools


electronics:thermoprinter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
electronics:thermoprinter [2018/03/08 09:10] dmmediaelectronics:thermoprinter [2020/04/02 20:33] (current) – [02.04.2020] dmmedia
Line 281: Line 281:
 ==== 08.03.2018 ==== ==== 08.03.2018 ====
   * Counting printable bits to optimize the number of simultaneously driven 64-bit blocks turned out to be a combinatorial task or [[https://en.wikipedia.org/wiki/Partition_problem|Partition problem]]. More specifically a [[https://en.wikipedia.org/wiki/Bin_packing_problem|Bin packing problem]]. Generally speaking, the resulting count of sums of simultaneously driven blocks will be not more than optimal count plus 2 if I would use First fit decreasing or Best fit decreasing algorithms.   * Counting printable bits to optimize the number of simultaneously driven 64-bit blocks turned out to be a combinatorial task or [[https://en.wikipedia.org/wiki/Partition_problem|Partition problem]]. More specifically a [[https://en.wikipedia.org/wiki/Bin_packing_problem|Bin packing problem]]. Generally speaking, the resulting count of sums of simultaneously driven blocks will be not more than optimal count plus 2 if I would use First fit decreasing or Best fit decreasing algorithms.
-  * Counting bits themselves turned to be another well-known problem named [[https://en.wikipedia.org/wiki/Hamming_weight|Hamming weight]]. Need to check whether STM32 has any special support for bit counting. +  * Counting bits themselves turned to be another well-known problem named [[https://en.wikipedia.org/wiki/Hamming_weight|Hamming weight]]. Need to check whether STM32 has any special support for bit counting
 + 
 +==== 02.04.2020 ==== 
 +  * Thought that porting Marlin 3D printer firmware was bad idea, since the functionality is totally different and Marlin implementation is not brilliant. Will start from scratch and implement stepper motor advance on user button press and hold. Motor will advance with the lowest speed described in the thermal head manual. Next step will add accelleration and deceleration.
electronics/thermoprinter.1520500242.txt.gz · Last modified: 2018/03/08 09:10 by dmmedia