Hauv tsab xov xwm no, kuv yuav qhia koj zaj dab neeg ntawm kuv lub koob yees duab tshiab: lub koob yees duab digital Polaroid, uas muab lub tshuab luam ntawv txais nyiaj nrog Raspberry Pi.Txhawm rau tsim nws, kuv nqa lub koob yees duab Polaroid Minute Maker qub, tshem tawm lub siab, thiab siv lub koob yees duab digital, E-ink zaub, lub tshuab luam ntawv txais nyiaj thiab SNES maub los ua haujlwm lub koob yees duab es tsis txhob siv lub cev.Tsis txhob hnov qab ua raws kuv ntawm Instagram (@ade3).
Ib daim ntawv los ntawm lub koob yees duab nrog ib daim duab yog me ntsis tej yam yees siv.Nws ua rau muaj txiaj ntsig zoo siab, thiab cov yeeb yaj kiab ntawm lub vijtsam ntawm lub koob yees duab digital niaj hnub pub rau koj qhov kev zoo siab.Cov koob yees duab Polaroid qub ib txwm ua rau kuv tu siab me ntsis vim tias lawv yog cov tshuab tsim tau zoo heev, tab sis thaum cov yeeb yaj kiab raug txiav tawm, lawv dhau los ua cov duab kos duab nostalgic, khaws cov plua plav ntawm peb lub txee.Yuav ua li cas yog tias koj tuaj yeem siv lub tshuab luam ntawv txais nyiaj es tsis txhob siv cov yeeb yaj kiab tam sim los coj lub neej tshiab rau cov koob yees duab qub no?
Thaum nws yooj yim rau kuv ua nws, kab lus no yuav delve rau hauv cov ntsiab lus ntawm qhov kuv ua lub koob yees duab.Kuv ua qhov no vim kuv vam tias kuv qhov kev sim yuav txhawb qee tus neeg los sim qhov project ntawm lawv tus kheej.Qhov no tsis yog ib qho kev hloov kho yooj yim.Qhov tseeb, qhov no yuav yog lub koob yees duab tawg yooj yim tshaj plaws uas kuv tau sim, tab sis yog tias koj txiav txim siab los daws qhov project no, kuv yuav sim muab cov ntsiab lus txaus los ntawm kuv qhov kev paub los tiv thaiv koj ntawm kev daig.
Vim li cas kuv yuav tsum ua qhov no?Tom qab txhaj tshuaj nrog kuv lub koob yees duab kas fes, kuv xav sim ob peb txoj kev sib txawv.Saib ntawm kuv lub koob yees duab series, lub koob yees duab Polaroid Minute Maker dheev dhia tawm ntawm kuv thiab dhau los ua qhov kev xaiv zoo tshaj plaws rau kev hloov pauv digital.Qhov no yog ib qhov project zoo meej rau kuv vim tias nws muab qee yam uas kuv twb ua si nrog: Raspberry Pi, E Ink zaub thiab lub tshuab luam ntawv txais nyiaj.Muab lawv ua ke, koj yuav tau dab tsi?Nov yog zaj dab neeg ntawm kuv lub koob yees duab digital Polaroid tau ua li cas…
Kuv tau pom tib neeg sim cov haujlwm zoo sib xws, tab sis tsis muaj leej twg tau ua txoj haujlwm zoo piav qhia lawv ua li cas.Kuv vam tias yuav zam qhov yuam kev no.Qhov kev sib tw ntawm txoj haujlwm no yog ua kom txhua qhov sib txawv ua haujlwm ua ke.Ua ntej koj pib thawb tag nrho cov khoom mus rau hauv rooj plaub Polaroid, kuv xav kom koj kis txhua yam tawm thaum kuaj thiab teeb tsa tag nrho cov khoom sib txawv.Qhov no tiv thaiv koj los ntawm kev sib sau ua ke thiab disassembling lub koob yees duab txhua zaus koj ntaus ib qho teeb meem.Hauv qab no, koj tuaj yeem pom tag nrho cov kev sib txuas thiab ua haujlwm ua ntej txhua yam yog ntim rau hauv rooj plaub Polaroid.
Kuv tau ua qee cov yeeb yaj kiab los sau kuv qhov kev vam meej.Yog tias koj npaj yuav daws qhov project no, ces koj yuav tsum pib nrog 32-feeb video no vim koj tuaj yeem pom tias txhua yam haum ua ke thiab nkag siab txog cov teeb meem uas yuav ntsib.
Nov yog cov khoom thiab cov cuab yeej kuv siv.Thaum txhua yam hais, tus nqi yuav tshaj $ 200.Cov nuj nqis loj yuav yog Raspberry Pi (35 txog 75 US las), tshuab luam ntawv (50 txog 62 US las), saib xyuas (37 US las) thiab cov koob yees duab (25 US las).Qhov nthuav yog ua qhov project koj tus kheej, yog li koj cov nqi yuav txawv nyob ntawm qhov project koj xav kom suav nrog lossis tsis suav nrog, hloov kho lossis txo qis.Nov yog qhov kuv siv:
Lub koob yees duab kuv siv yog Polaroid feeb lub koob yees duab.Yog tias kuv yuav rov ua dua, kuv yuav siv lub tshuab viav vias Polaroid vim nws yog qhov tsim qauv zoo ib yam, tab sis lub vaj huam sib luag pem hauv ntej zoo nkauj dua.Tsis zoo li cov koob yees duab Polaroid tshiab, cov qauv no muaj ntau qhov chaw sab hauv, thiab lawv muaj lub qhov rooj rau sab nraub qaum uas tso cai rau koj qhib thiab kaw lub koob yees duab, uas yooj yim heev rau peb cov kev xav tau.Ua qee qhov kev yos hav zoov thiab koj yuav tsum tuaj yeem nrhiav tau ib qho ntawm cov koob yees duab Polaroid hauv cov khw muag khoom qub lossis hauv eBay.Koj tuaj yeem yuav ib qho tsawg dua $ 20.Hauv qab no, koj tuaj yeem pom Swinger (sab laug) thiab Minute Maker (sab xis).
Hauv txoj kev xav, koj tuaj yeem siv lub koob yees duab Polaroid rau hom phiaj xwm no.Kuv kuj muaj qee lub koob yees duab hauv av nrog cov hauv qab thiab khawm, tab sis qhov zoo ntawm Swinger lossis Minute Maker yog tias lawv tau ua los ntawm cov yas tawv thiab tsis muaj ntau qhov txav txav tshwj tsis yog lub qhov rooj rov qab.Thawj kauj ruam yog txhawm rau txhuam tag nrho lub siab ntawm lub koob yees duab kom muaj chaw rau tag nrho peb cov khoom siv hluav taws xob.Txhua yam yuav tsum tau ua.Thaum kawg, koj yuav pom ib pawg khib nyiab, raws li qhia hauv qab no:
Feem ntau ntawm cov koob yees duab tuaj yeem raug tshem tawm nrog cov pliers thiab brute quab yuam.Cov khoom no tsis tau muab sib cais, yog li koj yuav tawm tsam nrog cov kua nplaum hauv qee qhov chaw.Tshem tawm pem hauv ntej ntawm Polaroid yog qhov nyuaj tshaj qhov nws zoo li.Muaj cov ntsia hlau sab hauv thiab qee cov cuab yeej xav tau.Pom tseeb tsuas yog Polaroid muaj lawv.Tej zaum koj yuav muaj peev xwm unscrew lawv nrog pliers, tab sis kuv tso tseg thiab yuam kom lawv kaw.Nyob rau hauv hindsight, kuv yuav tsum tau them sai sai rau ntawm no, tab sis qhov kev puas tsuaj kuv tshwm sim tuaj yeem kho nrog super kua nplaum.
Thaum koj ua tiav, koj yuav rov sib ntaus rau qhov chaw uas yuav tsum tsis txhob muab sib cais.Ib yam li ntawd, pliers thiab brute quab yuam yuav tsum tau.Ceev faj kom tsis txhob ua kom puas yam pom los ntawm sab nraud.
Lub lens yog ib qho nyuaj rau tshem tawm.Sib nrug los ntawm kev khawb ib lub qhov hauv iav / yas thiab rub tawm, kuv tsis xav txog lwm yam kev daws teeb meem.Kuv xav khaws lub ntsej muag ntawm lub lens kom ntau li ntau tau kom tib neeg tsis tuaj yeem pom lub koob yees duab me me Raspberry Pi nyob hauv nruab nrab ntawm lub nplhaib dub uas lub lens tau kho ua ntej.
Hauv kuv daim vis dis aus, kuv pom qhov ua ntej thiab tom qab kev sib piv ntawm cov duab Polaroid, yog li koj tuaj yeem pom qhov koj xav rho tawm ntawm lub koob yees duab.Saib xyuas kom ntseeg tau tias lub vaj huam sib luag pem hauv ntej tuaj yeem qhib thiab kaw tau yooj yim.Xav txog lub vaj huam sib luag raws li kev kho kom zoo nkauj.Feem ntau, nws yuav raug kho nyob rau hauv qhov chaw, tab sis yog tias koj xav txuas lub Raspberry Pi rau lub monitor thiab keyboard, koj tuaj yeem tshem tawm lub vaj huam sib luag pem hauv ntej thiab ntsaws rau hauv lub hwj chim.Koj tuaj yeem tawm tswv yim koj tus kheej ntawm no, tab sis kuv txiav txim siab siv cov hlau nplaum los ua ib qho cuab yeej los tuav lub vaj huam sib luag rau hauv qhov chaw.Lub Velcro zoo li tsis yooj yim heev.Cov screws ntau dhau.Nov yog daim duab animated uas qhia lub koob yees duab qhib thiab kaw lub vaj huam sib luag:
Kuv xaiv qhov ua tiav Raspberry Pi 4 Model B hloov qhov me Pi Zero.Qhov no yog ib feem kom nce kev ceev thiab ib nrab vim kuv yog tus tshiab rau Raspberry Pi teb, yog li kuv nyiam siv nws.Pom tseeb, qhov me Pi Zero yuav ua si qee qhov zoo hauv qhov chaw nqaim ntawm Polaroid.Kev taw qhia rau Raspberry Pi yog dhau ntawm qhov kev qhia no, tab sis yog tias koj tshiab rau Raspberry Pi, muaj ntau yam kev pabcuam muaj nyob ntawm no.
Qhov kev pom zoo dav dav yog siv sijhawm qee lub sijhawm thiab ua siab ntev.Yog tias koj los ntawm Mac lossis PC keeb kwm yav dhau, ces koj yuav xav tau qee lub sijhawm kom paub koj tus kheej nrog cov nuances ntawm Pi.Koj yuav tsum tau siv rau cov kab hais kom ua thiab paub qee qhov kev paub txog Python coding.Yog tias qhov no ua rau koj ntshai (Kuv ntshai thaum xub thawj!), thov tsis txhob npau taws.Tsuav koj txais nws nrog kev ua siab ntev thiab ua siab ntev, koj yuav tau txais nws.Kev tshawb nrhiav hauv Internet thiab kev ua siab ntev tuaj yeem kov yeej yuav luag txhua yam teeb meem uas koj ntsib.
Daim duab saum toj no qhia qhov twg Raspberry Pi muab tso rau hauv lub koob yees duab Polaroid.Koj tuaj yeem pom qhov chaw sib txuas ntawm cov khoom siv hluav taws xob sab laug.Tsis tas li ntawd nco ntsoov tias cov kab sib faib grey txuas ntxiv raws qhov dav ntawm qhov qhib.Yeej, qhov no yog ua kom lub tshuab luam ntawv lean ntawm nws thiab cais Pi los ntawm lub tshuab luam ntawv.Thaum ntsaws rau hauv lub tshuab luam ntawv, koj yuav tsum tau ceev faj kom tsis txhob tawg tus pin taw tes ntawm tus cwj mem hauv daim duab.Cov zaub cable txuas mus rau cov pins ntawm no, thiab qhov kawg ntawm cov hlau uas tuaj nrog cov zaub yog hais txog ib feem peb ntawm ib nti ntev.Kuv yuav tsum ncua qhov kawg ntawm cov cables me ntsis kom lub tshuab luam ntawv tsis nias rau lawv.
Lub Raspberry Pi yuav tsum tau muab tso rau sab nrog USB chaw nres nkoj taw qhia rau pem hauv ntej.Qhov no tso cai rau USB maub los txuas los ntawm sab xub ntiag siv lub L-shaped adapter.Txawm hais tias qhov no tsis yog ib feem ntawm kuv txoj kev npaj thawj zaug, kuv tseem siv me me HDMI cable rau pem hauv ntej.Qhov no tso cai rau kuv kom yooj yim pop tawm lub vaj huam sib luag thiab txuas lub monitor thiab keyboard rau hauv Pi.
Lub koob yees duab yog Raspberry Pi V2 module.Qhov zoo tsis zoo li lub koob yees duab HQ tshiab, tab sis peb tsis muaj chaw txaus.Lub koob yees duab txuas nrog Raspberry Pi ntawm ib daim kab xev.Txiav ib lub qhov nyias nyob rau hauv lub lens uas lub ribbon hla tau.Cov ribbon yuav tsum tau twisted sab hauv ua ntej txuas mus rau Raspberry Pi.
Lub vaj huam sib luag pem hauv ntej ntawm Polaroid muaj lub tiaj tiaj, uas yog tsim rau mounting lub koob yees duab.Txhawm rau nruab nws, kuv siv daim kab xev ob sab.Koj yuav tsum ceev faj rau sab nraub qaum vim tias muaj qee qhov hluav taws xob ntawm lub koob yees duab lub koob yees duab uas koj tsis xav kom puas.Kuv tau siv qee daim kab xev los ua cov khoom siv los tiv thaiv cov khoom no los ntawm kev sib tsoo.
Muaj ob lub ntsiab lus ntxiv kom nco ntsoov hauv daim duab saum toj no, koj tuaj yeem pom yuav ua li cas nkag mus rau USB thiab HDMI chaw nres nkoj.Kuv siv L-shaped USB adapter los taw qhia qhov kev sib txuas mus rau sab xis.Rau lub HDMI cable nyob rau sab laug ces kaum, kuv siv ib tug 6-nti extension cable nrog ib tug L-shaped connector nyob rau lwm yam kawg.Koj tuaj yeem pom qhov no zoo dua hauv kuv daim video.
E Ink zoo li yog qhov kev xaiv zoo rau lub monitor vim tias cov duab zoo ib yam li cov duab luam tawm ntawm daim ntawv txais nyiaj.Kuv siv Waveshare 4.2-nti hluav taws xob ink zaub module nrog 400 × 300 pixels.
Electronic ink muaj qhov zoo analog uas kuv nyuam qhuav nyiam.Nws zoo li ntawv.Nws yog qhov txaus siab tiag tiag los tso saib cov duab ntawm qhov screen tsis muaj zog.Vim tias tsis muaj lub teeb ci rau lub zog pixels, thaum tsim cov duab, nws nyob ntawm qhov screen.Qhov no txhais tau hais tias txawm tias tsis muaj hwj chim, daim duab tseem nyob rau sab nraum qab ntawm Polaroid, uas ua rau kuv nco txog dab tsi daim duab kawg kuv tau coj.Raws li kev ncaj ncees, lub sijhawm rau lub koob yees duab muab tso rau ntawm kuv lub txee yuav ntev dua li thaum nws siv, tsuav yog tsis siv lub koob yees duab, lub koob yees duab yuav luag dhau los ua cov duab thaij duab, yog qhov kev xaiv zoo.Kev txuag hluav taws xob tsis yog qhov tseem ceeb.Nyob rau hauv sib piv rau lub teeb-raws li cov lus qhia uas tas li siv zog, E Ink tsuas yog siv lub zog thaum nws xav tau rov qab.
Electronic ink displays kuj muaj qhov tsis zoo.Qhov loj tshaj plaws yog ceev.Piv nrog rau cov teeb pom kev zoo, nws tsuas yog siv sijhawm ntev dua los qhib lossis tawm txhua pixel.Lwm qhov tsis zoo yog los kho qhov screen.Tus nqi kim E Ink saib tuaj yeem hloov kho ib nrab, tab sis tus qauv pheej yig dua yuav rov ua dua tag nrho lub vijtsam txhua zaus muaj kev hloov pauv.Cov nyhuv yog tias qhov screen ua xim dub thiab dawb, thiab tom qab ntawd cov duab zoo li upside down ua ntej cov duab tshiab tshwm.Nws tsuas siv sijhawm ib pliag kom ntsais, tab sis ntxiv.Tag nrho hauv tag nrho, nws yuav siv li 3 vib nas this rau qhov kev tshuaj ntsuam tshwj xeeb no los hloov kho los ntawm lub sijhawm khawm nias rau thaum daim duab tshwm rau ntawm qhov screen.
Lwm yam uas yuav tsum nco ntsoov yog tias, tsis zoo li lub khoos phis tawj cov duab uas tso saib desktops thiab nas, koj yuav tsum sib txawv nrog e-ink zaub.Yeej, koj tab tom qhia tus saib kom pom cov ntsiab lus ib pixel ib zaug.Hauv lwm lo lus, qhov no tsis yog ntsaws thiab ua si, koj xav tau qee qhov chaws kom ua tiav qhov no.Txhua lub sij hawm ib daim duab yog muab, lub luag hauj lwm ntawm kev kos duab ntawm lub monitor raug tua.
Waveshare muab cov tsav tsheb rau nws cov lus qhia, tab sis nws cov ntaub ntawv yog qhov txaus ntshai.Npaj siv sij hawm sib ntaus sib tua nrog lub monitor ua ntej nws ua haujlwm zoo.Nov yog cov ntaub ntawv ntawm qhov screen uas kuv siv.
Cov zaub muaj 8 xov hlau, thiab koj yuav txuas cov xov hlau mus rau tus pins ntawm Raspberry Pi.Nquag, koj tsuas tuaj yeem siv cov hlua uas tuaj nrog lub saib, tab sis txij li thaum peb ua haujlwm hauv qhov chaw nqaim, kuv yuav tsum txuas qhov kawg ntawm txoj hlua tsis siab dhau.Qhov no txuag txog ib feem peb ntawm ib nti ntawm qhov chaw.Kuv xav tias lwm txoj kev daws teeb meem yog txiav cov yas ntau dua los ntawm lub tshuab luam ntawv txais nyiaj.
Txhawm rau txuas cov zaub mus rau sab nraum qab ntawm Polaroid, koj yuav tho plaub qhov.Lub monitor muaj qhov rau mounting nyob rau hauv cov ces kaum.Muab cov zaub tso rau hauv qhov chaw uas xav tau, nco ntsoov tawm qhov chaw hauv qab no kom nthuav tawm daim ntawv txais nyiaj, tom qab ntawd kos thiab kos plaub qhov.Tom qab ntawd kaw qhov screen ntawm sab nraub qaum.Yuav muaj 1/4 nti qhov sib txawv ntawm sab nraub qaum ntawm Polaroid thiab sab nraub qaum ntawm tus saib.
Tej zaum koj yuav xav tias lub tshuab luam ntawv hluav taws xob muaj teeb meem ntau dua li qhov nws tsim nyog.Tej zaum koj yuav yog.Yog tias koj tab tom nrhiav ib qho kev xaiv yooj yim, koj yuav tsum tau nrhiav ib qho xim me me uas tuaj yeem txuas tau ntawm qhov chaw nres nkoj HDMI.Qhov tsis zoo yog tias koj yuav ib txwm saib ntawm lub desktop ntawm Raspberry Pi operating system, tab sis qhov zoo dua yog tias koj tuaj yeem ntsaws nws thiab siv nws.
Tej zaum koj yuav tau tshuaj xyuas seb lub tshuab luam ntawv txais nyiaj ua haujlwm li cas.Lawv tsis siv tus cwj mem.Hloov chaw, cov tshuab luam ntawv no siv cov ntawv thermal.Kuv tsis paub meej tias daim ntawv tau tsim li cas, tab sis koj tuaj yeem xav tias nws yog ib qho duab kos nrog cua sov.Thaum tshav kub mus txog 270 degrees Fahrenheit, cov cheeb tsam dub yog tsim.Yog tias daim ntawv yob yuav tsum kub txaus, nws yuav tig dub tag.Qhov txiaj ntsig loj tshaj plaws ntawm no yog tias tsis tas yuav siv tus cwj mem, thiab piv nrog cov yeeb yaj kiab Polaroid tiag tiag, tsis tas yuav muaj cov tshuaj lom neeg nyuaj.
Kuj tseem muaj qhov tsis zoo ntawm kev siv cov ntawv thermal.Pom tseeb, koj tuaj yeem ua haujlwm tsuas yog dub thiab dawb, tsis muaj xim.Txawm nyob rau hauv cov xim dub thiab dawb, tsis muaj qhov ntxoov grey.Koj yuav tsum kos cov duab tag nrog cov dots dub.Thaum koj sim kom tau txais txiaj ntsig ntau npaum li qhov ua tau los ntawm cov ntsiab lus no, koj yuav inevitably poob rau hauv qhov teeb meem ntawm kev nkag siab jitter.Kev saib xyuas tshwj xeeb yuav tsum tau them rau Floyd-Steinberg algorithm.Kuv yuav cia koj taug kev ntawm tus luav ntawm koj tus kheej.
Thaum koj sim siv cov kev sib txawv sib txawv thiab cov txheej txheem dithering, koj yuav inevitably ntsib ntev strips ntawm cov duab.Qhov no yog ib feem ntawm ntau selfies uas kuv tau honed nyob rau hauv cov duab zoo tagnrho tso zis.
Tus kheej, kuv nyiam qhov tsos ntawm dithered dluab.Thaum lawv qhia peb yuav ua li cas pleev xim los ntawm kev stippling, nws ua rau kuv nco txog kuv thawj chav kawm kos duab.Nws yog qhov tshwj xeeb zoo, tab sis nws txawv ntawm qhov kev sib tw du ntawm kev yees duab dub thiab dawb uas peb tau raug cob qhia kom txaus siab.Kuv hais qhov no vim tias lub koob yees duab no txawv ntawm kev coj noj coj ua thiab cov duab tshwj xeeb uas nws tsim yuav tsum raug suav tias yog "kev ua haujlwm" ntawm lub koob yees duab, tsis yog "kab laum".Yog tias peb xav tau daim duab qub, peb tuaj yeem siv lwm lub koob yees duab rau cov neeg siv khoom hauv khw thiab txuag qee cov nyiaj tib lub sijhawm.Lub ntsiab lus ntawm no yog ua ib yam dab tsi tshwj xeeb.
Tam sim no koj nkag siab txog thermal luam ntawv, cia peb tham txog cov tshuab luam ntawv.Lub tshuab luam ntawv txais nyiaj kuv siv tau yuav los ntawm Adafruit.Kuv yuav lawv "Mini Thermal Receipt Printer Starter Pack", tab sis koj tuaj yeem yuav nws nyias yog tias xav tau.Hauv kev xav, koj tsis tas yuav yuav lub roj teeb, tab sis koj yuav xav tau lub hwj chim adapter kom koj tuaj yeem ntsaws rau hauv phab ntsa thaum kuaj.Lwm qhov zoo yog tias Adafruit muaj cov lus qhia zoo uas yuav ua rau koj ntseeg siab tias txhua yam yuav mus ib txwm.Pib los ntawm qhov no.
Kuv vam tias lub tshuab luam ntawv tuaj yeem haum Polaroid yam tsis muaj kev hloov pauv.Tab sis nws loj dhau lawm, yog li koj yuav tau qoob loo lub koob yees duab lossis luas lub tshuab luam ntawv.Kuv tau xaiv los kho lub tshuab luam ntawv vim tias ib feem ntawm qhov kev thov rov hais dua ntawm qhov project yog kom Polaroid zoo li ntau li ntau tau.Adafruit tseem muag cov tshuab luam ntawv txais nyiaj yam tsis muaj lub thawv.Qhov no txuag tau qee qhov chaw thiab ob peb duas las, thiab tam sim no kuv paub tias txhua yam ua haujlwm li cas, kuv yuav siv lub sijhawm tom ntej kuv tsim ib yam dab tsi zoo li no.Txawm li cas los xij, qhov no yuav ua rau muaj kev sib tw tshiab, uas yog txiav txim siab yuav ua li cas tuav daim ntawv yob.Tej yaam num zoo li no yog txhua yam hais txog kev tsis sib haum xeeb thiab cov teeb meem ntawm kev xaiv los daws.Koj tuaj yeem pom hauv qab daim duab lub kaum sab xis uas yuav tsum tau txiav kom lub tshuab luam ntawv haum.Qhov kev txiav no kuj tseem yuav tshwm sim ntawm sab xis.Thaum txiav, thov ceev faj kom tsis txhob muaj lub tshuab luam ntawv cov xov hlau thiab cov khoom siv hluav taws xob sab hauv.
Ib qho teeb meem nrog Adafruit tshuab luam ntawv yog qhov zoo sib txawv nyob ntawm seb lub zog siv.Lawv pom zoo kom siv 5v fais fab mov.Nws muaj txiaj ntsig zoo, tshwj xeeb tshaj yog rau cov ntawv luam tawm.Qhov teeb meem yog tias thaum koj luam ib daim duab, cov cheeb tsam dub zoo li yuav ci dua.Lub zog yuav tsum tau ua kom sov tag nrho qhov dav ntawm daim ntawv yog ntau dua thaum luam ntawv, yog li cov xim dub yuav dhau los ua grey.Nws nyuaj rau yws, cov tshuab luam ntawv no tsis tsim los luam cov duab tom qab tag nrho.Lub tshuab luam ntawv tsis tuaj yeem tsim kom muaj cua sov txaus thoob plaws qhov dav ntawm daim ntawv ib zaug.Kuv sim qee lwm cov hlua hluav taws xob nrog cov khoom sib txawv, tab sis tsis muaj kev vam meej ntau.Thaum kawg, nyob rau hauv txhua rooj plaub, kuv yuav tsum tau siv cov roj teeb rau lub hwj chim, yog li kuv tso tseg txoj kev sim fais fab.Tsis xav txog, lub 7.4V 850mAh Li-PO rechargeable roj teeb kuv xaiv ua cov nyhuv luam tawm ntawm tag nrho cov hwj chim qhov chaw kuv sim qhov tsaus ntuj tshaj plaws.
Tom qab txhim kho lub tshuab luam ntawv rau hauv lub koob yees duab, txiav ib lub qhov nyob rau hauv lub monitor kom haum nrog cov ntawv tawm ntawm lub tshuab luam ntawv.Txhawm rau txiav daim ntawv txais nyiaj, kuv siv cov hniav ntawm lub qub ntim daim kab xev txiav.
Ntxiv nrog rau qhov tso zis dub ntawm qhov chaw, lwm qhov tsis zoo yog banding.Thaum twg lub tshuab luam ntawv nres kom tau txais cov ntaub ntawv raug pub, nws yuav tawm qhov sib txawv me me thaum nws pib luam ntawv dua.Hauv txoj kev xav, yog tias koj tuaj yeem tshem tawm qhov tsis thiab cia cov ntaub ntawv ntws mus tas li rau hauv lub tshuab luam ntawv, koj tuaj yeem zam qhov sib txawv no.Tseeb tiag, qhov no zoo li yog ib qho kev xaiv.Lub vev xaib Adafruit hais txog cov ntaub ntawv tsis muaj ntaub ntawv rub tawm ntawm lub tshuab luam ntawv, uas tuaj yeem siv los khaws cov khoom sib txuas.Kuv tsis tau sim qhov no vim kuv tsis paub tias nws ua haujlwm li cas.Yog tias koj daws qhov teeb meem no, thov qhia koj txoj kev vam meej nrog kuv.Qhov no yog lwm pawg ntawm selfies qhov twg koj tuaj yeem pom meej cov qhab.
Nws yuav siv 30 vib nas this los luam daim duab.Qhov no yog ib daim vis dis aus ntawm lub tshuab luam ntawv khiav, yog li koj tuaj yeem xav tias nws siv sijhawm ntev npaum li cas los luam cov duab.Kuv ntseeg tias qhov xwm txheej no yuav nce ntxiv yog tias siv Adafruit hacks.Kuv xav tias lub sij hawm ncua ntawm kev luam ntawv yog qeeb qeeb, uas tiv thaiv lub tshuab luam ntawv tsis pub dhau qhov ceev ntawm cov ntaub ntawv tsis.Kuv hais qhov no vim kuv nyeem tias daim ntawv ua ntej yuav tsum tau synchronized nrog lub tshuab luam ntawv taub hau.Tej zaum kuv yuav yuam kev.
Ib yam li E-ink zaub, nws yuav siv qee qhov ua siab ntev los ua kom lub tshuab luam ntawv ua haujlwm.Yog tsis muaj tus tsav tsheb luam ntawv, koj yeej siv cov lej xa cov ntaub ntawv ncaj qha mus rau lub tshuab luam ntawv.Ib yam li ntawd, cov peev txheej zoo tshaj plaws yuav yog Adafruit lub vev xaib.Cov cai hauv kuv GitHub repository yog yoog los ntawm lawv cov piv txwv, yog li yog tias koj ntsib teeb meem, Adafruit cov ntaub ntawv yuav yog qhov koj xaiv zoo tshaj.
Ntxiv rau qhov zoo ntawm nostalgic thiab retro, qhov zoo ntawm SNES maub los yog nws muab rau kuv nrog qee qhov kev tswj hwm uas kuv tsis tas yuav xav ntau dhau.Kuv yuav tsum mob siab rau kom tau txais lub koob yees duab, tshuab luam ntawv, thiab saib xyuas ua haujlwm ua ke, thiab muaj tus tswj hwm uas twb muaj lawm uas tuaj yeem ua daim ntawv qhia kuv lub luag haujlwm kom yooj yim dua.Tsis tas li ntawd, kuv twb muaj kev paub siv kuv lub koob yees duab Coffee Stirrer, yog li kuv tuaj yeem pib tau yooj yim.
Tus maub los rov qab txuas nrog ntawm USB cable.Txhawm rau thaij duab, nias lub pob A.Txhawm rau luam daim duab, nias lub pob B.Txhawm rau rho tawm daim duab, nias lub pob X.Txhawm rau tshem tawm cov zaub, kuv tuaj yeem nias lub khawm Y.Kuv tsis tau siv qhov pib / xaiv cov nyees khawm lossis sab laug / txoj cai khawm nyob rau saum toj, yog li yog tias kuv muaj cov tswv yim tshiab yav tom ntej, lawv tseem tuaj yeem siv rau cov yam ntxwv tshiab.
Raws li rau cov pob xub xub, cov nyees khawm sab laug thiab sab xis ntawm lub keypad yuav voj voog los ntawm tag nrho cov duab kuv tau coj.Nias mus tam sim no tsis ua haujlwm.Nias yuav ua rau daim ntawv ntawm lub tshuab luam ntawv txais nyiaj.Qhov no yooj yim heev tom qab luam tawm daim duab, Kuv xav nti tawm ntau daim ntawv ua ntej nws tawg.Paub tias lub tshuab luam ntawv thiab Raspberry Pi sib txuas lus, qhov no kuj yog ib qho kev sim ceev.Kuv nias, thiab thaum kuv hnov cov ntawv pub, kuv paub tias lub tshuab luam ntawv lub roj teeb tseem them thiab npaj siv.
Kuv siv ob lub roj teeb hauv lub koob yees duab.Ib lub zog rau Raspberry Pi thiab lwm lub zog rau lub tshuab luam ntawv.Hauv txoj kev xav, koj txhua tus tuaj yeem khiav nrog tib lub zog, tab sis kuv tsis xav tias koj muaj lub zog txaus los khiav lub tshuab luam ntawv tag nrho.
Rau Raspberry Pi, kuv yuav lub roj teeb me tshaj plaws uas kuv tuaj yeem nrhiav tau.Zaum hauv Polaroid, feem ntau ntawm lawv yog zais.Kuv tsis nyiam qhov tseeb tias txoj hlua hluav taws xob yuav tsum txuas mus rau pem hauv ntej mus rau lub qhov ua ntej txuas mus rau Raspberry Pi.Tej zaum koj tuaj yeem nrhiav txoj hauv kev los nyem lwm lub roj teeb hauv Polaroid, tab sis tsis muaj ntau qhov chaw.Qhov tsis zoo ntawm kev tso lub roj teeb rau hauv yog tias koj yuav tsum qhib lub nraub qaum kom qhib thiab kaw lub cuab yeej.Tsuas yog tshem lub roj teeb kom tua lub koob yees duab, uas yog qhov kev xaiv zoo.
Kuv siv USB cable nrog rau kev hloov pauv ntawm CanaKit.Tej zaum kuv yuav ntxim hlub me ntsis rau lub tswv yim no.Kuv xav tias Raspberry Pi tuaj yeem qhib thiab tawm nrog lub pob no xwb.Qhov tseeb, disconnecting USB los ntawm lub roj teeb yog ib qho yooj yim.
Rau lub tshuab luam ntawv, kuv siv 850mAh Li-PO rechargeable roj teeb.Lub roj teeb zoo li no muaj ob lub xov hlau tawm ntawm nws.Ib qho yog qhov tso zis thiab lwm qhov yog lub charger.Yuav kom ua tiav "kev sib txuas ceev" ntawm cov zis, kuv yuav tsum tau hloov cov khoom txuas nrog lub hom phiaj 3-hlau txuas.Qhov no yog qhov tsim nyog vim kuv tsis xav kom tshem tawm tag nrho lub tshuab luam ntawv txhua zaus kuv yuav tsum tau txiav lub hwj chim.Nws yuav zoo dua los hloov ntawm no, thiab kuv tuaj yeem txhim kho nws yav tom ntej.Txawm zoo dua, yog tias qhov hloov pauv nyob rau sab nraud ntawm lub koob yees duab, ces kuv tuaj yeem tshem tawm lub tshuab luam ntawv yam tsis tau qhib lub qhov rooj rov qab.
Lub roj teeb nyob tom qab lub tshuab luam ntawv, thiab kuv rub lub qaum tawm kom kuv tuaj yeem txuas thiab txiav lub zog raws li xav tau.Txhawm rau kom them lub roj teeb, ib qho kev sib txuas USB kuj tau muab los ntawm lub roj teeb.Kuv kuj tau piav qhia qhov no hauv video, yog li yog tias koj xav nkag siab nws ua haujlwm li cas, thov mus saib nws.Ib yam li kuv tau hais, qhov txiaj ntsig xav tsis thoob yog tias qhov chaw no tsim cov txiaj ntsig zoo dua piv rau kev txuas ncaj qha rau phab ntsa.
Nov yog qhov uas kuv yuav tsum tau muab qhov tsis lees paub.Kuv tuaj yeem sau tau zoo Python, tab sis kuv tsis tuaj yeem hais tias nws zoo nkauj.Tau kawg, muaj txoj hauv kev zoo dua los ua qhov no, thiab cov programmer zoo dua tuaj yeem txhim kho kuv cov lej zoo.Tab sis raws li kuv hais, nws ua haujlwm.Yog li ntawd, kuv yuav qhia kuv GitHub repository nrog koj, tab sis kuv yeej tsis tuaj yeem muab kev txhawb nqa.Vam tias qhov no yog qhov txaus los qhia koj tias kuv tab tom ua dab tsi thiab koj tuaj yeem txhim kho nws.Qhia koj cov kev txhim kho nrog kuv, Kuv yuav zoo siab los hloov kho kuv cov lej thiab muab credit rau koj.
Yog li ntawd, nws tau xav tias koj tau teeb tsa lub koob yees duab, saib xyuas thiab tshuab luam ntawv, thiab tuaj yeem ua haujlwm ib txwm.Tam sim no koj tuaj yeem khiav kuv tsab ntawv Python hu ua "digital-polaroid-camera.py".Thaum kawg, koj yuav tsum teeb tsa Raspberry Pi kom tau txais tsab ntawv no thaum pib, tab sis tam sim no, koj tuaj yeem khiav nws los ntawm Python editor lossis lub davhlau ya nyob twg.Cov hauv qab no yuav tshwm sim:
Kuv sim ntxiv cov lus qhia rau tus lej los piav qhia qhov tshwm sim, tab sis muaj qee yam tshwm sim thaum thaij duab thiab kuv yuav tsum tau piav qhia ntxiv.Thaum yees duab, nws yog xim puv, daim duab puv loj.Cov duab tau txais kev cawmdim nyob rau hauv ib daim ntawv tais ceev tseg.Qhov no yog qhov yooj yim vim tias yog tias koj xav siv nws tom qab, koj yuav muaj cov duab zoo li qub.Hauv lwm lo lus, lub koob yees duab tseem tab tom tsim ib txwm JPG zoo li lwm lub koob yees duab digital.
Thaum lub yees duab yog muab, ib daim duab thib ob yuav raug tsim, uas yog optimized rau zaub thiab luam ntawv.Siv ImageMagick, koj tuaj yeem hloov pauv cov duab qub thiab hloov nws mus rau xim dub thiab dawb, thiab tom qab ntawd thov Floyd Steinberg dithering.Kuv kuj tuaj yeem ua kom qhov sib txawv hauv cov kauj ruam no, txawm hais tias qhov no tau muab tua los ntawm lub neej ntawd.
Daim duab tshiab tau txais kev cawmdim ob zaug.Ua ntej, txuag nws ua jpg dub thiab dawb kom nws tuaj yeem pom thiab siv dua tom qab.Qhov thib ob txuag yuav tsim ib cov ntaub ntawv nrog ib tug .py extension.Qhov no tsis yog ib daim duab zoo tib yam, tab sis yog ib txoj cai uas siv tag nrho cov ntaub ntawv pixel los ntawm cov duab thiab hloov mus rau hauv cov ntaub ntawv uas tuaj yeem xa mus rau lub tshuab luam ntawv.Raws li kuv tau hais hauv ntu tshuab luam ntawv, cov kauj ruam no yog qhov tsim nyog vim tias tsis muaj tus tsav luam ntawv, yog li koj tsis tuaj yeem xa cov duab ib txwm rau lub tshuab luam ntawv.
Thaum lub khawm nias thiab cov duab luam tawm, kuj tseem muaj qee cov lej beep.Qhov no yog xaiv tau, tab sis nws yog qhov zoo kom tau txais qee cov lus pom zoo los qhia rau koj paub tias muaj qee yam tshwm sim.
Lub sij hawm dhau los, kuv tsis tuaj yeem txhawb nqa cov cai no, nws yog los taw qhia koj rau txoj kev yog.Thov siv nws, hloov kho, txhim kho nws thiab ua koj tus kheej.
Qhov no yog ib qhov project nthuav.Hauv kev pom tom qab, kuv yuav ua qee yam txawv lossis tej zaum yuav hloov kho nws yav tom ntej.Thawj yog tus tswj.Txawm hais tias SNES maub los tuaj yeem ua raws nraim qhov kuv xav ua, nws yog ib qho kev daws teeb meem.Cov hlau raug thaiv.Nws yuam kom koj tuav lub koob yees duab ntawm ib sab tes thiab tus tswj hwm hauv lwm qhov.txaj muag kawg li.Ib qho kev daws teeb meem yuav yog tshem cov nyees khawm ntawm tus maub los thiab txuas ncaj qha rau lub koob yees duab.Txawm li cas los xij, yog tias kuv xav daws qhov teeb meem no, kuv kuj tseem yuav tso tseg SNES tag nrho thiab siv cov nyees khawm ntau dua.
Lwm qhov tsis yooj yim ntawm lub koob yees duab yog tias txhua zaus lub koob yees duab qhib lossis kaw, lub hau rov qab yuav tsum tau qhib kom txiav lub tshuab luam ntawv los ntawm lub roj teeb.Nws zoo nkaus li tias qhov no yog qhov tsis tseem ceeb, tab sis txhua zaus lub nraub qaum qhib thiab kaw, daim ntawv yuav tsum tau rov qab los ntawm qhov qhib.Qhov no nkim ib co ntawv thiab siv sij hawm.Kuv tuaj yeem txav cov xaim thiab txuas cov xaim mus rau sab nraud, tab sis kuv tsis xav kom cov khoom no nthuav tawm.Qhov kev daws teeb meem zoo tshaj plaws yog siv lub tshuab hluav taws xob qhib / tawm uas tuaj yeem tswj lub tshuab luam ntawv thiab Pi, uas tuaj yeem nkag tau los ntawm sab nraud.Nws kuj tseem tuaj yeem nkag mus rau lub tshuab luam ntawv charger chaw nres nkoj ntawm lub koob yees duab pem hauv ntej.Yog tias koj tab tom ua haujlwm nrog qhov project no, thov xav daws qhov teeb meem no thiab qhia koj cov kev xav rau kuv.
Qhov kawg paub tab kom hloov kho yog lub tshuab luam ntawv txais nyiaj.Lub tshuab luam ntawv kuv siv yog qhov zoo rau kev luam ntawv, tab sis tsis yog rau cov duab.Kuv tau nrhiav qhov kev xaiv zoo tshaj plaws los txhim kho kuv lub tshuab luam ntawv thermal receipt, thiab kuv xav tias kuv tau pom nws.Kuv qhov kev sim ua ntej tau pom tias lub tshuab luam ntawv tau txais txiaj ntsig nrog 80mm ESC / POS tuaj yeem tsim cov txiaj ntsig zoo tshaj plaws.Qhov kev sib tw yog nrhiav lub roj teeb me me thiab siv roj teeb.Qhov no yuav yog ib feem tseem ceeb ntawm kuv qhov project koob yees duab tom ntej, thov ua tib zoo mloog kuv cov lus qhia rau lub koob yees duab thermal printer.
PS: Qhov no yog ib tsab xov xwm ntev heev, Kuv paub tseeb tias kuv tsis nco qab qee cov ntsiab lus tseem ceeb.Raws li lub koob yees duab yuav inevitably yuav tsum tau txhim kho, kuv yuav hloov kho nws dua.Kuv vam tias koj yuav nyiam zaj dab neeg no.Tsis txhob hnov qab ua raws kuv (@ade3) ntawm Instagram yog li koj tuaj yeem ua raws li daim duab no thiab lwm yam kev yees duab taug txuj kev nyuaj.Ua kom muaj tswv yim.
Txog tus sau: Adrian Hanft yog tus kws yees duab thiab lub koob yees duab zoo siab, tus tsim qauv, thiab tus kws sau ntawv "User Zero: Inside the Tool" (User Zero: Inside the Tool).Cov kev xav uas tau hais hauv kab lus no tsuas yog cov neeg sau ntawv xwb.Koj tuaj yeem pom ntau cov haujlwm thiab ua haujlwm ntawm Hanft ntawm nws lub vev xaib, blog thiab Instagram.Kab lus no kuj tau luam tawm ntawm no.
Post lub sij hawm: May-04-2021