howto:thymio:thymio_barcode_reader

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
howto:thymio:thymio_barcode_reader [2023/06/27 16:07] – [How to use the code] mariehowto:thymio:thymio_barcode_reader [2023/06/27 16:12] (Version actuelle) – [Specifications] marie
Ligne 16: Ligne 16:
 #this code reads barcodes based on bar width #this code reads barcodes based on bar width
   
-#speed = 0,5 cm/s ; max 40 notes ; different note every 0,5 cm ; 9 different notes ; min width 0,5 cm ; max width 9cm ; min length 5 cm but 8 recommended ; ink must absorb ir light (carbon black)+#speed = 0,5 cm/s ; max 20 notes ; different note every 0,5 cm ; 9 different notes ; min width 0,5 cm ; max width 9cm ; min length 5 cm but 8 recommended ; ink must absorb ir light (carbon black)
 #prioritize the bars to be too big rather than too small (for example, if a bar should be 3cm; 3,4cm > 2,9cm). in fact, do make them a millimeter or two wider #prioritize the bars to be too big rather than too small (for example, if a bar should be 3cm; 3,4cm > 2,9cm). in fact, do make them a millimeter or two wider
 </code> </code>
-These are just specifications, conditions for the code to work as intended and limitations.+These are just specifications, conditions for the code to work as intended and limitations. Disregard "max 40 notes" in the original code, its maximum is 20, I just got myself mixed up.
 ==== Setup ==== ==== Setup ====
 <code> <code>
  • howto/thymio/thymio_barcode_reader.1687874834.txt.gz
  • Dernière modification : 2023/06/27 16:07
  • de marie