Cov txheej txheem:

HackerBox 0028: JamBox: 9 Cov Kauj Ruam
HackerBox 0028: JamBox: 9 Cov Kauj Ruam

Video: HackerBox 0028: JamBox: 9 Cov Kauj Ruam

Video: HackerBox 0028: JamBox: 9 Cov Kauj Ruam
Video: Hackerboxes 0013: AUTOSPORT 2024, Kaum ib hlis
Anonim
HackerBox 0028: JamBox
HackerBox 0028: JamBox

JamBox - Lub hlis no, HackerBox Hackers tab tom tshawb fawb lub suab thiab cuam tshuam ntawm JamBox Audio IOT Platform. Cov Lus Qhia no muaj cov ntaub ntawv rau ua haujlwm nrog HackerBox #0028, uas koj tuaj yeem khaws tau ntawm no thaum cov khoom siv kawg. Tsis tas li, yog tias koj xav tau txais HackerBox zoo li txoj cai no hauv koj lub mailbox txhua lub hlis, thov sau npe ntawm HackerBoxes.com thiab koom nrog kev tawm tsam!

Cov Ntsiab Lus thiab Kawm Lub Hom Phiaj rau HackerBox 0028:

  • Kho lub ESP32 System-on-Chip
  • Program ESP32 los ntawm Arduino IDE
  • Sib sau ua ke JamBox Audio IOT Platform
  • Tswj I/O rau cov nyees khawm, pob qhov rooj, thiab LED daim phiaj
  • Tsim cov neeg siv cuam tshuam los ntawm I/O hardware
  • Kev sib txuas lus suab ntws hla I2S
  • Tshaj tawm cov qauv suab mus rau DAC cov qauv

HackerBoxes yog lub npov muab kev pabcuam txhua hli rau DIY hluav taws xob thiab tshuab computer. Peb yog cov nyiam ua haujlwm, tsim khoom, thiab sim ua. Peb yog cov neeg ua npau suav npau suav. HACK THE PLANET!

Kauj Ruam 1: HackerBox 0028: Cov Ntsiab Lus Box

HackerBox 0028: Cov Ntsiab Lus Box
HackerBox 0028: Cov Ntsiab Lus Box
HackerBox 0028: Cov Ntsiab Lus Box
HackerBox 0028: Cov Ntsiab Lus Box
HackerBox 0028: Cov Ntsiab Lus Box
HackerBox 0028: Cov Ntsiab Lus Box
  • HackerBoxes #0028 Daim npav siv tau
  • Tshwj xeeb JamBox Luam Circuit Board
  • ESP32 DevKitC
  • CJMCU PCM5102 I2S Digital-rau-Analog Module
  • Plaub MAX7219 8x8 LED Matrix Modules
  • Tsib 10K Ohm RV09 Potentiometers
  • Tsib Tus Kheej Potentiometer
  • Yim Tactile Momentary Nyees khawm
  • Plaub Adhesive Roj Hmab Taw
  • 3.5mm Suab Thaj Cable
  • MicroUSB Cable
  • Earbuds nrog Case
  • Tshwj xeeb HackerBoxes Skull Decal
  • Octocat Fan Art Decal Sheet

Qee qhov lwm yam uas yuav pab tau:

  • Soldering hlau, cov laug, thiab cov cuab yeej siv yooj yim
  • Khoos phis tawj rau khiav cov cuab yeej software

Qhov tseem ceeb tshaj, koj yuav xav tau kev nkag siab ntawm kev taug txuj kev nyuaj, tus ntsuj plig DIY, thiab xav paub xav paub hacker. Hardcore DIY cov khoom siv hluav taws xob tsis yog kev nrhiav tsis tseem ceeb, thiab peb tsis tso dej rau koj. Lub hom phiaj yog kev vam meej, tsis yog kev ua tiav. Thaum koj mob siab rau thiab txaus siab rau kev taug txuj kev nyuaj, kev txaus siab ntau tuaj yeem tau los ntawm kev kawm thev naus laus zis tshiab thiab vam tias yuav tau txais qee qhov haujlwm ua haujlwm. Peb hais kom ua txhua kauj ruam qeeb, mloog cov ntsiab lus, thiab tsis txhob ntshai thov kev pab.

Nco ntsoov tias muaj cov ntaub ntawv muaj txiaj ntsig rau tam sim no, thiab yav tom ntej, cov tswv cuab hauv HackerBox FAQ.

Kauj Ruam 2: Tshwj Xeeb JamBox Luam Ntawv Circuit Board

Tshwj xeeb JamBox Luam Circuit Board
Tshwj xeeb JamBox Luam Circuit Board
Tshwj xeeb JamBox Luam Circuit Board
Tshwj xeeb JamBox Luam Circuit Board
Tshwj xeeb JamBox Luam Circuit Board
Tshwj xeeb JamBox Luam Circuit Board

JamBox PCB txhawb nqa ESP32 microprocessor module, plaub MAX7219 8x8 LED matrix modules, tsib 10K potentiometers rau analog input, thiab yim tactile momentary nyees khawm rau cov tswv yim. Cov suab tso tawm tau muab siv ESP32 sab hauv Digital-to-Analog Converter (DAC) thaiv lossis xaiv txuas mus rau CJMCU sab nraud PCM5102 I2S DAC Module. PCB muaj qhov sib dhos, lossis cov nplaum roj hmab taw tuaj yeem siv tau.

TSEEM CEEB TSEEM CEEB TSHAJ PLAWS:

  • Txhawm rau siv ESP32 built-in DAC rau lub suab tso tawm, tsis txhob muab lub PCM5102 tus qauv tso rau hauv qhov chaw. Cias siv IO25 thiab GND pins los tsav lub mloog pob ntseg lossis hais lus nrov nrov.
  • Plaub plaub 8x8 LED Matrix Modules tau taw qhia nrog cov kab nkag mus rau saum thiab cov kab tso tawm hauv qab.
  • Cov cuab yeej siv zog "pins" ntawm tsib lub zog muaj zog tsuas yog me me me me dhau rau qhov nyob hauv tus qauv RV09 hneev taw. Ib qho yooj yim txhim kho yog siv cov yas me me los quav cov tiaj tiaj "pins" rau ntau dua ntawm taco lossis taquito zoo. Tom qab ntawd lawv yuav tsum plam txoj cai. [VIDEO]
  • Daim phiaj 15x5 tuaj yeem siv rau ntxiv I/O cuam tshuam. MIDI leej twg?

Kauj Ruam 3: ESP32 thiab Arduino IDE

ESP32 thiab Arduino IDE
ESP32 thiab Arduino IDE

ESP32 yog tib lub tshuab computer. Nws tau koom ua ke zoo nrog 2.4 GHz Wi-nkaus thiab Bluetooth. ESP32 koom ua ke hloov lub kav hlau txais xov, RF balun, lub zog siv hluav taws xob, lub suab qis tau txais lub suab nrov, lim, thiab tswj hwm cov qauv. Yog li ntawd, tag nrho cov kev daws teeb meem nyob rau thaj tsam me me Luam Luam Circuit Board (PCB).

ESP32DevKitC yog pawg tswj hwm kev txhim kho me me uas tsim los ntawm Espressif. Feem ntau ntawm I/O tus pin tau tawm mus rau tus pin headers ntawm ob sab kom yooj yim cuam tshuam. USB interface nti thiab tus tswj hluav taws xob tau koom ua ke rau hauv tus qauv. ESP32 tau txais kev txhawb nqa hauv Arduino ecosystem thiab IDE, uas yog txoj hauv kev nrawm thiab yooj yim los ua haujlwm nrog ESP32.

Arduino ESP32 github repository suav nrog cov lus qhia teeb tsa rau LInux, OSX, thiab Windows. Nyem rau qhov txuas ntawd thiab ua raws cov lus qhia uas cuam tshuam nrog kev ua haujlwm ntawm koj lub khoos phis tawj.

Cov peev txheej ntxiv: ESP32 Cov Ntaub Ntawv ESP32DevKitC SchematicESP32 Cov Ntawv Qhia Txog Kev Qhia ESP32 Arduino Qhia

Kauj Ruam 4: JamBox I/O Demo

JamBox I/O Demo
JamBox I/O Demo

Cov lej txuas txuas txuas (IOdemo.ino) muaj txiaj ntsig los qhia txog kev ua haujlwm yooj yim ntawm 8x8 LED cov txiaj ntsig thiab cov neeg siv tswv yim los ntawm yim khawm thawb thiab tsib lub zog sib piv. Cov khoom kho vajtse I/O no yog lub hauv paus ntawm peb cov neeg siv kev sib txuas.

Arduino Library rau 8x8 LED cov qauv.

Kauj Ruam 5: ESP32 Sab Hauv DAC rau Suab

Image
Image

Tus hloov pauv digital-rau-analog (DAC lossis D-rau-A) yog lub kaw lus uas hloov pauv cov teeb liab mus rau hauv lub teeb liab analog. DACs feem ntau siv hauv cov tshuab ntaus nkauj los hloov cov ntaub ntawv digital mus rau hauv cov suab sib piv. Suab DACs feem ntau qis zaus thiab daws teeb meem siab. [Wikipedia]

ESP32 muaj ob sab hauv 8bit DACs. Cov DACs no tuaj yeem hloov pauv tus nqi 8 me ntsis rau qhov tso tawm qhov hluav taws xob analog. 0-255 8-ntsis cov tswv yim qhov tseem ceeb qhia ntxaws rau qhov ntau ntawm 0V txog 3.3V ntawm ESP32. Ib qho piv txwv lub suab tuaj yeem ua nws rov qab los ntawm DAC.

Pom zoo: