claudeheintz / LXDMXWiFi_Library

Library for ESP8266 implements Art-Net and sACN with example DMX input/output to/from network
BSD 3-Clause "New" or "Revised" License
74 stars 17 forks source link

Configure sendind and receiving with d1 wemos #21

Open tapi35 opened 3 years ago

tapi35 commented 3 years ago

Hello, This project is great for me, i want to delete dmx cable between midi foot module and light devices. But I'm not sure to understand what I'm suppose to do... I have 4 lights with one d1 mini each and one d1 wemos to send dmx of the foot module.

and you say "Then, you configure another to convert Art-Net to DMX in WiFi station mode. The second Art-Net receiver should be connected to the WiFi SSID created by the first (AP/sending) microcontroller."

so I put this line on the second : strncpy((char*)_wifi_config, CONFIG_PACKET_IDENT, 8); //add ident _wifi_config->version = DMXWIFI_CONFIG_VERSION; _wifi_config->wifi_mode = LX_STATION_MODE;
_wifi_config->protocol_flags = INPUT_TO_NETWORK_MODE | RDM_MODE;

how configure receivers as "converting Art-Net to DMX in WiFi station mode." ?

Could anybody help me please ?

Thanks a lot

tapi35 commented 3 years ago

other thing, can I use this schema for the connections : sACN jpg b252950a58be6d27bfa573c40f164aae the d1 mini dmx send with rx pin and the d1 wemos connected to light with tx ? Thanks

tapi35 commented 3 years ago

Do I have to change the 0 in 1 ?

// direction output from network/input to network uint8_t dmx_direction = 0;