IR Remote

../_images/IR_remote.jpg

Required Tools

Bill of Materials

Tip

The pins on the vertical USB plug are very short and fail to protrude from standard thickness (~1.6mm) PCBS. Therefore I recommend ordering thinner boards (~0.8mm) to make soldering the connector easier.

Qty Description Datasheet Vendor
1 IR Remote PCB   OSH Park
1 Rotary encoder A14-LC-TT Sparkfun
1 OLED display   Adafruit
1 ATmega328 ATMEGA328P-AU Octopart
1 16 MHz Resonator CSTLS16M0X53-A0
1 Male micro USB vertical plug ZX20-B-5S
1 Male micro USB shielding ZX20-B-SLDC
1 Female micro USB horizontal socket 10118193-0001LF
1 Toggle switch ATE1D-2M3-10-Z
1 IR LED OED-EL-1L2
1 JST battery connector S2B-PH-K-S(LF)(SN)

Build Instructions

Uploading Firmware

Attention

If you have not yet setup the Arduino environment or the Cerebro Utility Shield, refer to Setting up Arduino IDE and/or Setting up Utility Shield before moving on.

  1. With the battery connected, switch the remote on
  2. Plug the remote into the Utility Shield via the micro usb connection
../_images/remote_connect2shield.jpg
  1. Open up the Arduino application and make the following selections under the Tools menu:
Board: “Arduino/Genuino Uno”
Port: “COMXX (Arduino/Genuino Uno)”
Programmer: “Arduino as ISP”

../_images/tools_atmega328.png
  1. Burn the bootloader by selecting Tools -> Burn Bootloader
../_images/remote_bootloader.png
  1. Select the firmware that will be uploaded onto the IR Remote File -> Sketchbook -> Cerebro Sketches -> irRemote
../_images/remote_firmware.png
  1. Upload the firmware by selecting Sketch –> Upload Using Programmer
../_images/upload_using_programmer.png

User Guide

Demonstration Video

Checking Cerebro’s Waveform Parameters

  1. Turn on the IR Remote
  2. With Cerebro turned off, plug it into the IR Remote
  3. Switch on Cerebro. The current waveform parameters as well as the battery voltage will be displayed.

Editing and Sending Waveform Parameters

  1. Use the rotary knob to highlight the parameter that you would like to edit
  2. Click down the rotary knob to begin editing the parameters
  3. Rotate the knob to make coarse adjustments (clockwise to increase, counterclockwise to decrease)
  4. Press, hold and rotate to make fine adjustments.
  5. Click the rotary knob again to return to highlighting parameters
  6. When finished editing, Press and hold the “B” button to send the new parameters to Cerebro. The display will show “Parameters Sent”

Triggering a light pulse

  1. Press and release the “A” button. The display will show “Trigger Sent”

Stopping a light pulse

  1. Press and release the “B” button. The display will show “Stop Sent”

Starting a Calibration Routine

  1. Press and hold the “A” button. The display will show “Calibrate Sent”
  2. The yellow light on Cerebro will turn on, indicating that it has begun its calibration routine