Cov txheej txheem:
- Kauj Ruam 1: Nqi Khoom
- Kauj Ruam 2: Kev Siv Hluav Taws Xob Ua Ke
- Kauj ruam 3: Software (Firmware)
- Kauj ruam 4: Ua tiav
Video: Ua Lub Vev Xaib-Xov Tooj Tsawg dua $ 15: 4 Cov Kauj Ruam (nrog Duab)
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Yog li, kuv txiav txim siab ua ib txoj haujlwm uas kuv tau ncua ib ntus: Ua hauv tsev, ua haujlwm tau zoo hauv xov tooj cua web, ua tiav nrog lub suab nrov thiab hais lus, rau qis dua 15 €!.
Koj tuaj yeem hloov pauv ntawm cov xov tooj cua tau tshaj tawm ua ntej nrog kev thawb lub pob thiab koj tuaj yeem tswj lub ntim los ntawm kev tig lub zog zoo.
Kauj Ruam 1: Nqi Khoom
- ESP-WROOM32 raws microcontroller board. Muaj qhov tsawg kawg yog ob qhov kev hloov pauv ntawm kev txaus siab nrog lub microcontroller nti (saib daim duab) - Kuv siv WEMOS LOLIN32, uas tsis muaj lub pob onboard, vim kuv xav siv kuv tus kheej. Yog tias, txawm li cas los xij, koj xav kom zam kev siv ntau li ntau tau, koj tuaj yeem mus rau lwm qhov kev hloov pauv, uas los nrog lub pob thiab tus pin uas twb tau muag lawm.
- Adafruit I2S 3W Class D Amplifier Breakout - MAX98357A. Lub Rooj Tswjhwm Saib feeb no muaj cov txuj ci tseem ceeb los ntawm Maxim Electronics uas yog DAC (Digital rau Analog Converter) thiab 3W Class D Amplifier! Koj pub nws cov cim digital los ntawm koj tus tswj hwm thiab tsav cov neeg hais lus ncaj qha, tsis xav tau lwm qhov kev siv hluav taws xob.
- Hais lus 4Ω/8Ω. Kuv siv SHARP RSP-ZA249WJZZ L, 8 Ω, 10 W, seem Sharp TVs ib feem, uas kuv tau yuav los ntawm khw muag khoom seem hauv online.
- Hollow bushing 5.5/2.1 hli
- Tawm Potentiometer 120Ω. Qhov no yuav tsis ua rau lub xov tooj cua ntsiag to thaum tig tag nrho txoj hauv kev, tab sis koj tau txais ntau qhov siv tau ntawm cov neeg hais lus ntim siv nws.
- Miniature Button (yog tias koj ua raws qhov muag tsis pom cov lus qhia no, xyuas kom tseeb tias lub pob koj siv yog ib txwm nyob hauv txoj haujlwm, thiab thaum nias). Koj kuj tseem yuav tau hloov kho qhov chaws los txhawm rau txhim kho khawm tus cwj pwm (saib software kauj ruam). Hla qhov no, yog tias koj muaj lub microcontroller nrog lub pob onboard.
- Cov hlau zoo (hauv ntau xim)
- Kub-ntsws tubing
- Lub hwj chim-muab 5V nrog 5.5/2.1 tso tawm ntsaws
- Case. Yog tias koj tswj hwm nrhiav tus neeg hais lus uas muaj qhov ntev sib xws rau qhov kuv siv (11cm x 4cm), tom qab ntawv koj tuaj yeem luam tawm rooj plaub raws li stl cov ntaub ntawv uas kuv tau muab. Txwv tsis pub, koj tuaj yeem tsim kho tshiab: Piv txwv, los ntawm daim cardboard yuav ua txoj haujlwm zoo kawg nkaus!
Koj tuaj yeem mus txawm tias pheej yig dua, los ntawm
- scavenging tus hais lus los ntawm pov tseg cov khoom siv hluav taws xob (Kuv tau ua qhov no hauv kuv thawj zaug sim thiab tom qab ntawd saib rau qee yam zoo dua).
- hla lub zog muab khoom siv tshwj xeeb thiab 5.5/2.1bushing, thiab tsuas yog siv lub microcontroller tus microUSB chaw nres nkoj thiab lub xov tooj them. Nco ntsoov txuas 5V/GND ntawm lub microcontroller nrog Amplifier breakout thiab tseem siv lub xov tooj uas muaj zog txaus.
- hla lub khawm tshwj xeeb thiab siv onboard ib.
Txoj kev no, koj tuaj yeem tso koj cov nqi qis dua $ 10!
Kauj Ruam 2: Kev Siv Hluav Taws Xob Ua Ke
Koj xav tau qee qhov txuj ci yooj yim los ua kom tiav cov kauj ruam no
Txuas lub zog
Muab ob txoj hlua txuas rau ntawm 5.5/2.1 cov khoom siv bushing lub dav hlau. Yog tias koj muaj xim sib txawv, nws tsis yog lub tswv yim phem los siv liab lossis xim av rau qhov zoo (5V) thiab dub lossis ntsuab rau qhov tsis zoo (GND). Txoj kev no, koj ib txwm paub tias cable twg yog qhov hluav taws xob/qhov zoo thiab uas yog hauv av/tsis zoo.
Siv lwm qhov kawg ntawm cov kab txuas rau ESP32 thiab MAX98357A cov laug cam (saib cov qauv).
Txuas ESP32 mus rau MAX98357A
raws li nram no:
ESP tus pin ----------------- I2S teeb liab GPIO25/DAC1 --------- LRCKGPIO26/DAC2 --------- BCLK GPIO22 --- --------------- DATA Source:
Khawm me me
Txuas lub pob me me nrog GPIO0 tus pin thiab GND. Qhov no yog siv los hloov ntawm cov xov tooj cua.
Hais lus & Potentiometer
Txuas tus neeg hais lus tso tawm ntawm MAX98357A hauv koob nrog tus hais lus thiab lub zog ntsuas.
Qhwv
Tom qab ua tiav, qhwv txhua yam hauv cov cua sov-ntsws tubing. Nyob lossis seb koj npaj yuav ntim koj lub xov tooj cua li cas, tej zaum koj tseem xav npog lub ntsej muag tom qab ntawm tus hais lus nrog qee daim npog ntsej muag, kom tsis txhob cuam tshuam nrog hluav taws xob sib txuas.
Kauj ruam 3: Software (Firmware)
Lub software rau lub vev xaib xov tooj cua twb muaj nyob ntawm no:
Txhua yam koj yuav tsum ua yog:
-
Teeb tsa qhov chaw ib puag ncig cryptic rau ESP kev txhim kho hu ua ESP-IDF. Cov txheej txheem teeb tsa sib txawv me ntsis, nyob ntawm koj lub operating system. Koj tuaj yeem pom cov lus qhia ntxaws ntawm no:
docs.espressif.com/projects/esp-idf/en/lat… Nws tsis yog tus neeg siv tiag tiag, tab sis tsis txhob cia qhov ntawd ua rau koj ntshai!
- Rub tawm lossis (git clone) qhov chaws los ntawm qhov chaw nyob saum toj no.
- Kho qhov nkag mus rau koj li WLAN: ua menuconfig thiab nkag mus rau koj li ntawv pov thawj wifi.
-
hloov kho Web Radios daim ntawv teev npe rau koj nyiam: Cov npe tuaj yeem pom ntawm
ESP32_MP3_Decoder/lub ntsiab/playlist.pls
- Yog tias koj tau txuas koj tus kheej lub pob (tsis zoo li siv lub rooj sib tham hloov pauv nrog lub pob built-in), koj yuav xav hloov cov ntaub ntawv web_radio.c hauv ESP32_MP3_Decoder/components/web_radio/nrog rau ib qho muab ntawm no. Kuv tau ua qee qhov kev hloov kho kom tiv thaiv ntau lub khawm khawm cov xwm txheej los ntawm garbling li lub vev xaib xov tooj cua. Tsawg kawg yog qhov no tau tshwm sim hauv kuv qhov xwm txheej nrog cov cai tsis tau hloov kho.
- upload tag nrho txhua yam rau koj ESP32 ontcontroller: ua thiab tom qab ntawd (yog tsim qhia tsis muaj qhov ua yuam kev) ua rau nyem. Hauv kuv qhov xwm txheej, ua rau flash tsis ua haujlwm, tab sis thaum koj ua haujlwm, qhov no qhia cov lus txib (qee yam zoo li nab nab ~/esp/esp-idf/components/esptool_py/esptool/esptool.py bla bla), uas yuav tsum ua haujlwm feem ntau rooj plaub
Kauj ruam 4: Ua tiav
Muab txhua yam tso rau hauv rooj plaub, saib xyuas kom tsis muaj cov nplaim hluav taws sib kov ib leeg. Rau lub hom phiaj no, koj tuaj yeem siv cua sov-ntsws tubing, PVC cais kab xev lossis txawm tias rab yaj phom. Ib rab yaj phom nplaum kuj tseem xav tau txhawm rau txhim kho txhua yam hauv txoj haujlwm. Ua qhov no tom qab koj tau sim txhua yam thiab paub txhua yam ua haujlwm raws li qhov xav tau!
Qhov ntawd yog nws, txaus siab!
Pom zoo:
$ 10 Lub Vev Xaib Lub Vev Xaib Kho: 5 Kauj Ruam (nrog Duab)
$ 10 Lub Vev Xaib Lub Vev Xaib Tsis Zoo: Zoo, kuv tau ua nws dua. Kuv tau tawg kuv qhov screen. Rau cov ntawm koj uas yuav nco tau, kuv tau ua qhov no tsuas yog ib xyoos dhau los thiab xav tau kev txhim kho ib ntus kom coj kuv mus txog thaum kuv tuaj yeem hloov pauv cov muab kev pabcuam thiab tau txais xov tooj tshiab. Nws tau ua haujlwm zoo, nws tau kav rau
Web-Txuas Txuas SMART LED Animation Moos Nrog Lub Vev Xaib Tswj Vaj Huam Sib Luag, Lub Sijhawm Neeg Ua Haujlwm Sib Koom: 11 Cov Kauj Ruam (nrog Duab)
Web-Txuas Txuas SMART LED Animation Clock Nrog Lub Vev Xaib Tswj Vaj Huam Sib Luag, Lub Sijhawm Neeg Ua Haujlwm Sib Koom: Zaj dab neeg ntawm lub moos no rov qab mus ntev-ntau dua 30 xyoo. Kuv txiv pioneered lub tswv yim no thaum kuv tsuas yog 10 xyoo, ntev ua ntej LED kiv puag ncig - rov qab thaum LED qhov twg 1/1000 qhov ci ntawm lawv qhov muag tsis pom kev tam sim no. Qhov tseeb
Lub Vev Xaib Tswj Lub Vev Xaib Box: 4 Kauj Ruam
Lub Vev Xaib Tswj Lub Vev Xaib Box: Qhov no yog lub thawv xauv uas tuaj yeem qhib tau los ntawm kev qhia sai ntawm lub vev xaib. Qhov no txhais tau tias, koj tuaj yeem kaw cov khoom tam sim ntawd hauv lub thawv thiab tsuas yog nkag mus rau lawv thaum ib tus neeg nkag mus rau kab lus muab nkag rau ntawm lub vev xaib pej xeem. Vim li cas ib tus xav tau qhov no? Nov yog ib qho ex
Txhua Yam Txog Kev Tsim Lub Vev Xaib Lub Vev Xaib: 5 Kauj Ruam
Txhua Yam Txog Kev Tsim Lub Vev Xaib Lub Vev Xaib: Lub vev xaib pub dawb no yog daim ntawv uas koj siv los npaj phiaj xwm kev tsim kho cov ntsiab lus zoo ua kom pom tseeb cov ntsiab lus lub vev xaib. Daim qauv txheej txheem no tau tsim nrog kev yooj yim siv cov khoom siv hauv Microsoft Excel txawm hais tias muaj ntau yam software sib txawv
Lub hauv paus tseem ceeb ntawm Lub Vev Xaib-raws li Lub Vev Xaib: 7 Kauj Ruam
Cov Hauv Paus Ntawm Lub Vev Xaib-raws li Lub Vev Xaib: Cov lus qhia no yuav qhia koj cov hauv paus ntawm kev tsim lub vev xaib nrog divs li cas. Vim tias cov ntxhuav siv rau kev teeb tsa yog qhov phem!: PTo kom nkag siab cov lus qhia no, koj yuav tsum paub qhov yooj yim html thiab css. Yog tias koj tsis nkag siab qee yam, xav tias dawb rau