Skip to content

Building Instructions

Alex Cordonnier edited this page Dec 8, 2015 · 6 revisions

First, buy all the materials listed at Hardware.

Bluetooth

  1. With the FTDI cable, connect the JY-MCU module to a laptop.
  2. Black -> GND
  3. Red -> VCC 1. Note that VCC and GND are in reverse order on the FTDI, so you can't simply plug the FTDI straight into the JY-MCU headers
  4. Orange -> Rx
  5. Yellow -> Tx
  6. Using a serial monitor (e.g. the one that comes with the Arduino IDE) at 9600/8N1 with no line endings, send the following (in order). Newlines will cause the commands to fail.
  7. AT+NAMELightXX where XX is the identifier of the light (e.g. 01) 1. This sets the name of the Bluetooth module that is displayed when searching for devices 2. Must be unique to each Bluetooth module
  8. AT+BAUD5 to set the baud rate to 19200

Arduino

  1. Solder right-angle headers onto the 6 pins at the front and straight headers onto the side pins
  2. Install the Arduino IDE on a computer.
  3. With the FTDI cable, connect the Arduino Pro Mini to the computer.
  4. Using the Arduino IDE, upload the file receiver/receiver.ino
  5. Make sure the selected device is "Arduino Pro or Pro Mini (5V, 16MHz) w/ ATmega328"
  6. Disconnect the FTDI cable. Connect the JY-MCU module to the following FTDI headers on the Arduino:
  7. GND (Black) -> GND
  8. VCC -> VCC 1. Note that VCC and GND are in reverse order on the Arduino, so you can't simply plug the Arduino straight into the JY-MCU headers
  9. Tx -> Rx
  10. Rx -> Tx

Amplifier circuit

  1. Download the schematic (TODO: put link here)
  2. Solder the transistors and resistors onto the solder breadboard according to the schematic.
Clone this wiki locally