Home
1-Wire RGB Controller User Manual
Contents
1. 1 Wire RGB Controller 6 Legal Information Disclaimer Axiris products are not designed authorized or warranted to be suitable for use in space nautical space military medical life critical or safety critical devices or equipment Axiris products are not designed authorized or warranted to be suitable for use in applications where failure or malfunction of an Axiris product can result in personal injury death property damage or environmental damage Axiris accepts no liability for inclusion or use of Axiris products in such applications and such inclusion or use is at the customer s own risk Should the customer use Axiris products for such application the customer shall indemnify and hold Axiris harmless against all claims and damages Trademarks All product names brands and trademarks mentioned in this document are the property of their respective owners 7 Contact Information Official website http www axiris eu XG CRS A 12 User Manual
2. 1 Wire RGB Controller User Manual February 2015 1 Wire RGB Controller Table of Contents 1 Features 2 Technical Specifications 3 Warnings 4 1 Wire RGB Controller Board Overview 1 Wire Terminal Block Connector K3 1 Wire RJ45 Connectors K4 K5 Power Connector K1 RGB Outputs Connector K2 1 Wire Slave Power Selection J1 1 Wire Connectivity Communications Protocol 5 Software Support 1 Wire Automation Server ows owfs 6 Legal Information Disclaimer Trademarks 7 Contact Information Revision History Date Authors 3 NoOouuw fp BR AP 10 10 10 10 12 12 12 12 Description 2013 03 06 Peter S heeren Initial release 2013 04 28 Peter S heeren Added section about software support Second release 2013 07 21 Peter S heeren Added section about owfs software support Third release 2015 02 17 Peter S heeren Added section about i Wire Automation Server software support Fourth release User Manual 1 Wire RGB Controller 1 Features Three individually controllable PWM output channels able to directly drive a 12V LED RGB strip Approx 1000 Hz PWM cycle frequency PWM duty cycle adjustable from 0 to 99 61 PWM duty cycle changes are free of glitches avoiding visual flickering PWM signals are shifted 120 degrees for optimal power distribution Separate circuits for 1 Wire and 12 V RGB A fuse protects th
3. e 12 V RGB circuit Three connection points for 1 Wire cabling and wiring Drives RGB LED strips up to 4 A per channel for a max total of 144 W 2 Technical Specifications Weight 45 g with fuse Dimensions 92 mm x 55 mm x 25 mm W x D x H 3 Warnings WARNINGS Beware the polarity of the power connector do not inverse This device is not suitable for driving 24 V LED strips User Manual 3 1 Wire RGB Controller 4 1 Wire RGB Controller Board Overview Description 1 Wire bus terminal block connector Fuse 10 A max 12 A allowed 1 Wire bus RJ45 connector 1 Wire bus RJ45 connector Power connector to supply the RGB outputs RGB outputs Power supply selection for the 1 Wire slave 1 Wire Terminal Block Connector K3 Description 5V 1W GND 5 V supply 1 Wire DQ line data Ground 4 User Manual 1 Wire RGB Controller 1 Wire RJ45 Connectors K4 K5 Mark Description N w D s N s Unassigned 5 V power p A CF movu p A Unassigned 1 Wire DQ data 1 Wire ground Unassigned Unassigned Plug Receptacle top view front view INI A WM AIT UIN Unassigned All eight pins are routed between the two connectors The RGB controller doesn t use the unassigned lines Power Connector K1 Description 12 V input 12V Ground GND Conn
4. ect the 12 V power source for the RGB outputs to this connector RGB Outputs Connector K2 Description 12 V output Red channel output Green channel output Blue channel output The 12 V output is derived from the 12 V input on K1 and fuse protected see F3 User Manual 5 1 Wire RGB Controller 1 Wire Slave Power Selection J1 Description External power Parasite power This jumper determines how the 1 Wire slave is powered External power the 1 Wire slave draws power from the 5V line Be sure the voltage is provided to one of the 1 Wire connection points K3 K4 K5 Parasite power the 1 Wire slave uses an internal capacitor as its power source The capacitor is charged during idle time DQ line held high and provides power during bus activity The 5V line K3 K4 K5 is not applicable See the 1 Wire specification for more information 1 Wire Connectivity The RGB controller provides three connection points for 1 Wire cabling and wiring 5V 1W GND Terminal block The terminal block connector is typically connector used for wiring the RGB Controller to an AbioWire or another 1 Wire adapter The RJ45 receptacles provide a means to set up a 1 Wire bus in daisy chain using UTP cables RJ45 receptacle RJ45 receptacle 123 45 6 7 8 6 User Manual 1 Wire RGB Controller Communications Protocol The i Wire slave function on the RGB contr
5. exe lu id 29 11CEE1 ro 20 go 50 bo 80 This command sets the internal RGB registers of the target 1 Wire RGB controller to 20 50 80 Specify v to see the actual command bytes that are written to the RGB controller owfs It s assumed you re using the filesystem client of the owfs package In the examples it s suppose you ve specified mnt onewire as the mount directory for the 1 Wire file system Since owfs inverts all accesses to PIO channels the default positive logic becomes negative logic and one has to invert all command values before sending them out p 0 User Manual 1 Wire RGB Controller Mount point for owfs OWFS MNT mnt onewire ROM code OWRGBCTRL_ROMCODE 29 E1CE11000000 Configure pin RSTZ as STROBE output echo 1 gt SOWFS_MNT SOWRGBCTRL_ROMCODE strobe Set red to 20 14h 10h invert gt EFh 41h invert gt BEh Set green to 50 32h 32h invert CDh 23h invert DCh Set blue to 80 50h 54h invert ABh 05h invert FAh Enable R G B amp commit 76h invert gt 89h 239 SOWFS_MNT SOWRGBCTRL_ROMCODE PIO 190 SOWFS_MNT SOWRGBCTRL_ROMCODE PIO 205 SOWFS_MNT SOWRGBCTRL_ROMCODE PIO 220 SOWFS_MNT SOWRGBCTRL_ROMCODE PIO IZI OWFS_MNT OWRGBCTRL_ROMCODE PIO 250 OWFS_MNT OWRGBCTRL_ROMCODE PIO 137 SOWFS_MNT SOWRGBCTRL_ROMCODE PIO This shell script excerpt sets the internal RGB registers of the target 1 Wire RGB controller to 20 50 80 User Manual 11
6. oller is a Maxim DS2408 chip The 1 Wire slave is connected to the PWM controller RED PWM PIO 7 0 ar PWM GREEN PWM Ms controller slave BLUE PWM See the Maxim DS2408 datasheet for more information about the 1 Wire slave chip The PWM controller generates three individual output signals with a 256 step cycle at approx 1000 Hz and a duty cycle adjustable from 0 to 99 61 The host system sends command bytes over the 1 Wire bus to the PIO lines of the DS2408 The DS2408 generates an output strobe STRB line to inform the PWM controller a command byte is available The host system must ensure the RSTZ pin on the DS2408 is configured as STRB DS2408 control status register bit 2 ROS RSTZ Pin Mode Control configures the RSTZ pin The PWM controller maintains a 7 o set of registers the host system can write data into R_EN e fo ojofolojojolo R_EN Red channel enable 7 0 G _EN Green channel enable B_ E N GLEN e GON ojo oj ojojo o o Blue channel enable R_ON Red PWM ON period G_ON Green PWM ON period 3 gy o B_ON wie eer B_ON Blue PWM ON period The reset values are shown The ON period registers determine the duty cycle of each output signal A value of zero means 0 256 or 0 a value of 255 means 255 256 or 99 61 The enable registers control the enable state of each output signal The enable state overrule the ON period A value of zero means the output
7. ollowing diagram shows how to write byte value 46h to the RGB controller 55h match ROM 29h xxh xxh xxh xxh xxh xxh xxh 5Ah 46h B9h User Manual G2 CRS The following diagram shows how to write a string of byte values to the RGB controller 55h match ROM 29h xxh xxh xxh xxh xxh xxh xxh 5Ah value value 1 Wire RGB Controller 5 Software Support 1 Wire Automation Server Before the RGB channels can be programmed the RSTZ pin of the DS2408 must be configured as STRB output For example dev 29 11CEE1 pio rstz strobe Use client command Device RGB Controller to control the RGB channels Examples Turn on the red channel at 100 256 39 dev 29 11CEE1 rgbctrl red 64 green 128 blue 192 Turn on the RGB channels red at 25 green at 50 blue at 75 You can set channel values in advance and turn on and off channels later For example dev 29 11CEE1 rgbctrl red off 200 green off 200 blue off 200 dev 29 11CEE1 rgbctrl red on dev 29 11CEE1 rgbctrl green on blue on red off The following command sets all channels to zero and turns them off dev 29 11CEE1 rgbctrl clear OWS Software package ows v1 0 0 and later includes program owrgctrl This program enables you to fully control the 1 Wire RGB Controller Example invocations of the program gt owrgbctrl exe lu id 29 11CEE1 c This command clears all internal registers of the target 1 Wire RGB controller gt owrgbctrl
8. signal is disabled a value of one means the output generates a signal with the programmed duty cycle When data is written to the ON period registers the generated PWM output signals won t change immediately The host system has to send the commit command to order the PWM controller to make the register values effective The commit command also embeds the enable register values This means unlike writing User Manual 7 1 Wire RGB Controller data to an ON period register writing data to the enable registers immediately takes effect Command Byte Function 5 4 4 Set red ON period high nibble Set red ON period low nibble Set green ON period high nibble 0 4 0 Set green ON period low nibble Set blue ON period high nibble Set blue ON period low nibble Set RGB enable flags and commit 4 0 o o o o o o o w The family code of the DS2408 is 29h Since the family code alone doesn t uniquely identify a 1 Wire RGB Controller device the host system must associate the full 8 byte ROM code with the device The host system is expected to use Standard speed when communicating with the RGB controller over the 1 Wire bus The host system needs to execute the following 1 Wire command sequence in order to configure the RSTZ pin on the DS2408 as STRB 55h match ROM 29h xxh xxh xxh xxh xxh xxh xxh CCh 8Dh 00h 04h 8 User Manual 1 Wire RGB Controller The f
Download Pdf Manuals
Related Search
Related Contents
Bedienung Cable Detection - Birmingham Health, Safety and Environment Plastificatrice A4 - Backloader francais Manuel d`utilisation de Etherpad Tone Editor User`s Manual Extron electronic Intercom Interface Panels IPI 101 User's Manual User Manual - LTT ISSN 1806-1699 Copyright © All rights reserved.
Failed to retrieve file