Establish a Bluetooth Link Between an Arduino & Windows 8.1, 10 App [How to]

Radu Tyrsina By: Radu Tyrsina
2 minute read

A recent posting from Microsoft’s Developer Network explains how to establish a serial Bluetooth link between an Arduino and a Windows 8.1/10 app so you could send simple or more advanced commands.
arduino bluetooth windows 8.1
If you are a developer looking to learn how to establish a Bluetooth link between an Arduino device and a Windows 8.1 app that you’re creating, then you’re in luck as Microsoft has just shared some precious bits of advice on that. Shared on the highly resourceful Channel9, the guide to create a Bluetooth communication between Arduino and Windows 8.1 has been made available for download in C# and C++ (link at the end).

[UPDATE] If you want to make it work with a Windows 10 app, first of all, you can follow this guide on How to install Arduino software and drivers on Windows 10. And if you encounter any issues while working with that, make sure to check out this article Fix: Arduino problems on Windows 10.

How to create Bluetooth communication between Arduino and Windows 8.1/10

To be able to test the code, you will need an Arduino with Bluetooth capabilities, like Arduino Uno R3 and a JY-MCU Bluetooth module and also a Windows 8.1 device with Bluetooth capabilities. You could also attach a Bluetooth dongle if it lacks Bluetooth on its own.

You will then set up the Arduino with a Bluetooth module, two LEDs and a potentiometer, as seen in this Youtube video.

Communication with the Bluetooth module is accomplished using the SoftwareSerial.h library. The Windows 8.1 app has to declare Bluetooth serial communication capabilities in Package.appxmanifest: To deploy the Arduino code with VisualMicro, right click the Project in the Solution Explorer and select DebugStart new instance. When the Windows 8.1 app starts, you can establish a connection and control the LEDs.

Follow the link from below to download the full guide and see the entire guide on Microsoft’s Developer Network.

Download Bluetooth communication between Arduino and Windows 8.1 guide

[RELATED] You can now learn and test without any restrictions on Arduino simulators without any risk of damaging your board. You can find here a list of 7 best Arduino simulators for PC and check out their features.

Autodesk Eagle, for example, provides a complete set of PCB layout and schematic editing tools, community-driven features and library content. You can check more about these powerful and easy to use tools on Autodesk official website.

RELATED ARTICLES TO CHECK OUT:

Editor’s Note: This post was originally published in November 2013 and has been since revamped and updated for freshness, accuracy, and comprehensiveness.

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Discussions

Next up

Surface Pro 3 gets new security updates, install goes smoothly

Giles Ensor avatar. By: Giles Ensor
2 minute read

After recent bad news stories about updates released by Microsoft for Windows 10, that you can read here and here, it is refreshing to read (or […]

Continue Reading

Best Windows 10 antivirus software to use in 2018

Radu Tyrsina By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

Sovan Mandal avatar. By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading