-
Notifications
You must be signed in to change notification settings - Fork 1
Building Instructions
Alex Cordonnier edited this page Dec 8, 2015
·
6 revisions
First, buy all the materials listed at Hardware.
- With the FTDI cable, connect the JY-MCU module to a laptop.
- Black -> GND
- 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
- Orange -> Rx
- Yellow -> Tx
- 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.
-
AT+NAMELightXX
whereXX
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 -
AT+BAUD5
to set the baud rate to 19200
- Solder right-angle headers onto the 6 pins at the front and straight headers onto the side pins
- Install the Arduino IDE on a computer.
- With the FTDI cable, connect the Arduino Pro Mini to the computer.
- Using the Arduino IDE, upload the file receiver/receiver.ino
- Make sure the selected device is "Arduino Pro or Pro Mini (5V, 16MHz) w/ ATmega328"
- Disconnect the FTDI cable. Connect the JY-MCU module to the following FTDI headers on the Arduino:
- GND (Black) -> GND
- 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
- Tx -> Rx
- Rx -> Tx
- Download the schematic (TODO: put link here)
- Solder the transistors and resistors onto the solder breadboard according to the schematic.