Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure sendind and receiving with d1 wemos #21

Open
tapi35 opened this issue Oct 6, 2020 · 2 comments
Open

Configure sendind and receiving with d1 wemos #21

tapi35 opened this issue Oct 6, 2020 · 2 comments

Comments

@tapi35
Copy link

tapi35 commented Oct 6, 2020

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.

  • you say :"you configure one microcontroller to convert DMX to Art-Net in access point WiFi mode" :
    so I put this line :

    strncpy((char*)_wifi_config, CONFIG_PACKET_IDENT, 8); //add ident
    _wifi_config->version = DMXWIFI_CONFIG_VERSION;
    _wifi_config->wifi_mode = LX_AP_MODE;
    _wifi_config->protocol_flags = INPUT_TO_NETWORK_MODE | RDM_MODE;

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
Copy link
Author

tapi35 commented Oct 6, 2020

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
Copy link
Author

tapi35 commented Oct 7, 2020

Do I have to change the 0 in 1 ?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant