[Larry Bank] Laburaren Arduino don buga rubutu da zane-zane akan firinta na BLE (Bluetooth Low Energy) yana da kyawawan fasalulluka kuma yana iya aika ayyukan bugu mara waya zuwa samfuran gama gari da yawa cikin sauƙi.Waɗannan firinta ƙanana ne, marasa tsada, kuma mara waya.Wannan haɗin gwiwa ne mai kyau wanda ke sa su zama masu ban sha'awa don ayyukan da za su iya amfana daga buga kwafi.
Hakanan ba'a iyakance shi ga rubutun tsoho mai sauƙi ba.Kuna iya amfani da salon salon ɗakin karatu na Adafruit_GFX da zaɓuɓɓuka don kammala ƙarin kayan aiki na ci gaba, da aika rubutu da aka tsara azaman zane-zane.Kuna iya karanta duk bayanan game da abin da ɗakin karatu zai iya yi a cikin wannan taƙaitaccen jerin ayyuka.
Amma [Larry] bai tsaya nan ba.Yayinda yake gwaji tare da masu sarrafa microcontrollers da BLE thermal printers, ya kuma so ya bincika kai tsaye ta amfani da BLE don yin magana da waɗannan firintocin daga Mac ɗin sa.Print2BLE shine aikace-aikacen MacOS wanda ke ba ku damar ja fayilolin hoto zuwa taga aikace-aikacen.Idan tasirin samfoti yana da kyau, maɓallin bugawa zai sa ya fito daga firinta a matsayin hoton 1-bpp da aka karkata.
Ƙananan firintocin zafi sun dace da kyawawan ayyuka, kamar kyamarorin Polaroid da aka gyara.Yanzu waɗannan ƙananan na'urori suna da waya mara waya da kuma tattalin arziki.Tare da taimakon irin wannan ɗakin karatu ne kawai abubuwa zasu iya zama da sauƙi.Tabbas, idan duk wannan yana da ɗan sauƙi, zaku iya amfani da plasma don mayar da bugu na thermal cikin bugu na thermal a kowane lokaci.
Ina lilo a ma'ajiyar, ina mamakin ko akwai wanda ya san wadannan na'urori masu arha, wato Phomemo M02, M02s, da M02pro ba a jera su a matsayin masu jituwa ba, amma neman cat, alade da sauran firintocin, ƙila sun fi ko ƙasa da haka. tushen tsarin?Kuna son sanin ko ya shafi ɗakin karatu.Wani wurin ajiya akan github don rubutun phomemo python don bugawa akan Linux.Waɗannan abubuwan suna da arha kuma suna da sanyin wasa.Kuna son sanin dalilin da ya sa bai sami ƙarin jan hankali ba.
Akwai bambance-bambance da yawa na waɗannan firintocin BLE.A ciki, suna iya samun duka bugu ɗaya da ƙirar UART, amma kamfanoni waɗanda ke ƙara allon BLE suna son canza abubuwa don yin wahalar amfani da su a waje da aikace-aikacen su.Na'urorin bugawa guda biyu da nake tallafawa dole ne a canza su ta hanyar aikace-aikacen su na Android saboda basa goyan bayan daidaitattun umarnin ESC/POS.GOOJPRT yana aiki daidai kuma yana aika daidaitattun umarni ta hanyar BLE.Ina tsammanin yawancin "baƙon" mutane sun yanke shawarar yin amfani da ka'idojin sadarwa don tilasta ku yin amfani da aikace-aikacen wayar hannu.
Don haka, idan na sayi ɗaya daga cikinsu in cire shi sannan in cire ɓangaren BLE, to yana yiwuwa kawai kuna da firinta na thermal UART?
Na kasance ina wasa da firinta mara waya ta 80mm NETUM na Amazon.Kudinsa $80 kuma ana nunawa akan tashar com serial.Yana goyan bayan ESC/POS, don haka na rubuta ɗakin karatu na PowerShell don hotuna.Babban hasara na NETUM shine cewa ba shi da ikon yin manyan juzu'i na firinta, amma wannan shine farashin ƙarami.Na gano cewa zan iya ɗaukar wasu matsakaitan nadi in zare rabin su a kan spool mara komai.Yana ɗaukar ƙasa da mintuna biyar, wanda ba babban abin damuwa bane gwargwadon saurin da nake amfani da su.
A takaice amsar-e!Ƙananan Makamashi na Bluetooth (BLE) yana da daidaito akan dandamali daban-daban, don haka aiwatar da shi akan Linux ba zai haifar da bambanci sosai ba.
Don rubutu mai ƙima, layi mai sauƙi, da lambar barcode, ba a buƙatar direbobi masu rikitarwa, saboda kusan duk lakabin firintocin / rasit na gama-gari suna goyan bayan daidaitaccen madaidaicin firinta na Epson, wanda kuma aka sani da ESC/P.[1] Don zama madaidaici, lakabi / karɓar firintocin zafi suna amfani da bambance-bambancen ESC/POS (Epson Standard Code/Point of Sale).[2] Sunan ESC/P ko ESC/POS shima ya dace saboda akwai alamar ESCape (ASCII code 27) gabanin umarnin firinta.
Za'a iya siyan firinta mai sauƙi na gaba ɗaya-manufa ta thermal/rasiti a rahusa akan gidajen yanar gizo kamar AliExpress.[3] Waɗannan firintocin na gaba ɗaya suna da ƙirar matakin RS-232 UART TTL wanda ke goyan bayan ESC/POS.RS-232 UART TTL matakin dubawa za a iya sauƙi canza zuwa USB ta amfani da UART/USB gada guntu (kamar CH340x) ko na USB.Don haɗin WiFi da BLE mara igiyar waya, kawai kuna buƙatar haɗa wani tsari kamar na Espressif ESP32 module zuwa UART TTL interface.[4] Ko ƙara 10-15 dalar Amurka zuwa farashin janareta na thermal tag/rasit printer, kuma kai tsaye zai samar da USB/WiFi/BLE.Amma ina jin daɗi a cikin wannan?
Lokacin da kake son aiwatar da hoton (zuƙowa/dither/ tuba-baki-da-fari) da aika shi zuwa firintar tambarin, wani hadadden direba ya shigo cikin wasa.Don Windows, ana ba da direba akan layi, bincika "Direba firinta na thermal label" ba tare da "s".Ya fi ƙalubale ga microcontrollers waɗanda ke amfani da lakabin duniya/ firintocin karɓa don buga hotuna, kuma wannan shine ɗakin karatu na Arduino na [Larry Bank] da alama an ɗauka zuwa mataki na gaba.
3. Goojprt Qr203 58 mm micro micro embedded thermal printer Rs232+Ttl panel mai jituwa tare da Eml203, ana amfani da lambar barcode US $15.17 + US $2.67 Jirgin ruwa:
4. Mara waya ta Module NodeMcu V3 V2 Lua WIFI hukumar raya ESP8266 ESP32 tare da eriyar PCB da tashar USB ESP-12E CP2102 USD 2.94 + USD 0.82 Kudin jigilar kaya:
Takardar da waɗannan na'urori ke amfani da su na da alaƙa da yawan matsalolin lafiya.Bugu da kari, ba a sake yin amfani da shi ko kuma ya dace da muhalli ta kowace fuska.
Ya ƙunshi mai ƙarfi endocrine disruptor bisphenol-a.Af, samfuran da ba su ƙunshi BPA yawanci sun ƙunshi BPA-bambantan fasaha, amma mafi muni masu rushewar endocrine.
Ba tare da la'akari da sinadarai masu ban haushi ba ko a'a, takarda ta thermal ba ta dace da muhalli ba (a hankali) ta kowace ma'ana.
Ba zai yuwu ku yi mu'amala da ƙaramin ɓangaren adadin kuɗin da mai karbar kuɗi ya yi ba.Amma yana da kyau a ambata.
An yi wahayi zuwa ga wannan Hackaday post ta [Donald Papp], wannan post ɗin yana nuna ɗakin karatu na [Larry Bank] na Arduino tare da bugu na hoto don firintocin zafi, [Jeff Epler] yana da sabon abu a Adafruit (Satumba 2021) 28th)'BLE Thermal " Koyarwar Firintocin Cat” tare da CircuitPython [1] [2] [3] Wannan ya haifar da aikin bugu na hoto wanda ƙaramin ɗanɗano (amma mai tsada IMHO) Adafruit CLUE nRF52840 Express Thermal firinta tare da allon Bluetooth LE da launi 1.3 ”240 × 240 IPS TFT nuni a kan jirgin.[4]
Abin takaici, lambar CircuitPython tana buga hoto ne kawai wanda aikace-aikacen gyaran hoto ya tsara shi (kamar editan hoto na GIMP kyauta da buɗe tushen giciye).[5] Amma don yin adalci, Ina shakka idan allon CLUE tare da Nordic nRF52840 Bluetooth LE processor, 1 MB flash memory, 256KB RAM, da 64 MHz Cortex M4 processor da ke aiki da cikakken CircuitPython yana da dakin da za a iya aiwatar da komai sai mai sauƙi Hoton- katako.
[Jeff Epler] ya rubuta: Lokacin da na ga firintar “cat” a cikin wannan labarin Hackaday (https://hackaday.com/2021/09/21/mini-wireless-thermal-printers-get-arduino-library -and-macos) -app/), Ina bukatan shirya daya don kaina.Hoton asali ya yi ɗakin karatu don Arduino, amma ina so in yi sigar da ta dace da CircuitPython.
2. Adafruit's “BLE Thermal “Cat” Printer tare da koyawa na CircuitPython [tsarin html shafi ɗaya]
https://cdn-learn.adafruit.com/downloads/pdf/ble-thermal-cat-printer-with-circuitpython.pdf?timestamp=1632888339
Ta amfani da gidan yanar gizon mu da sabis ɗinmu, kun yarda a sarari ga sanya ayyukanmu, ayyuka da kukis ɗin talla.kara koyo
Lokacin aikawa: Oktoba-13-2021