Mini wireless thermal tshuab luam ntawv tau txais Arduino tsev qiv ntawv (thiab daim ntawv thov macOS)

[Larry Bank] Lub tsev qiv ntawv Arduino rau luam ntawv cov ntawv thiab cov duab ntawm BLE (Bluetooth Low Energy) thermal tshuab luam ntawv muaj qee qhov zoo heev thiab tuaj yeem xa cov ntawv luam tawm wireless rau ntau hom qauv yooj yim li sai tau.Cov tshuab luam ntawv no yog me me, pheej yig, thiab wireless.Qhov no yog kev sib xyaw ua ke zoo uas ua rau lawv txaus nyiam rau cov haujlwm uas tuaj yeem tau txais txiaj ntsig los ntawm kev luam ntawv nyuaj.
Nws kuj tsis txwv rau cov ntawv nyeem yooj yooj yim.Koj tuaj yeem siv Adafruit_GFX lub tsev qiv ntawv style fonts thiab cov kev xaiv los ua kom tiav cov zis ntau ntxiv, thiab xa cov ntawv formatted ua duab.Koj tuaj yeem nyeem tag nrho cov ntaub ntawv hais txog dab tsi lub tsev qiv ntawv tuaj yeem ua tau nyob rau hauv daim ntawv teev cov haujlwm no.
Tab sis [Larry] tsis nres ntawd.Thaum sim nrog microcontrollers thiab BLE thermal printers, nws kuj xav tshawb ncaj qha siv BLE tham nrog cov tshuab luam ntawv no los ntawm nws Mac.Print2BLE yog ib daim ntawv thov macOS uas tso cai rau koj rub cov duab rau hauv daim ntawv thov qhov rai.Yog tias cov nyhuv saib ua ntej zoo, lub khawm luam tawm yuav ua rau nws tawm ntawm lub tshuab luam ntawv raws li 1-bpp dithered duab.
Cov tshuab luam ntawv thermal me yog tsim rau cov haujlwm zoo, xws li hloov kho Polaroid koob yees duab.Tam sim no cov tshuab luam ntawv me me no yog wireless thiab pheej yig.Tsuas yog nrog kev pab ntawm lub tsev qiv ntawv zoo li no tuaj yeem ua tau yooj yim dua.Tau kawg, yog tias txhua yam no zoo li yooj yim me ntsis, koj tuaj yeem siv plasma los muab thermal luam ntawv rov qab rau hauv thermal luam ntawv txhua lub sijhawm.
Kuv tab tom tshawb xyuas lub chaw khaws cia, xav paub seb puas muaj leej twg paub txog cov tshuab luam ntawv pheej yig no, uas yog Phomemo M02, M02s, thiab M02pro tsis tau teev tseg raws li tau sib xws, tab sis nrhiav miv, npua thiab lwm yam tshuab luam ntawv, lawv yuav ntau dua lossis tsawg dua tib yam. hauv qab mechanism?Xav paub seb nws puas siv tau rau lub tsev qiv ntawv.Lwm qhov chaw khaws cia ntawm github rau phomemo python scripts rau luam ntawv ntawm linux.Cov khoom no pheej yig thiab txias ua si.Xav paub yog vim li cas nws tsis tau txais traction ntxiv.
Muaj ntau qhov kev hloov pauv ntawm cov tshuab luam ntawv BLE no.Sab hauv, lawv txhua tus yuav muaj tib lub taub hau thiab UART interface, tab sis cov tuam txhab uas ntxiv BLE boards nyiam hloov cov khoom kom nws nyuaj rau siv sab nraud ntawm lawv daim ntawv thov.Ob lub tshuab luam ntawv uas kuv txhawb nqa yuav tsum rov qab kho dua los ntawm lawv cov ntawv thov hauv Android vim tias lawv tsis txhawb ESC / POS tus qauv hais kom ua.GOOJPRT coj tus cwj pwm kom raug thiab tsuas yog xa cov lus txib ntawm BLE.Kuv xav tias ntau tus neeg "tsim" txiav txim siab siv cov txheej txheem kev sib txuas lus los yuam kom koj siv lawv cov apps mobile.
Yog li ntawd, yog tias kuv yuav ib qho ntawm lawv thiab muab nws tso tawm thiab tshem tawm BLE ib feem, ces nws muaj feem ntau tias koj tsuas muaj lub tshuab luam ntawv UART thermal xwb?
Kuv tau ua si nrog Amazon's 80mm NETUM wireless / rechargeable tshuab luam ntawv.Nws raug nqi $80 thiab tso tawm rau ntawm qhov chaw nres nkoj serial com.Nws txhawb ESC / POS, yog li kuv tau sau kuv lub tsev qiv ntawv PowerShell rau cov duab.Qhov tsuas yog qhov tsis zoo ntawm NETUM yog tias nws tsis muaj peev xwm rau cov tshuab luam ntawv loj heev, tab sis qhov no yog tus nqi ntawm compactness.Kuv pom tias kuv tuaj yeem nqa qee cov yob nruab nrab thiab tshem tawm ib nrab ntawm lawv mus rau qhov khoob khoob.Nws yuav siv sij hawm tsawg tshaj li tsib feeb, uas tsis yog ib tug loj inconvenience raws li qhov ceev ntawm kuv siv lawv.
Cov lus teb luv luv-yog!Bluetooth Tsawg Zog (BLE) zoo ib yam ntawm cov platforms sib txawv, yog li kev siv nws ntawm Linux yuav tsis muaj qhov sib txawv ntau.
Rau cov ntawv nyeem tau yooj yim, kab yooj yim, thiab barcodes, tsis tas yuav muaj cov tsav tsheb nyuaj, vim tias yuav luag txhua lub tshuab luam ntawv / daim ntawv txais nyiaj txhawb nqa Epson tshuab luam ntawv tus qauv code, tseem hu ua ESC/P.[1] Kom meej meej, daim ntawv lo / daim ntawv txais nyiaj thermal printers siv ESC / POS (Epson Standard Code / Point of Sale) variant.[2] Lub npe ESC/P lossis ESC/POS kuj tsim nyog vim tias muaj tus cim ESCAP (ASCII code 27) ua ntej lub tshuab luam ntawv hais kom ua.
Tej yam yooj yim lub hom phiaj thermal daim ntawv lo / daim ntawv txais nyiaj tuaj yeem yuav pheej yig ntawm cov vev xaib xws li AliExpress.[3] Cov tshuab luam ntawv dav dav no muaj RS-232 UART TTL qib interface uas txhawb ESC / POS.RS-232 UART TTL theem interface tuaj yeem hloov tau yooj yim rau USB siv UART / USB choj nti (xws li CH340x) lossis cable.Rau WiFi thiab BLE wireless sib txuas, koj tsuas yog yuav tsum tau txuas lub module xws li Espressif ESP32 module rau UART TTL interface.[4] Los yog ntxiv 10-15 US las rau tus nqi ntawm cov tshuab luam ntawv thermal / daim ntawv txais nyiaj, thiab nws yuav ncaj qha muab USB / WiFi / BLE.Tab sis qhov kev lom zem nyob rau hauv no nyob qhov twg?
Thaum koj xav ua cov duab (zoom / dither / dub-thiab-dawb hloov dua siab tshiab) thiab xa mus rau lub tshuab luam ntawv daim ntawv lo, tus tsav tsheb nyuaj los ua si.Rau Windows, tus tsav tsheb tau muab online, tshawb rau "Windows thermal label printer driver" yam tsis muaj "s".Nws yog qhov nyuaj dua rau microcontrollers uas siv universal label/receipt printers printers, and that is [Larry Bank]'s Arduino library zoo li yuav raug coj mus rau qib tom ntej.
3. Goojprt Qr203 58 hli micro micro embedded thermal tshuab luam ntawv Rs232 + Ttl vaj huam sib luag tau tshaj Eml203, siv rau daim ntawv txais barcode US $ 15.17 + US $ 2.67 Shipping:
4. Wireless module NodeMcu V3 V2 Lua WIFI txoj kev loj hlob board ESP8266 ESP32 nrog PCB kav hlau txais xov thiab USB chaw nres nkoj ESP-12E CP2102 USD 2.94 + USD 0.82 Shipping nqi:
Cov ntawv siv los ntawm cov tshuab luam ntawv no muaj feem cuam tshuam txog kev noj qab haus huv ntau.Tsis tas li ntawd, nws tsis yog recyclable los yog ib puag ncig tus phooj ywg nyob rau hauv ib qho kev hwm.
Nws muaj lub zog endocrine cuam tshuam bisphenol-a.Los ntawm txoj kev, cov khoom uas tsis muaj BPA feem ntau muaj BPA-technically sib txawv, tab sis phem endocrine cuam tshuam.
Txawm hais tias tsis muaj tshuaj lom los yog tsis, cov ntawv thermal tsis yog ecologically (logically) tus phooj ywg los ntawm ib qho kev txhais.
Koj tsis zoo li yuav cuam tshuam nrog ib feem me me ntawm cov nyiaj ua los ntawm tus neeg txais nyiaj.Tab sis nws tsim nyog hais.
Kev tshoov siab los ntawm qhov kev tshaj tawm Hackaday los ntawm [Donald Papp], cov ntawv tshaj tawm no taw qhia rau [Larry Bank] lub tsev qiv ntawv Arduino nrog cov duab luam tawm rau cov tshuab luam ntawv thermal, [Jeff Epler] muaj ib qho tshiab ntawm Adafruit (Cuaj Hlis 2021) 28th)'BLE Thermal " Cat” Lub Tshuab Luam Ntawv Tutorial nrog CircuitPython [1][2][3] Qhov no ua rau muaj kev luam ntawv yees duab uas tau tsav los ntawm tus me ntxim hlub (tab sis kim kim IMHO) Adafruit CLUE nRF52840 Express Thermal printer nrog Bluetooth LE board thiab 1.3 "240 × 240 xim IPS TFT zaub ntawm lub rooj tsavxwm.[4]
Hmoov tsis zoo, CircuitPython code tsuas yog luam tawm cov duab ua ntej los ntawm daim ntawv thov kev kho duab (xws li qhov pub dawb thiab qhib qhov chaw hla-platform GIMP photo editor).[5] Tab sis kom ncaj ncees, Kuv tsis ntseeg yog tias CLUE board nrog Nordic nRF52840 Bluetooth LE processor, 1 MB flash nco, 256KB RAM, thiab 64 MHz Cortex M4 processor khiav tag nrho CircuitPython muaj chav ua ntej txhua yam tshwj tsis yog cov duab yooj yim- plank.
[Jeff Epler] sau: Thaum kuv pom lub tshuab luam ntawv "miv" hauv tsab xov xwm Hackaday no (https://hackaday.com/2021/09/21/mini-wireless-thermal-printers-get-arduino-library-and-macos -app/), Kuv tsuas yog xav tau npaj ib qho rau kuv tus kheej.Daim ntawv tshaj tawm thawj ua lub tsev qiv ntawv rau Arduino, tab sis kuv xav ua ib qho qauv tsim nyog rau CircuitPython.
2. Adafruit's "BLE Thermal "Cat" tshuab luam ntawv nrog CircuitPython" nyeem [ib nplooj ntawv html hom]

https://cdn-learn.adafruit.com/downloads/pdf/ble-thermal-cat-printer-with-circuitpython.pdf?timestamp=1632888339

Los ntawm kev siv peb lub vev xaib thiab cov kev pabcuam, koj pom zoo meej rau qhov chaw ntawm peb qhov kev ua tau zoo, kev ua haujlwm thiab kev tshaj tawm cov ncuav qab zib.kawm ntxiv


Post lub sij hawm: Oct-13-2021