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
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
installing
3- Arduino library for Proteus
4- Bluetooth library for Proteus
How to add Arduino and Bluetooth Library in to Proteus
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
The Code
Here's the code,using Codebender
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
Downloads
Configure PC Bluetooth
check this tutorial for Adding COM Port
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