The Bluetooth module we’ll be using is called JY-MCU Bluetooth Board Module ( 4-pin). Here is the datasheet for the main module: HC serial wireless module. Baud rate: ; Device name: linvor; Passkey: The JY-MCU Bluetooth Serial Port module defaults to or Step 1: Connect the JY-MCU module to the Arduino for configuration. Description: JY-MCU Bluetooth Wireless Serial Port Module for Arduino. This incredibly affordable module is compatible with any official Arduino board and can.

Author: Kazikus Nigore
Country: Tajikistan
Language: English (Spanish)
Genre: Music
Published (Last): 7 February 2007
Pages: 458
PDF File Size: 19.85 Mb
ePub File Size: 9.96 Mb
ISBN: 144-4-62841-529-8
Downloads: 82606
Price: Free* [*Free Regsitration Required]
Uploader: Arashihn

Distance sensing with ultrasonic sensor and Arduino.

Here is the datasheet for the main module: Only two pins to drive the module, other than that the interface is exactly the same as serial communication to PC via USB. If PC sends information via Serial, then we send that information over via Bluetooth.

Easy Arduino Bluetooth Communication with JY-MCU Bluetooth module

Once we turn on Arduino, a red light on Bluetooth module should be flashing continuously. Last time we looked at measuring temperature using a digital temperature sensor.

  6AV2 124-0GC01-0AX0 PDF

If you open up SoftwareSerial constructor docsSoftwareSerial mmcu is defined as such:. It is already bundled with Arduino, so no further downloads are necessary.

Considering how ubiquitous Bluetooth ncu most smartphones and laptops have itit will turn out to be extremely useful in our future projects. First we include the library and set our RX and TX pins. If there is any data received by the bluetooth module, send it over the regular Serial connection to our PC.

Measuring temperature with DS18B20 temperature sensor. If you have an Android device, there is this Blue Serial app for testing serial communication over Bluetooth.

Once connection is established, that red light will stay on constantly. For transmitting information through the module we will use the default SoftwareSerial library.

Bluetooth Serial initialization works exactly the same way regular Serial communication works, we call begin method with the baud rate. For Apple devices there should be something similar on the App bluetoooth as well.


Easy Arduino Bluetooth Communication with JY-MCU Bluetooth module

So we have several modules generating data, would be great to be able to access that data remotely. Simply connect the 4 pins to your Arduino board.

Reading through the docs is, again, encouraged, as we will use very similar jodule to drive our JY-MCU module. The wiring is really straightforward, no extra components are needed.

It also provides some information on how to change the baud rate, device name and passkey, so make sure to check the data sheet. Here I sent some information from my PC to the phone and vice versa: HC serial wireless module.