E1.31 Transmitter Setup
- Arduino Uno or Uno compatible board - http://arduino.cc/en/Main/arduinoBoardUno
- Arduino Ethernet (the one with the Wiznet Chip) - http://arduino.cc/en/Main/ArduinoEthernetShield
- Minimalist Sheild to connect nRF24L01 - http://www.komby.com/nrf24l01-minimalist-sheild
How To Program the E1.31 to RF Transmitter
- Open the IDE
- In the File->Examples->RFPixelControl Find the ArduinoEthernetSheildE1_31Transmitter_ino sketch
- There are some changes you will need to make to set up the transmitter
- 4. Choose what hardware you are using. This is so you have the right pin setup for your transceiver
#define NRF_TYPE MINIMALIST_SHIELD]
4.5. Next Choose the Data Rate that the RF Transceiver is going to use #define DATA_RATE RF24_250KBPS]
5.6. Next Choose what RF Channel you want this transmitter to use, If you only have 1 use 100 its a pretty good one.
#define TRANSMIT_CHANNEL 100] 6.7. Next We need to set a custom MAC address. If you have acquired an Ethernet Shield from Arduino, it comes with a MAC address assigned; it is printed on a sticker on the underside of the board. Note the number and use below. If this is your first transmitter, you can use the default. For all others visit the link http://www.miniwebtool.com/mac-address-generator/ byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };]
- You will need to break up the MAC you get from the Web tool. It normally is
- DE-C7-6D-F6-DA-86
- you would change this to byte mac[] = {0xDE, 0xC7, 0x6D, 0xF6, 0xDA, 0x86};]
7.8. Next Set the Unicast IP address, this will need to be an IP address on your network. You will configure your sequencer to send to this IP address.
IPAddress ip(192, 168, 1, 150);]
Now that you have that done, Its time to load the sketch onto your transmitter. Choose the correct COM device in the Arduino IDE and click Upload.
When that is done, you are ready to go!