Wifi artnet 2 x dmx 512

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

robertoostenveld/esp8266_artnet_dmx512

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

This sketch implements a WiFi module that uses the Art-Net protocol over a wireless connection to control wired stage lighting fixtures/lamps that are DMX512 compatible. It listens to incoming Art-Net packets and forwards a single universe to DMX512. It features over-the-air (OTA) configuration of the wifi network that it connects to, configuration of the universe that is forwarded, and monitoring of the incoming packets and the frame rate.

Upon switching on, the LED turns yellow to indicate that setup is done. After that the LED turns red to indicate that it is not connected to WiFi. It will try connect as client to the previously used WiFi network; if that succeeds, the LED turns green and setup is ready. If that fails, the LED remains red and the node creates a wireless access point (AP) with the name Artnet. You can connect with laptop or smartphone to that network to configure the WIFi client settings and provide the password of the network to which it should connect. After that it resets.

Wherever there is activity on the web interface (configuration, monitoring), the LED turns blue. During web interface activity, the DMX512 output is silenced. A smooth web interface and smooth DMX signalling don’t go together.

DMX is a serial protocol and — except for different voltage levels — very similar to RS232. Therefore it is obvious to use the built-in UART (Universal Asynchronous Receiver/Transmitter) of the micro controller to send the DMX frames. This is the original way this sketch used to work and expects the max485 level shifter to be connected to the pin that corresponds to Serial1. On a Wemos D1 this is pin D4 aka TX1. In order to use UART mode, comment in the ENABLE_UART definition.

Читайте также:  Аэроэкспресс шереметьево вай фай

However, the built-in UART provides only very limited control over e.g. number of stop bits, breaks etc. That may become a problem when you want to control devices with kind of «sloppy» firmware. When trying to control two cheap, china made moving heads, I found that they somehow reacted to the signal but showed lots of jitter and random moves, random color changes and so on. When connected to a commercial, manual DMX512 control panel, they worked flawlessly. An analysis with an oscilloscope showed a significant difference between the signal and the offical DMX standard, most obviously in the number of stop bits. The DMX standard defines 2 stop bits whereas the commercial panel sent approx. 11 bits. It seems like the manufacturers of such panels are aware of the fact that there are devices which apparently need more time between two DMX channel values to process the data received.

Because the buil-in UART does not allow to send more than 2 stop bits, the I2S mode (https://en.wikipedia.org/wiki/I%C2%B2S) has been implemented that supports very fine-grained control over the timing of every single bit. Unfortunately, the I2S data output pin is hardwired to GPIO3 (=RX0) on an ESP8266 which means that the max485 level shifter needs to be attached to this pin. Using a double throw switch allows to switch between those two pins as depicted in the wiring schematic below.

Warning: When uploading your this sketch to your ESP8266, make sure to disconnect any fixtures from the XLR connector because this means sending data to RX0 and will cause your fixtures to do random things. This might not be a big problem with simple lamps but might cause damage when using motion devices.

You can just as well use two max485 circuits and wire one to TX1/D4 and the second one to RX0 and comment in both modes (ENABLE_UART and ENABLE_I2S).

Because of the number of extra stop bits, I2S mode will cause the throughput to drop from 40 frames/second to approx. 30 f/s which still should be acceptable under normal circumstances.

For I2S mode, there is another conditional define (I2S_SUPER_SAFE) which not only adds extra stop bits but also extends the MBB (mark before break) and SFB (space before break) to the values observed with the oscilloscope. Try this if you encounter problems with a fixture although you are already using I2S mode.

Normally you would configure your Art-Net device to connect to your local WiFi after you uploaded this sketch (and the static content! — see notes below). To do so, you will connect to the AP (access point) network the ESP8266 creates after booting for the first time. But there might be circumstances where you do not have access to a local WiFi network, for instance an outdoor garten pary. This is what the standalone mode is for. In standalone mode the sketch will not wait until a local WiFi connection was established but will start to listen for Art-Net packets right away on the AP network. You can then connect to this network, ignore/minimize the WiFi setup dialog and send your Art-Net packets to the corresponding network interface.

Читайте также:  Пароли от всех сетей вайфая

Consider setting also a password in standalone mode, otherwise someone else might configure your device to connect to a random Wifi.

  • Wemos D1 mini
  • MAX485 module, e.g. http://ebay.to/2iuKQlr
  • DC-DC boost/buck converter 5V power supply, e.g. http://ebay.to/2iAfOei
  • common cathode RGB LED
  • 2x 220 Ohm and 1x 100 Ohm resistors
  • 3 or 5 pin female XLR connector
  • panel mount 2.1 x 5.5 mm DC barrel jack
  • 82 x 58 x 34 mm ABS enclosure box

  • connect 5V and GND from the power supply to Vcc and GND of the MAX485 module
  • connect 5V and GND from the power supply to the 5V and GND of the Wemos D1 mini
  • connect MAX485 module pin DE (data enable) to 3.3V (using 3.3V TTL)
  • connect MAX485 module pin RE (receive enable) to GND
  • connect MAX485 module pin DI (data in) to D4/TX1 of the Wemos D1 mini for UART operation
  • connect MAX485 module pin DI (data in) to RX/GPIO3 of the Wemos D1 mini for I2S operation
  • connect MAX485 module VCC to 3.3V (or to DE)
  • connect MAX485 module pin A to XLR 3
  • connect MAX485 module pin B to XLR 2
  • connect MAX485 module GND to XLR 1
  • connect the blue leg of the LED over the 100 Ohm resistor to GPIO16/D0
  • connect the green leg of the LED over the 220 Ohm resistor to GPIO05/D1
  • connect the red leg of the LED over the 220 Ohm resistor to GPIO04/D2

Источник

Pknight ArtNet DMX 512 Ethernet Lighting Controller Interface

Free shipping if the product is in stock in your country. We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations. If we forget to set the shipping fee for your country, please contact us and we will set the shipping fee for your country.

Download the application software (Artnet-Dmx-Configurator) for the windows

FEATURES

  • It is the most cost-effective artnet and dmx interface with very comprehensive functions
  • Input and output modes can be switched freely through the 2p dial the code switch on the panel
  • 2 universes,control up to 1024 channels.
  • With a application called Artnet-dmx configuration or a web configuration,you can set it up within 30 seconds
  • when DHCP is enabled,Simply connect to your existing router, and any supported software will find it.
Читайте также:  Летай вай фай безлимит

The maximum length you can run Cat5, Cat5e, Cat6 and Cat6a cable is 100 meters or 328 feet.

Compared with xlr, the network cable is more stable and faster ,and the signal transmission distance is longer , and most importantly, it is cheaper!

artnet console

reset button

2p dial The Code Switch

artnet interface dmx

LED Indicators

indicator

PWR:power on,turn green
STA:connections and activities,blinks slowly,Signal detected,turn yellow.
Link:connect to pc or router,turn red;Signal detected,blinks fast.

IP Type

2.x.x.x(Auto):a static IP starting with 2.Each ATD 1024Epro has the specific ip(by Factory Default)
10.x.x.x(Auto):a static IP starting with 10.Each ATD 1024Epro has the specific ip
DHCP:the router on your network is expected to automatically provide the IP address to the ATD 1024Epro.
Custom IP:You can manually enter the ip address which you want.

  • 1 x ATD Pro controller
  • 1 x power plug
  • 1 x Ethernet cable
  • 1 x velvet Drawstring Bags
  • 1 x user manual

Источник

Pknight CR-Series ArtNet2 — CR021R

Free shipping if the product is in stock in your country. We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations. If we forget to set the shipping fee for your country, please contact us and we will set the shipping fee for your country.

FEATURES

1.It is the most cost-effective artnet and dmx adapter with very comprehensive functions.
2.With the led display and 4 function buttons,you need not to find some applications or a web configuration to set it up.
3.there is a M10 screw holes on the top of the node box,you can easily install it on the truss with a stage light clamp hook
4.Built tough and compact the adapter can be powered by PoE (power over ethernet),get a PoE switch,You can use the existing network cable instead of the power cable to power the device, which is very convenient
5.2x DMX512 Out (3pin) with Art-Net, control up to 1024 channels.

artnet to dmx512

ArtNet1,ArtNet2,ArtNet3 to 2CH dmx512

The Pknight artnet box is a 2 universe Ethernet to DMX converter.with Poe and truss mountable features,It is a very cost efficient device especially for pixel related applications.With the cost calculated to about $65 per universe, it has never been more affordable to build a multi universe project.

What is Power over Ethernet (PoE)?

Power over Ethernet (PoE) is technology that passes electric power over twisted-pair Ethernet cable to powered devices , It enables one RJ45 cable to provide both data connection and electric power to Pknight artnet node instead of having a separate cable for each.

poe truss mountable

Nam tempus turpis at metus scelerisque placerat nulla deumantos solicitud felis. Pellentesque diam dolor, elementum etos lobortis des mollis ut risus. Sedcus faucibus an sullamcorper mattis drostique des commodo pharetras loremos.Donec pretium egestas sapien et mollis. Pellentesque diam dolor cosmopolis etos lobortis.

Comodous: Comodous in tempor ullamcorper miaculis Mattis laoreet: Pellentesque vitae neque mollis urna mattis laoreet. Divamus de ametos: Divamus sit amet purus justo. Molestie: Proin molestie egestas orci ac suscipit risus posuere loremous

Источник

Оцените статью
Adblock
detector