Configure DumbRGB Receiver
Required Hardware
- RF1_12v: http://www.komby.com/rf1_12v
- DumbRGB: http://www.komby.com/rf1-dumb-rgb-expansion-board-rev2-board-bom
How To Program the RGB Receiver
- Open the IDE
- In the File->Examples->RFShowControlMenu find the RF_In_RGB_Out
- You will need to verify / change the configuration options
- Next Choose what hardware you are using. This is so you have the right pin setup for your transceiver #define NRF_TYPE RF1]
- 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 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 IF you aren't using OTA config, you need to set what start channel you want this receiver to listen to. . #define START_CHANNEL 1]
- Next choose What RF Channel do you want to listen on? Valid Values: 0-83, 101-124 #define LISTEN_CHANNEL 10]
- 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]
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.
- Choose the correct COM device. This is the COM port of your FTDI adapter or xbee Explorer.
- Now Choose Arduino Uno as the board type, you will use this for the RF1, and kombee boards.
- Click the upload button
- If you have an error or bad connection you may see an error like this.
- If your upload was successful you will see "Done Uploading"