How to Simulate Android Arduino LED Control Via Bluetooth in Proteus

by ibrahim kamr in Circuits > Arduino

56908 Views, 18 Favorites, 0 Comments

How to Simulate Android Arduino LED Control Via Bluetooth in Proteus

Arduino-e-android-destaque-696x249.png

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.

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...

The Circuit

Ashampoo_Snap_2016.09.15_10h19m52s_002_.png
Ashampoo_Snap_2016.09.15_10h18m24s_001_.png

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

The Code

F6LU4LHIOQF8IP1.MEDIUM.jpg

Here's the code,using Codebender

Android Application

24342.png

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-...

Configure PC Bluetooth

F8YP1IKISB3OSGQ.LARGE.jpg

check this tutorial for Adding COM Port

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

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