DMX512-4 Channel PWM Driver Board #805

Similar documents
K191 3 Channel RGB LED Controller

Bolt 18F2550 System Hardware Manual

Installation/assembly manual for DCC/Power shield

Motor driver board. EB022

Cumbria Designs T-1. C-1 Controller. User Manual

CDN502 HIGH DENSITY I/O ADAPTER USER GUIDE

LED Knight Rider. Yanbu College of Applied Technology. Project Description

MD3. Microstepping Motor Driver Page 1 of 7. Description. Software. Mechanical Drawing. Features

QUASAR PROJECT KIT # ATMEL AVR PROGRAMMER

C S Technology Ltd. cstech.co.uk. DTMF display 32 kit with 2 line x 16 LCD display

4.0 Blue LED DCF77 Clock documentation

Safety. Features 1 ID: Make all the connections before you plug in the main power. DMX512 Controllable and RDM Configurable

KDR00101 DMX Controlled Relay Kit

RGB24 Strip Controller RGB DCSSR

DLA. DMX512 Analyzer. DLA Users Manual SV2_00 B.lwp copyright ELM Video Technology, Inc.

DMX36 USER MANUAL Features Revision 1 Suits PCB revision June, 2014

KDR00301 DMX Controlled Relay Kit

Rapid40i PIC Prototyping PCB User Manual

Universal Keying Adapter 3+

CDN503 HIGH DENSITY I/O ADAPTER USER GUIDE

Rapid28iXL PIC Prototyping PCB User Manual

Dwarf Boards. DB057 : 40-pin controller board

QUASAR KIT No DIGITAL DOWN TIMER 99 MIN WITH PIC

SBC44EC. Single board computer for 44 pin PLCC PICs

Rapid40iXL PIC Prototyping PCB User Manual

solutions for teaching and learning

D115 The Fast Optimal Servo Amplifier For Brush, Brushless, Voice Coil Servo Motors

QRPGuys Digital Dial/Frequency Counter

Figure 3.0, Schematic for display application

HAND HELD PROGRAMMER QUICK START GUIDE

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

Reprinted by permission of T&L Publications Inc. Copyright 2001 USB MICROCONTROLLERS FOR THE MASSES

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

DMX CONTROLLED RELAY K8072

Building and using JasperMIDI

SBC65EC. Ethernet enabled Single Board Computer

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

USER MANUAL DMX36. Features

BASIC Stamp 1 Project Board (#27112) Development / Education Platform for the BASIC Stamp 1

Prototyping Module Datasheet

BG2E Universal Gate Drive Prototype Board

Transcendent Frequency Counter

Ocean Controls KT-5193 Modbus Programmable Stepper Motor Controller

EL Wire sequencer / power supply PART NO

SBC45EC. Single board computer for 44 pin PLCC PICs

Storage Card Interface Kit

Eddie Control Board with Power Connector (#28993) Eddie Control Board PCB (# )

TACH-ROTOR ADAPTER PLUS

VG-305A AC Traffic Light Controller Kit

Assembly Instructions (8/14/2014) Your kit should contain the following items. If you find a part missing, please contact NeoLoch for a replacement.

GammaRay USB Module. Beta Innovations DOC No. : Rev. : A2-102 Date : 2, 2004 Part No. : ,

HARDWARE MANUAL TMCM-1613 TMCM-1613-REC. Hardware Version V TRINAMIC Motion Control GmbH & Co. KG Hamburg, Germany.

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

Dwarf Boards. DB021 : L298 dual motor driver

Reverse DDS Kit Construction

KDS Channel DMX Controlled Servo Kit

ARDUINO MEGA 2560 REV3 Code: A000067

RKP08 Component List and Instructions

DMX2-18 USER MANUAL DMX

Post Tenebras Lab. Written By: Post Tenebras Lab

Ocean Controls KT-5190 Serial Stepper Motor Controller

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

HARDWARE MANUAL TMCM-1613 TMCM-1613-REC. Hardware Version V TRINAMIC Motion Control GmbH & Co. KG Hamburg, Germany.

ARDUINO MINI 05 Code: A000087

6222 Two Door Module Technical Operations Manual

AXE033 SERIAL/I2C LCD & CLOCK

VINCULUM-BASED TEMPERATURE / HUMIDITY / VOLTAGE DATA LOGGER FEATURES:

SmartFan Fusion-4. Speed Control and Alarm for DC Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

High Power (15W + 15W) Stereo Amplifier

The Single Dimmer Board

EVALUATION BOARD DATA SHEET EV142

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

Description: 4x 7 segment display module with decimals and colon

MODEL DRIVER Ic Ip VDC

PedalSync. 9 Switches MV-62. Chip. Module. and

N8VEM S-100 BACKPLANE VERSION 04 MAY 3, 2015 J.B.

BMC056. Utility Buttons Last updated

Hardware MCST Technical Manual W E CREATE MOTION

MP6500 Stepper Motor Driver, Digital Current Control

OLED Engineering Kits User Manual

SmartFan Cirrus-9. Speed Control and Alarm for 4-Wire Fans CONTROL RESOURCES INCORPORATED. The driving force of motor control & electronics cooling.

RECORD & PLAYBACK KIT

Modular Backplane For RC2014 User Guide

Hardware Manual - SM2251 Evaluation Kit Board

M32 Development Board

PVK40. User's manual. Feature Rich Development and Educational Kit for 40-pin Microchip PIC microcontrollers

CMB16D. 16 Channel DC Controller. User Manual May 25, 2008 V1.01 Copyright Light O Rama, Inc. 2007, 2008 CMB16D. Table of Contents

SBR The Chameleon Converter II

PowerPal Selectable Voltage 3-Amp Breadboard Power Supply (#32133)

4 Channel DMX Driver Instruction Manual

V1BOOST-STEPPER Unipolar Stepper Motor BoosterPack for the MSP430 LaunchPad. User s Guide

S125 Multi-Purpose 125 KHz RFID Reader USER MANUAL. 9V/24V DC Operating Voltage, AC (optional) KHz RFID EM4100/2 Cards & Tags

3. The circuit is composed of 1 set of Relay circuit.

TDSDB Features. Description

IS-S0108 Single Switch Solution

Mini-TNC Rev 0711 is designed exclusively to work as an APRS TNC.

SmartFPV RC Camera Control v2. User Guide (RCCC v2 without option to power cameras from RC receiver)

AXE Stack 18. BASIC-Programmable Microcontroller Kit. An inexpensive introduction to microcontroller technology for all ability levels

BV4601. Serial & I2C Twin Relay. Product specification. Sep V0.a. ByVac Page 1 of 10

Dual Interface LCD Display Controller

Transcription:

DMX512-4 Channel PWM Driver Board #805 Overview The 4-channel PWM driver board provides four open drain (collector) type outputs that can be directly controlled from a DMX512 network. The four channels can operate independently or ganged. Each channel can configured to operate with a 200Hz, 8-bit PWM signal, or digital on/off mode. The base address can be set between 1 and 509 and data on this address controls the CH1 output. DMX data in the next three consecutive addresses above the base address is used for outputs CH2,CH3,CH4. In ganged mode the value in the DMX base address channel controls all four outputs. Connections DMXin: 3-pin screw terminal for DMX data+, data- and ground. TERM: Jumper can be fitted to the 2-pin header to terminate the DMX input signal into a 120R resistor Power: 4 pin screw terminal connection for ground, board power in and channel output power in. VB+: Board input voltage 9-18V @ 25mA VF+: Channel input voltage 3-36V @ 12 amps (3 amps / channel maximum) GND: Two common ground inputs A wire link (LK1) on the PCB can be fitted to allow the board power to be connected to the VF+ channel power if the input voltage is within the range 9-18 volts. This enables single power supply operation. Channel Outputs: Four channel outputs are presented on screw terminal connectors. CH1, CH2, CH3, CH4 Each channel has an open-drain (collector) type, low-side output driven with either PWM or digital on/off signal. Maximum 3 amps per channel. There are four common VF+ connections between the Channel outputs to simplify wiring. DMX Address and Configuration Setting The DMX base address and configuration can be set using DIP switch SW1, or through DMX in-band configuration when JP1 jumper is on. Address and configuration are saved to non-volatile EEPROM. The DIP switch is dual function, setting both the address and configuration modes which are then saved to EEPROM. Dimensions: PCB size: 100mm x 65mm. Four x 4mm mounting holes centred at 90mm x 50mm Document revision 4 07/04/2013 Page 1

Setting the DMX Base Address and Configuration using the DIP switch The 10-way DIP switch allows both the DMX Base Address and Configuration Modes to be set. The settings read from the switch are saved to the microcontroller s internal EEPROM. If no switch is present, the saved settings from the microcontroller EEPROM are used. The Adr/ DIP switch toggles between setting the DMX Base Address or Configuration Modes. The pre-programmed PIC is supplied with the EEPROM set to a DMX Base Address set of 1 and the Configuration Mode of all switches off. To reconfigure these settings using the DIP switch do the following: Set the Adr/ switch to the Configuration position and remaining switches to the required configuration modes (see page 3.) Power on the board. Wait 5 seconds then power off the board. Set the Adr/ switch to the DMX base address position and remaining switches to the required address (See page 4.) Power on the board. Wait 5 seconds The settings for both the DMX base address and Configuration are now saved to EEPROM The DIP switch settings are only read when the board is first powered on. After power-up any changes to the switch settings will not be read until the next power-cycle. 1. 2. 3. When the Adr/ switch is ON switches 1-9 are used to set the configuration modes. The DMX base address is set from the value previously saved to EEPROM in the microcontroller. When the Adr/ switch is OFF switches 1-9 are used to set the DMX base address. Configuration modes are set from the value previously saved to EEPROM in the microcontroller. If no DIP switch is detected when the board is powered-on, both the DMX Base Address and Configuration mode settings previously saved in EEPROM will be used. If all DIP switches are set to the OFF position this is equivalent to having no DIP switch. Power on Power on Power on 1. 2. 3. Configuration DMX Address No switch present Save to EEPROM Adr / Save to EEPROM Adr / Read from EEPROM Read from EEPROM Read from EEPROM DMX Address Configuration DMX Address Configuration DMX Address Configuration Page 2

Setting the Configuration using the DIP switch Adr/ switch should be set to ON Action on no DMX signal received. When no DMX signal is received the driver can either turn all outputs off, or continue to drive the outputs with the last PWM or digital output value for the channel before the DMX data signal was lost. Ganged Mode. In ganged mode all four outputs use the data from the Base DMX Address. The table below shows the address used for the channel data depending on whether the switch is on or off Channel-1 Channel-2 Channel-3 Channel-4 Base Address ON/OFF ON ON ON Base Address+1 OFF Base Address+2 OFF Base Address+3 OFF Channel Mode. Each output can operate in either PWM or digital mode. In PWM mode the output is driven with a PWM signal, the duty cycle set by the DMX data value: 0 = 0% thru 255 = 100% In digital mode the output is either on or off. When the DMX data value is 0 the output turns off. When the DMX data value is 255 the output turns on. DMX data between 1 and 254 is ignored and will not change the output. The mode can be set for each channel individually. Self-Test. When Self-test is enabled each output turns on (100% PWM duty) at 0.5 second intervals until all four outputs are on. The outputs then turn off (0% PWM duty) at 0.5 second intervals. This repeats continuously until the Self-test switch is returned to the OFF position and the power is cycled. ON 9 8 7 6 5 4 3 2 1 Adr / not-used not-used ON DIP Switch sets configuration Action on no DMX signal OFF outputs turn off ON outputs hold last state Ganged mode OFF outputs operate individually ON all outputs use Base address DMX data Channel 1 mode OFF PWM mode ON digital on/off mode Channel 2 mode OFF PWM mode ON digital on/off mode Channel 3 mode OFF PWM mode ON digital on/off mode Channel 4 mode OFF PWM mode ON digital on/off mode Self-test mode OFF normal operation ON self-test enabled Page 3

Setting the DMX Base Address using the DIP switch Adr/ switch should be set to OFF Switches 9 to 1 are used to set the binary value of the DMX Base Address used by the board. Switches set to the OFF position correspond to a binary value of 0 Switches set to the ON position correspond to a binary value of 1 The DIP switch is only read when the board is powered-on. The address setting read from the switch is automatically saved to the microcontroller EEPROM. When no DIP switch is present, or the switch is set to Configuration Modes, the value previously saved to the EEPROM will be used. 9 8 7 6 5 4 3 2 1 Adr / Switches 9 thru 1 set the binary value for the DMX Base Address ON Off = 0 On = 1 OFF DIP Switch sets DMX Base Address Example Base Address Switch Settings 9 8 7 6 5 4 3 2 1 Adr / 000000001 = 1 Switch 9 8 7 6 5 4 3 2 1 000000010 = 2 000000011 = 3 000000100 = 4 000000101 = 5 000000110 = 6 000000111 = 7 000001000 = 8 Binary weight 256 128 64 32 16 8 4 2 1 To set DMX Base Address to 300 Set switches 9 = On 6 = On 4 = On 3 = On 256 + 32 + 8 + 4 = 300 000001001 = 9 111111101 = 509 ON 9 8 7 6 5 4 3 2 1 Adr / Page 4

Setting the DMX Base Address and Configuration using In-band DMX config The firmware pre-programmed into the PIC microcontroller also supports In-band configuration over the DMX data channel. This allows the address and configuration mode settings to be set in custom designs that do not use the DIP Switch. If JP1 jumper is fitted when the board is powered up the firmware waits for the first valid DMX frame and uses the data to configure the DMX address and configuration word. This is saved to EEPROM in the microcontroller. When JP1 is fitted, regardless of the currently configured DMX base address the board reads the data from the first four channels of the DMX data frame. Channel 1 must contain the value 129 for the firmware to accept the frame. Channel 2 contains the 9 th bit of the binary DMX base address Channel 3 contains bits 8 to 1 bit of the binary DMX base address Channel 4 contains the configuration mode byte. After the firmware receives the complete frame the DMX address and configuration word are saved to the microcontrollers EEPROM. The firmware does not do any validation of the data at this time. When the data has been written to the EEPROM the status LED1 will blink twice and repeat continually until JP1 jumper has been removed and the power cycled. When the board restarts with JP1 jumper removed, the firmware validates the DMX address. If it is not in the range 1 to 509 it will signal an error through the status LED1 (see status LED error code page) N.B. If a DIP switch is fitted, the address or configuration mode set in-band will be overwritten by the switch setting at the next power-cycle after JP1 jumper has been removed. However, if all DIP switches are set to the Off position the switch is effectively not present and will not have any effect on the configuration. The binary bit positions in the channel data bytes shown here correspond to the same DIP switch position number. A 0 in the bit positions is the same as the DIP switch being set to OFF A 1 in the bit positions is the same as the DIP switch being set to ON Must be 129 9 DMX address high byte 8 7 6 5 4 3 2 1 DMX address low byte Start Code Ch 1 Ch 2 Ch 3 Ch 4... 8 7 6 5 4 3 2 1 Configuration mode Example as binary value 1000 0001 0000 0001 0010 1100 0000 0010 as decimal value 129 1 44 2 DMX Base Address = 300 Channel Ganged Mode enabled Page 5

Status LED information and error codes LED1 indicates operating status information and errors detected at power-on. When power is first applied the microcontroller turns the status LED on while it initialises. This takes about 3 seconds after which the LED will indicate the current state or error code. If there are no errors detected it will display one of the two Normal Operating states; either steady on to indicate valid DMX data is being received, or slow blinking to indicate no valid DMX data received. Errors and inband configuration are shown by the status LED rapidly flashing a set number of times, pausing, then repeating the same code repeatedly. The number of rapid flashes indicates the error or state as detailed below. Normal operation Status LED is steady on - DMX data is being received At power-on for ~4 seconds (even if no data received) Status LED blinks slowly (0.5Hz) - no DMX signal is being received. Inband configuration (JP1 jumper closed) In-band configuration complete and saved to EEPROM To clear. Turn off power to the board. Remove JP1 jumper and turn power back on. Power-on errors DMX Address = 0 DMX Address >509 Microcontroller EEPROM write failure Microcontroller internal memory fault The DMX address errors can be cleared by setting a valid DMX address in the range 1 to 509 either using the DIP switch or the JP1/ inband configuration method. In the unlikely event the microcontroller detects an EEPROM or memory error try switching the power off and on. If this does not clear the error the microcontroller has developed a fault and will need replacing. Page 6

Connection Overview Diagram This is a general overview of the connections to the 4 Channel DMX512 Driver PCB805B. When connecting LED or LED modules to the controller consult the datasheet for the specific devices being used to ensure voltage and current limits are met. Do not operate the board at currents or voltages outside the ranges shown here. Do not use with inductive loads Ensure appropriate rated fuses are used in the power supply connections Each output can sink 3 amps maximum. PSU Output +VF 3 36V DC @ 12amps If LEDs / light modules don t have built in current limiting, external resistor must be used. PSU Board +VB 9-18V DC @ 25mA Rlimit Rlimit Rlimit Rlimit +VB GND GND +VF +VF CH1 +VF CH2 +VF CH3 +VF CH4 Maximum load 3 amps / channel output PCB805B DMXin D+ To next driver Gnd DIP Switch Adr/ JP1 Status LED TERM D- PSU Output +VF 9 18V DC @ 12amps Fit jumper to terminate DMX signal thru 120R resistor DMX Controller +VF LK1 +VB +VB GND GND +VF If the main power supply voltage is within the range 9 to 18 Volts DC, fit wire link LK1 to power the board from the main power supply Page 7

Preprogrammed with DMX805 firmware Page 8

Components R1,R2,R3,R4 120R 0.125Watt R5,R6,R7,R8,R10,R11 10K 0.125Watt R12 330R 0.125Watt R13 120R ( 0.25W or 0.5Watt) R14 1K 0.125Watt R9 not used All resistors 5% carbon film. Where 0.125Watt parts are specified these are required to fit on the PCB due to size constraints. C1 C2,C3,C5 C4 330nF polyester 100nF Y5V multilayer ceramic not used JP1 in-band configuration If configuration will only be done in-band the DIP switch and associated circuit components can be omitted. These are: R14, C3, IC4, D2-D11 and SW1 Notes: The output driver MOSFETs Q1-Q4 are STP20NF06L. These are logic level devices designed to operate with a low gate drive voltage. D1-D11 IC1 IC2 IC3 IC4 Q1-Q4 LED1 SW1 CN1 ICSP CN2 JP1 TERM DMXin Power-in Channel output 1N4148 PIC 16F1823 (pre-programmed)* 78L05 MAX481 (or equivalent) HCF4017B STP20NF06L 5mm LED green 10-way DIP switch 5-pin 0.1" header (not used) 5-pin 0.1" header (not used) 2-pin 0.1" header (not used) 2-pin 0.1" header 2-pin 0.1" header 2,54mm jumper links for shorting JP1 / TERM 3-way, 5mm, screw-terminal 4-way, 5mm, screw-terminal, 16 amp (2 x 2-way end stackable) 8-way, 5mm, screw-terminal, 16 amp (4 x 2-way end stackable) If an alternative non-logic level part is substituted you may need to derate the maximum output current per channel Alternative pin-compatible parts exist for the RS-485 transceiver, IC3. SP485 (EXAR) ST485 (ST) MAX483 (Maxim) MAX485 (Maxim) IC Sockets IC1 IC3 IC4 Misc item x 4 14-pin DIP socket 8-pin DIP socket 16-pin DIP socket M3 nut + M3 x 6mm machine screw to mount MOSFETs to PCB Page 9

Description of other connectors on PCB805B LK1 5 volt output CN1 CN1: 5-way 0.1" SIL header ICSP JP1 CN2 SJ1 TERM Direct connection from the microcontroller s four channel driver outputs + one Gnd ISCP: 5-way 0.1" SIL header In-circuit serial programming header. Connections as Microchip ICSP standard 5 way header. CN2: 2-way 0.1" SIL header Presents the microcontroller s RA4 I/O pin + Gnd connection (see also SJ1 ) SJ1: 3-way solder jumper on PCB The RS485 transceiver s RE receive enable input can be connected directly to ground making it permanently enabled, or to the microcontrollers RA4 output. When connected to RA4, the Receiver Enable input is under firmware control and is held high until the microcontroller has initialised and is ready to receive the DMX signal. LK1: on-pcb wire link The driver board s on board 5 volt regulator requires an input voltage between 9 and 18 volts. The channel outputs can operate between 3 and 48 volts. When the +VF channel output supply is outside the 9-18 volts required by the board a separate power input to +VB must be used. If the main +VF output supply is within 9-18 volts, fit wire link to position LK1 to allow the board to derive power from main channel power supply input +VF. TERM: 2-way 0.1" SIL header Fit jumper to terminate the DMX D+/D- signals into the on-board 120R resistor. JP1 / DMX Config: 2-way 0.1" SIL header Fit jumper to enable in-band configuration through the DMX data channel. 5 volt output: 2-way 0.1" SIL header Presents the 5 volt output from the onboard regulator. If used to power an external circuit, ensure load current / +VB input voltage does not exceed the current or power dissipation limits of the 78L05 Page 10

3-pin XLR Wiring for DMX512 DMXin terminal block on PCB Page 11

Links Latest revision of this document can be found at: http://picprojects.org/projects/dmx/dmx805/dmx805manual.pdf Full construction details for the 4-channel DMX PWM Driver board based on PCB805 described in this document can be found at: http://picprojects.org/projects/dmx/dmx805/ Buy the kit for this 4-channel DMX PWM Driver board at: http://picprojects.biz Page 12