The Light Radio
![Light Radio Keypad Demo](/proxy/?url=https://content.instructables.com/F77/WTSX/KZLA6NC5/F77WTSXKZLA6NC5.jpg&filename=Light Radio Keypad Demo)
![LightRadioImage_02.jpg](/proxy/?url=https://content.instructables.com/FZW/DKBL/KYLK31J3/FZWDKBLKYLK31J3.jpg&filename=LightRadioImage_02.jpg)
![LightRadioImage_03.jpg](/proxy/?url=https://content.instructables.com/FD8/5D5R/KYLK31J4/FD85D5RKYLK31J4.jpg&filename=LightRadioImage_03.jpg)
![LightRadioImage_01.jpg](/proxy/?url=https://content.instructables.com/F1X/U0F0/KYLK31IR/F1XU0F0KYLK31IR.jpg&filename=LightRadioImage_01.jpg)
The Light Radio is a device which helps to visualize concepts related to how radio communication works.
Radio systems are comprised of two primary components, the Transmitter and the Receiver. Let's think about this in the context of an FM broadcast radio station. On the transmitter side, there is someone who talks into a microphone. This is known as the INPUT. Their voice is then ENCODED into radio waves through frequency modulation (FM). When encoding a specific radio frequency, the radio station, is chosen to modulate the input around. This frequency is called the carrier frequency. By using different carrier frequencies that are different enough, many different radio stations can transmit at the same time without interference. The now encoded voice is TRANSMITTED by sending out the modulated radio signal from a transmission tower.
To listen to the signal, the first step for the receiver is to tune their radio to the correct frequency for the station that they want to listen to so that they can RECEIVE it using its antenna (e.g., FM 99.7). The station frequency is the carrier frequency that is used by the transmitter to send the signal. The radio then DECODES the signal removing the carrier frequency and extracting the original audio signal. This audio signal is then DISPLAYED to the be person listening to the radio as the voice coming out of the radio speakers.
These six steps – Input, Encode, Transmit, Receive, Decode, and Display–are the core elements of a radio transmission. Tuning is also an important part that happens between the transmission and receiving if multiple radio signals are present at the same time.
The Light Radio is comprised of 3 main parts: the transmitter, the receiver, and the filter.
Let's Look at the Light Radio’s Transmitter. Instead of sending voice, the Light Radio sends an image. Using the keypad, a person turns on and off pixels of the image. This is the INPUT. The image is then ENCODED into a sequence of blinking lights. Just how we can have different frequencies for radio stations, here we can have different frequencies of light for our light radio stations. We see different frequencies of light as different colors. The light radio has two stations, Red (650 nm) and Blue (400-450 nm). These colors are used because their frequencies are far apart. The light radio can now TRANSMIT the image by flashing a colored LED.
To tune the light radio to the station that we want to see, we need to filter out the frequency of that station. To do this, a pair of 3D glasses are used because they have both red and blue filters built in. If we want to tune to the blue station, we use the blue filter as it only lets blue light through, blocking out the red, so that the light radio can receive the blue station clearly.
Once we have selected the filter we want and put it between the LED and the photo transistor, which is like the antenna of our Light Radio, the Light Radio can RECEIVE the Station. The flashes of the LED are then DECODED. The image that was drawn on the transmitter keypad is then DISPLAYED on the keypad of the receiver. If we wanted to see the image that is being transmitted on the red station, simply put the red filter in between the LED and the photo transistor.
"This material is based upon work supported by the National Science Foundation under Grant No. 2053160. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.”
Supplies
![NeoTrellis4by4_4352_01.jpeg](/proxy/?url=https://content.instructables.com/FM6/CQ8C/KYLK31JU/FM6CQ8CKYLK31JU.jpg&filename=NeoTrellis4by4_4352_01.jpeg)
![TinyBreadboard_65.jpeg](/proxy/?url=https://content.instructables.com/FJH/CLE8/KYLK31JV/FJHCLE8KYLK31JV.jpg&filename=TinyBreadboard_65.jpeg)
![PhotoTransistor_2831.jpeg](/proxy/?url=https://content.instructables.com/F0M/EXC5/KYLK31JT/F0MEXC5KYLK31JT.jpg&filename=PhotoTransistor_2831.jpeg)
![RGBLED_159.jpeg](/proxy/?url=https://content.instructables.com/FNR/1M7Y/KYLK31JS/FNR1M7YKYLK31JS.jpg&filename=RGBLED_159.jpeg)
![Resistors_2784.jpeg](/proxy/?url=https://content.instructables.com/FN5/RICY/KYLK31JR/FN5RICYKYLK31JR.jpg&filename=Resistors_2784.jpeg)
![USBCable_2185.jpeg](/proxy/?url=https://content.instructables.com/FU9/OFMJ/KYLK31JQ/FU9OFMJKYLK31JQ.jpg&filename=USBCable_2185.jpeg)
![3DGlasses.jpg](/proxy/?url=https://content.instructables.com/FLB/5K7X/KYLK31JO/FLB5K7XKYLK31JO.jpg&filename=3DGlasses.jpg)
![BatteryPack.jpg](/proxy/?url=https://content.instructables.com/FSY/EPLD/KYLK31JP/FSYEPLDKYLK31JP.jpg&filename=BatteryPack.jpg)
![LRI0001_AllTools_174A0957.JPG](/proxy/?url=https://content.instructables.com/FQT/9R56/KZ8F6E8I/FQT9R56KZ8F6E8I.jpg&filename=LRI0001_AllTools_174A0957.JPG)
![LRI0002_Stripper_174A0960.JPG](/proxy/?url=https://content.instructables.com/FXS/H02B/KZ8F6E9F/FXSH02BKZ8F6E9F.jpg&filename=LRI0002_Stripper_174A0960.JPG)
![LRI0003_SolderingIron_174A0958.JPG](/proxy/?url=https://content.instructables.com/FU2/KHU4/KZ8F6E9I/FU2KHU4KZ8F6E9I.jpg&filename=LRI0003_SolderingIron_174A0958.JPG)
![LRI0004_ScrewDriver_174A0961.JPG](/proxy/?url=https://content.instructables.com/FAA/AQZ5/KZ8F6E9J/FAAAQZ5KZ8F6E9J.jpg&filename=LRI0004_ScrewDriver_174A0961.JPG)
![LRI0005_Tape_174A0962.JPG](/proxy/?url=https://content.instructables.com/FFG/DESW/KZ8F6EAP/FFGDESWKZ8F6EAP.jpg&filename=LRI0005_Tape_174A0962.JPG)
Supplies
The majority of the components for the Light Radio can be purchased from Adafruit. Quantities are listed first.
2x | Adafruit 4x4 NeoTrellis Feather M4 Kit Pack
2x | Tiny breadboard
1x* | Photo Transistor Light Sensor
1x* | Diffused RGB (tri-color) LED - Common Anode
1x | Through-Hole Resistors - 10K ohm 5% 1/4W - Pack of 25
1x | Red/Blue 3D glasses
1x | Duel USB Battery pack (Optional)
*For some of the small parts it does not hurt to get a few extra
Tools
Tools for cutting and stripping wire
Soldering iron and solder
Small Philips head screwdriver
Tape (optional)
Assemble the Keypad
![LRI0060_0_174A1274.JPG](/proxy/?url=https://content.instructables.com/FPD/89ZU/KZIF9DU0/FPD89ZUKZIF9DU0.jpg&filename=LRI0060_0_174A1274.JPG)
The first step is to assemble the two keypads that will become the Transmitter and the Receiver. These instructions are based the set found here but differ so please use the following instructions here.
Prep Work: Remove the Backing
![LRI0006_PartsUnPeeledMarked_174A0974Marked.jpg](/proxy/?url=https://content.instructables.com/FT3/CLMP/KZ8F6EBZ/FT3CLMPKZ8F6EBZ.jpg&filename=LRI0006_PartsUnPeeledMarked_174A0974Marked.jpg)
![LRI0007_Peeling1_174A0985.JPG](/proxy/?url=https://content.instructables.com/FWO/7FIS/KZ8F6EC2/FWO7FISKZ8F6EC2.jpg&filename=LRI0007_Peeling1_174A0985.JPG)
![LRI0007_Peeling2_174A0989.JPG](/proxy/?url=https://content.instructables.com/FTV/42W5/KZ8F6ED7/FTV42W5KZ8F6ED7.jpg&filename=LRI0007_Peeling2_174A0989.JPG)
![LRI0006_PartsPeeled_174A1005.JPG](/proxy/?url=https://content.instructables.com/F6J/OL9F/KZ8F6GZ7/F6JOL9FKZ8F6GZ7.jpg&filename=LRI0006_PartsPeeled_174A1005.JPG)
Remove the backing paper off of the laser cut case parts. You will not need one of the side panels
Prep Work: Cut the Stemma Wire
![LRI0008_wireCut1_174A1093.JPG](/proxy/?url=https://content.instructables.com/FWR/HTGY/KZ8F6EDA/FWRHTGYKZ8F6EDA.jpg&filename=LRI0008_wireCut1_174A1093.JPG)
![LRI0008_wireCut2_174A1031.JPG](/proxy/?url=https://content.instructables.com/FUQ/L4I5/KZ8F6EEG/FUQL4I5KZ8F6EEG.jpg&filename=LRI0008_wireCut2_174A1031.JPG)
Cut the STEMMA wire included in the kit in half.
Prep Work: Strip & Tin
![LRI0009_strippingWire_174A1096.JPG](/proxy/?url=https://content.instructables.com/FZD/8LT4/KZ8F6EFM/FZD8LT4KZ8F6EFM.jpg&filename=LRI0009_strippingWire_174A1096.JPG)
![LRI0010_tinning1_174A1061.JPG](/proxy/?url=https://content.instructables.com/F9Q/1AQZ/KZ8F6EFN/F9Q1AQZKZ8F6EFN.jpg&filename=LRI0010_tinning1_174A1061.JPG)
![LRI0010_tinning2_174A1063.JPG](/proxy/?url=https://content.instructables.com/F31/NG6I/KZ8F6EGU/F31NG6IKZ8F6EGU.jpg&filename=LRI0010_tinning2_174A1063.JPG)
Strip and tin the cut end of both ends of all the wires
Soldering the Keypad Wires
![LRI0011_174A1068.JPG](/proxy/?url=https://content.instructables.com/FGU/9XFS/KZ8F6EGV/FGU9XFSKZ8F6EGV.jpg&filename=LRI0011_174A1068.JPG)
![LRI0012_wireinsert1_174A1073.JPG](/proxy/?url=https://content.instructables.com/FNE/VPSP/KZ8F6EGY/FNEVPSPKZ8F6EGY.jpg&filename=LRI0012_wireinsert1_174A1073.JPG)
![LRI0012_wireinsert2_174A1070.JPG](/proxy/?url=https://content.instructables.com/FIP/0WAC/KZ8F6EI2/FIP0WACKZ8F6EI2.jpg&filename=LRI0012_wireinsert2_174A1070.JPG)
![LRI0012_wireinsert3_174A1075.JPG](/proxy/?url=https://content.instructables.com/FTO/QME6/KZ8F6EJ6/FTOQME6KZ8F6EJ6.jpg&filename=LRI0012_wireinsert3_174A1075.JPG)
![LRI0013_soldering1_174A1078.JPG](/proxy/?url=https://content.instructables.com/FX1/LWJ2/KZ8F6EJ7/FX1LWJ2KZ8F6EJ7.jpg&filename=LRI0013_soldering1_174A1078.JPG)
![LRI0013_soldering2_.JPG](/proxy/?url=https://content.instructables.com/FES/D8S2/KZ8F6EKB/FESD8S2KZ8F6EKB.jpg&filename=LRI0013_soldering2_.JPG)
![LRI0013_soldering3_174A1080.JPG](/proxy/?url=https://content.instructables.com/FHY/XRHL/KZ8F6ELH/FHYXRHLKZ8F6ELH.jpg&filename=LRI0013_soldering3_174A1080.JPG)
![LRI0013_soldering4_174A1081.JPG](/proxy/?url=https://content.instructables.com/FUB/BGNC/KZ8F6ELK/FUBBGNCKZ8F6ELK.jpg&filename=LRI0013_soldering4_174A1081.JPG)
![LRI0014_174A1082.JPG](/proxy/?url=https://content.instructables.com/FPB/982R/KZ8F6EMO/FPB982RKZ8F6EMO.jpg&filename=LRI0014_174A1082.JPG)
All the wires you will be soldering will need to approach from the bottom of the board and soldered from the top side.
Start with the half of the wire with the STEMMA connector attached. Solder the wire to the Feather M4 in the following order. You will do this for both Feather M4 boards.
Black (GND) - GND
Red (VIN) - USB
White (SDA) - SDA
Green (SCL) - SCL
Soldering the Transmitter and Receiver Wires
![LRI0033_174A1153.JPG](/proxy/?url=https://content.instructables.com/F87/BR1B/KZIF9DS4/F87BR1BKZIF9DS4.jpg&filename=LRI0033_174A1153.JPG)
Up until this point the same wiring has been attached to both Feather M4 boards. The next steps will differentiate one board to become the transmitter and one to become the receiver.
Soldering the Transmitter
![LRI0016_174A1104.jpg](/proxy/?url=https://content.instructables.com/F7M/BSB3/KZ8F6ENT/F7MBSB3KZ8F6ENT.jpg&filename=LRI0016_174A1104.jpg)
![LRI0017_redinsert1_174A1107.JPG](/proxy/?url=https://content.instructables.com/F3F/KF3P/KZ8F6EVJ/F3FKF3PKZ8F6EVJ.jpg&filename=LRI0017_redinsert1_174A1107.JPG)
![LRI0017_redInsert2_174A1108.JPG](/proxy/?url=https://content.instructables.com/FTV/2DL0/KZ8F6F23/FTV2DL0KZ8F6F23.jpg&filename=LRI0017_redInsert2_174A1108.JPG)
![LRI0018_174A1109.JPG](/proxy/?url=https://content.instructables.com/FP6/X9VU/KZ8F6F25/FP6X9VUKZ8F6F25.jpg&filename=LRI0018_174A1109.JPG)
![LRI0019_174A1110.JPG](/proxy/?url=https://content.instructables.com/FTE/6XYU/KZ8F6F3A/FTE6XYUKZ8F6F3A.jpg&filename=LRI0019_174A1110.JPG)
![LRI0020_174A1111.JPG](/proxy/?url=https://content.instructables.com/F05/8CWN/KZ8F6F4O/F058CWNKZ8F6F4O.jpg&filename=LRI0020_174A1111.JPG)
![LRI0021_174A1112.JPG](/proxy/?url=https://content.instructables.com/FNS/TVWZ/KZ8F6F4T/FNSTVWZKZ8F6F4T.jpg&filename=LRI0021_174A1112.JPG)
![LRI0022_174A1113.JPG](/proxy/?url=https://content.instructables.com/FRN/HTSK/KZ8F6F7E/FRNHTSKKZ8F6F7E.jpg&filename=LRI0022_174A1113.JPG)
![LRI0023_174A1114.JPG](/proxy/?url=https://content.instructables.com/FKV/4AWG/KZ8F6F8U/FKV4AWGKZ8F6F8U.jpg&filename=LRI0023_174A1114.JPG)
![LRI0024_174A1120.JPG](/proxy/?url=https://content.instructables.com/F9Z/H1AD/KZ8F6F8W/F9ZH1ADKZ8F6F8W.jpg&filename=LRI0024_174A1120.JPG)
![LRI0015_174A1102.JPG](/proxy/?url=https://content.instructables.com/FU8/AEV4/KZ8F6ENS/FU8AEV4KZ8F6ENS.jpg&filename=LRI0015_174A1102.JPG)
Select one of the Feather M4 boards, this will become the Transmitter
To connect to the transmitting LED we will use the other half of the STEMMA wire with the header pins.
These wires need to be attached to specific pins on the board in the same manner as the wires for the STEMMA connector, from bottom to top and soldered on the top.
- Attach the red wire to the 3V rail on the proto area of the board
- Attach the black wire to pin 12
- Attach the white wire to pin 11
- Attach the green wire to pin 10
Soldering the Reciever
![LRI0025_174A1126.jpg](/proxy/?url=https://content.instructables.com/F69/1IVM/KZ8F6F9D/F691IVMKZ8F6F9D.jpg&filename=LRI0025_174A1126.jpg)
![LRI0026_blackInsert1_174A1127.JPG](/proxy/?url=https://content.instructables.com/FHM/1FX2/KZ8F6F9F/FHM1FX2KZ8F6F9F.jpg&filename=LRI0026_blackInsert1_174A1127.JPG)
![LRI0027_174A1129.JPG](/proxy/?url=https://content.instructables.com/FLG/CWUT/KZ8F6FAW/FLGCWUTKZ8F6FAW.jpg&filename=LRI0027_174A1129.JPG)
![LRI0028_174A1131.JPG](/proxy/?url=https://content.instructables.com/FRJ/IV2J/KZ8F6FCD/FRJIV2JKZ8F6FCD.jpg&filename=LRI0028_174A1131.JPG)
![LRI0029_174A1132.JPG](/proxy/?url=https://content.instructables.com/F2W/77WR/KZ8F6FCR/F2W77WRKZ8F6FCR.jpg&filename=LRI0029_174A1132.JPG)
![LRI0030_174A1133.JPG](/proxy/?url=https://content.instructables.com/FER/TSK1/KZ8F6FCU/FERTSK1KZ8F6FCU.jpg&filename=LRI0030_174A1133.JPG)
![LRI0031_174A1138.JPG](/proxy/?url=https://content.instructables.com/FR8/93KY/KZ8F6FEE/FR893KYKZ8F6FEE.jpg&filename=LRI0031_174A1138.JPG)
Select the other Feather M4, this board will be the receiver
To connect to the receiving photo transistor we will use the other half of the STEMMA wire with the header pins. You will need the red, black and green wires
These wires need to be attached to specific pins on the board in the same manner as the wires for the STEMMA connector, from bottom to top and soldered on the top.
- Attach the black wire to the GND rail on the proto area of the board
- Attach the green wire to pin A2
- Attach the red wire to 3V
Case Assembly
![LRI0034_PartsLabled_174A0974.jpg](/proxy/?url=https://content.instructables.com/FE2/8FRH/KZIF9DS5/FE28FRHKZIF9DS5.jpg&filename=LRI0034_PartsLabled_174A0974.jpg)
For the assembly of the case, reference this image for labeling of the parts.
Bottom Assembly
![LRI0035_174A1175.JPG](/proxy/?url=https://content.instructables.com/FE5/L9WB/KZIF9DS6/FE5L9WBKZIF9DS6.jpg&filename=LRI0035_174A1175.JPG)
![LRI0036_174A1182.JPG](/proxy/?url=https://content.instructables.com/FVI/GXXN/KZIF9DS7/FVIGXXNKZIF9DS7.jpg&filename=LRI0036_174A1182.JPG)
![LRI0037_174A1189.JPG](/proxy/?url=https://content.instructables.com/FOH/AZ0G/KZIF9DS8/FOHAZ0GKZIF9DS8.jpg&filename=LRI0037_174A1189.JPG)
![LRI0038_174A1192.JPG](/proxy/?url=https://content.instructables.com/F3J/N9MG/KZIF9DS9/F3JN9MGKZIF9DS9.jpg&filename=LRI0038_174A1192.JPG)
![LRI0039_BoardNoNuts_174A1197.JPG](/proxy/?url=https://content.instructables.com/FLJ/EXCS/KZIF9DSA/FLJEXCSKZIF9DSA.jpg&filename=LRI0039_BoardNoNuts_174A1197.JPG)
![LRI0039_BoardWithNuts_174A1198.JPG](/proxy/?url=https://content.instructables.com/FN2/A72B/KZIF9DSB/FN2A72BKZIF9DSB.jpg&filename=LRI0039_BoardWithNuts_174A1198.JPG)
![LRI0040_174A1169.JPG](/proxy/?url=https://content.instructables.com/FLE/CWI9/KZIF9DSC/FLECWI9KZIF9DSC.jpg&filename=LRI0040_174A1169.JPG)
![LRI0041_174A1199.JPG](/proxy/?url=https://content.instructables.com/FOK/GQAQ/KZIF9DSD/FOKGQAQKZIF9DSD.jpg&filename=LRI0041_174A1199.JPG)
![LRI0041_SideView_174A1202.JPG](/proxy/?url=https://content.instructables.com/FKU/5O8E/KZIF9DSE/FKU5O8EKZIF9DSE.jpg&filename=LRI0041_SideView_174A1202.JPG)
- Collect the M2.5 hardware (four smaller black screws, four black nuts, and four white standoffs)
- Find the bottom plate A, The board will be installed with the top of the board facing into the plate so that the battery connector fits into the plate and the reset button is accessible
- Insert the four M2.5 screws through the base from the bottom and lay it on the table, if you need to tape the screw heads so that they stay in
- Add the white standoffs to the screws
- Place the board bottom side up on the screws and secure it with the nuts
- Collect the four black threaded standoffs and four of the eight M3 Screws
- Attach the standoffs to the bottom plate with screws coming through from the bottom
Inner Side Assembly
![LRI0042_SidesOnly_174A1205.JPG](/proxy/?url=https://content.instructables.com/F8N/IN4Q/KZIF9DSI/F8NIN4QKZIF9DSI.jpg&filename=LRI0042_SidesOnly_174A1205.JPG)
![LRI0042_174A1206.JPG](/proxy/?url=https://content.instructables.com/FLX/HGK4/KZIF9DSF/FLXHGK4KZIF9DSF.jpg&filename=LRI0042_174A1206.JPG)
See the labeled Image for reference of which side piece is which. The pieces themselves are not labeled so pay close attention to the shape of each piece. The Transmitter and Receiver are assembled differently so make sure you do so correctly. The case is double walled in order to support the keypad. Both the transmitter and receiver will have the same inner walls but different outer walls.
Find the two side pieces (B & C) and fit them into place on the bottom
Inner Front and Back Assembly
![LRI0043_PanelsOnly_174A1207.JPG](/proxy/?url=https://content.instructables.com/F0N/IM8W/KZIF9DSJ/F0NIM8WKZIF9DSJ.jpg&filename=LRI0043_PanelsOnly_174A1207.JPG)
![LRI0043_Reciever_174A1211.JPG](/proxy/?url=https://content.instructables.com/FLA/VIBV/KZIF9DSK/FLAVIBVKZIF9DSK.jpg&filename=LRI0043_Reciever_174A1211.JPG)
![LRI0043_Transmitter_174A1209.JPG](/proxy/?url=https://content.instructables.com/FWV/4TZG/KZIF9DSN/FWV4TZGKZIF9DSN.jpg&filename=LRI0043_Transmitter_174A1209.JPG)
![LRI0044_174A1210.JPG](/proxy/?url=https://content.instructables.com/F08/W8J9/KZIF9DSO/F08W8J9KZIF9DSO.jpg&filename=LRI0044_174A1210.JPG)
Find the front and back inner walls (D & E) and slot them into place. The one with the large cutout (D) fits over the Feather.
Outer Side Assembly: Transmitter
![LRI0045_1_174A1213.JPG](/proxy/?url=https://content.instructables.com/FIA/KTV8/KZIF9DSQ/FIAKTV8KZIF9DSQ.jpg&filename=LRI0045_1_174A1213.JPG)
![LRI0045_2_174A1214.JPG](/proxy/?url=https://content.instructables.com/FDT/4OZ9/KZIF9DSR/FDT4OZ9KZIF9DSR.jpg&filename=LRI0045_2_174A1214.JPG)
For the TRANSMITTER ONLY Find the outer side wall (F) This side wall is going fit on the side closest to the Feather. In order to install it you will need to slightly lift the inner walls to slot everything in correctly.
![LRI0046_174A1227.JPG](/proxy/?url=https://content.instructables.com/FPM/HKYM/KZIF9DSU/FPMHKYMKZIF9DSU.jpg&filename=LRI0046_174A1227.JPG)
![LRI0046_RecieverAllParts_174A1223.JPG](/proxy/?url=https://content.instructables.com/F44/Z8R6/KZIF9DSV/F44Z8R6KZIF9DSV.jpg&filename=LRI0046_RecieverAllParts_174A1223.JPG)
For the RECEIVER ONLY Find the outer side wall (F) This side wall is going fit on the side furthest from the Feather. In order to install it you will need to slightly lift the inner walls to slot everything in correctly.
Outer Front and Back Assembly
![LRI0047_1_174A1215.JPG](/proxy/?url=https://content.instructables.com/F07/ESGT/KZIF9DT2/F07ESGTKZIF9DT2.jpg&filename=LRI0047_1_174A1215.JPG)
![LRI0047_2_174A1216.JPG](/proxy/?url=https://content.instructables.com/F0R/HLJT/KZIF9DT3/F0RHLJTKZIF9DT3.jpg&filename=LRI0047_2_174A1216.JPG)
Find the front and back outer walls (H & I) and fit them into place in a similar manner to the previous side wall.
Connect the KeypadPCB
![LRI0048_174A1218.JPG](/proxy/?url=https://content.instructables.com/FOJ/Y42E/KZIF9DT4/FOJY42EKZIF9DT4.jpg&filename=LRI0048_174A1218.JPG)
![LRI0048_Reciever_174A1228.JPG](/proxy/?url=https://content.instructables.com/FHQ/E34R/KZIF9DT7/FHQE34RKZIF9DT7.jpg&filename=LRI0048_Reciever_174A1228.JPG)
Plug the STEMMA connector into the Socket on the Keypad PCB
Transmitter Wire Routing
![LRI0049_174A1231.JPG](/proxy/?url=https://content.instructables.com/FFD/K1EC/KZIF9DT8/FFDK1ECKZIF9DT8.jpg&filename=LRI0049_174A1231.JPG)
For the TRANSMITTER ONLY take the four wires with pins on them and hang them over the edge of the inner wall, furthest from the Feather, in the groove on that wall. This should be on the side that does not have a side panel
Receiver Wire Routing
![LRI0050_174A1234.JPG](/proxy/?url=https://content.instructables.com/FZ1/OGJG/KZIF9DT9/FZ1OGJGKZIF9DT9.jpg&filename=LRI0050_174A1234.JPG)
For the RECEIVER ONLY take the three wires with pins on them and hang them over the edge of the inner wall, closest to the Feather, in the groove on that wall. This should be on the side that does not have a side panel
Fitting the Keypad
![LRI0051_Reciever_174A1237.JPG](/proxy/?url=https://content.instructables.com/FLI/MZLZ/KZIF9DTA/FLIMZLZKZIF9DTA.jpg&filename=LRI0051_Reciever_174A1237.JPG)
![LRI0051_Transmitter_174A1246.JPG](/proxy/?url=https://content.instructables.com/FJZ/1PLG/KZIF9DTB/FJZ1PLGKZIF9DTB.jpg&filename=LRI0051_Transmitter_174A1246.JPG)
![LRI0052_174A1236.JPG](/proxy/?url=https://content.instructables.com/F42/7UDR/KZIF9DTC/F427UDRKZIF9DTC.jpg&filename=LRI0052_174A1236.JPG)
![LRI0053_174A1248.JPG](/proxy/?url=https://content.instructables.com/FCH/5282/KZIF9DTD/FCH5282KZIF9DTD.jpg&filename=LRI0053_174A1248.JPG)
- Position the housing so that the USB Port is at the top and carefully fit the Keypad PCB into place. Be careful fitting the wires into the case and that the wires from steps 1 or 2 are still hanging out the side. The numbers on the Keypad PCB should appear upside-down with respect to the case, I.e. “16” will be at the top left
- Carefully fit the Keypad PCB onto the inner walls so that it sits flush. Be careful about making sure the wires fit into the case. You might need to use a screwdriver to stuff them back in. Again, make sure that the wires with header pins that are hanging out of the side are sitting the in grove in the inner wall.
Install the Button Pad
![LRI0055_174A1250.JPG](/proxy/?url=https://content.instructables.com/FI5/RNR6/KZIF9DTE/FI5RNR6KZIF9DTE.jpg&filename=LRI0055_174A1250.JPG)
Install the button pad over the keypad PCB. The button pad has protrusions on the bottom which line up with holes on the PCB. The button pad should sit flush on the Keypad PCB
Fitting the Top Pieces
![LRI0056_174A1251.JPG](/proxy/?url=https://content.instructables.com/FDY/7AGL/KZIF9DTL/FDY7AGLKZIF9DTL.jpg&filename=LRI0056_174A1251.JPG)
![LRI0057_174A1252.JPG](/proxy/?url=https://content.instructables.com/FNJ/Q34Z/KZIF9DTM/FNJQ34ZKZIF9DTM.jpg&filename=LRI0057_174A1252.JPG)
![LRI0058_174A1256.JPG](/proxy/?url=https://content.instructables.com/FV5/K74U/KZIF9DTS/FV5K74UKZIF9DTS.jpg&filename=LRI0058_174A1256.JPG)
![LRI0059_174A1259.JPG](/proxy/?url=https://content.instructables.com/FRH/46JQ/KZIF9DTZ/FRH46JQKZIF9DTZ.jpg&filename=LRI0059_174A1259.JPG)
![LRI0060_1_174A1262.JPG](/proxy/?url=https://content.instructables.com/F4J/89VS/KZIF9DU1/F4J89VSKZIF9DU1.jpg&filename=LRI0060_1_174A1262.JPG)
![LRI0060_2_174A1264.JPG](/proxy/?url=https://content.instructables.com/F9C/119B/KZIF9DU3/F9C119BKZIF9DU3.jpg&filename=LRI0060_2_174A1264.JPG)
- Fit the top piece (J) over the Button Pad making sure that the buttons do not catch and that all the tabs and slots on the side walls fit in
- Fit the black layer (K) on top of the Button pad
- Use the 4 remaining M3 Screws to hold the top in place. Getting one screw in will help hold everything together while you do the others.
Add the Rubber Feet
![LRI0061_174A1269.JPG](/proxy/?url=https://content.instructables.com/FL1/0Q1C/KZIF9DU9/FL10Q1CKZIF9DU9.jpg&filename=LRI0061_174A1269.JPG)
Add the 4 rubber pads to the bottom just inside the screws so that the keypad has some feet and does not move around.
Tranmitter Breadboard
![LRI0065_174A1309.JPG](/proxy/?url=https://content.instructables.com/FTJ/FYXQ/KZIF9DUO/FTJFYXQKZIF9DUO.jpg&filename=LRI0065_174A1309.JPG)
![LRI0062_AllParts_174A1276.JPG](/proxy/?url=https://content.instructables.com/FEQ/VFPT/KZIF9DUB/FEQVFPTKZIF9DUB.jpg&filename=LRI0062_AllParts_174A1276.JPG)
We will now be assembling the breadboard for the transmitter.
First you will need to find the transmitter keypad, the one with 4 wires coming out of it.
You will also need a mini breadboard and the RGB Led
Placing the Transmit LED
![LRI0062_174A1283.jpg](/proxy/?url=https://content.instructables.com/F9A/82FU/KZIF9DUA/F9A82FUKZIF9DUA.jpg&filename=LRI0062_174A1283.jpg)
![LRI0063_174A1286.jpg](/proxy/?url=https://content.instructables.com/FDL/U5EL/KZIF9DUD/FDLU5ELKZIF9DUD.jpg&filename=LRI0063_174A1286.jpg)
Fit the 4 legs of the RGB LED into the first bread board. Pay special attention to where you put the long leg (3V). See the Image for LED Pin Numbering
Wiring the Transmit LED
![LRI0064_1_174A1287.JPG](/proxy/?url=https://content.instructables.com/F4X/0HMK/KZIF9DUE/F4X0HMKKZIF9DUE.jpg&filename=LRI0064_1_174A1287.JPG)
![LRI0064_2_174A1288.JPG](/proxy/?url=https://content.instructables.com/FGJ/K820/KZIF9DUH/FGJK820KZIF9DUH.jpg&filename=LRI0064_2_174A1288.JPG)
![LRI0064_3_174A1289.JPG](/proxy/?url=https://content.instructables.com/F45/AJDB/KZIF9DUJ/F45AJDBKZIF9DUJ.jpg&filename=LRI0064_3_174A1289.JPG)
![LRI0064_4_174A1290.JPG](/proxy/?url=https://content.instructables.com/F8V/RSP3/KZIF9DUK/F8VRSP3KZIF9DUK.jpg&filename=LRI0064_4_174A1290.JPG)
Plug the Black wire into the breadboard to connect it to Pin 1 on the LED. This is going to be the same column of 5 on the breadboard
Plug the Red wire into the breadboard to connect it to Pin 2 (the long leg) on the LED
Plug the White wire into the breadboard to connect it to Pin 3 on the LED
Plug the Green wire into the breadboard to connect it to Pin 4 on the LED
Bend the Transmit LED
![LRI0064_5_174A1291.JPG](/proxy/?url=https://content.instructables.com/FMD/H9TF/KZIF9DUL/FMDH9TFKZIF9DUL.jpg&filename=LRI0064_5_174A1291.JPG)
Bend the LED over so that it is at 90 degrees
Receiver Breadboard
![LRI0071_174A1307.JPG](/proxy/?url=https://content.instructables.com/FSQ/H9D8/KZIF9DV9/FSQH9D8KZIF9DV9.jpg&filename=LRI0071_174A1307.JPG)
![LRI0066_AllParts_174A1292.JPG](/proxy/?url=https://content.instructables.com/FS8/F2K4/KZIF9DUQ/FS8F2K4KZIF9DUQ.jpg&filename=LRI0066_AllParts_174A1292.JPG)
We will now be assembling the breadboard for the receiver.
First you will need to find the receiver keypad, the one with 3 wires coming out of it.
You will also need a mini breadboard, resistor, and the phototransistor.
Placing the Phototransistor
![LRI0066_174A1294.JPG](/proxy/?url=https://content.instructables.com/FTQ/NU37/KZIF9DUP/FTQNU37KZIF9DUP.jpg&filename=LRI0066_174A1294.JPG)
![LRI0067_1_174A1296.JPG](/proxy/?url=https://content.instructables.com/FRW/48NC/KZIF9DUW/FRW48NCKZIF9DUW.jpg&filename=LRI0067_1_174A1296.JPG)
![LRI0067_2_174A1298.JPG](/proxy/?url=https://content.instructables.com/FNF/P52K/KZIF9DUX/FNFP52KKZIF9DUX.jpg&filename=LRI0067_2_174A1298.JPG)
Fit the photo transistor into the second breadboard. Pay special attention to where you put the long Leg.
Placing the Resistor
![LRI0069_174A1300.JPG](/proxy/?url=https://content.instructables.com/FG0/RBJX/KZIF9DUY/FG0RBJXKZIF9DUY.jpg&filename=LRI0069_174A1300.JPG)
Place a resistor into the breadboard with one leg of the resistor connected to the long leg of the photo transistor and one leg in an open spot on the breadboard
Wiring the Phototransistor
![LRI0070_1_174A1301.JPG](/proxy/?url=https://content.instructables.com/FUN/BTED/KZIF9DUZ/FUNBTEDKZIF9DUZ.jpg&filename=LRI0070_1_174A1301.JPG)
![LRI0070_2_174A1302.JPG](/proxy/?url=https://content.instructables.com/FLM/TZYK/KZIF9DV3/FLMTZYKKZIF9DV3.jpg&filename=LRI0070_2_174A1302.JPG)
![LRI0070_3_174A1303.JPG](/proxy/?url=https://content.instructables.com/FCL/05OU/KZIF9DV6/FCL05OUKZIF9DV6.jpg&filename=LRI0070_3_174A1303.JPG)
Plug the Red wire into the breadboard to connect it to the short leg of the photo transistor
Plug the Green wire into the breadboard to connect it to the long leg of the photo transistor and the resistor
Plug the Black wire into the breadboard to connect it to the other end of the resistor
Bend the Phototransistor
![LRI0070_4_174A1304.JPG](/proxy/?url=https://content.instructables.com/F4L/Z1SW/KZIF9DV7/F4LZ1SWKZIF9DV7.jpg&filename=LRI0070_4_174A1304.JPG)
Bend the Photo Transistor over so that it is at 90 degrees
Upload the Code
![LRI0072_174A1313.JPG](/proxy/?url=https://content.instructables.com/FB8/O201/KZIF9DVA/FB8O201KZIF9DVA.jpg&filename=LRI0072_174A1313.JPG)
The encoding and decoding Code is based on https://github.com/SaadOjo/DIY_Li-Fi
The keypad code is based on https://learn.adafruit.com/adafruit-neotrellis/arduino-code
Upload the LightRadio_Reciever.ino to the Feather M4 in the Receiver Keypad
Upload the LightRadio_Transmitter.ino to the Feather M4 in the Transmitter Keypad
The Keypads do not need to be connected to a computer to work but they should be connected to power. The USB battery pack is a great way to power the system and allow it to be portable
Position the Breadboards
![LRI0073_174A1316.JPG](/proxy/?url=https://content.instructables.com/FYE/1E4S/KZIF9DVB/FYE1E4SKZIF9DVB.jpg&filename=LRI0073_174A1316.JPG)
Position the breadboards so that the LED of the transmitter is facing the photo transistor with about an inch between them.
Power Up the Keypads
![LRI0074_174A1317.JPG](/proxy/?url=https://content.instructables.com/F03/2WH5/KZIF9DVE/F032WH5KZIF9DVE.jpg&filename=LRI0074_174A1317.JPG)
![LRI0075_174A1320.JPG](/proxy/?url=https://content.instructables.com/FOU/F8AH/KZIF9DVF/FOUF8AHKZIF9DVF.jpg&filename=LRI0075_174A1320.JPG)
![LRI0076_174A1324.JPG](/proxy/?url=https://content.instructables.com/FRS/BJCD/KZIF9DVG/FRSBJCDKZIF9DVG.jpg&filename=LRI0076_174A1324.JPG)
![LRI0077_174A1325.JPG](/proxy/?url=https://content.instructables.com/F7A/KZK2/KZIF9DVH/F7AKZK2KZIF9DVH.jpg&filename=LRI0077_174A1325.JPG)
Plug in the USB cords for the Transmitter and the Receiver
Plug the USB cords into a power source
Both Keypads should play a rainbow pattern
The LED on the transmitter should start flashing
Drawing an Image on the Transmitter
![LRI0078_174A1329.JPG](/proxy/?url=https://content.instructables.com/F66/J4RN/KZIF9DVJ/F66J4RNKZIF9DVJ.jpg&filename=LRI0078_174A1329.JPG)
![LRI0079_174A1330.JPG](/proxy/?url=https://content.instructables.com/FKT/2U3W/KZIF9DVM/FKT2U3WKZIF9DVM.jpg&filename=LRI0079_174A1330.JPG)
![LRI0080_174A1331.JPG](/proxy/?url=https://content.instructables.com/FGF/EAXT/KZIF9DVN/FGFEAXTKZIF9DVN.jpg&filename=LRI0080_174A1331.JPG)
![LRI0081_174A1334.JPG](/proxy/?url=https://content.instructables.com/FTA/DVKL/KZIF9DVQ/FTADVKLKZIF9DVQ.jpg&filename=LRI0081_174A1334.JPG)
On the transmitter keypad the opposing corners should begin dimly lit in red and blue
Pressing on one of these corners will select the “Pen Color” for the input, that button will get brighter
Pressing a key will turn it the color of the “Pen Color”. Pressing it again will remove that color from the key
Where Blue and Red overlap the key will turn purple.
You can think of each of these colors as different Light Radio Stations
Receiving the Signal
![LRI0082_174A1336.JPG](/proxy/?url=https://content.instructables.com/FH0/MFSL/KZIF9DVR/FH0MFSLKZIF9DVR.jpg&filename=LRI0082_174A1336.JPG)
Nothing will be happening on the receiver at this
Tuning the Light Radio
![LRI0083_174A1337.JPG](/proxy/?url=https://content.instructables.com/F5J/POTL/KZIF9DVS/F5JPOTLKZIF9DVS.jpg&filename=LRI0083_174A1337.JPG)
![LRI0084_174A1338.JPG](/proxy/?url=https://content.instructables.com/FB7/3XIQ/KZIF9DVT/FB73XIQKZIF9DVT.jpg&filename=LRI0084_174A1338.JPG)
Inserting the Blue side of the 3D glasses between the LED and the photo resistor will “Tune” the Receiver to the Blue Station. The Receiver will Light up in white with the same image as what is in blue on the Transmitter
Inserting the Red side of the 3D glasses between the LED and the photo resistor will “Tune” the Receiver to the Red Station. The Receiver will Light up in white with the same image as what is in red on the Transmitter
Troubleshooting
The receiver is not showing anything
Try moving the transmitter LED very close (almost touching) to the receiver phototransistor
Load the AnalogSerialRead example onto the receiver (Change the pin to A2)
Look at the value that you are getting on the serial monitor
If you are receiving you should see a “high” number and some “low” numbers
Open the Reciever Code
Change line 34 “THERSHOLD” so that the number is above your “low” number but below your “High number”