Not logged in - Login

Configure DMX Receiver

Required Hardware

To use a DMX Receiver you will need to use an RF1 and a Serial Expansion board

How To Program the RF1 as a Receiver with DMX output

  1. Open the IDE
  2. In the File->Examples->RFPixelControl Menu find the "RF_In_DMX_Out"
    Open the RF_In_DMX_Out Sketch
  3. You will need to verify / change the configuration options
    Need to verify the Configuration Options

Next Choose a Unique ID For this device, This number will need to be unique for each of your RF devices (unless you want to have more than one receiver receive the same information from the transmitter, NOTE: this is only used for receivers when OTA Config is enabled. More information visit: OTA Config Explained

#define RECEIVER_UNIQUE_ID 33

  • Next Choose what hardware you are using. This is so you have the right pin setup for your transceiver

#define  NRF_TYPE                     RF1_1_3

  • Next set your RF Data Rate, this needs to be the same rate that your transmitter is sending data at.

#define DATA_RATE RF24_250KBPS

  • Next Option is for Over The air configuration, 0 is disabled IE hardcoded

#define OVER_THE_AIR_CONFIG_ENABLE 0

  • If you aren't using OTA config, you need to set what start address you want this receiver to listen to. This is the first channel from the RF which will be output as DMX Data.

Make sure that your HARDCODED_NUM_CHANNELS setting contains less than or equal to the number of channels that you are transmitting. Receiving devices will only update once a full data update has taken place. Its best to set this to the number of channels you have on your DMX controller you are trying to control.

#define HARDCODED_NUM_CHANNELS  16

#define HARDCODED_START_CHANNEL 1

If you are setting a start address in the RF1 sketch then you should set your controller to start at address 1 (LOR, DLA and probably all other DMX controllers.) or 0 (Renard Addressable, or don't use start address firmware.)

  • Next How many channels are we listening for? this is the number of channels from the RF (sequentially) that will be output, note you can only listen to 512 channels per receiver.

  • Next choose What RF Channel do you want to listen on? Valid Values: 0-83, 100-124

#define LISTEN_CHANNEL 10

Now that you have that done, Its time to load the sketch onto your DMX Receiver. We need to connect your RF1 or other device to your computer for upload.

For RF1 use a FTDI adapter or cable to connect to the RF1 serial. http://www.komby.com/ftdi_prog

Now that we are connected to the computer.

  1. Choose the correct COM device. This is the COM port of your FTDI adapter.
  2. Select the COM Port your device is connected to.
  3. Now Choose Arduino Uno as the board type, you will use this for the RF1.
  4. Select Uno Board type
  5. Click the upload button
  6. Click Upload
  7. If you have an error or bad connection you may see an error like this.
  8. Verify your COM port is selected and your board is connected properly
  9. If your upload was successful you will see "Done Uploading"
  10. All Done!