COMPONENTS USED IN THE PROJECT
ABOUT THE PROJECT
In this project, I am controlling DC MOTOR FAN through a simple mobile app using IoT. I have used HC05 BLUETOOTH MODULE as a connectivity device and ARDUINO UNO as a microcontroller in this project. For the development of android mobile application, I have used MIT APP INVENTOR platform. For giving space to my code to run I have used ARDUINO IDE software. For connection between hardware I used suitable jumper wires.
PROJECT CIRCUIT DIAGRAM
There are 6 pins on the bluetooth module. For this project, we will only need to use the middle 4 pins.
The image is an accurate representation of the connections. The labels are given on the back of the HC-05 bluetooth module. The RX pin should be connected to TX on the arduino, while the TX pin should be connected to RX on the arduino. The rest is as in normal components: The GND to GND on arduino and VCC to 5 volt power supply.
RX-->TX
TX-->RX
GND-->GND
VCC-->5v
In order to play it safe though, it is important to first connect RX to a resistor, and then to TX on the Arduino. Then, connect RX to another resistor, then to GND.
The GND from the HC-05 will connect to this resistor, and then will go to GND on the Arduino. So, both the RX and the GND of HC-05 go to GND of Arduino. This will ensure that there is no failure of components.
However, since we are using a breakout board(which has an in-built voltage-regulator), there will be no issues at all, even if you do not follow that schematic described.
Connect the positive(+) pin of the DC MOTOR FAN to pin 5 on the Arduino while connecting the negative(-) pin of the DC MOTOR FAN to GND. It is advisable to use a resistor while connecting from pin 5 to avoid burning out the motor. Connect pin 5 to the breadboard, and use a resistor to connect to positive(+) pin of the DC MOTOR. I chose pin 5-although you can choose any pin, but also need to change the code appropriately.
Positive leg(Long leg)--> pin 5
Negative leg(Short leg)-->GND
Note: While uploading the code, you have to ensure that there are no wires connected to the TX and RX pins of arduino. Once the code is uploaded, you can connect those wires. Arduino uses TX and RX to upload code, so another wire there can interfere, and will result in an error.
If you want to use pins other than TX and RX pins, then you have to use the Software Serial library.
MIT ANDROID APP
Here is the blocks you need on the MIT app inventor. It is fairly simple. You need a list picker, two buttons and a Bluetooth client, which can be picked easily from the 'Design' section.
You can name the components however you like. I just stuck to simple names like Button1 and Button2, as can be seen. You can rename your components on the pane which is the furthest to the right. You can choose components and designs on the pane furthest to the left.
The two panes in the middle are for the design and component listing. I have gone for a very simple design, as can be seen. A list picker is essential. This is what I have named 'Bluetooth'.
We will code so that when this button is pressed, it displays all Bluetooth devices nearby. The Bluetooth client can be seen in one of the middle panes, listed. It is not on the screen, as the user will not be able to see it, but it is what will be tracking other Bluetooth devices. The 'ON' and 'OFF' I have used are the buttons.
In the final after installing the android app into your phone, the app will look like this,
WORKING OF ANDROID APP
If you want full source code of the project and app and .aia file of mit app inventor to make edit in the app and .apk of the app you have to purchase the project. The cost of the project is very cheap, so that any student can purchase very easily.
After installing the app in the smart phone, you have to click on the app icon to open the app. After open the app, you will get the user interface on which you will get 3 buttons to operate with the device. There are 1 ON button, 1 OFF button and 1 CONNECT button.
To connect with the device user have to click on the CONNECT button then user will get all the Bluetooth devices. Then user have to connect with the HC05 Bluetooth device.


After successful connection, when user click on the ON button then fan will get start and then when user click on OFF button then fan will get off.
If the phone is not connected with the Bluetooth of the device then user will get the following error message on the app.
If you purchase this project, you will get full source code of the project
with project presentation, report of the project and synopsis of the project.
You can use your paypal account or your debit/credit card of any bank account.
You will receive your all files with purchase receipt on your mail.
0 Comments