Not logged in - Login

Configure Pixel Receiver

Required Hardware

RF1http://www.komby.com/rf1 RF1_12vhttp://www.komby.com/rf1_12v

How To Program the Pixel Receiver

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

  • Next What kind of pixels are you going to use? If you are connecting the pixels to the 4 pin header on your RF1 (Recommended) you can leave these as default, for 3 wire pixels connect only the data pin to PIXEL_DATA_PIN

[[[code lang=c++|#define PIXEL_TYPE WS_2811

  • Next set your pixel color order. Not all strips and strings of pixels are created equal, some will have a RGB color order while others will have BRG etc. #define PIXEL_COLOR_ORDER RGB]
  • Next Option is for Over The air configuration, this feature was implemented in public beta 1 but the configuration of it is not easy enough, so leave this one set to 0

#define OVER_THE_AIR_CONFIG_ENABLE 0]

  1. 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]

Now that you have that done, Its time to load the sketch onto your transmitter. 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 or xbee Explorer.
    Select the COM Port your Transmitter device is connected to.
  2. Now Choose Arduino Uno as the board type, you will use this for the RF1, and kombee boards.
    Select Uno Board type
  3. Click the upload button
    Click Upload
  4. If you have an error or bad connection you may see an error like this.
    Verify your COM port is selected and your board is connected properly
  5. If your upload was successful you will see "Done Uploading"
    All Done!