Not logged in - Login

WM2999 Pixel Receiver Setup

Note these instructions are good for Beta 1 Release only

Required Hardware

WM2999 Controller board: Go to the board details here Note: the WM2999 controller board is meant to power and use Walmart holiday time color changing lights from the 2012 christmas season.

How To Program the WM2999 Receiver

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

  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

  • Next You will not need to change the NRF_TYPE

#define  NRF_TYPE                     WM_2999_NRF

  • 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. Since the Strings have 20 pixels you will not need to modify this number.

#define HARDCODED_NUM_PIXELS 20]]
*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 WM2999 Controller to your computer for upload.

Connecting to your computer

Make sure you have DISCONNECTED AC POWER before continuing, The WM2999 controller cannot be connected to AC power and your PC at the same time.

To connect to the 5 pin header on the WM2999 board you have a few options

  1. If you already have an FTDI adapter or cable
    1. use the komby Reset board to connect to the 5 pin serial. http://www.komby.com/reset
  2. if you dont already have an FTDI board, you can get this one which can connect to the WM2999 header directly: 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.
  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!