Cov txheej txheem:

Cassette Pi IoT Scroller: 7 Kauj Ruam (nrog Duab)
Cassette Pi IoT Scroller: 7 Kauj Ruam (nrog Duab)

Video: Cassette Pi IoT Scroller: 7 Kauj Ruam (nrog Duab)

Video: Cassette Pi IoT Scroller: 7 Kauj Ruam (nrog Duab)
Video: 10 самых АТМОСФЕРНЫХ мест Дагестана. БОЛЬШОЙ ВЫПУСК #Дагестан #ПутешествиеПоДагестану 2024, Hlis ntuj nqeg
Anonim
Image
Image
Cassette Pi IoT Scroller
Cassette Pi IoT Scroller
Cassette Pi IoT Scroller
Cassette Pi IoT Scroller

Cassette Pi yog tus kheej-muaj lub sijhawm ceeb toom cov ntawv xov xwm, txhua lub tsev zoo nyob hauv ib daim kab xev kab xev pob tshab. Raspberry Pi Zero tau sib sau ua ke ntawm ob daim kab xev, rub tawm txhua yam hauv Is Taws Nem ntawm Cov Ntawv Ceeb Toom los ntawm qhov tsis txaus ntseeg IFTTT (Yog Qhov No, Tom Qab Ntawd) qhov kev pabcuam, xa yuav luag tam sim ntawd rau Pi ntawm Adafruit. IO pub thiab Python tsab ntawv. Tag nrho cov kab xev vibrates ceeb toom rau koj rau cov ntawv ceeb toom tuaj, thiab cov ntawv tom qab ntawd tau nqes mus kom meej meej hla Pimoroni 11x7 LED zaub.

Txhua yam yog siv los ntawm 150mAh LiPo roj teeb, txuas nrog Pi ntawm LiPo Shim - tseem nyob hauv daim kab xev yog Adafruit Micro Lipo yog li thaum lub roj teeb qis qis nws tuaj yeem txuas ncaj qha rau hauv Micro USB lub zog siv los tuav qee cov kua txiv.

Qhov lom zem tshaj plaws yog qhov ua tsaug rau qee qhov kev txiav ntawm Pi nws tus kheej, daim kab xev tseem tuaj yeem haum sab hauv cov kab xev qub qub, tig qhov qub qub kom dhau los ua haujlwm zoo thiab zoo nkauj hauv Internet ntawm Yam khoom.

Cassette Pi yog qhov zoo tshaj plaws rau kev siv ua lub cim sib tham ib yam nkaus, tsaws los ntawm txoj hlua hlua thiab rub koj lub npe lossis cov lus tshwj xeeb.

Nyob rau hauv rooj plaub koj tsis tuaj yeem pom cov vis dis aus koj tuaj yeem pom nws ntawm https://www.youtube.com/embed/kgY40e9mi8w- nws zoo tsim nyog saib kom pom qhov me me scroller hauv kev nqis tes ua!

Khoom siv

Kab xev xev

Raspberry Pi Zero W.

Pimoroni LiPo Shim

Pimoroni 11x7 LED tawg

Adafruit Micro LiPo

150mAh LiPo Roj teeb

1x DPDT 6-davhlau ya nyob twg swb hloov

Ua siab ntev

Kauj Ruam 1: Kev tshoov siab & Kev Npaj

Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj
Kev tshoov siab & Kev Npaj

Kuv tau txais kev tshoov siab los tsim Cassette Pi los ntawm "Clear Tech" kev sib tw ntawm 80s thiab 90s, thaum cov cuab yeej pib tso tawm hauv kev saib-dhau cov qauv, nrog txhua qhov khoom siv ntawm kev ua yeeb yam. Kuv kuj tseem txaus siab pom tias nws muaj peev xwm ua kom haum qhov project Pi tus kheej sab hauv daim kab xev kab xev, ua cov cuab yeej siv tau thiab muaj txiaj ntsig zoo uas tseem yuav haum hauv cov kab xev qub.

Lub hauv paus pib yog txheej txheej ntawm lub zog, siv lub roj teeb LiPo, LiPo Shim thiab Micro Lipo, txuas nrog ntawm DPDT (Ob Chav Ncej Ob Leeg Pov) swb - Kuv siv qhov teeb tsa zoo sib xws hauv Flirt Pi Radio project thiab nws yog ua pov thawj los ua kev ntseeg tau ua ke. Qhov hloov pauv ntawm ob lub xeev, sib txuas txuas lub roj teeb me me rau Pi lossis rau Micro USB them nyiaj, zoo rau qhov haujlwm me me.

Tom ntej no tuaj cov zaub - Kuv siv Pimoroni 11x7 LED zaub vim nws yog qhov nyias thiab lub teeb, ua rau nws zoo meej rau qhov kev tsim no. Nws tseem yooj yim tib yam li daim kab xev kab xev "qhov rai", uas nyiam kuv heev rau nws. Thaum kawg kuv tau txais ib nrab kaum ob lub me me 3v vibrator units los ntawm eBay, ntxiv rau qee qhov lus teb haptic. Sib sau ua ke txhua qhov yog qhov yooj yim, tam sim no txhua yam kuv yuav tsum tau ua yog haum lawv hauv kab xev!

Kauj ruam 2: Soldering

Soldering
Soldering
Soldering
Soldering
Soldering
Soldering

Kuv pib los ntawm kev teeb tsa cov khoom siv hluav taws xob sab hauv daim kab xev uas tau muab tshem tawm, ntsuas & xa cov kab hluav taws xob nruab nrab ntawm lawv kom lawv yuav tsum yog qhov ntev raug yog yam tsis thaiv cov kab xev lossis ua kom tuab tuab, Sab hauv ntawm kab xev tsuas yog hais txog 4-5mm yog li qhov no coj ntau qhov kev sim thiab yuam kev!

Micro LiPo thiab LiPo shim cov laug cam tau ua tiav nrog 2 -tus pin JST txuas tab sis cov no tau tuab dhau kom haum rau sab hauv, thiab yuav tsum tau xa mus rau ib nrab ntawm lawv qhov siab - yooj yim txawm hais tias ob lub rooj sib tham muaj lawv cov roj teeb txuas txuas tawg rau cov ntsiab lus solder Kuv muaj peev xwm xaim lawv mus rau ib leeg ncaj qha.

Tom ntej no kuv ua tib zoo soldered hauv Pi nws tus kheej, txuas nws mus rau LiPo Shim thiab ntxiv hauv cov xov tooj rau cov zaub. Thaum kawg kuv tau siv cov khoom me me vibrator rau GPIO.

Kauj ruam 3: Pi Nibbling

Pi Nibbling
Pi Nibbling
Pi Nibbling
Pi Nibbling

Haum Pi Zero ntawm cov kab xev xev yog qhov tsis muaj qhov xav tau, tsis muaj qhov pom qhov twg ntxiv uas nws tuaj yeem mus thiab tseem tshuav qhov chaw txaus. Tom qab ib ntus txawm tias kuv paub tias qhov no yuav ua rau muaj teeb meem. Txawm hais tias Pi haum zoo, tsuas yog peep tawm txog 1mm los ntawm sab saum toj thiab tsis ua kom tsis pom lub qhov taub, Kuv tsis tau txiav txim siab tias cov neeg siv kab xev nplaum cov hlau me me los ntawm kab xev, los pab coj daim kab xev. Raws li nws sawv ntawm qhov spikes yuav poke ncaj qha rau hauv Pi board, ua rau nws tsis tuaj yeem haum sab hauv tus neeg qub.

Nrhiav kev daws teeb meem online Kuv tau hla qee qhov duab xoo hluav taws xob zoo heev ntawm Pi Zero los ntawm cov neeg siv flickr UltraPurple (Giles Nyeem) - kaw kev tshuaj xyuas cov duab qhia tias kuv tuaj yeem khiav tawm nrog nibbling deb ntawm qee lub rooj tsavxwm, ua chav txaus rau pesky spikes thiab tseem tawm ntawm Pi ua haujlwm tsis tu ncua. Kuv mob siab rau ua qhov no vim tias kuv tsis xav ua kom puas tus Pi, tab sis ua tsis taus pa, laum thiab cov ntawv me thiab teeb tsa ua haujlwm. Kuv muaj peev xwm txiav tawm ob lub kaum hauv qab ntawm pawg thawj coj tau yooj yim heev, thiab zoo siab heev thaum Pi pib tom qab.

Kauj Ruam 4: Daim Kab Xev Trimming

Daim kab xev Trimming
Daim kab xev Trimming
Daim kab xev Trimming
Daim kab xev Trimming

Txawm hais tias tau txiav qis feem ntau ntawm cov khoom siv los ua kom haum, txiav kuj tseem xav tau sab hauv lub cev kab xev kom tso cai rau lawv haum rau sab hauv. Kuv tau rhuav tshem kwv yees li ib nrab-kaum kaum kab xev qub sim nrog cov cuab yeej sib txawv thiab cov txheej txheem rau txoj haujlwm no, tab sis tseem tau mus txog qhov kawg "huv" version heev. Txog tam sim no kuv tau mus rau kuv daim kab xev pom kawg (yuav pristine thiab tsis tau qhib los ntawm lub khw kev siab hlub) thiab xav ua kom nws tsis khawb dawb li sai tau.

Txhawm rau ua tiav qhov no kuv kaw cov ntawv nplaum hla qhov tsis yooj yim sua thiab siv lub rooj ntev zaum-nias tuav rau kuv cov cuab yeej hloov pauv yog li kuv yuav muaj kev tswj hwm nws zoo dua. Tej zaum nws yuav siv sijhawm kwv yees li 2 teev kom ua tib zoo nibble tseg cov khoom me me ntawm cov yas, tab sis kuv tswj hwm kom tsis txhob khawb nws ntau dhau.

Tom ntej no kuv tuav tus kheej cov laug cam nyob hauv qhov chaw, khij nrog tus cwj mem CD zoo uas txhua qhov sib koom ua ke yuav mus. Cov laug tsuas yog nyam tawm sab nraum qab ntawm lub rooj tsavxwm txog 1 hli tab sis txawm tias qhov no txaus los ua kom lub rooj sib dhos tuab dhau, yog li txhua txoj hlua txuas yuav tsum muaj lub qhov kom raug qhov drilled kom haum nws. txhua yam tau nruj heev ntawm cov khoom seem hauv lawv lub qhov tau tuav cov khoom nyob hauv qhov chaw, txhais tau tias lawv tsis tas yuav tsum tau glued lossis bolted.

Kauj ruam 5: Txoj Cai

Txoj Cai
Txoj Cai

Cassette Pi tsab ntawv khaws cov ntawv ceeb toom los ntawm Adafruit.io pub, txheeb xyuas nws txhua ob peb feeb rau cov ntsiab lus tshiab. Cov khoom noj no tau suav nrog los ntawm IFTTT (Yog Qhov No, Tom Qab Ntawd) qhov kev pabcuam, uas khaws cov ntaub ntawv los ntawm ntau qhov kev pabcuam online.

Siv Adafruit.io pub txhawm rau khaws cov ntaub ntawv yog qhov zoo tshaj rau daim ntawv thov no - yog tias koj tseem tsis tau sim nws koj tseem tuaj yeem tsim tus as khauj dawb ntawm https://io.adafruit.com/ - koj yuav tau txais Tus lej thiab Lub npe siv ua ib feem ntawm cov txheej txheem no, ob qho tib si uas tau siv hauv Cassette Pi tsab ntawv, uas tau muab los ntawm ntau Adafruit Python Piv txwv. Tsab ntawv no thiab ntau tus piv txwv xav tau koj kom muaj Adafruit.io pub teeb tsa ua ntej, thiab lawv muaj cov lus qhia zoo rau txheej txheem.

Thaum koj tau teeb tsa kev teeb tsa, koj tuaj yeem nruab adafruit.io cov qauv ntawm koj li Raspberry Pi los ntawm kev ntaus yooj yim …

pip3 nruab adafruit-io

.. rau hauv lub qhov rai davhlau ya nyob twg. Nrog cov txheej txheem teeb tsa tam sim no koj tuaj yeem siv Python kom yooj yim khaws cov ntaub ntawv los ntawm kev pub khoom noj, ntxiv rau xa cov ntaub ntawv rau nws los ntawm koj tus Pi, piv txwv li kom muaj Adafruit.io dashboard.

Nrog pub thiab khiav koj yuav xav txuas nws mus rau IFTTT, yog li koj tuaj yeem xa cov ntaub ntawv mus rau nws los ntawm lwm cov kev pabcuam online. Nkag mus rau IFTTT (kos npe tsis pub dawb) thiab tshawb rau Adafruit hauv Cov Ntawv Qhia Kev Pabcuam. Ua raws cov kauj ruam txuas koj tus account. Tam sim no koj tuaj yeem tsim Applets txhawm rau khaws cov ntaub ntawv los ntawm cov kev pabcuam online thiab xa nws mus rau koj Pi!

Txhua tus ntawm cov ntaub ntawv sib txuas rau txoj haujlwm no tau teeb tsa hauv IFTTT lub vev xaib, siv cov kev pabcuam hauv qab no:

  • Ntaus Hauv - rau cov ntawv ceeb toom roj teeb thiab ceeb toom los ntawm cov apps tshwj xeeb, xws li thaum Amazon app hais tias pob khoom nyob ze.
  • WebHooks - rau kev ceeb toom nkag los ntawm lwm yam khoom siv IoT, xws li kev ntsuas pom los ntawm peb lub koob yees duab MotionEye lossis YouTube tus lej tso npe nkag los ntawm E -Ink YouTube Counter.
  • Twitter - los tso tawm tweets los ntawm cov lej tshwj xeeb, xws li @Raspberry_Pi, @GuardianNews thiab @FactSoup.
  • RSS Pub - kom ceeb toom rau kuv thaum lub sijhawm podcast tshiab muaj.
  • Huab Cua Hauv Qab - zoo rau kev hloov pauv huab cua, kub thiab ceeb toom ceeb toom.
  • Google Assistant - muaj txiaj ntsig zoo rau kev hais lus lub suab kom hloov pauv mus rau cov ntawv thiab scrolled los ntawm kab xev.

Cov lus saum toj no tsuas yog ib qho piv txwv me me ntawm cov kev pabcuam uas tuaj yeem ntxiv rau IFTTT raws li "Yog Qhov No" ntu ntawm qhov txuas, nrog txhua tus ntawm lawv ua cov ntaub ntawv nkag mus rau "Tom Qab Ntawd" sab, uas txuas rau Adafruit.io pub. Qhov zoo tshaj plaws ntawm qhov no yog cov ntawv tuaj yeem hloov kho, yog li piv txwv thaum Cov Kev Pabcuam Huab Cua Hauv Nroog hais tias kuv lub zog cua nyob hauv ib cheeb tsam siab dua 40mph cov ntawv uas tau dhau mus rau Adafruit thiab nqes mus yog "Hav nws muaj cua hlob me ntsis nyob ntawd".

Tsab ntawv kuv tau siv yog muaj nyob ntawm GitHub, thiab tuaj yeem hloov kho tau yooj yim los ua haujlwm nrog LED / LCD sib txawv.

Kauj Ruam 6: Sib dhos

Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke
Los ua ke

Kev sib dhos zaum kawg ntawm txoj haujlwm tau mus zoo tiag tiag - txog thaum kuv tau sim muab ob lub kaum ob ntawm kab xev ua ke. Txawm hais tias txhua yam ntawm cov khoom tau raug txiav kom zoo, muaj ntau cov kab sib tw sib tw rau tib ob peb mm ntawm qhov chaw, thiab kuv tsis xav kom pheej hmoo ua rau lawv hnyav dhau. Kuv tsis muaj kev xaiv nyob rau qhov kawg tab sis kom de-solder Micro LiPo board, rov ua dua nws mus rau qhov hloov pauv nrog cov kab hluav taws xob ntev dua uas tuaj yeem hla ntawm lwm tus. Txij ntawm no mus kuv tau ua tiav kev txiav ntau, txiav thiab ua ntawv uas kuv tau ua xyem xyav tiag tias nws puas yuav ua haujlwm. Kuv tseem yuav tau ua tib zoo chop 1mm tawm ntawm lub tsev hloov pauv thiab lwm 2mm hlau tawm ntawm Pi's Micro USB chaw nres nkoj kom lawv haum.

Qhov phem tshaj yog kuv tsis tuaj yeem sim nws raws li kuv tau mus, raws li cov zaub tsis tuaj yeem muab muag rau kom txog thaum txhua yam ntxiv tau muab tso ua ke. Shaving down thiab haum cov yas yas qub yog qhov lom zem heev rau qhov kawg ntawm kev tsim, txawm hais tias qhov no hauv nws tus kheej tau siv ob peb teev nrog cov ntaub ntawv me me thiab cov nplais.

Thaum kawg txhua yam tau zaum yooj yim, nrog txhua qhov sib xyaw ua ke nyob rau hauv ib qho, thiab kuv tau daig cov zaub rau daim kab xev ua ntej siv nws, ua kom zoo tag nrho txhua yam kaw. Nws yog lub sijhawm tsis txaus ntseeg txaus tos nws rau khau raj thawj zaug, tab sis paub meej tias nws tau tshwm sim rau hauv lub neej, kom muaj kev pab loj.

Kauj ruam 7: Tiav lawm

Tiav lawm
Tiav lawm
Tiav lawm
Tiav lawm
Tiav lawm
Tiav lawm
Tiav lawm
Tiav lawm

Qee zaum cov phiaj xwm tuaj yeem xav zoo li "ua haujlwm", tab sis qhov no tsuas yog lom zem tag nrho txoj kev, Kuv tsis tau nyiam ua ib yam dab tsi ntau, thiab kuv zoo siab nrog qhov ua tiav zaum kawg. Ib yam dab tsi txog qhov ntsuas me me tiag tiag tau ntab kuv lub nkoj, nrog rau cov lus nug tam sim no ntawm seb nws puas tseem tuaj yeem haum txhua yam hauv.

Cassette tapes thiab Raspberry Pi yog ob qho kuv nyiam tshaj plaws hauv ntiaj teb, yog li nws tsis muaj qhov xav tsis thoob Kuv nyiam txoj haujlwm no ntau heev. Kuv tuaj yeem nco qab kuv thawj zaug tau suav qhov kev kawm hauv tsev kawm theem pib, nrog tus kws qhia ntawv thauj khoom qhov program los ntawm kab xev kaw rau hauv BBC micro. Tus menyuam nyob ib sab ntawm kuv thiab kuv tso dag thaum lub sijhawm uas tej zaum yog tias koj yuam kev rub daim kab xev koj yuav pom cov neeg hu nkauj tshwm ntawm qhov screen - Kuv tseem tuaj yeem pom peb luag nyav tam sim no ntawm qhov tsis txaus ntseeg lub tswv yim uas yog. Dab tsi tsis yog ntau xyoo tom qab tam sim no koj tuaj yeem haum tag nrho lub khoos phis tawj sab hauv ib qho ntawm cov kab xev, nrog lub peev xwm ntau dua.

Txawm li cas los xij ntau qhov kuv nyiam txoj haujlwm no, kuv sab hauv troll tau hais tias "Nws tsis phem, zoo nkauj tab sis nws yuav txias dua yog tias nws ntaus nkauj" - cia li hais tias kuv tsis tau ua tiav nrog nyiag cov kab xev.

Ua tsaug rau kev nyeem ntawv!

Kuv lwm qhov qub thev naus laus zis, Cov phiaj xwm tshiab tshwj xeeb yog txhua yam ntawm Kev Qhia ntawm

Cov ncauj lus kom ntxaws thiab daim ntawv tiv toj muaj nyob ntawm peb lub vev xaib ntawm https://bit.ly/OldTechNewSpec. thiab peb nyob ntawm Twitter @OldTechNewSpec.

Raspberry Pi Kev Sib Tw 2020
Raspberry Pi Kev Sib Tw 2020
Raspberry Pi Kev Sib Tw 2020
Raspberry Pi Kev Sib Tw 2020

Khiav Tawm Hauv Kev Sib Tw Raspberry Pi 2020

Pom zoo: