Jump to content
  • 0

Arduino Artnet Controller With Soft Pwm


cyclemat

Question

I have found a Script in the BIG WWW i have insert only a few lines but it works fine all you need is a Arduino Mega (for UNO you must remap the pins) and a Ethernet shield.

 

 

Arduino communicates with both the W5100 and SD card using the SPI bus (through the ICSP header). This is on digital pins 10, 11, 12, and 13 on the Uno and pins 50, 51, and 52 on the Mega. On both boards, pin 10 is used to select the W5100 and pin 4 for the SD card. These pins cannot be used for general I/O. On the Mega, the hardware SS pin, 53, is not used to select either the W5100 or the SD card, but it must be kept as an output or the SPI interface won't work.

 

 

 

Instructions:

Copy the softpwm folder in you Arduino IDE libraries folder

 

Load the ino file in Arduino IDE

 

Programm the Arduino

 

mount the Ethernet Shield

 

Connect the Ethernet Cable and the Power

 

Edit you DOF Cabinet.XML like this

<?xml version="1.0"?>
<Cabinet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Lizard Pin</Name>
  <OutputControllers>
    <ArtNet>
      <Name>Artnet Node 1</Name>
      <Universe>0</Universe>
      <BroadcastAddress>255.255.255.255</BroadcastAddress>
    </ArtNet>
  </OutputControllers>
  <Toys>
    <LedWizEquivalent>
      <Name>LedWizEquivalent 100</Name>
      <LedWizNumber>100</LedWizNumber>
      <Outputs>
        <LedWizEquivalentOutput>
          <OutputName>Artnet Node 1\Artnet Node 1.001</OutputName>
          <LedWizEquivalentOutputNumber>1</LedWizEquivalentOutputNumber>
        </LedWizEquivalentOutput>

<LedWizEquivalentOutput>
<OutputName>Artnet Node 1\Artnet Node 1.002</OutputName>
<LedWizEquivalentOutputNumber>2</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput>

<LedWizEquivalentOutput>
<OutputName>Artnet Node 1\Artnet Node 1.003</OutputName>
<LedWizEquivalentOutputNumber>3</LedWizEquivalentOutputNumber>
</LedWizEquivalentOutput>
      </Outputs>
    </LedWizEquivalent>
  </Toys>
</Cabinet>

Ready for Takeoff.

 

Thanks to swisslizard!!!

 

 

 

ARTNET_receiver_V3_1.rar

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...