LED light control using DMX512 control method



Similar documents
FUTURELIGHT RDM PC DIRECTOR

Lab Experiment 1: The LPC 2148 Education Board

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Part Number Description Packages available

DMX 101: A DMX 512 HANDBOOK

Tutorial for MPLAB Starter Kit for PIC18F

T O K I S T A R L I G H T I N G I N S T R U C T I O N M A N U A L LC-1CH-MULTI Dimmer Module

Eliminate Risk of Contention and Data Corruption in RS-485 Communications

Wireless DMX Connector

RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available

Using Xbee in Serial Communication

LED LIGHTING CATALOG 2014 vol.1. Dimmer Power Supplies

EDI Distributor Control Interface Wiring and Setup Instructions

Serial Communications

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

DeviceNet Bus Software Help for Programming an Allen Bradley Control System

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

USER GUIDE EDBG. Description

Single channel data transceiver module WIZ2-434

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

1-Port R422/485 Serial PCIe Card

User Manual. AS-Interface Programmer

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

UPiS - Uninterruptible Power intelligent Supply

8051 MICROCONTROLLER COURSE

RS-485 Protocol Manual

Inwall 4 Input / 4 Output Module

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

SYSTEM 45. C R H Electronics Design

Industrial Bar Code Scanners

RPLIDAR. Low Cost 360 degree 2D Laser Scanner (LIDAR) System Development Kit User Manual Rev.1

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

NC-12 Modbus Application

WEA-Base. User manual for load cell transmitters. UK WEA-Base User manual for load cell transmitters Version 3.2 UK

CMC-DN01 DeviceNet Slave Communication Card Operation Manual

Software User Guide UG-461

SYSTEM 4C. C R H Electronics Design

Fingerprint Based Biometric Attendance System

DMX2PWM 9 Channel Dimmer Setup Manual

Tebis application software

STM32 F-2 series High-performance Cortex-M3 MCUs

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

GE Power Controls FIELDBUS APPENDIX PROFIBUS DP. Doc. No.: ASTAT Plus PB_Appendix-v0

BSE Geluid en Licht Pagina 1 van 5. Description

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: wireless embedded network

STEPPER MOTOR SPEED AND POSITION CONTROL

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

ZME_RC2 Z-Wave Remote Control

Flight Controller. Mini Fun Fly

CB-OLP425 DEVELOPMENT KIT GETTING STARTED

ZME_05459 Wall Blind Control Set for Busch-Jaeger DURO 2000 Firmware Version : 1.8

Atmel Norway XMEGA Introduction

STIM202 Evaluation Kit

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

SMS based remote control system

CENTRONICS interface and Parallel Printer Port LPT

3.2 inch QVGA TFT Color LCD User s Guide Version 1 & 2

D4 HP Dimmer User s Manual Rev City Theatrical, Inc.

ET-BASE AVR ATmega64/128

Smarthome SELECT Bluetooth Wireless Stereo Audio Receiver and Amplifier INTRODUCTION

Control Interfaces. GRAFIKR Systems a LUT-DMX

Fiber Optic Selector Guide for Analog & Digital Data Links, Contact Closures & Multiplexers

DMX-K-DRV. Integrated Step Motor Driver + (Basic Controller) Manual

Progettare per il Solid State Lighting: le sfide da superare

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev

Software Manual RS232 Laser Merge Module. Document # SU Rev A

CPU ARM926EJ-S, 200MHz. Fast Ethernet 10/100 Mbps port. 6 digital input 2 digital open-drain alarm output

1. Introduction Fixture exterior view Connecting the Robe Universal Interface Software update of the fixture...

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

IR Communication a learn.sparkfun.com tutorial

ENTTEC Pixie Driver API Specification

AN3354 Application note

EVAL-UFDC-1/UFDC-1M-16

CAN bus board. EB018

Installation and User Guide

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

Getting Started Guide with WIZ550web

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

AND8336. Design Examples of On Board Dual Supply Voltage Logic Translators. Prepared by: Jim Lepkowski ON Semiconductor.

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

Lab 6 Introduction to Serial and Wireless Communication

B Robo Claw 2 Channel 5A Motor Controller Data Sheet

Allen-Bradley/Rockwell

x10* CP290 HOME CONTROL INTERFACE PROGRAMMING GUIDE FOR ADVANCED PROGRAMMERS

0832 Dot Matrix Green Display Information Board User s Guide

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

2.0 System Description

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

SolarEdge. RS485 Expansion Kit Installation Guide. Version 1.0

SDN INSTRUCTIONS 07/10, Ver 1.2. Somfy Digital Network (SDN) Installation and Programming

DVPPF02-H2. PROFIBUS DP Slave Communication Module Application Manual

STM32L. Ultra-low-power Cortex -M3 devices

Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light

PD 100A. Printing data system

Z-Wave.Me Wall Controller

Industrial Bar Code Scanners

RC2200DK Demonstration Kit User Manual

Transcription:

LED light control using DMX512 control method June 2011

Why intelligent control? Different needs for control Energy saving Dimming according to natural light, on-off according to room occupancy, for example Comfort Color changing (cool/warm) based on location and time of the day improved productivity at work, more relaxing at home Architectural/fashion Creating different effects using same lights in scene setting for lounges, hotels, restaurants, shops, as well as building illumination Light control For specific applications such as theater stage lighting

What is DMX? (1/2) DMX Digital MultipleX For remote control of advanced lighting systems, including motorized lamps to set light intensity, light color, lamp rotation For wired communication systems (twisted pairs + RS-485 such as PHY) in theatre stage lighting and exhibition lighting, for example

What is DMX? (2/2) DMX512 uses asynchronous data transmission up to 250 Kbaud/s (to dimmers, scanners, motorized decoders) Unidirectional, serial transmission and daisy-chain configuration up to 512 nodes (so called DMX universe) with max time 22 ms (roughly 44 Hz, no visible delay) The multiple receivers are connected to the DMX host in a daisy-chain topology and every packet goes through each receiver Very simple protocol only 8-bit data one after another DMX in-connector Lamp example DMX out-connector 7 DMX channels 0: lamp intensity 1: rotation X axis (course) 2: rotation X axis (fine) 3: tilt Y axis (course) 4: tilt Y axis (fine) 5: color selection 6: gobo selection

STEVAL-ILL030V1 description Reference design and DMX512 communications protocol algorithm based on STM32 Follows DMX512 2008 standard as well as timing constraints Configuration of a single board mode as transmitter, receiver or standalone LED intensity control using a 120 Hz PWM from 0% to 100% Connection to multiple receivers, up to 512, to a single host controller False-packet rejection, reset sequence timing check Two on-board 3 W LEDs and jumper option to drive external LEDs Documentation UM1004: (user manual) DMX512 based LED lighting solution UM0792: Demonstration firmware for the DMX512 communication protocol transmitter based on the STM32F103Zx UM0791: Demonstration firmware for the DMX512 communication protocol receiver based on the STM32F103Zx SW code (.hex): available with the board the application source (IDE IAR Embedded Workbench) is available only on request and is covered by license agreement Key products STM32F103 LDS3985M33R (voltage regulator) STCS1APUR ESDAULC6-3B6 (USB protection) STBP120AVDK6F (voltage protection) ST485ABDR Typical applications Stage lighting Theaters Choreographic lighting Automatic light systems Board purpose Make the DMX512 communication available also on STM32 MCUs and have a simple demonstrator Targeting medium/small size customers for lighting control

STM32F103C6T6 STM32 Performance line (low density series) 32-Kbyte Flash 48-pin LQFP package 2 to 3.6 V supply Low-power modes with wake-up Internal RC -40/+105 C Peripherals required for DMX Timer2 and Timer3 16-bit general-purpose timers USART IO pins STM32 bringing universality USB connection, LED dimming, receiver/transmitter modes

STCS1A 1.5 A max constant-current LED driver 4.5 to 40 V input voltage range 1.5 A output current capability PWM dimming and shutdown pin Available in DFN8 (3 x 3 mm) and PowerSO-8 packages 0.5 A used on the demo Up to 3 LEDs in parallel

Other devices ESDAULC6-3BP6 ESD protection for USB port LDS3985M33 Ultra-low drop voltage regulator for 3.3 V ST485AB RS-485 transceiver STBP120 Overvoltage protection STPS340U Power Schottky diode, 40 V

Software overview Code size Total code size: ~10 Kbytes Total RAM usage: ~2.1 Kbytes Receiver code size: < 1 Kbyte Transmitter code size: ~1.2 Kbytes Detailed description: UM0792 transceiver Detailed description: UM0791 receiver Reference design: UM10004 Note: the application source (IDE IAR Embedded Workbench) is available only on request and is covered by license agreement.

DMX details DMX protocol is a never ending stream of data at 250 Kbit/s. Fire-and-forget communication no responses Note: Bidirectional RDM protocol (packets are in between DMX data packets) One start bit, eight data bits, two stop bits and no parity Each device has a start address selected by DIP switches or in an electronic menu, for example Due to no error checking, cannot be used in safety or hazardous applications (such as pyrotechnics control) Mark before break Break Mark after break Protocol (start) code Channel 0 data Channel 1 data Channel 2 data... Channel 511 data...

Interface Transmitter Receiver

Receiver (1/2) The receiver extracts a particular slot from the packet and modifies the duty cycle of the PWM output as per the data received Timer3 is used to generate a 120 Hz LED dimming signal according received data

Receiver (2/2) J1 driver enable, 2-3 connected J2 receiver enable, 2-3 connected J3 mode select, 2-3 connected J6 terminator selector End of the line: 1-2 connected Middle of the line: 2-3 connected J4 J3 J1 J2 J6

Transmitter (1/2) Timer3 controls time between slots (sent bytes) up to 512 Timer2 controls break timing

Transmitter (2/2) J1 driver enable, 1-2 connected J2 receiver enable, 1-2 connected J3 mode select, 2-3 connected J4 J3 J1 J2 J6

Standalone mode LED on board is controlled directly by potentiometer J1 driver enable, 2-3 connected J2 receiver enable, 1-2 connected J3 mode select, 1-2 connected J4 J3 J1 J2 J6

STEVAL-ILL030V1 description Reference design and DMX512 communications protocol algorithm based on STM32 Follows DMX512 2008 standard as well as timing constraints Configuration of a single board mode as transmitter, receiver or standalone LED intensity control using a 120 Hz PWM from 0% to 100% Connection to multiple receivers, up to 512, to a single host controller False-packet rejection, reset sequence timing checking Two on-board 3 W LEDs and jumper option to drive external LEDs Documentation UM1004: (user manual) DMX512 based LED lighting solution UM0792: Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx UM0791: Demonstration firmware for the DMX-512 communication protocol receiver based on the STM32F103Zx SW code (.hex): available with the board the application source (IDE IAR Embedded Workbench) is available only on request and is covered by license agreement Key products STM32F103 LDS3985M33R (voltage regulator) STCS1APUR ESDAULC6-3B6 (USB protection) STBP120AVDK6F (voltage protection) ST485ABDR Typical applications Stage lighting Theaters Choreographic lighting Automatic light systems Board purpose Make the DMX512 communication available also on STM32 MCUs and have a simple demonstrator Targeting medium/small size customers for lighting control

Thank you for your attention www.st.com/mcu