Build a DMX FeatherWing to Control Lights with a Feather M0

This project uses an Adafruit Feather M0 Basic Proto board to control a group of Color Kinetics or other RGB light fixtures using the DMX-512 protocol. We’ll build a DMX-512 interface FeatherWing then connect it to the Feather M0 using a Particle Ethernet FeatherWing. Once the hardware is built and assembled, we’ll write software with a web-based GUI to generate RGB lighting effects and control the attached RGB lights using the DMX protocol. By modifying the software on the Feather M0, different effects can be generated and added to the web-based GUI.
ORIGINAL POST
By Glen Akins
components
details

cover-photo-one-1024x682.jpg

Set the IP Address

Just like for the example WebServer project, the IP address must be set to a valid static IP address for your network. Find the IPAddress ip (…) line in the dmx-controller.ino file and set it to a suitable IP address.

Build and Download the Code to the Feather M0

If the serial monitor window is not already open, open it again by selecting Tools -> Serial Monitor. Now build and download the code by selecting Sketch -> Upload.

Using the Web Interface

Enter the IP address from above into your favorite web browser and you should get the following web page:

Opening page of the web-based GUI for controlling the attached lights.

Opening page of the web-based GUI for controlling the attached lights.

Now click the Fixed Color tab. The web page will update to display this screen:

Fixed color tab.

Fixed color tab.

Clicking on a color should change the color of the connected lights to the selected color. Once this is working, experiment with some of the other tabs and settings.

My living room wall washed in red light using the fixed color mode on the controller.

My living room wall washed in red light using the fixed color mode on the controller.

Congratulations if you’ve made it this far! At this point the project works. The following sections are for those who wish to dive deeper into the controller’s functionality or modify the software or hardware.

cover-photo-one-1024x682.jpg

Set the IP Address

Just like for the example WebServer project, the IP address must be set to a valid static IP address for your network. Find the IPAddress ip (…) line in the dmx-controller.ino file and set it to a suitable IP address.

Build and Download the Code to the Feather M0

If the serial monitor window is not already open, open it again by selecting Tools -> Serial Monitor. Now build and download the code by selecting Sketch -> Upload.

Using the Web Interface

Enter the IP address from above into your favorite web browser and you should get the following web page:

Opening page of the web-based GUI for controlling the attached lights.

Opening page of the web-based GUI for controlling the attached lights.

Now click the Fixed Color tab. The web page will update to display this screen:

Fixed color tab.

Fixed color tab.

Clicking on a color should change the color of the connected lights to the selected color. Once this is working, experiment with some of the other tabs and settings.

My living room wall washed in red light using the fixed color mode on the controller.

My living room wall washed in red light using the fixed color mode on the controller.

Congratulations if you’ve made it this far! At this point the project works. The following sections are for those who wish to dive deeper into the controller’s functionality or modify the software or hardware.

documents
Others
LXSAMD21MDX
Sending DMX Data with the ATSAMD21

COMMENTS

Please Login to comment
  Subscribe  
Notify of