Cov txheej txheem:

Yuav Siv DMX512 / RDM Nrog Raspberry Pi: 6 Cov Kauj Ruam (nrog Duab)
Yuav Siv DMX512 / RDM Nrog Raspberry Pi: 6 Cov Kauj Ruam (nrog Duab)

Video: Yuav Siv DMX512 / RDM Nrog Raspberry Pi: 6 Cov Kauj Ruam (nrog Duab)

Video: Yuav Siv DMX512 / RDM Nrog Raspberry Pi: 6 Cov Kauj Ruam (nrog Duab)
Video: 051 Tuabneeg Yuav Siv Tug Nplaig 2024, Hlis ntuj nqeg
Anonim
Yuav Siv DMX512 / RDM Nrog Raspberry Pi li cas
Yuav Siv DMX512 / RDM Nrog Raspberry Pi li cas

Raspberry Pi tuaj yeem siv rau kev teeb pom kev zoo ntawm DMX512 tsheb npav. Hauv DMX512 cov npav npav RS-485 tau siv los ua txheej txheej ntawm lub cev. Peb RS422 / RS485 Serial HAT yog kev sib txuas tag nrho cov xov tooj cua sib cais HAT tsim los siv nrog Raspberry Pi thiab kev xaiv zoo tshaj plaws rau cov kev thov zoo li no.

Cov lus qhia hauv qab no yuav qhia koj yuav siv Raspberry Pi thiab peb RS485 HAT rau DMX512 daim ntawv thov.

Kauj Ruam 1: Nqi Khoom

Image
Image
Kev thaiv ntawm 5pole XLR
Kev thaiv ntawm 5pole XLR
  • Raspberry Pi A+, B+, B2 lossis B3
  • RS422/RS485 lub kaus mom
  • 5pole XLR txuas (txiv neej & poj niam) lossis 3pole XLR txuas (txiv neej & poj niam)
  • sib txuas xov hlau

Kauj Ruam 2: Txuas ntawm 5pole XLR

Tus nom XLR ntsaws rau DMX/RDM yog 5-pins, uas ib txwm siv hauv kev tshaj lij.

Kauj Ruam 3: Txuas ntawm 3pole XLR

Kev thaiv ntawm 3pole XLR
Kev thaiv ntawm 3pole XLR

Rau ib nrab kws tshaj lij thiab cov khoom siv nyiam ua haujlwm muaj 3-pins XLR.

Kauj Ruam 4: DIP Hloov Chaw

DIP Hloov Chaw
DIP Hloov Chaw

Peb RS422/RS485 HAT los nrog 3 DIP hloov tsev txhab nyiaj. Koj yuav tsum teeb tsa DIP hloov pauv no rau DMX raws li qhia hauv daim duab saum toj no.

Hloov 1:

1 TUG

2 ON ib

3 TUG

4 ON ib

Hloov 2:

1 TUG

2 TUG

3 ON ib

4 ON ib

Hloov 3:

1 OFF lossis ON *

2 TUG

3 TUG

4 TUG

*Nyob ntawm txoj haujlwm ntawm RS422/RS485 HAT hauv DMX512 txoj kab tsheb npav koj yuav tsum hloov qhov kev txiav tawm qhov kev tawm tsam ON lossis OFF. Thov hloov tus tiv thaiv mus rau ON txoj haujlwm tsuas yog HAT nyob ntawm ib kawg ntawm txoj kab npav. Hauv txhua qhov xwm txheej hloov pauv qhov kev tawm tsam tawm OFF:

Kauj Ruam 5: Pub Dawb Ua Ntej Kab thiab Pab Kom UART

RS422/RS485 HAT comunicates ntawm sab hauv UART nrog Raspberry Pi. Qhov UART no feem ntau txuas nrog sab hauv Bluetooth module (lossis nrog lub console hauv cov qauv qub). Koj tau pub dawb cov kab UART no.

Tiv thaiv Linux los ntawm kev siv lub porthttps://elinux.org/RPi_Serial_Connection#Preventing…

Hloov tshiab: raspi -teeb tsa -> 5 Kev Xaiv Ua Haujlwm; Yog, Tsis Yog

Pab kom UART PL011

Ntxiv cov kab hauv qab no rau /boot/config.txt

# OLA UART DMX Tso Tawm

dtoverlay = pi3-disable-bt

init_uart_clock = 16000000

rov pib dua

Kauj Ruam 6: Software rau DMX512 & RDM

Software rau DMX512 & RDM
Software rau DMX512 & RDM
Software rau DMX512 & RDM
Software rau DMX512 & RDM

Koj yuav pom cov ntawv qhia thiab software pob rau Raspberry Pi Ntawm www.raspberrypi-dmx.org

RS422/RS485 HAT tuaj yeem siv nrog OLA UART haiv neeg DMX plugin (DMX tso tawm nkaus xwb). Baremetal siv (tag nrho DMX512/RDM txhawb nqa) tau ua tiav kev sim nrog:

Raspberry Pi Art-Net 3-> DMX Tawm

Raspberry Pi DMX Lub Sij Hawm Teem Sijhawm

Raspberry Pi RDM Responder

Pom zoo: