# Remote Effects Trigger Box

## Overview

https://youtu.be/jsJoDGTjRpM

https://youtu.be/77kWqPlrNmc

![](https://cdn-learn.adafruit.com/assets/assets/000/041/225/medium800/feather_rFX_remoteFX_2k.jpg?1493224968)

You can do almost anything with the right combination of Feather microcontroller and FeatherWing! From blasting&nbsp;on a fan to opening a trap door, from making a playing card levitate to lighting up hundreds of NeoPixels, from cuing music and sound effects to detonating a smoke bomb, it's all possible.

But what about triggering these events remotely at long distances, in a cell-phone (and human) dense environment, such as a theatre or festival? Beginners often assume they can use WiFi or Bluetooth to find that once the theater is full of patrons, signals get slow and spotty. Or maybe you're outdoors at an arts festival? Good luck getting a WiFi signal working out there!

This is where sub-GHz transceivers shine. As long as you aren't trying to transmit a tons of data, you don't have to share any spectrum with 2.4GHz devices and the range is great. 900Mhz (433Mhz in ITU Europe) RF transceivers come in to save the day!

Using Feather Packet Radio boards (RFM69HCW or RFM9X LoRa), you can send encrypted commands at great distances -- 500 meters line of sight for RFM69HCW, and 2 kilometers for LoRa! -- with &nbsp;no worries about pairing, scanning, and so on. Just a good, old fashioned, magical, invisible wire that connects all of your devices easily!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/364/medium800/feather_01_full.jpg?1493478443)

This guide shows how you can build a versatile&nbsp;controller to take on a nearly limitless variety of remote triggering needs. You'll use&nbsp;a 16-button Trellis pad to&nbsp;send commands, rotary encoder knob to select&nbsp;effects banks, and an OLED display to keep it all straight!&nbsp;

With the Feather's built-in battery charging circuitry, you can keep the LiPoly battery topped off and ready to go!

## Parts and Materials
The essential parts&nbsp;for your controller are:

- Packet radio Feather microcontroller and antenna as the brains of the transmitter. Your choice of 900MHz for US, 433MHz for ITU Europe, in either M0 or 32u4 processor variant. The RFM69HCW radios are the easiest to set up and a bit less expensive, while the LoRa boards are slightly more involved to set up, but longer range
- Trellis driver PCB, with silicone keypad for sixteen&nbsp;lighted buttons
- OLED display FeatherWing
- Rotary encoder for menu selection

See the right sidebar for specific product links.

On the&nbsp;effects side of things, you'll want additional Packet radio Feathers of the identical frequency and flavor (RFM69HCW **or** LoRa, you can't mix and match!). These can have any FeatherWing or additional circuits connected to them, depending on what you need to trigger.&nbsp;

Here are some examples:

- [Music Maker](https://www.adafruit.com/product/3436) for remote MP3 playback
- [Power Relay](https://www.adafruit.com/product/3191) to trigger high power, AC devices, such as motors, lamps, and fans
- [DC Motor + Stepper](https://www.adafruit.com/product/2927)&nbsp;for actuating small DC motors or precisely position things with steppers
- [8-Channel PWM/Servo](https://www.adafruit.com/product/2928)&nbsp;to rotate hobby servos (small robot arms...?) or light up lots of standard LEDs&nbsp;
- [NeoPixels](https://www.adafruit.com/product/2945)&nbsp;on a 4x8 RGB LED board, or by stringing as many strips of externally powered NeoPixels as you like!

![feather_lampA.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/226/medium640/feather_lampA.jpg?1493227010)

![feather_stepperA.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/227/medium640/feather_stepperA.jpg?1493227026)

![feather_radioA.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/228/medium640/feather_radioA.jpg?1493227034)

![feather_relayFW.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/229/medium640/feather_relayFW.jpg?1493227219)

![feather_mp3FW.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/231/medium640/feather_mp3FW.jpg?1493227316)

In addition to the parts listed on the sidebar of this guide, you'll also need six screws to fasten the enclosure:

- 4ea. [#6-32&nbsp;1-1/4" hex drive rounded head screws](https://www.mcmaster.com/#92949a160/=17d7vxn)
- 2ea. [#6-32 1-1/8" hex drive rounded head screws](https://www.mcmaster.com/#92949a860/=17d7wbg)

And, if you're 3D printing the enclosure, you'll want some PLA filament for that, such as:

- [1.75mm PLA white](https://www.adafruit.com/product/2067)
- [1.75mm PLA black](https://www.adafruit.com/product/2060)
- [1.75mm PLA red](https://www.adafruit.com/product/2450)
- [1.75mm PLA/PHA blue](https://www.adafruit.com/product/2146)

![feather_2067-00.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/233/medium640/feather_2067-00.jpg?1493227609)

![feather_2060-01.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/234/medium640/feather_2060-01.jpg?1493227618)

![feather_2450-01.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/235/medium640/feather_2450-01.jpg?1493227633)

![feather_2146-01.jpg](https://cdn-learn.adafruit.com/assets/assets/000/041/236/medium640/feather_2146-01.jpg?1493227661)

![feather_Screen_Shot_2017-04-26_at_9.27.00_AM.png](https://cdn-learn.adafruit.com/assets/assets/000/041/237/medium640/feather_Screen_Shot_2017-04-26_at_9.27.00_AM.png?1493227675)

# Remote Effects Trigger Box

## Build the Transmitter

To build the transmitter, first solder the short female headers onto the Feather.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/041/124/medium800/feather_rFX_IMG_0815_2k.jpg?1493184994)

Using the short headers allows us to have a lower profile for the enclosure. Compare the short headers on the left to the regular ones on the right in this CG model.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/134/medium800/feather_rFX_IMG_0798_2k.jpg?1493185204)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/125/medium800/feather_rFX_IMG_0818_2k.jpg?1493185010)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/126/medium800/feather_rFX_IMG_0820_2k.jpg?1493185041)

Next, solder the antenna connector to the bottom of the Feather. OK, maybe my&nbsp;dissection microscope is overkill, but it sure is helpful to have some magnification!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/128/medium800/feather_rFX_IMG_0786_2k.jpg?1493185081)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/129/medium800/feather_rFX_IMG_0788_2k.jpg?1493185093)

I found it helpful to first tin the pads, then hold the part to the board while reheating the solder.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/130/medium800/feather_rFX_IMG_0824_2k.jpg?1493185111)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/131/medium800/feather_rFX_IMG_0791_2k.jpg?1493185123)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/132/medium800/feather_rFX_IMG_0826_2k.jpg?1493185144)

Now, snap on the antenna connector cable.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/133/medium800/feather_rFX_IMG_0793_2k.jpg?1493185182)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/135/medium800/feather_rFX_FullSizeRender_12_2k.jpg?1493185377)

Thread on the antenna and you're ready to transmit!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/136/medium800/feather_rFX_FullSizeRender_11_2k.jpg?1493185399)

Solder short&nbsp;male header pins onto the OLED FeatherWing.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/137/medium800/feather_rFX_IMG_0829_2k.jpg?1493185412)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/138/medium800/feather_rFX_IMG_0830_2k.jpg?1493185423)

Here's a quick test fit of the OLED and Feather together again for the first time.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/139/medium800/feather_rFX_IMG_0832_2k.jpg?1493185436)

## Trellis Time

Prep your Trellis board and 16 LEDs for a fun solder party. Please note, all of the through holes have a "+" sign to mark the positive hole -- place the longer legged anode side of each LED into these.

&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/041/141/medium800thumb/feather_LEDTrellisAnim.jpg?1493186221)

Push each LED through, bend the legs, and then flip the board over for soldering.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/142/medium800/feather_rFX_IMG_0856_2k.jpg?1493186270)

After soldering, clip the legs off. Sorry legs.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/143/medium800/feather_rFX_IMG_0879_2k.jpg?1493186282)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/144/medium800/feather_rFX_IMG_0891_2k.jpg?1493186293)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/140/medium800/feather_rFX_IMG_0892_2k.jpg?1493185450)

The connections from the Trellis to the Feather are&nbsp; **SDA, SCL, GND, 5V,** and **INT.&nbsp;**

Look at the breadboard diagram below to see the connections that will be made. We will actually solder the connections to the inner row of pin holes on the OLED FeatherWing, as seen in the second diagram and the photographs.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/041/241/medium800/feather_remoteFXdiagram_bb.jpg?1493228763)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/240/medium800/feather_remoteFXdiagram.jpg?1493228705)

Solder a 6" length of wire to each by tinning the pads, tinning the wires, and then heating them together.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/145/medium800/feather_rFX_IMG_0895_2k.jpg?1493186314)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/146/medium800thumb/feather_TrellisSolderAnim.jpg?1493187575)

Next, solder the Trellis wires to the inner row of the OLED FeatherWing, pushing the wires up from underneath.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/147/medium800/feather_rFX_IMG_0924_2k.jpg?1493187590)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/148/medium800/feather_rFX_IMG_0925_2k.jpg?1493187602)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/149/medium800/feather_rFX_IMG_0927_2k.jpg?1493187612)

See those&nbsp;long pieces of excess wire tips protruding from the top of the board?? Clip them&nbsp;off!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/150/medium800/feather_rFX_IMG_0928_2k.jpg?1493187624)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/151/medium800/feather_rFX_IMG_0929_2k.jpg?1493187632)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/152/medium800/feather_rFX_IMG_0930_2k.jpg?1493187642)

## Power

I absolutely love the Feather boards because they take care of so many functions for you without need of extra hardware! Case in point -- there is a built in LiPoly battery port and charging circuit&nbsp;as well as an&nbsp; **En** able pin that can be used to make&nbsp;a neat little on/off switch without splicing battery wires.

Let's wire up the slide switch.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/153/medium800/feather_rFX_IMG_0953_2k.jpg?1493187662)

Strip and tin the short yellow wires, and add some heat shrink tubing. Tin the middle and one of the outer legs of the switch, then solder on the two wires and heat the tubing.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/154/medium800/feather_rFX_IMG_0954_2k.jpg?1493187681)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/156/medium800/feather_rFX_IMG_0957_2k.jpg?1493187701)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/157/medium800/feather_rFX_IMG_0958_2k.jpg?1493187710)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/159/medium800/feather_rFX_IMG_0960_2k.jpg?1493187726)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/160/medium800/feather_rFX_IMG_0961_2k.jpg?1493187739)

Tin one of the free GND pads on the Trellis and then solder on&nbsp;one of the yellow switch wires, it doesn't matter which one, all we're using the switch for is to tie the&nbsp; **En&nbsp;** pin to GND or not!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/161/medium800/feather_rFX_IMG_0963_2k.jpg?1493187751)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/162/medium800/feather_rFX_IMG_0964_2k.jpg?1493187760)

Solder the other yellow switch wire to the&nbsp; **En** pin on the OLED FeatherWing.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/163/medium800/feather_rFX_IMG_0965_2k.jpg?1493187770)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/164/medium800/feather_rFX_IMG_0966_2k.jpg?1493187778)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/165/medium800/feather_rFX_IMG_0967_2k.jpg?1493187788)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/166/medium800/feather_rFX_IMG_0968_2k.jpg?1493187797)

Here's the finished power switch, as well as a test fit to see how the wiring is routed between the FeatherWing and Feather.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/167/medium800/feather_rFX_IMG_0969_2k.jpg?1493187809)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/168/medium800/feather_rFX_IMG_0970_2k.jpg?1493187836)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/169/medium800/feather_rFX_IMG_0971_2k.jpg?1493187853)

## Rotary Encoder Switch

The final component to solder on is the rotary encoder.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/170/medium800/feather_rFX_IMG_0990_2k.jpg?1493187867)

Again, solder the wiring to the proper pins on the OLED FeatherWing from below.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/171/medium800/feather_rFX_IMG_0991_2k.jpg?1493187883)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/172/medium800/feather_rFX_IMG_0992_2k.jpg?1493187894)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/173/medium800/feather_rFX_IMG_0993_2k.jpg?1493187904)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/174/medium800/feather_rFX_IMG_0994_2k.jpg?1493187919)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/175/medium800/feather_rFX_IMG_0995_2k.jpg?1493187928)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/176/medium800/feather_rFX_IMG_0996_2k.jpg?1493187937)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/177/medium800/feather_rFX_IMG_1010_2k.jpg?1493187950)

For the black GND wire, since there isn't a free one on the FeatherWing, use another GND pad on the Trellis.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/178/medium800/feather_rFX_IMG_1018_2k.jpg?1493187961)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/179/medium800/feather_rFX_IMG_1019_2k.jpg?1493187972)

Now, solder each wire to the rotary encoder, as shown in the diagram above and the animation below. Note, a short length of wire is used to connect the two GND pins of the encoder.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/180/medium800thumb/feather_encoderSolder.jpg?1493189103)

# Remote Effects Trigger Box

## 3D Print the Enclosure

![](https://cdn-learn.adafruit.com/assets/assets/000/041/253/medium800/feather_01_full.jpg?1493239878)

The parts to print are the case bottom, middle, and top, as well as two mounting parts, one for the Trellis, and one for the Feather.

These can be printed in any rigid material, although PLA seems to work best for the close tolerances of the snap fit parts. The case design is a remix of the [Trellis Mini Untz MIDI controller](../../../../mini-untztrument-3d-printed-midi-controller/overview) by the amazing Ruiz Bros.&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/041/246/medium800/feather_topmod.png?1493236820)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/247/medium800/feather_midmod.png?1493236834)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/248/medium800/feather_botmod.png?1493236850)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/404/medium800/feather_remoteFXmodel_6.png?1493663081)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/249/medium800/feather_trellmod.png?1493236867)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/250/medium800/feather_feathmod.png?1493236879)

Download the files by clicking the button below.

[remoteFXCase.zip](https://cdn-learn.adafruit.com/assets/assets/000/041/403/original/remoteFXCase.zip?1493663050)
![](https://cdn-learn.adafruit.com/assets/assets/000/041/181/medium800/feather_rFX_IMG_0799_2k.jpg?1493189205)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/182/medium800/feather_rFX_IMG_0809_2k.jpg?1493189217)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/186/medium800/feather_rFX_IMG_0801_2k.jpg?1493189271)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/183/medium800/feather_rFX_IMG_0810_2k.jpg?1493189228)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/184/medium800/feather_rFX_IMG_0825_2k.jpg?1493189239)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/041/409/medium800/feather_remoteFX_battery2.jpg?1493663808)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/408/medium800/feather_remoteFX_battery1.jpg?1493663799)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/185/medium800/feather_rFX_IMG_0932_2k.jpg?1493189256)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/251/medium800/feather_IMG_1277.jpg?1493239331)

# Remote Effects Trigger Box

## Assemble It

![](https://cdn-learn.adafruit.com/assets/assets/000/041/252/medium800/feather_explodedView_full.jpg?1493239864)

Here's the order of assembly:

1. Place the on/off switch into its spot in the case bottom
2. Set the battery on the case bottom
3. Push the antenna cable through the hole at the top of the case, allowing the lower nut to be held captive, then put the washer and other nut onto the outside and screw into place
4. Fit the rotary encoder in place and screw down the washer and nut from the outside, then screw on the knob, leaving enough space to click the encoder shaft
5. Slide&nbsp;the Trellis mount into its place in the mid case
6. Slide the Feather mount into place as well
7. Screw the Feather onto its mount using three 2.5mm nylon screws and nuts, then place the OLED FeatherWing onto the Feather.
8. Push the Trellis into&nbsp;its mount

9. Set&nbsp;the silicone keypad into place, making sure to get the orientation correct by aligning the keyed rubber protrusions to their equivalent holes in the PCB
10. Place the lid on top
11. Screw the two top&nbsp;screws (1-1/4" long) into the case from the top, making sure they thread through all tabs, leave them about 1/2" unthreaded so you can add the case bottom later
12. Next, screw in the middle two screws (1-1/8" long) from the top
13. Screw in the bottom two screws (1-1/4") from the top
14. Use double-stick tape or a piece of foam to prevent the battery from rattling around, then press the case bottom into place
15. Screw all six screws the rest of the way down
16. Thread the antenna into place

![](https://cdn-learn.adafruit.com/assets/assets/000/041/254/medium800/feather_09_full.jpg?1493240813)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/255/medium800/feather_08_full.jpg?1493240824)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/410/medium800/feather_batGrab.jpg?1493664425)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/256/medium800/feather_IMG_1279.jpg?1493242001)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/257/medium800/feather_IMG_1280.jpg?1493242038)

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/041/258/medium800/feather_IMG_1282.jpg?1493242054)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/259/medium800/feather_IMG_1284.jpg?1493242075)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/260/medium800/feather_IMG_1285.jpg?1493242125)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/261/medium800/feather_IMG_1286.jpg?1493242143)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/262/medium800/feather_IMG_1287.jpg?1493242159)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/263/medium800/feather_IMG_1288.jpg?1493242172)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/264/medium800/feather_IMG_1289.jpg?1493242187)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/265/medium800/feather_IMG_1290.jpg?1493242210)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/187/medium800/feather_rFX_IMG_1196_2k.jpg?1493189322)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/192/medium800/feather_rFX_IMG_1202_2k.jpg?1493189379)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/190/medium800/feather_rFX_IMG_1199_2k.jpg?1493189355)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/193/medium800/feather_rFX_IMG_1204_2k.jpg?1493189395)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/194/medium800/feather_rFX_IMG_1206_2k.jpg?1493189407)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/195/medium800/feather_rFX_IMG_1210_2k.jpg?1493189418)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/196/medium800/feather_rFX_IMG_1214_2k.jpg?1493189430)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/198/medium800/feather_rFX_IMG_1216_2k.jpg?1493189455)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/411/medium800/feather_caseBackClose.jpg?1493664921)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/199/medium800/feather_rFX_IMG_1219_2k.jpg?1493189468)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/200/medium800/feather_rFX_IMG_1217_2k.jpg?1493189480)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/202/medium800/feather_rFX_IMG_1220_2k.jpg?1493189510)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/201/medium800/feather_rFX_IMG_1222_2k.jpg?1493189495)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/208/medium800/feather_rFX_IMG_1232_2k.jpg?1493189603)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/203/medium800/feather_rFX_IMG_1224_2k.jpg?1493189532)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/204/medium800/feather_rFX_IMG_1223_2k.jpg?1493189542)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/205/medium800/feather_rFX_IMG_1225_2k.jpg?1493189554)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/206/medium800/feather_rFX_IMG_1226_2k.jpg?1493189563)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/207/medium800/feather_rFX_IMG_1228_2k.jpg?1493189572)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/209/medium800/feather_rFX_IMG_1230_2k.jpg?1493189624)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/210/medium800/feather_rFX_IMG_1255_2k.jpg?1493189934)

# Remote Effects Trigger Box

## Build the Receivers

You'll need at least one frequency matched&nbsp;receiver to have any fun at all with your trigger box! What it does is entirely up to you. You can connect many different outputs to the receiver Feather -- it's entirely possible to have one unit for lights, sound, pyrotechnics, motors, door latches, mind controlled shark assassins, music.

For an environment such as an escape room, film set, or theatrical production, you can choose to&nbsp;use multiple receivers. Again, they will need to be the same flavor and frequency, but each can be programmed to interpret commands sent from the main transmitter in any way you see fit!

Here are three examples, one for motors, one for AC power, and one for NeoPixels.&nbsp;

## Motor Receiver

Using the [DC Motor + Stepper FeatherWing](https://www.adafruit.com/product/2927), you can send remotely trigger small motors, powerful and precise steppers, and even peristaltic pumps!

Without revealing too much, note that a very precise stepper can be used for some very magical illusions that involve steadily winding thread or monofilament...

![](https://cdn-learn.adafruit.com/assets/assets/000/041/344/medium800/feather_rFX_IMG_1322.jpg?1493422839)

Solder on the female headers and antenna connector as before to your second packet radio Feather, then connect the antenna cable and antenna.

Solder male headers to the Motor FeatherWing and connect it to the Feather.

[Follow this guide](../../../../adafruit-stepper-dc-motor-featherwing/usage) for info on wiring and setting up your Motor FeatherWing to drive a stepper motor.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/345/medium800/feather_rFX_IMG_1320.jpg?1493422872)

## Power Relay Receiver

The Power Relay FeatherWing allows you to turn on and off powerful 120V-250V AC devices such as lamps, fans, and small appliances, up to 1200W! In this case, we'll use it to control a small-yet-powerful spotlight.

Danger: 

[Follow this guide](../../../../adafruit-power-relay-featherwing/overview) to set up your Power Relay FeatherWing. You'll solder male header pins onto it. Again, solder female headers onto the Feather you'll use, and connect them.

To control the spotlight, first unplug it!, then cut one of its cord wires, and strip a 1/4" of insulation from each of the newly exposed wire ends. Insert one wire tip&nbsp;into the middle screw terminal on the Power Relay FeatherWing, and the other into the N.O. (normally open) terminal. Screw them both down.

Connect the FeatherWing to the Feather. The spotlight is now ready for our software setup later in the guide.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/346/medium800/feather_rFX_IMG_1326.jpg?1493425186)

You can use the wires directly, or splice in a short extension of heavy gauge wire as seen here. Or, even better, splice in a pigtail socket so anything can be plugged in!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/347/medium800/feather_rFX_IMG_1328.jpg?1493425228)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/348/medium800/feather_rFX_IMG_1330.jpg?1493425242)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/349/medium800/feather_rFX_IMG_1331.jpg?1493425263)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/350/medium800/feather_rFX_IMG_1333.jpg?1493425276)

## NeoPixel Receiver

The third example is to drive NeoPixel patterns and colors remotely. You can use any NeoPixel configuration you like, but for this we'll use the 4x8 LED NeoPixel FeatherWing. This was actually the inspiration for building a 900MHz controller system -- I'm building some prop/set lighting pieces using many meters of NeoPixel strips for a touring circus and needed a good, robust way to control them wirelessly.

[Follow the guide](../../../../adafruit-neopixel-featherwing)to set up the board, including soldering on the male headers.

Again, you'll use a matched packet radio Feather with antenna connector, wire, and antenna connected. Plug the board into your Feather's male header pins.

![](https://cdn-learn.adafruit.com/assets/assets/000/041/351/medium800/feather_rFX_IMG_1334.jpg?1493425920)

![](https://cdn-learn.adafruit.com/assets/assets/000/041/352/medium800/feather_IMG_1337.jpg?1493426021)

Your receivers are ready to go! Next, we'll program the transmitter.

# Remote Effects Trigger Box

## Program the Trigger Box

## Board Definition

Now, you're ready to make your controller do something!

First, make sure your Arduino IDE is configured properly with the board definition of your packet radio Feather. Use [this guide to get started](../../../../adafruit-feather-m0-radio-with-rfm69-packet-radio/setup)&nbsp;and [this page to configure the Board Manager and board definition.](../../../../adafruit-feather-m0-radio-with-rfm69-packet-radio/using-with-arduino-ide)&nbsp;Make sure you can properly upload the example blink sketch found in the Arduino IDE under **File \> Examples \> 01 Basics \> Blink** before moving on.

## RadioHead Library

You'll need at least two of the same (identical!) packet radio Feather boards (e.g., RFM69HCW to RFM69HCW&nbsp; **or** &nbsp;LoRa RFM95 to LoRa RFM95, no mixing and matching) set to the same frequency in order to send and receive messages -- one board on its own is very lonely, and semi-useless :(&nbsp;

Install the RadioHead library as [shown here](../../../../adafruit-feather-m0-radio-with-rfm69-packet-radio/using-the-rfm69-radio) and then upload the&nbsp; **RadioHead -\> feather -\> RadioHead69\_RawDemo\_TX&nbsp;** example on one board and&nbsp; **RadioHead -\> feather -\> RadioHead69\_RawDemo\_RX** on the other. Open your serial port on one board and make sure that they're talking to each other properly.

## OLED Library

You'll also need to download the OLED library for the Feather. Follow the [directions here](../../../../adafruit-oled-featherwing/usage). Test out the example code as directed.

## Trellis Library

[Use this guide](../../../../adafruit-trellis-diy-open-source-led-keypad/connecting) to install the Trellis library so that your Feather can read the keypad data and light up the LEDs. It's fun!

## Encoder Library

The final library we'll need on the transmitter side of things is the Encoder library for reading the rotary encoder data.&nbsp;

Encoders are tricky. [Here's a great explanation](https://www.pjrc.com/teensy/td_libs_Encoder.html) from PJRC, if you'd like to learn more.

Install the Encoder library by going to the Library Manager in the Arduino IDE&nbsp; **Sketch \> Include Library... \> Library Manager** and typing "Encoder quad linear" in the search filter field.&nbsp;Click on the Encoder by Paul Stoffregen entry and then click "install".

Info: 

In this example, the transmitter code is set up to send out commands that can be received by any number of receiver units, which each have their own code to determine how to react. The rotary encoder allows you to select different banks of effects from a menu, with each bank holding up to 16 commands -- one per button on the Trellis keypad.

For example, choose the "Motors" menu item with the knob, then press the first button to turn a stepper motor. Press the second button to turn the motor in the opposite direction. Perhaps the fifth button turns on a water pump for a few seconds.&nbsp;

This is all done by having a motor FeatherWing connected to a receiving packet radio Feather operating on the same frequency as the transmitter.

Then, you can rotate the knob on the transmitter to the "Radio" menu item. Now, each of the 16 buttons can be used to trigger a different song on a second receiver Feather with the Music Maker MP3 FeatherWing attached.&nbsp;

Follow the link below to download the code for the project.

[Remote Effects Trigger Box code](https://github.com/adafruit/Adafruit_remoteFXTrigger)
Ada\_remoteFXTrigger\_TX&nbsp;is the&nbsp;Arduino sketch for the transmitter, including a few example effects.&nbsp;Download this code, unzip it, and save the directory&nbsp;in your Arduino sketches directory. Open the sketch in Arduino, and then upload it to your transmitter Feather.

Ada\_remoteFXTrigger\_RX\_motor is the code to&nbsp;use on the motor&nbsp;receiver unit.

Save this sketch as you did before, and upload it to your receiver Feather with Motor FeatherWing attached.Make sure you have the Adafruit Motor Shield V2 library installed -- more info on setting up your&nbsp;Motor FeatherWing can be found[here in this guide.](../../../../adafruit-stepper-dc-motor-featherwing/usage)

If you're using the Power Relay FeatherWing, upload the Ada\_remoteFXTrigger\_lamp code to&nbsp;your Feather.

And, lastly, if you're driving remote NeoPixels, grab the Ada\_remoteFXTrigger\_RX\_NeoPixel code and send it to your NeoPixel-encrusted Feather.

# Remote Effects Trigger Box

## Trigger Effects!

![](https://cdn-learn.adafruit.com/assets/assets/000/041/355/medium800thumb/feather_lightsOn.jpg?1493444919)

It's action time! Power up the transmitter by turning on the switch, and then flip through the menus with the rotary encoder.

You can press the keypad buttons -- they won't do much yet, since we haven't turned on the receivers, but you'll see the latest pressed button light up. There are many unused buttons per menu item -- you'll have fun adding your own commands! -- but a few are preset. Try heading to the "NeoPixel" menu item, and press the first three buttons on the top row of the keypad. When pressed, the OLED display will read out "RED", "GREEN", and "BLUE".

If you scroll away from a menu item, when you return the last button that was lit will re-light. This is to tell you which trigger you last used for that item.

https://youtu.be/da1-ulbe7G4

Here's the system&nbsp;with the NeoPixel Feather receiver powered up with a LiPoly battery. The three active buttons command the NeoPixel Feather to play a pre-designed color pattern.

https://youtu.be/BeLSnQA1GpA

Here's a test of controlling the NeoPixels from a block away. It works great!

https://youtu.be/AKtHDvwLDkk

Now it's up to&nbsp;you imagination to decide what sorts of amazing effects to control with your remote effects trigger box!


## Featured Products

### Adafruit Feather M0 RFM69HCW Packet Radio - 868 or 915 MHz

[Adafruit Feather M0 RFM69HCW Packet Radio - 868 or 915 MHz](https://www.adafruit.com/product/3176)
This is the**&nbsp;Adafruit Feather M0 RFM69 Packet Radio&nbsp;(868 or 915 MHz)****. **We call these _RadioFruits** ,**_ our take on an microcontroller with a RFM69HCW packet radio transceiver plus built in USB and battery charging. Its an Adafruit...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3176)
[Related Guides to the Product](https://learn.adafruit.com/products/3176/guides)
### 900Mhz Antenna Kit - For LoPy, LoRa, etc

[900Mhz Antenna Kit - For LoPy, LoRa, etc](https://www.adafruit.com/product/3340)
This **LoRa&nbsp;Antenna Kit** &nbsp;is meant for use with the [LoPy](https://www.adafruit.com/products/3339) LoRa, WiFi and BLE&nbsp;board or the SiPy Sigfox, WiFi and BLE board. But&nbsp;it's good for any 900MHz radio, including our<a...></a...>

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3340)
[Related Guides to the Product](https://learn.adafruit.com/products/3340/guides)
### uFL SMT Antenna Connector

[uFL SMT Antenna Connector](https://www.adafruit.com/product/1661)
uFL connectors are very small surface-mount parts used when an external RF antena is desired but a big bulky SMA connector takes up too much space. We use this part on our GPS and WiFi boards, they're great! Chances are your antenna doesn't use uFL as the main connector, in which case...

In Stock
[Buy Now](https://www.adafruit.com/product/1661)
[Related Guides to the Product](https://learn.adafruit.com/products/1661/guides)
### Lithium Ion Polymer Battery - 3.7v 2500mAh

[Lithium Ion Polymer Battery - 3.7v 2500mAh](https://www.adafruit.com/product/328)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of **2500mAh** for a total of about 10 Wh. If you need a smaller battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/328)
[Related Guides to the Product](https://learn.adafruit.com/products/328/guides)
### Adafruit Trellis Monochrome Driver PCB for 4x4 Keypad & 3mm LEDs

[Adafruit Trellis Monochrome Driver PCB for 4x4 Keypad & 3mm LEDs](https://www.adafruit.com/product/1616)
 **This item is just for the Trellis driver PCB assembly: LEDs and buttons not included.** Trellis is an open source backlight keypad driver system. It is easy to use, works with any 3mm LEDs and eight tiles can be tiled together on a shared I2C bus.  
  
This PCB is...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1616)
[Related Guides to the Product](https://learn.adafruit.com/products/1616/guides)
### Silicone Elastomer 4x4 Button Keypad - for 3mm LEDs

[Silicone Elastomer 4x4 Button Keypad - for 3mm LEDs](https://www.adafruit.com/product/1611)
So squishy! These silicone elastomer keypads are just waiting for your fingers to press them. Go ahead, squish all you like! (They're durable and easy to clean, just wipe with mild soap and water) These are just like the light up rubber buttons you find on stuff like appliances and tools,...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1611)
[Related Guides to the Product](https://learn.adafruit.com/products/1611/guides)
### Diffused Red 3mm LED (25 pack)

[Diffused Red 3mm LED (25 pack)](https://www.adafruit.com/product/777)
Need some indicators? We are big fans of these diffused red LEDs, as featured in the LoL shield. They are fairly bright so they can be seen in daytime, and from any angle. They go easily into a breadboard and will add that extra zing to your project.

- Pack of 25 diffused red...

Out of Stock
[Buy Now](https://www.adafruit.com/product/777)
[Related Guides to the Product](https://learn.adafruit.com/products/777/guides)
### Adafruit FeatherWing OLED - 128x32 OLED Add-on For Feather

[Adafruit FeatherWing OLED - 128x32 OLED Add-on For Feather](https://www.adafruit.com/product/2900)
A Feather board without ambition is a Feather board without FeatherWings! This is the **FeatherWing OLED** : it adds a 128x32 monochrome OLED plus 3 user buttons to _any_ Feather main board. Using our [Feather Stacking...](https://www.adafruit.com/products/2830)

In Stock
[Buy Now](https://www.adafruit.com/product/2900)
[Related Guides to the Product](https://learn.adafruit.com/products/2900/guides)

## Related Guides

- [Adafruit NeoPixel FeatherWing](https://learn.adafruit.com/adafruit-neopixel-featherwing.md)
- [Adafruit OLED FeatherWing](https://learn.adafruit.com/adafruit-oled-featherwing.md)
- [Adafruit Stepper + DC Motor FeatherWing](https://learn.adafruit.com/adafruit-stepper-dc-motor-featherwing.md)
- [32x32 Square Pixel Art Animation Display](https://learn.adafruit.com/32x32-square-pixel-display.md)
- [Feather Waveform Generator in CircuitPython](https://learn.adafruit.com/waveform-generator.md)
- [Raspberry Pi Zero Stand](https://learn.adafruit.com/raspberry-pi-zero-stand.md)
- [Spinning Disc Step Sequencer](https://learn.adafruit.com/spinning-disc-step-sequencer.md)
- [Trellis 3D Printed Enclosure](https://learn.adafruit.com/trellis-3d-printed-enclosure.md)
- [4x4 Rotary Encoder MIDI Messenger](https://learn.adafruit.com/4x4-rotary-encoder-midi-messenger.md)
- [MicroPython Basics: How to Load MicroPython on a Board](https://learn.adafruit.com/micropython-basics-how-to-load-micropython-on-a-board.md)
- [Mini UNTZtrument: 3D Printed MIDI Controller](https://learn.adafruit.com/mini-untztrument-3d-printed-midi-controller.md)
- [Introducing Adafruit Feather](https://learn.adafruit.com/adafruit-feather.md)
- [How to Make Animated Graphics for Hologram Displays](https://learn.adafruit.com/how-to-make-animated-graphics-for-hologram-displays.md)
- [Wireless NeoPixel Controller](https://learn.adafruit.com/neotrellis-neopixel-controller.md)
- [CircuitPython Hardware: PCA9685 PWM & Servo Driver](https://learn.adafruit.com/micropython-hardware-pca9685-pwm-and-servo-driver.md)
- [Raspberry Pi HQ Camera Case](https://learn.adafruit.com/raspberry-pi-hq-camera-case.md)
- [WiFi Mailbox Notifier](https://learn.adafruit.com/wifi-mailbox-notifier.md)
