Cov txheej txheem:

Xov tooj cua FM (Raspberry Pi): 4 Kauj Ruam
Xov tooj cua FM (Raspberry Pi): 4 Kauj Ruam

Video: Xov tooj cua FM (Raspberry Pi): 4 Kauj Ruam

Video: Xov tooj cua FM (Raspberry Pi): 4 Kauj Ruam
Video: xov tooj cua hmoob FM 100 MHZ 28 2 2019 2024, Hlis ntuj nqeg
Anonim
Xov tooj cua FM (Raspberry Pi)
Xov tooj cua FM (Raspberry Pi)

Qhia yooj yim ntawm yuav teeb tsa FM Xov Tooj Cua Module (tshuaj yej 5767) nrog Raspberry Pi.

Kauj Ruam 1: Qhov Chaw

Qhov
Qhov

RPI 3 B+ -

4 Amp Power Adapter -

16GB Micro SD -

FM Module -

(ALT) FM Module -

Kauj ruam 2: Teeb

Teeb
Teeb
Teeb
Teeb

5V> 5V

SDA >> GPIO2

SLC >> GPIO3

GND >> NCO

Pab kom I2c interface:

"sudo raspi-teeb tsa"

Xaiv "Interfacing Options"

Xaiv "I2C"

Xaiv "Yog"

Txuag thiab Tawm

Tshawb xyuas qhov Module tau pom:

"sudo i2cdetect -y 1"

Koj yuav tsum pom 60 hauv kab 0

Kauj ruam 3: Code

Code
Code

Khiav hom:

"python3 radio.py"

Kauj Ruam 4: Cov Lus Qhia Ntxiv

Image
Image

Phau Ntawv Qhia Hauv Online:

Pom zoo: