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: Voodookree Kakasa
Country: Liechtenstein
Language: English (Spanish)
Genre: Literature
Published (Last): 10 August 2013
Pages: 139
PDF File Size: 12.64 Mb
ePub File Size: 19.23 Mb
ISBN: 784-6-93665-118-6
Downloads: 92840
Price: Free* [*Free Regsitration Required]
Uploader: Kagor

HC serial wireless module.

Once connection is established, that red light will stay on constantly. Last time we looked at measuring temperature using a digital temperature sensor. First we include the library and ardyino our RX and TX pins.

Easy Arduino Bluetooth Communication with JY-MCU Bluetooth module

Simply connect the bluetoth pins to your Arduino board. Measuring temperature with DS18B20 temperature sensor. Considering how ubiquitous Bluetooth is most smartphones and laptops have itit will turn out to be extremely useful in our future projects. Here I sent some information from my PC to the phone and vice versa: If you open up SoftwareSerial constructor docsSoftwareSerial constructor is defined as such:.


If there is any data received by the bluetooth module, send it over the regular Serial connection to our PC. If you have an Android device, there is this Blue Serial app for testing serial communication over Bluetooth.

Only moduule pins to drive the module, other than that the interface is exactly the same as serial communication to PC via USB. For Apple devices there should be something similar on the App store as well.

It is already bundled with Arduino, so no further downloads are necessary. Once we turn on Arduino, a red light on Agduino module should be flashing continuously.

Reading through the docs is, again, encouraged, as we will use very similar code to drive our JY-MCU module. Bluetooth Serial initialization works exactly the same way regular Serial communication works, we call begin method with the baud rate.

So we have several modules generating mck, would be great to be able to access that data remotely. Here is the datasheet for the main module: For transmitting information through the module we will use the default SoftwareSerial library. It also provides some information on how to change the baud rate, device name and passkey, so make sure to check the data sheet.


Easy Arduino Bluetooth Communication with JY-MCU Bluetooth module

If PC sends information via Serial, then we send that information over via Bluetooth. Distance sensing with ultrasonic sensor and Arduino.

The wiring is really straightforward, no extra components are needed.