Cov txheej txheem:

Morse Code Chaw Nres Tsheb: 3 Kauj Ruam
Morse Code Chaw Nres Tsheb: 3 Kauj Ruam

Video: Morse Code Chaw Nres Tsheb: 3 Kauj Ruam

Video: Morse Code Chaw Nres Tsheb: 3 Kauj Ruam
Video: Хиб чадж хиб туаг йог хиб ком плуаг 25.06.2017 2024, Kaum ib hlis
Anonim
Morse Code Chaw Nres Tsheb
Morse Code Chaw Nres Tsheb
Morse Code Chaw Nres Tsheb
Morse Code Chaw Nres Tsheb

Dit-dit-dah-dah! Kawm Morse Code nrog qhov yooj yim Arduino Uno project.

Qhov haujlwm Arduino yooj yim no yog Morse Code chaw nres tsheb. Morse Code yog txoj hauv kev sib txuas lus uas cim cov cim ua ntu ntu thiab kab zauv. Lub voj voos no siv lub suab paj nruas piezo los ua kom cov suab thiab lub suab nrov nrov.

Siv lub pob, koj coj mus rhaub hauv Morse code, lub suab nrov nrov nrog txhua qhov nias ntawm lub pob thiab OLED cov duab qhia pom cov lus txiav txim. Cov neeg feem coob tsis paub nrog Morse Code, yog li kuv tau suav nrog cov duab qhia txhua yam ntawm International Morse Codes saum toj no kom yooj yim rau koj.

Yuav Ua Li Cas Sau Morse Code

Txoj cai tau nkag los ntawm tapping lub pob. Muab ib lub kais dej luv rau lub teev thiab ntev dua (tsawg kawg yog ob zaug ntev dua) rau kev sib tsoo. Thaum koj nkag mus rau tus lej lees paub, tsab ntawv, lossis tus lej nws sawv cev tau nthuav tawm. Yog tias koj ncua sijhawm kwv yees li 1.5 vib nas this nruab nrab ntawm cov kais dej, tom qab ntawd cov zaub yuav ntxig qhov chaw yog li tso cai rau koj nkag mus rau cov lus. Yog tias tus lej tsis tau lees paub a '?' cim tau tshwm.

Khoom siv

  • Arduino Ib
  • Piezo buzzer
  • Kev tiv thaiv 220 Ohm
  • Kev tiv thaiv 10K Ohm
  • Graphic OLED zaub 128x64
  • 5mm LED: liab
  • Tactile khawm

Kauj ruam 1: Tsim Kho Vajtse

Tsim Kho Vajtse
Tsim Kho Vajtse

Siv daim duab Fritzing saum toj no los xaim hluav taws xob.

Kauj ruam 2: Upload Arduino Code

Ua ntej koj suav thiab xa cov cai Arduino, koj yuav tsum teeb tsa ob peb lub tsev qiv ntawv rau hauv koj li Arduino IDE. Qhib Sketch-> Xws li Tsev Kawm Ntawv-> Tswj Tsev Qiv Ntawv … cov ntawv qhia zaub mov thiab tshawb rau thiab teeb tsa cov tsev qiv ntawv hauv qab no:

  • Adafruit GFX
  • Adafruit SSD1306

Tam sim no koj tau npaj los sau cov duab Arduino. Arduino qhov chaws rau kev kos duab

morse_code_station.ino muaj rau rub tawm los ntawm kuv GitHub chaw cia khoom.

Kauj Ruam 3: Tsim Cov Ntawv Luam Circuit Board

Tsim Ib Daim Ntawv Luam Circuit Board
Tsim Ib Daim Ntawv Luam Circuit Board
Tsim Ib Lub Rooj Tsav Xwm Luam Ntawv
Tsim Ib Lub Rooj Tsav Xwm Luam Ntawv

Yog tias koj xav tsim kho qhov ruaj khov kuv tau tsim cov ntawv luam tawm Circuit Board. Cov ntaub ntawv Gerber muaj rau rub tawm los ntawm kuv GitHub chaw cia khoom. Xwb, koj tuaj yeem tshawb xyuas cov txheej txheem thiab PCB ntawm EasyEda lub vev xaib. Lub xaib txuas nrog lub chaw tsim khoom PCB, thiab nrog ob peb nias koj tuaj yeem xaj lub rooj tsav khoom tsuas yog ob peb daus las.

Qhov ntawd yog nws, txaus siab! Txog rau lwm lub sijhawm…

Pom zoo: