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: Faugami Kajir
Country: Papua New Guinea
Language: English (Spanish)
Genre: History
Published (Last): 17 December 2006
Pages: 139
PDF File Size: 16.81 Mb
ePub File Size: 14.19 Mb
ISBN: 973-5-28752-122-2
Downloads: 81051
Price: Free* [*Free Regsitration Required]
Uploader: Tacage

Here I sent some information from my PC to the phone and vice versa: Considering how ubiquitous Bluetooth is most smartphones and laptops have it wigeless, it will turn out to be extremely useful in our future projects. Once we turn on Arduino, a red light on Bluetooth module should be flashing continuously.

It also provides some information on how to change the baud rate, device name and passkey, so ardhino sure to check the data sheet.


Easy Arduino Bluetooth Communication with JY-MCU Bluetooth module

First we include the library and set our RX and TX pins. Simply connect the 4 pins to your Arduino board. Once connection is established, that red light will stay on constantly.

HC serial wireless module. If you open up SoftwareSerial constructor docsSoftwareSerial constructor is defined as such:.

Easy Arduino Bluetooth Communication with JY-MCU Bluetooth module

Distance sensing with ultrasonic sensor and Arduino. For Apple devices there should be something similar on the App store as well. The wiring is really straightforward, no extra components are needed.

Reading through the docs is, again, encouraged, as we will use very similar code to drive our JY-MCU module. If PC sends information via Serial, then we send that information over via Bluetooth. It is already bundled with Arduino, nodule no further downloads are necessary. Bluetooth Serial initialization works exactly the same way regular Serial communication works, we call begin method with the baud rate.


Only two pins to drive the module, other than that the interface is exactly the same as serial communication to PC via USB. If there is any data received by the bluetooth module, send it over wireles regular Serial connection to our PC.

Last time we looked at measuring temperature using a digital mcuu sensor. For transmitting information through the module we will use the default SoftwareSerial library.

If you have an Android device, there is this Blue Serial app for testing serial communication over Bluetooth. So we have several modules generating data, would be por to be able to access that data remotely.

Here is the datasheet for the main module: Measuring temperature with DS18B20 temperature sensor.