Cov txheej txheem:

Retro Raspberry Pi Tumblr GIF Lub Koob Yees Duab: 10 Kauj Ruam (nrog Duab)
Retro Raspberry Pi Tumblr GIF Lub Koob Yees Duab: 10 Kauj Ruam (nrog Duab)

Video: Retro Raspberry Pi Tumblr GIF Lub Koob Yees Duab: 10 Kauj Ruam (nrog Duab)

Video: Retro Raspberry Pi Tumblr GIF Lub Koob Yees Duab: 10 Kauj Ruam (nrog Duab)
Video: Make it blink feat. Becky Stern – LIVE | Digital Making at Home 2024, Kaum ib hlis
Anonim
Image
Image
Prototype Circuit
Prototype Circuit

Kuv xav tau txoj hauv kev siv kuv lub koob yees duab vintage hauv qhov tshiab, txoj hauv kev. Kuv muaj ob peb ncaws ncig hauv ntau yam xwm txheej, tab sis tsis tau siv lawv nyob rau hnub nyoog vim tias cov yeeb yaj kiab tau kim los tsim. Ua raws nrog Cov Lus Qhia no kom pom yuav ua li cas kuv tso Raspberry Pi thiab Pi Lub Koob Yees Duab sab hauv lub koob yees duab zaj duab xis retro, thiab program nws tso GIFs rau kuv Tumblr.

Txoj cai yog ua raws Lara txoj kev qhia dawb Raspberry Pi Class, uas muaj cov ntaub ntawv keeb kwm yav dhau los yog tias koj tshiab rau cov khoom siv hluav taws xob, cov phiaj xwm, lossis Pi. Yog tias koj muaj qee qhov kev paub Pi, koj yuav txaus siab rau Pi Tumblr-g.webp

Lub Hom Phiaj Brownie Six-20 yog lub koob yees duab 40s, thiab nws tau qias neeg heev thiab tsis tau thaij duab zoo, yog li kuv tsis xav tias phem txog lub plab nws. Kuv yuav xav ob zaug txog kev txiav thiab drilling los ntawm qee tus tswv cuab ntawm kuv sau. Yog tias koj ua qhov no, nco ntsoov tias koj nyiam xiam oob khab koj lub koob yees duab lub peev xwm los tua zaj duab xis, vim tias kuv cov txheej txheem yog kev puas tsuaj me ntsis.

Rau qhov haujlwm no, koj yuav xav tau:

  • Boxy lub koob yees duab vintage (kuv lub hom phiaj Brownie rau-20)
  • Raspberry Pi qauv A+
  • SD daim npav nrog Raspbian
  • Pi lub koob yees duab nrog ribbon cable
  • Powered USB hub
  • Wifi dongle
  • Peb LEDs (Kuv siv dawb, ntsuab, thiab liab)
  • Peb tus tiv thaiv (ib qho ntawm 100-220 ohms)
  • Pushbutton
  • Cov xov nrog poj niam lub taub hau
  • Solderless breadboard
  • Micro USB kab
  • Keyboard & nas (Kuv siv cov keyboard me me nrog trackpad)
  • HDMI zaub nrog cable
  • Wireless internet network npe thiab tus password
  • Tumblr tus account
  • Tumblr API tus neeg siv cov ntaub ntawv
  • Cov ntsia hlau me me
  • Muab ob daim nplaum ua daim kab xev
  • Kub kua nplaum
  • Thaum tshav kub kub ntsws tubing
  • Soldering hlau thiab solder
  • Roj teeb pob

Txhawm rau ua raws qhov kuv tab tom ua haujlwm, ua raws kuv hauv YouTube, Instagram, Twitter, Pinterest, thiab sau npe yuav rau kuv tsab ntawv xov xwm. Raws li Amazon Kev Koom Tes Kuv khwv tau los ntawm kev tsim nyog yuav khoom koj ua siv kuv cov koom nrog txuas.

Kuv tau siv Raspbian kev ua haujlwm rau txoj haujlwm no, uas suav nrog Python 2, tab sis koj yuav tsum tau teeb tsa qee pob khoom siv cov kab hauv qab no ntawm koj tus Pi lub davhlau ya nyob twg lub qhov rais txhawm rau txhawm rau sau tsab ntawv:

sudo apt-tau hloov tshiab

sudo apt-tau nruab imagemagick

sudo apt -tau nruab mpg321 -y

sudo apt-tau nruab python-RPi.gpio python3-RPi.gpio

sudo pip nruab pytumblr

Kauj Ruam 1: Tsab Cai Circuit Court

Prototype Circuit
Prototype Circuit
Prototype Circuit
Prototype Circuit
Prototype Circuit
Prototype Circuit

Kuv tau tsim qhov phiaj xwm no sab nraum lub koob yees duab (tsis tas yuav tsum tau siv tshuaj txhuam), tom qab ntawd tshem cov khoom hauv lub koob yees duab. Kuv pom zoo cov txheej txheem no txhawm rau daws teeb meem teeb tsa teeb tsa vs. Tau nws ua haujlwm ua ntej sim thawb txhua yam rau hauv qhov me me, qee zaum hlau, qhov chaw!

Ib qho LED tau teeb tsa kom qhib thaum Python tsab ntawv pib, thiab lwm qhov ua rau pom lub sijhawm nrog cov duab raug tom qab koj nias lub pob. Qhov thib peb LED nyob qis thaum lub Pi tab tom ua thiab rub tawm GIF, yog li koj paub thaum twg nws zoo rau lwm qhov.

Kauj Ruam 2: Tshem Lub Koob Yees Duab

Disassemble Lub Koob Yees Duab
Disassemble Lub Koob Yees Duab

Tom qab kuv ua tiav kev daws teeb meem cov cai thiab Circuit, Kuv tau txav mus los tsim txhua yam rau hauv kuv lub koob yees duab.

Ntxiv rau qhov qhib lub koob yees duab los ntawm nws lub thawv (daim vis dis aus no tau pab kom nco tau li cas), Kuv tau siv lub taub hau me me los tshem lub vaj huam sib luag pem hauv ntej ntawm lub koob yees duab. Teem cov ntsia hlau rau hauv lub khob lossis tais rau qhov chaw nyab xeeb; lawv me me!

Kuv (ua tib zoo) tsoo cov iav tsom iav kom muaj chaw rau lub koob yees duab pi.

Kauj Ruam 3: Mount Pi Lub Koob Yees Duab

Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab
Mount Pi Lub Koob Yees Duab

Kuv siv daim kab xev nplaum ua ob kab los txhawm rau lub koob yees duab pi sab hauv sab hauv ntawm lub vaj huam sib luag pem hauv ntej ntawm kuv lub koob yees duab vintage. Kuv tau hla txoj hlua hlua hla mus rau lub cev tseem ceeb ntawm lub koob yees duab, uas kuv tau qhib los ntawm kev txiav tawm cov ntawv tha xim sab hauv.

Kauj ruam 4: Nruab Pushbutton

Nruab Pushbutton
Nruab Pushbutton
Nruab Pushbutton
Nruab Pushbutton
Nruab Pushbutton
Nruab Pushbutton

Kuv tau teeb tsa lub laub kom raug los ntawm tus thawj lub qhov rooj kaw, thiab khiav nws cov xov hlau mus rau sab hauv lub koob yees duab lub cev ib yam.

Kauj Ruam 5: Npaj thiab Nruab LEDs

Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs
Npaj thiab Nruab LEDs

Kuv soldered cov LEDs nrog qee qhov tiv thaiv thiab cua sov ntsws tubing, tom qab ntawd siv qee cov kua nplaum kub kom ruaj ntseg rau lawv.

Txhua txoj xov hlau rov qab mus rau hauv lub cev tseem ceeb ntawm lub koob yees duab, uas yog qhov loj txaus rau Pi thaum kuv txiav tawm cov duab los qhia.

Kauj Ruam 6: Kuaj thiab Kho

Kuaj thiab Kho
Kuaj thiab Kho
Kuaj thiab Kho
Kuaj thiab Kho
Kuaj thiab Kho
Kuaj thiab Kho

Kuv tau ntsaws txhua yam ntxiv los sim nws sab hauv qhov tsim tshiab, thiab kuv tau ntxiv lub plhaub tsab ntawv los ua kuv li Python tsab ntawv thaum Pi khau raj, yog li kuv tuaj yeem siv nws yam tsis muaj lub vijtsam lossis keyboard. Kuv kuj ntxiv kuv lub xov tooj tethering wifi network rau kuv Pi yog li kuv tuaj yeem nqa nrog kuv mus rau Maker Faire.

Lub plhaub tsab ntawv yuav tsum nyob hauv /home /pi thiab muaj:

#/bin/tsh

cd/cd tsev/pi/boof nab hab sej TumblrGIFCamera.py & tawm 0 Koj tseem yuav xav tau ntxiv cov ntawv pib rau /etc /local los ntawm kev txuas kab no thaum kawg

/home/pi/startupscript.sh

Ib qho ntxiv, qhov kev tso cai yuav tsum ua tiav ntawm ob daim ntawv nab hab sej, uas koj tuaj yeem teeb tsa nrog kab lus hais hauv qab no:

sudo chmod +x /home/pi/startupscript.sh

sudo chmod +x /home/pi/boof/TumblrGIFCamera.py

Kauj Ruam 7: Kaw Nws

Kaw Nws
Kaw Nws
Kaw Nws
Kaw Nws
Kaw Nws
Kaw Nws
Kaw Nws
Kaw Nws

Kuv hla lub hwj chim USB cable hla lub nraub qaum thiab kaw lub koob yees duab, tshuaj xyuas kom pom tias nws khau raj thiab LED ntsuab qhib, thiab nws ua rau lub ntsej muag dawb LED thaum thaij duab, thiab lwm yam.

Kauj Ruam 8: Roj Teeb

Roj Teeb Fais Fab
Roj Teeb Fais Fab
Roj Teeb Fais Fab
Roj Teeb Fais Fab

Yog tias koj nyob nrog koj lub koob yees duab, koj tuaj yeem siv nws los ntawm USB hub lossis phab ntsa fais fab mov, tab sis kuv xav coj kuv nrog kuv los ntawm kev ntxiv pob USB roj teeb. Kuv siv daim kab xev velcro txhawm rau ruaj ntseg nws rau hauv qab ntawm lub koob yees duab. Qhov zoo tshaj lub roj teeb yuav haum hauv lub koob yees duab lub cev qhov chaw, tab sis rau kuv lub hom phiaj (ntev hnub, xav tau kev nkag tau yooj yim rau lub roj teeb ua kom khawm), qhov kev npaj no ua haujlwm tau zoo.

Kauj ruam 9: Siv nws

Siv nws!
Siv nws!
Siv nws!
Siv nws!
Siv nws!
Siv nws!

Tawm mus thiab nqa qee GIFs! Saib tag nrho kuv li ntawm kuv nplooj ntawv Tumblr.

Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab
Duab

Kauj Ruam 10: Kev Xav Thaum Kawg

Kev Xav Thaum Kawg
Kev Xav Thaum Kawg
Kev Xav Thaum Kawg
Kev Xav Thaum Kawg

Kuv muaj qee qhov teeb meem kev sib txuas qee zaum, uas khaws cov ntaub ntawv los ntawm kev rub tawm, thiab tom qab ntawd nws yuav rov sau dua nrog-g.webp

Raspberry Pi tus qauv A haum hauv kuv lub koob yees duab, tab sis qeeb qeeb hauv "txhim kho" GIFs dua li sai dua RasPi 3 Kuv tau sim cov cai no ua ntej.

Kuv xav tau ntxiv lwm qhov ntsuas qhov taw qhia LED uas yooj yim pom los ntawm tus kws yees duab pom thaum tuav lub koob yees duab. Raws li nws sawv Kuv yuav tsum tau saib nyob rau sab kom pom thaum yuav qw tawm "hloov!" txhawm rau ntes cov ncauj lus hauv lub sijhawm sib txawv.

Thov qhia koj cov kev xav thiab tawm tswv yim nrog kuv hauv cov lus! Kuv yuav nyiam hnov koj hais dab tsi.

Txhawm rau ua raws qhov kuv tab tom ua haujlwm, ua raws kuv ntawm YouTube, Instagram, Twitter, Pinterest, thiab Snapchat.

Pom zoo: