loading

Simulation is a very powerful tool to understand how the device will work .Before start any project, it is a good practice to simulate it and virtually verify that works. Proteus is a simulation software.By using this software Arduino and Bluetooth module can be simulate.

Step 1: Requirement

1-Arduino IDE

you can download from

https://www.arduino.cc/en/Main/Software

2-Proteus isis software

you can download from

https://www.labcenter.com/

installing

3- Arduino library for Proteus

4- Bluetooth library for Proteus

How to add Arduino and Bluetooth Library in to Proteus

https://www.instructables.com/id/How-to-add-Arduino...

Step 2: The Circuit

Proteus files attached

The connections are pretty easy, watch the above image with the circuit schematic.
Some notes:

BT HC-05:

Vcc - 5V

GNG - GND

RX -TX

TX -RX

Step 3: The Code

Here's the code,using Codebender

Step 4: Android Application

You can use this application on android smartphone or tablet with Bluetooth support.

(make sure that you have already enabled the "unknown sources" from security settings to install this apk)

If you want to learn how to make an Android APP check my tutorial

https://www.instructables.com/id/Control-LED-Using-...

Step 5: Configure PC Bluetooth

check this tutorial for Adding COM Port

https://www.instructables.com/id/Arduino-Serial-Mon...

Step 6: Proteus Simulation

First choice by using COMPIM model that is a Physical Interface Model

in this case you don't have to use Bluetooth module library

Second choice by using Bluetooth module library

<p>My pc shows &quot;COM16, COM17... so on&quot; in the com port section of bluetooth settting. So can i change the comport no of the bluetooth module as COM 16?</p>
<p>Proteus is copyrighted software. Sharing it via mediafire is probably violating the TOS</p>
<p>thanks for your advice</p><p>editing done</p>

About This Instructable

5,635views

14favorites

License:

More by ibrahim kamr:How to Simulate Android Arduino LED Control via Bluetooth in Proteus Arduino Serial Monitor for Android Apps Control LED using MIT App Inventor and Arduino 
Add instructable to: