Cov txheej txheem:

Morse Helmet*: 8 Kauj Ruam
Morse Helmet*: 8 Kauj Ruam

Video: Morse Helmet*: 8 Kauj Ruam

Video: Morse Helmet*: 8 Kauj Ruam
Video: Inspector Morse S08E01 - The Way Through the Woods / full episode 2024, Kaum ib hlis
Anonim
Morse kaus mom hlau*
Morse kaus mom hlau*
Morse kaus mom hlau*
Morse kaus mom hlau*
Morse kaus mom hlau*
Morse kaus mom hlau*

bipbipbip bip biptûûûtbipbip biptûûûtbipbip tûûûttûûûttûûût / bipbipbip tûûût biptûûûtbip biptûûût tûûûtbip ûûû

Morse Helmet* yog qhov qhib Qhov Ua Nws Tus Kheej koj tus kheej tsim los ntawm tus kws kos duab Belgian Mathieu Zurstrassen (RaiseStudio).

Tab sis ua li cas hmo no…. Cov khoom/Cov khoom ua haujlwm ???

Nov yog:

Tus neeg siv sau cov lus nrog kev pab ntawm lub vijtsam kov zaub xaim ntawm raspberry Pi.

Thaum tus neeg siv nyem lub pob "Xa", nws cov lus tau hloov pauv mus rau Morse code thiab kev cai ua lub kaus mom hlau xa cov teeb pom kev hloov pauv mus rau saum nws taub hau!

(Yog!).

Qhov qhib qhov haujlwm DIY kos duab no yog muab los ntawm tus kws kos duab thiab nws txhua lub sijhawm nyiam koom tes nrog Martin Pirson, sim txo qhov sib txawv nruab nrab ntawm kev kos duab ntiaj teb thiab DIY ntiaj teb.

Dab tsi ua rau kos duab, Kos duab? Tus tsim? Tus kws kos duab? Cov ntaub ntawv? Cov lus qhia? Cov ntsiab lus?

Peb tes num yuav tsis teb cov lus nug no, tab sis yog yam tsawg kawg nws tuaj yeem yog lub luag haujlwm rau tsuas yog ua rau cov no, nws yuav yog qhov yeej rau peb.

*(Nyob zoo tus neeg txawv)

Khoom siv

Cov npe khoom kho vajtse

1. Khoom siv hluav taws xob:

  • Raspberry Pi 3/4
  • Touchscreen rau raspberry pi
  • Lub txhab nyiaj fais fab
  • LED nplhaib 24 Khoom lossis sib npaug
  • Lead hlau thiab cov laug
  • Hluav taws xob cable

2. Mount rau cov khoom siv hluav taws xob:

  • Lub kaus mom hlau lossis sib npaug
  • 3D tshuab luam ntawv (tsis tas yuav yog tias koj muaj txuj ci tsim tau zoo)
  • Muv
  • PVC Yeeb Nkab (txhawb nqa rau lub nplhaib LED, tsis tas yuav tsum tau ua)

Kauj Ruam 1: Tau Txais Cov Khoom

Tau cov ntaub ntawv!
Tau cov ntaub ntawv!
Tau cov ntaub ntawv!
Tau cov ntaub ntawv!
Tau cov ntaub ntawv!
Tau cov ntaub ntawv!

1. Khoom siv hluav taws xob:

  • Raspberry Pi 3/4

    https://www.raspberrypi.org/

  • Touchscreen rau raspberry pi

    3.5 Inch TFT LCD Display Touch Screen Monitor for Raspberry Pi 3 (kos rau ntawm

  • Lub txhab nyiaj fais fab

    Ib qho 5V nrog 2A tso tawm thiab tsawg kawg 6000 mah yuav ua

  • LED nplhaib 24 Khoom lossis sib npaug

    WS2812B Module Sawb 24 Khoom 24 X WS2812 5050 RGB LED Ntiv Nplhaib Teeb nrog Cov Tsav Tsheb Sib Koom RGB 24 rau Arduino (txheeb xyuas ntawm

  • USB rau Micro USB cable
  • USB ntsaws rau cov laug (lossis tsuas yog txiav qhov qub uas koj pom… ib qho twg… Tsis muaj lus nug yuav nug…)
  • Lead hlau thiab cov laug
  • Hluav taws xob cable

2. Mount rau cov khoom siv hluav taws xob:

  • Lub kaus mom hlau lossis sib npaug
  • 3D tshuab luam ntawv (tsis tas yuav yog tias koj muaj txuj ci tsim tau zoo)
  • Mustache (rau cov style, style yog qhov tseem ceeb thaum tsim khoom)
  • Kev them nyiaj yug rau lub nplhaib LED, muab koj cov plaub hau rau ntawm kev muaj tswv yim!

Kauj ruam 2: Nyem Raspbian Duab

Flash Raspbian Duab
Flash Raspbian Duab
Flash Raspbian Duab
Flash Raspbian Duab
Flash Raspbian Duab
Flash Raspbian Duab

(Hum, txoj haujlwm no xav tau kev paub me ntsis nrog Terminal cov lus txib thiab Rasperry Pi ntiaj teb) Tab sis (Nws yooj yim zoo nkauj, thiab koj yuav tsum ua raws li cov theem hauv qab no)

Ua ntej koj yuav tsum:

Rub tawm Stretch+Ua Raspbian duab kawg

Tom qab ntawd koj yuav tsum:

Rub tawm thiab teeb tsa BalenaEtcher

Koj nyem Raspbian duab mus rau 16go sd card nrog lwm yam

Tom qab ntawd koj:

Ntxiv qhov khoob.txt cov ntaub ntawv npe "ssh" rau khau raj muab faib ntawm daim npav SD tshiab

Thiab koj:

Tsim qhov tshiab.txt cov ntaub ntawv ntawm lub khau raj muab faib lub npe "wpa_supplicant.conf"

Koj yuav tsum:

Ntxiv cov kab hauv qab no rau hauv cov ntawv thiab sau nrog koj tus kheej OWN cov ntaub ntawv ssid thiab password

crtl_interface = DIR =/var/run/wpa_supplicant

GROUP = netdev hloov tshiab_config = 1 lub tebchaws = YOUR_COUNTRY_CODE network = {ssid = "YOUR_SSID" psk = "YOUR_PSK"}

Txuas mus rau Pi nrog Terminal ntawm:

ssh [email protected]

Ntaus "raspberry" thaum koj pom tus password sai

Hloov kho Raspbian los ntawm kev ntaus ntawv:

sudo apt-tau hloov tshiab && sudo apt-tau upgrade -y

Kauj Ruam 3: Nruab Touchscreen Display Dependencies

git clone> Cov

github.com/goodtft/LCD-show.git chmod -R 755 LCD-show cd LCD-show sudo./LCD35-show

Koj tus raspberry pi yuav tsum rov pib dua thiab tam sim no koj yuav tsum pom Raspbian desktop interface ntawm koj lub vijtsam.

Nruab ib lub software touchscreen calibration:

cd LCD-qhia

sudo dpkg -i B xinput-calibrator_0.7.5-1_armhf.deb

Kauj Ruam 4: Nruab Rpi_ws281x Library

jgarff muab peb lub tsev qiv ntawv zoo rau tsav txhua yam ntawm cov lus coj coj tau (ws2811, ws2812, neopixels, dotstars, …) ncaj qha los ntawm pi, yog li cia peb yob thiab git clone dua!

git clone

sudo apt-tau nruab scons cd rpi_ws281x scons sudo pip nruab rpi_ws281x

Kauj Ruam 5: Upload Python thiab Ua Ntawv Sau rau Pi

Upload Python thiab Ua Cov Ntawv Sau rau Pi
Upload Python thiab Ua Cov Ntawv Sau rau Pi
Upload Python thiab Ua Cov Ntawv Sau rau Pi
Upload Python thiab Ua Cov Ntawv Sau rau Pi

Peb cov ntawv nab nab yog ua raws txoj haujlwm zoo ua los ntawm Stevenchi36

Rub tus ntawv nab hab sej.

Ntawm lub qhov rai davhlau ya nyob twg tshiab mus rau qhov chaw cov ntaub ntawv. Piv txwv li:

cd/Downloads/morse_helmet/

Xa cov ntawv mus rau raspberry pi ntawm scp:

scp./morse.py [email protected]:

Ntaus koj tus password yog xav tau. Qhov no yuav luam cov ntawv "morse.py" mus rau "/home/pi/" directory ntawm koj tus pi.

Rub tawm cov txheej txheem kos duab, hloov lub npe "mouseKeyboard.txt" mus rau "mouseKeyboard.pde" thiab txav nws mus rau phau ntawv teev npe tshiab nrog lub npe tseeb. Cas tus kws qhia ntawv tsis tau tso cai rau peb upload a.pde

Qhib "mouseKeyboard.pde" nrog Kev Ua Haujlwm ntawm koj lub computer.

Ntawm Kev Ua cov ntawv qhia zaub mov bar, hauv qab cov cuab yeej, nyem rau ntawm Ntxiv cov cuab yeej…

Tshawb rau Upload rau Pi los ntawm Gottfried Haider, nyem rau nws thiab tom qab ntawd nruab.

Hauv qab cov cuab yeej ntawv qhia zaub mov nyem rau Upload rau Pi kom suav sau, xa thiab tso cov txheej txheem Txheej txheem rau koj li Raspberry pi.

Kauj Ruam 6: Kev Txuas Hluav Taws Xob thiab Kev Siv Hluav Taws Xob

Kev Txuas thiab Kev Siv Hluav Taws Xob
Kev Txuas thiab Kev Siv Hluav Taws Xob
  • Lob koj cov hlau txuas thiab txuas kab liab thiab Dawb ntawm USB ntsaws
  • Txuas D Hauv (teeb liab) los ntawm Lub nplhaib coj mus rau GPIO 12 (tus pin 32)
  • Txuas lub Touch screen shield ntawm Raspberry
  • Txuas lub usb cable rau Power bank thiab lub micro USB rau Raspberry Pi
  • (Ob lub USB xav tau txuas nrog SAME Power bank)
  • Pib koj lub Power bank
  • --. --- / - --- / -.. -..- - / … -..--. /..-. ---.-. /.- /..-….-. … - / -. … -*

*(Mus rau qib tom ntej rau thawj qhov kev sim)!

Kauj ruam 7: TEST

Peb vam tias nws yog Wohooooooooooo !!!! Muaj tswv yim tam sim no, cov kauj ruam tom ntej yog nrhiav txoj hauv kev tso lub nplhaib LED nyob saum lub kaus mom hlau, Cov kua nplaum kub ua haujlwm tau zoo, koj tuaj yeem tsim qauv tshwj xeeb txhawb nqa thiab 3D luam tawm yog tias koj muaj kev nkag mus rau Lub Tshuab Luam Ntawv. Txoj kev txhawb nqa caj npab rau Raspberry Pi kuj yog lub tswv yim zoo, muaj tswv yim thiab xa duab rau peb ntawm koj cov phiaj xwm!

Kauj Ruam 8: Ua Tsaug

Ua Tsaug!
Ua Tsaug!
Ua Tsaug!
Ua Tsaug!

Qhov haujlwm no tau muab rau koj Los ntawm RaiseStudio, nws lub ntsiab lus yog Qhib Qhov Chaw thiab yog kev sim txhawm rau txo qhov sib txawv ntawm Art World thiab DIY zej zog. Cov Cai Siv yog siv dawb, pub dawb pub dawb, pub dawb rau remix, tsuas yog tsis zoo li peb tus phooj ywg Pablo uas tsis hnov qab hnav cov plaub hau thiab ib txwm tsis nco qab hais txog nws cov peev txheej. Peb vam tias koj txaus siab! Mathieu Zurstrassen & Martin Pirson. Zoo siab tuaj ntsib peb Lub Vev Xaib yog tias koj xav tau cov phiaj xwm vwm:

Pom zoo: