Cov txheej txheem:

4 Channel DMX Transceiver: 24 Kauj Ruam
4 Channel DMX Transceiver: 24 Kauj Ruam

Video: 4 Channel DMX Transceiver: 24 Kauj Ruam

Video: 4 Channel DMX Transceiver: 24 Kauj Ruam
Video: 30 channel DMX 512 rgb LED strip controller dmx decoder dimmer driver DC9V-24V - 2024, Kaum ib hlis
Anonim
4 Channel DMX Transceiver
4 Channel DMX Transceiver

DMX IO Platform Module yog 4-channel DMX transceiver. Hauv kev tau txais nws tuaj yeem tswj tau txog plaub txoj kab ntawm TTL tam sim no qis (3.3v, piv txwv li, rau servos thiab LEDs me me) lossis siab-tam sim no (12v, piv txwv li, teeb, xa tawm, solenoids, stepper motor, thiab lwm yam) tso tawm. Hauv hom kev xa, nws tuaj yeem xa cov lus txib rau tag nrho DMX ntug (512 raws). Txhua XLR-3 txuas txuas tso cai rau tus qauv ua tus txais lossis xa tawm (tus tswv) node hauv DMX network thiab 9-txoj haujlwm DIP hloov tso cai rau chaw nyob teeb tsa yam tsis hloov pauv firmware. RS-485 kev tsim kho vajtse tso cai rau hloov software ntawm RX thiab TX hom uas tso cai rau cov kws tshaj lij los sim ua haujlwm DMX txais cov haujlwm nrog rau cov ntawv thov txuas mus rau-DMX.

DMX yog dab tsi?

DMX yog cov txheej txheem txheej txheem uas ua haujlwm hla RS-485 kho vajtse txuas. Nws tau xub tsim los tswj cov teeb (Chauvet muaj pawg txias DMX teeb), tab sis nws kuj tseem siv los tswj cov kev pabcuam, LED's, stepper motors, txuas, thiab lwm yam khoom siv (Zoo li DMX Skeleton). Nws yog ib qho yooj yim-rau-siv, muaj zog raws tu qauv uas tso cai rau 1, 500 Feet + cable khiav siv cable pheej yig. Lub DMX network muaj 1 tus tswv cuab, thiab 1 lossis ntau dua cov cuab yeej qhev. 512 txoj kev tswj hwm muaj thiab muaj ntau yam khoom siv qhev siv ntau dua ib qho channel (piv txwv li, lub teeb yuav siv 1 channel rau yias, lwm qhov rau qaij). Txhua txoj hauv kev tuaj yeem txhawb 256 qhov ua tau zoo, txawm hais tias qee cov cuab yeej qhev yuav ua ke 2 txoj hauv kev rau 65, 535 qhov tseem ceeb. Cov txiaj ntsig channel tuaj yeem hloov pauv txog 44 zaug hauv ib pliag, lossis 44Hz.

Txog Cov Qauv no

Koj tuaj yeem ntxiv DMX IO Module rau Propeller Platform, tus tiv thaiv kab mob, lossis txawm tias yog lub khob cij. Kuv yuav tham txog kev siv nws nrog Parallax Propeller lossis Arduino thaum kawg ntawm cov lus qhia no. DMX IO module tau tsim los ntawm Jon Williams thiab tau ntawv tso cai raws li MIT License. Nws tshuaj xyuas DMX (thiab tus qauv no) hauv nws Kaum Ib Hlis Nuts n 'Volts kem, uas koj tuaj yeem nyeem ntawm no (pdf). Koj tuaj yeem rub tawm cov ntawv tsim lossis yuav cov khoom lossis PCB liab qab los ntawm Gadget Gangster. Pre-assembled modules kuj muaj. Lub sijhawm ua haujlwm yog li 45 feeb. Ua kom sov koj cov hlau txuas thiab mus rau theem tom ntej!

Kauj Ruam 1: Siv: Siv Tswv Yim

Siv: Siv Tswv Yim
Siv: Siv Tswv Yim

Thaum koj cov hlau ua kom sov, ntawm no yog qee qhov piv txwv ntawm yam txias uas koj tuaj yeem ua nrog DMX;

Christmas Zaub

Muaj ntau tus DMX dimmer/hloov pob (ntawm no yog ib qho) uas tso cai rau koj ntsaws rau hauv lub teeb lossis hlua ntawm Christmas teeb (lossis lwm yam uas tuaj yeem ntsaws rau hauv phab ntsa), qhib nws lossis tawm, mem tes, lossis dim nws. DMX IO module tuaj yeem hais tawm cov lus txib los ntawm DMX kom dimmer/hloov pob lossis lwm yam khoom siv DMX; khoom xws li Fog Machine, lasers, npuas, lossis tshuab daus.

Ua Teeb Pom Kev

Xim koj lub tsev

Duab
Duab

W Hotel In BostonThe DMX IO module tuaj yeem xa cov lus txib mus rau ntau pua ntawm cov khoom siv qhev, zoo li cov COLORdash Quad ntxuav teeb.

Tswj Servos thiab Animatronics

DMX IO module kuj tseem tuaj yeem siv tau txais cov lus txib los tswj cov kev pabcuam, pneumatics, lossis ze li ib yam khoom siv uas koj tuaj yeem xav txog - koj tau txais 12V los ntawm cov ntsia hlau -qis, thiab pawg thawj coj tseem muaj lub taub hau rau 3V cov cuab yeej. yam uas tuaj yeem ua tau. Tom ntej no, peb yuav pib tsim cov qauv, thiab thaum kawg ntawm cov lus qhia no, muaj cov ntaub ntawv qhia yuav ua li cas rau nws (tsis txhob txhawj, nws yooj yim zoo nkauj).

Kauj Ruam 2: Ua: Daim Ntawv Teev Npe

Ua: Daim Ntawv Teev Npe
Ua: Daim Ntawv Teev Npe

Cia peb paub tseeb tias koj muaj cov ntu hauv qab no. Koj tseem tuaj yeem lob cov ntu no los ntawm mouser - txhua ntu ntawm cov txheej txheem muaj mouser ntu # (cov ntaub ntawv yog ExpressPCB)

Daim Ntawv Teev Npe

  • DMX IO PCB
  • 9 txoj haujlwm 300 mil DIP hloov
  • 3 hli Ntsuab LED
  • 4x TIP 125 Transistors
  • 2x 200uF Electrolytic Capacitors
  • 1x.1uF Radial Ceramic Capacitor
  • 2 x Shunt Jumpers
  • 8 Pin DIP Qhov (Socket)
  • 56 Tus Pin Headers
  • 4x 2N3904 Transistors
  • 4x2 Txoj Haujlwm Txoj Haujlwm Thaiv
  • RS485 / RS422 Transceiver IC
  • 10 Pin Bussed Resistor Network (10k ohm)
  • XLR3 Txiv neej Txuas
  • XLR3 Poj Niam Txuas
  • 3x 4.7k ohm Resistor (Daj - Violet - Liab)
  • 4x 470 ohm Resistor (Daj - Violet - Xim av)
  • 4x 1k ohm Resistor (Xim av - Dub - Liab)
  • 1x 330 ohm Resistor (Txiv kab ntxwv - Txiv kab ntxwv - Xim av)
  • 1x 120 ohm Resistor (Xim av - Liab - Xim av)

Kauj Ruam 3: Ua: Resistors

Ua: Resistors
Ua: Resistors

Ntxiv thawj peb tus tiv thaiv, 4.7k ohm (Daj - Violet - Liab) ntawm R2, R3, thiab R4.

Kauj Ruam 4: Ua: 120 Ohm Resistor

Ua: 120 Ohm Resistor
Ua: 120 Ohm Resistor

120 ohm Resistor (Xim av - Liab - Xim av) mus ntawm R1

Kauj Ruam 5: Ua: 470 Ohm Resistors

Ua: 470 Ohm Resistors
Ua: 470 Ohm Resistors

R5, R6, R7, thiab R8 yog 470 ohms (Daj - Violet - Xim av)

Kauj Ruam 6: Ua: 1k Ohm Resistors

Ua: 1k Ohm Resistors
Ua: 1k Ohm Resistors

Txoj cai ib sab ntawm 470 ohm Resistors mus rau 1k ohm Resistors (Xim av - Dub - Liab)

Kauj Ruam 7: Ua: 330 Ohm Resistor

Ua: 330 Ohm Resistor
Ua: 330 Ohm Resistor

Qhov no yuav tsum yog koj qhov kev txiav txim siab tsis sib haum zaum kawg, thiab nws tau siv los txwv qhov tam sim no rau LED. Nws yog 330 ohms (Txiv kab ntxwv - Txiv kab ntxwv - Xim av) thiab mus ntawm R13

Kauj Ruam 8: Ua: LED

Ua: LED
Ua: LED

Cia ntxiv LED ntsuab, nws mus ncaj nruab nrab ntawm pawg thawj coj, raws li qhia hauv daim duab. Nco ntsoov tias cov hlau lead luv dhau mus los ntawm lub xwmfab qhov no coj mus txuas rau P27. Txhua yam koj yuav tsum tau ua kom tig nws yog nqa P27 siab.

Kauj Ruam 9: Ua: Ceramic Capacitor

Ua: Ceramic Capacitor
Ua: Ceramic Capacitor

Ntxiv cov ceramic Capacitor rau lub rooj tsavxwm, raws li qhia hauv daim duab. Lub capacitor no tsis yog polarized, yog li nws tsis muaj teeb meem uas cov hlau lead mus rau hauv qhov twg.

Kauj Ruam 10: Ua: 2N3904 Transistors

Ua: 2N3904 Transistors
Ua: 2N3904 Transistors

Ntxiv 2n3904 Transistors raws li qhia hauv daim duab. Nco ntsoov tias lub tiaj tiaj ntawm kab transistor nce nrog lub tiaj tiaj raws li qhia hauv lub rooj tsavxwm.

Kauj Ruam 11: Ua: Ntsia Hlau Tshem Tawm, Npaj

Ua: Ntsia Hlau Tshem Tawm, Npaj
Ua: Ntsia Hlau Tshem Tawm, Npaj

Muaj 4 Screw Down Terminals, txhua tus muaj qhov zawj me hauv ib sab thiab bevel me me nyob rau lwm qhov. Peb tab tom txuas txhua lub davhlau ya nyob twg mus rau hauv ib qho 'stick'. Ua ntej, txheeb xyuas lub bevel ntawm txhua lub davhlau ya nyob twg.

Kauj Ruam 12: Ua: Ntsia Hlau Tshem Tawm, Txuas

Ua: Ntsia Hlau Tshem Tawm, Txuas
Ua: Ntsia Hlau Tshem Tawm, Txuas

Tam sim no, xaub lawv ua ke. Koj tuaj yeem pom hauv daim duab yuav ua li cas lub dav hlau swb ua ke, los ntawm hauv qab.

Kauj Ruam 13: Ua: Ntsia Hlau Tshem Tawm, Ua Kom tiav

Ua: Ntsia Hlau Down Terminals, Ua kom tiav
Ua: Ntsia Hlau Down Terminals, Ua kom tiav

Xaub tag nrho plaub lub dav hlau ua ke, raws li qhia hauv daim duab. Koj yuav muaj tib lub davhlau ya nyob twg 'stick'.

Kauj Ruam 14: Ua: Solder Down Terminal

Ua: Solder Down Terminal
Ua: Solder Down Terminal

Ntxiv koj lub davhlau ya nyob twg tsim tshiab lo rau ntawm lub rooj tsavxwm. Nco ntsoov tias 'clamps' (qhov twg koj ntxig rau xaim koj xav txuas nrog lub dav) yuav tsum nyob ze rau ntawm ntug ntawm lub rooj tsavxwm. Cov no yog tus pin headers rau tswj servos. Tus pin nyob ib sab ntawm W yog lub teeb liab tswj, tus pin nruab nrab txuas nrog +5V, thiab tus pin ntawm sab xis txuas nrog hauv av. Yog tias koj xav siv DMX IO los tswj cov cuab yeej siv hluav taws xob tsawg, ntxiv 3 tus pin headers ntawm txhua qhov chaw.

Kauj Ruam 15: Ua: IC Qhov (Socket)

Ua: IC qhov (socket)
Ua: IC qhov (socket)

IC lub qhov (socket) mus ntawm U1 nrog lub thais ze dua rau cov khoom siv hluav taws xob. Qhov chaw thais tsis muaj teeb meem rau lub qhov (Nws yuav ua haujlwm li ob txoj kev), tab sis nws yuav pab xyuas kom koj tso IC rau hauv qhov yog, yog li nws zoo dua los ua qhov raug.

Kauj Ruam 16: Ua: DIP Hloov

Ua: DIP Hloov
Ua: DIP Hloov

9 txoj haujlwm DIP hloov mus ntawm SW1. Txhua qhov hloov pauv ntawm DIP tau cim nrog tus lej (sab xis hauv qab qhov hloov pauv), thiab qhov hloov pauv sau tias '1' mus rau sab laug, raws li qhia hauv daim duab.

Kauj Ruam 17: Ua: Bussed Resistor, Txheeb Tus Pin 1

Ua: Bussed Resistor, Txheeb Tus Pin 1
Ua: Bussed Resistor, Txheeb Tus Pin 1

Cov busist resistor muaj 'tus pin 1', nws tau txheeb xyuas los ntawm kev saib lub cev ntawm kev tivthaiv - tus pin 1 yog cim los ntawm tus xub.

Kauj Ruam 18: Ua: Bussed Resistor, Ntxiv rau Pawg Thawj Coj

Ua: Bussed Resistor, Ntxiv rau Pawg Thawj Coj
Ua: Bussed Resistor, Ntxiv rau Pawg Thawj Coj

Tus Pin 1 mus dhau ntawm lub xwmfab qhov uas tseem cim rau ntawm lub silkscreen, raws li qhia hauv daim duab.

Kauj Ruam 19: Ua: Jumpers

Ua: Jumpers
Ua: Jumpers

Muaj ob tus neeg dhia ntawm lub rooj tsavxwm, TERM: Yog DMX IO module yog qhov kawg (xa lossis tau txais), xaub lub jumper shunt txhawm rau txuas 2 tus pin. GND: Yog DMX IO module yog tus tswv (kis) - tsuas yog ib lub node yuav siv lub jumper no. Yog li, koj tsuas yog xaub lub jumper shunt los txuas rau 2 tus pin. Yog hais tias tus qauv yog tus tswv xa, koj yuav jumper shunt ob leeg dhia. Yog tias tus qauv yog tus txais kawg, koj yuav jumper shunt TERM jumper nkaus xwb. Yog li, koj tsis tas yuav jumper shunt ib lub jumper. Yog tias koj tus pin lub taub hau los rau hauv kab txaij loj, txiav 2 tus pin tawm nrog koj lub dikes thiab ntxiv rau hauv pawg thawj coj saib qhov twg nws sau tias 'TERM'. Txiav tawm 2 tus pin ntxiv thiab ntxiv ntawm 'GND'.

Kauj Ruam 20: Ua: Electrolytic Caps

Ua: Electrolytic Caps
Ua: Electrolytic Caps

2 lub hau hluav taws xob (lawv zoo li cov kaus poom hlau me me) mus rau ntawm qhov chaw uas tau hais hauv daim duab. Lub kaus mom electrolytic yog polarized - tus pin ntev dhau mus los ntawm lub xwmfab qhov (tseem cim nrog '+'). Ntawm lub hau, muaj kab txaij. Cov hlau lead luv (ze rau ntawm kab txaij) mus dhau cov hlau lead ntev dua - ze rau ntawm ntug ntawm pawg thawj coj saib. Ob lub kaus mom yog 220uF

Kauj Ruam 21: Ua: TIP125 Transistors

Ua: TIP125 Transistors
Ua: TIP125 Transistors

Muaj 4 qhov loj TIP125 transistors, lawv mus nruab nrab ntawm cov transistors me me thiab cov ntsia hlau nqes hauv cov davhlau ya nyob twg. Nco tseg lub tab ntawm txhua tus transistor, nws mus yog li Tab tau nyob ze rau 'C' cim hauv silkscreen.

Kauj Ruam 22: Ua: XLR3 Txuas

Ua: XLR3 Connectors
Ua: XLR3 Connectors

Muaj 2 XLR txuas, (txiv neej thiab poj niam) uas mus rau ntawm lub rooj tsavxwm. Tus poj niam txuas mus rau hauv lub thawv uas sau tias 'DMX Tawm' thiab tus txiv neej txuas mus rau hauv lub thawv ntawv 'DMX Hauv' Nws yog qhov yooj yim zoo kom tau txais cov no kom raug raws li lub qhov txuas ntawm lub rooj tsavxwm tsuas yog haum qhov txuas.

Kauj Ruam 23: Ua: RS485 IC

Ua: RS485 IC
Ua: RS485 IC

RS485 Transeiver IC (Nws yog ST ST485BN) mus rau hauv lub qhov (socket). Nco tseg qhov thais ntawm IC mus rau sab saum toj, ze rau lub capacitor ceramic yog tias koj tsis xav tau lub jumper shunts, tsuas yog swb txhua tus hla tus pin nkaus xwb. Txoj kev no, koj yuav tsis plam lawv thaum koj xav tau lawv. Cov pins no tso cai rau koj txuas DMX IO module rau Propeller platform, protoboard, lossis breadboard. Ntawm lub rooj tsavxwm, txhua qhov txuas tau sau tias P0 - P31. Cov txheej txheem muaj cov npe kev sib txuas (hom ntawv tawm tswv yim pcb), tab sis ntawm no yog lawv li cas qhia tawm; P0: DIP Hloov '256'P1: DIP Hloov' 128'P2: DIP Hloov '64'P3: DIP Hloov' 32'P4: DIP Hloov '16'P5: DIP Hloov' 8'P6: DIP Hloov '4'P7: DIP Hloov' 2'P8: DIP Hloov '1'P9: DMX channel 1P10: DMX channel 2P11: DMX channel 3P12: DMX channel 4P24: RX2 (Kev Nkag Mus) P25: TXE (Xa Ntawv Pab Tau)

Kauj Ruam 24: Siv DMX

Kev siv DMX
Kev siv DMX

DMX yog qhov yooj yim siv:

Rau Propeller

SAWV DAWS

Jon Williams 'Kaum Ib Hlis Spin Zone tsab xov xwm muab ntau yam ntxaws txog DMX thiab nws tsim cov khoom li cas. Nws kuj tau sau ib qho khoom siv yooj yim (jm_dmxin) uas yuav yooj yim nyeem DMX qhov tseem ceeb. Nrog koj cov lej lej, koj tsuas yog xav tau ntxiv lub tsev qiv ntawv; obj dmx: "jm_dmxin" Thaum koj xav tau qhib lub dmx xyuas, pub lub ntsiab dmx.init (24, 16) '24 = tau txais tus pin, 26 = kev ua haujlwm LED kom tau txais tus nqi ntawm cov channel, nws tsis tuaj yeem yooj yim dua; dmx.read (chan) Nrog tus nqi dmx, koj tuaj yeem ua txhua yam koj xav tau - tso saib qee yam ntawm TV saib, tig lub teeb, ua qee qhov pwm rau ib channel, thiab lwm yam. Thaum koj ua tiav nyeem DMX qhov tseem ceeb, koj tuaj yeem free cog nrog; dmx.finalizeJon tau ua tiav qhov txias dua nrog RGB teeb pom kev zoo siv Bit Angle Modulation hauv nws tsab xov xwm.

Xa

Yog tias koj tus DMX IO module yog tus tswv xa xov, tsis txhob hnov qab xaub ntawm lub jumper shunts rau ob leeg dhia. Txog software, muaj DMX xa khoom hauv Propeller Obex uas ua rau yooj yim DMX tso zis. Nov yog qhov piv txwv ntawm yuav siv nws li cas; Ua ntej ntxiv cov khoom mus rau ntu ntu ntawm koj txoj cai tig; obj dmxout: "DMXout" los pib nws; dira [25]: = outa [25]: = 1 'nqa TX pab kom highdmxout.start (26)' pib dmxoutsending dmx qhov tseem ceeb tsis tuaj yeem yooj yim dua - tsuas yog; dmxout. Write (2, 255) 'channel = 2, tus nqi = 255

Rau Arduino

DMX IO module muaj ib txwm.1 tus pin sib nrug, yog li nws yuav tsis haum rau sab saum toj ntawm Arduino, txawm li cas los xij, koj tseem tuaj yeem txuas nws mus rau arduino nrog cov xov hlau lossis protoboard. Muaj cov lus qhia zoo ntawm Arduino Chaw Ua Si. kev sib txuas; P0: P8 - DIP Hloov P9 - Channel 1P10 - Channel 2P11 - Channel 3P12 - Channel 4P24 - DMX RXP25 - Tshaj Tawm Ua Tau

Pom zoo: