Cov txheej txheem:

Arduino Sound Monitor: 5 Kauj Ruam
Arduino Sound Monitor: 5 Kauj Ruam

Video: Arduino Sound Monitor: 5 Kauj Ruam

Video: Arduino Sound Monitor: 5 Kauj Ruam
Video: Amazing arduino project 2024, Hlis ntuj nqeg
Anonim
Arduino Suab Saib
Arduino Suab Saib

Nov yog phau ntawv qhia ua lub suab saib uas xa cov ntawv thaum koj lub ntim tau mus txog.

Kev tsim qauv no siv LCD, Arduino Microphone module, esp8266-01, Arduino Mega, lub suab nrov, thiab qee qhov LCD. Txoj haujlwm no yog kev xav raws li tus menyuam saib.

Kauj Ruam 1: Sib Sau Cov Khoom

Sib sau cov ntaub ntawv.

Cov ntaub ntawv xav tau:

Arduino Mega2560

Jumper Hlau

Txiv neej rau poj niam cov xov hlau

LED x 2 Resistor x 3 (5.1k resistor, 10k resistor, 220 resistor)

Buzzer LCD 16x2

xws 8266-01

USB txuas txuas

10 k potentiometer

Laub khawm (yeem)

Microphone Suab ntes module

Kauj Ruam 2: Txuas LCD rau Arduino

Txuas LCD rau Arduino
Txuas LCD rau Arduino

Daim duab no tsis yog qhov tseeb vim nws siv Arduino Uno.

Hauv kuv qhov haujlwm kuv siv Arduino Mega uas muaj 4 tus lej txuas. Cov khoom hauv daim duab tsis yog lub microphone, txawm li cas los xij kuv siv nws peb tus pin los txuas rau A0, GND, thiab 5v.

Kev Sib Txuas:

LCD:

NWS-GND

VDD --- 5v

V0 --- Wiper (potentiometer)

RS --- Digital 9

RW --- NCO

E --- Digital 8

D4 --- Digital 5

D5 --- Digital 4

D6 --- Digital 3

D7 --- Digital 2

A --- resistor (5v)

K --- NCO

Kauj Ruam 3: Txuas Esp8266 rau Arduino

Txuas Esp8266 rau Arduino
Txuas Esp8266 rau Arduino

Esp8266:

txh --- rx

rx --- txi

Gnd --- Gn Ib

vcc --- 3.3v

ch-pd --- 3.3v

Kauj Ruam 4: Sib Sau Microphone Module

Sib dhos Microphone Module
Sib dhos Microphone Module

A0 --- UA0

GND --- NCO

+--- 5v

Kauj ruam 5: Code

Txuas nrog yog cov cai rau txoj haujlwm ua haujlwm zaum kawg.

Thaum txuas lub esp8266 mus rau internet siv AT commands. AT+CJAP = "npe wifi", "wifi pswd"

AT+CIPSEND = Cim ntev+2

Hauv kuv tus lej koj yuav pom kuv muaj kuv lub npe siv thiab tus lej siv rau smtp2go nkag rau hauv paus 64.

Txaus siab rau!

Pom zoo: