Not logged in - Login

Configure Pixel Receiver

Note these instructions are good for Beta 1 Release only

Required Hardware

RF1http://www.komby.com/rf1

How To Program the Pixel Receiver

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

  • First Choose a Unique ID, This is a number you should assign to each receiver. Each of your receivers should be programmed with a different unique ID.

#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 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

#define PIXEL_PROTOCOL              WS_2801
#define PIXEL_DATA_PIN 2
#define PIXEL_CLOCK_PIN 4

  • 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, 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

  • Next Because we aren't yet 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 renard.

#define START_CHANNEL               1

  • Next How many Pixels are we listening for? this is the number of pixels in your string the maximum is 170 per receiver.

#define HARDCODED_NUM_PIXELS 50]]
*Next choose What RF Channel do you want to listenon?   Valid Values: 1-124
[[[code lang=c++|#define LISTEN_CHANNEL 100

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/pre-sale-ftdi-serial-programmer

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.
  2. Select the COM Port your Transmitter device is connected to.
  3. Now Choose Arduino Uno as the board type, you will use this for the RF1, and kombee boards.
  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!