Discussion in "Project Help" started by    jasmeet_singh    Apr 17, 2014.
Thu Apr 17 2014, 09:02 pm
#1
Hi , i am using this HC-05 module : http://www.robomart.com/gps-gsm-rfid-bluetooth-module/hc-05-bluetooth-module-with-ttl.html

1. Do i need to configure the module before using it in my project because i have made the hardware for the project but i am not able to run it. Whenever i touch/press the key on my phone nothing happens , motors don't move

2. The circuit diagram for the project don't show any resistors on port 2, but in the image of the real hardware of project, i appears there are resistors at the port 2. So do i actually need resistors at port 2?

3. Do you have the project Report file of this project, Please , need it in urgent .

Thanks in advance .


[ Edited Thu May 08 2014, 05:50 pm ]
Fri Apr 18 2014, 04:43 pm
#2
1. You don't need to configure anything. Are you able to pair the device? Check if controller is toggling the gpios or not when you press key from the application.

2. They are not necessary as port 2 has internal pull-ups. But if you want you can connect pull-up on port pins. They won't harm.

3. No whatever was submitter by author is available for download.
Sat Apr 19 2014, 11:03 am
#3
1. Yes, I am able to pair the Bluetooth module with mobile phone.
a. How can I check if controller is toggling the GPIO?
b. Readings of multi-meter:
When no key pressed:
P3.0 = 0 v
P2.0 = 0 v
P2.1 = 0 v
P2.2 = 0 v
P2.3 = 0 v
P2.7 = 0 v
PIN 29 & 31 = 5.03 v
Bluetooth module:
State = 3.35 v when paired, ( 0 v when not paired)
RxD = 2.97 v
TxD = 0 v
Gnd = 0 v
Vcc = 4.88 v
Key = 0v

When Key Pressed:
P3.0 = 0 v
P2.0 = 0 v
P2.1 = 0 v
P2.2 = 0 v
P2.3 = 0 v
P2.7 = 0 v
PIN 29 & 31 = 5.03 v
Bluetooth module:
State =3.35 v when paired, ( 0 v when not paired)
RxD = 2.97 v
TxD = 0 v
Gnd = 0 v
Vcc = 4.88 v
Key = 0v

2. I have not connected resistors on PORT2 . I think, Its not creating any problem as you said its not mandatory.
3. Can you please ask the author if he had the Report file .

--Thanks


[ Edited Sat Apr 19 2014, 04:45 pm ]
Sun Apr 20 2014, 02:41 am
#4
Connect indicator LEDs, like those on status (32) and data (31) to the bluetooth tx and rx pins.
Use your phone, or a PC with a bluetooth connection to send text of any sort to the module.
If it's working one of the LEDs will flash.
Connect the one that flashes to the 8051 rx pin.
Let us know how you get on.

I see that power to the module comes through R3 a dropper resistor.
I would change that to using a proper 3.3 volt regulator with a small (say 22uF ) smoothing cap.
Mon Apr 21 2014, 01:23 pm
#5


Connect indicator LEDs, like those on status (32) and data (31) to the bluetooth tx and rx pins.
Use your phone, or a PC with a bluetooth connection to send text of any sort to the module.
If it's working one of the LEDs will flash.
Connect the one that flashes to the 8051 rx pin.
Let us know how you get on.

I see that power to the module comes through R3 a dropper resistor.
I would change that to using a proper 3.3 volt regulator with a small (say 22uF ) smoothing cap.

ExperimenterUK




I am using this module : HC-05 JY-MCU, there is a status LED which glows at 2hz but when unpaired, when paired it glows at different frequency.


Controller Used
AT89S52
Tue Apr 22 2014, 03:32 am
#6


I am using this module : HC-05 JY-MCU

jasmeet_singh


That version comes attached to an interface board with a built in regulator.
Connect power (J1 pin1) to 5 volts and remove D3 and R3.

The 6 pin connector on the project diagram does not have the same pin out as the
6 pin connector on your module. You will need to check which pins to connect.
Wed Apr 23 2014, 12:45 am
#7
Bro first you must check ground of both 8051 and module, they must be connected if not there will be no input going to ur controller coz of TTL problem..between bluetooth TXD and controller RXD............


another thing is that ur baud rate .... by default HC05 comes with 9600 baud rate .................so in order to test communication between mobile and bluetooth u can connect ur serial port of PC to 8051 demo board having MAX 232.......use FLASH MAGIC software terminal or any other serial terminal software and check whether u r able receive data at 9600 baud rate ? if u r getting random garbage value on terminal then there is problem with baud rate .............if not getting any data at all then u r mistaken with configuring terminal software
Thu Apr 24 2014, 05:44 pm
#8
@ExperimenterUK & Androswap, Please tell me how could i check if my Bluetooth Module is working using Led (or some other method other than connecting it to the PC serial port as i don't have "PC to 8051 demo board having MAX 232").

Here is my circuit Diagram.
Please check if something is wrong in it.
Bigger size


Fri Apr 25 2014, 11:09 am
#9
shouldn't you be connecting your controller's TXD pin with RX of HC-05? or is it just a one way communication that you're doing? You mentioned that keys are connected on P3. I do not see them. Where is the reset circuit for 8051? is it not shown or its not mounted at all? if not mounted then do it at first.
Fri Apr 25 2014, 01:30 pm
#10


shouldn't you be connecting your controller's TXD pin with RX of HC-05? or is it just a one way communication that you're doing? You mentioned that keys are connected on P3. I do not see them. Where is the reset circuit for 8051? is it not shown or its not mounted at all? if not mounted then do it at first.

ajay_bhargav



1. I think its like Mobile -> Bluetooth module -> controller -> Motor driver. So it requires only one way communication.

2. I didn't connected any Key to PORT3. P3.0 is Rxd Pin Also, there was no key in the original circuit. (In previous Posts "When Key pressed" Refers to the key on screen of the mobile)

3. Reset circuit as commonly used. Not shown here but is mounted.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am