Some Bluetooth questions/problem

roontoon

Member
Hi I am currently trying to pair my HC-05 bluetooth module and I am running into problems. I have my electronics hooked up but I am not seeing the module over bluetooth. I have accessed the configuration menu via the serial monitor but nothing happens when I select either 3 for the short pairing or 4 for the longer version. I also tried to see it via my laptop and my android tablet but cannot. Is there any way to test to see if the module is in fact functioning? I have double checked the connections and the circuit and they appear to be correct. Is there any indicator light on the modules? Any help will be greatly welcome. Thanks

d
 
No help on this??? I also removed the module and breadboarded it to try to program it and test if my wiring was correct. I am using the sketch below. The module goes into programing mode with a steady 2 second flash on the module. In the serial monitor I get the "Enter AT commands" prompt but when I enter any AT commands I get no reply. If I enter AT and return I "should" get an OK which I am not getting. Can anyone point me in the correct direction to solve this problem. Thanks for any help!!



Code:
/*

AUTHOR: Hazim Bitar (techbitar)
DATE: Aug 29, 2013
LICENSE: Public domain (use at your own risk)
CONTACT: techbitar at gmail dot com (techbitar.com)

*/


#include <SoftwareSerial.h>

SoftwareSerial BTSerial(10, 11); // RX | TX

void setup()
{
  pinMode(9, OUTPUT);  // this pin will pull the HC-05 pin 34 (key pin) HIGH to switch module to AT mode
  digitalWrite(9, HIGH);
  Serial.begin(9600);
  Serial.println("Enter AT commands:");
 

  BTSerial.begin(38400);  // HC-05 default speed in AT command more
}

void loop()
{

  // Keep reading from HC-05 and send to Arduino Serial Monitor
  if (BTSerial.available())
    Serial.write(BTSerial.read());

  // Keep reading from Arduino Serial Monitor and send to HC-05
  if (Serial.available())
    BTSerial.write(Serial.read());
}
 
Hi!

I have one question about using remote control via pfodApp.
In manual mode, I cant steer left or right, always drives forward, full speed.
Forward and reverse function operate normally.
Can anyone help me?
 
Hi!

I have one question about using remote control via pfodApp.
In manual mode, I cant steer left or right, always drives forward, full speed.
Forward and reverse function operate normally.
Can anyone help me?

BTW the Motor test works OK.
 
Hi!
Sorry for my fast fingers, I just found out the source of this problem.
I found out, that manual driving uses odometry,
which I didnt install jet.
When I switch it off via pfodApp, things work well.
Thanks,
and
Sorry for disturbing guys! :whistle:
 
Hi
I found out, that manual driving uses odometry,
Why do you think that?

Odometry is not needed for manual driving.
If you don't use odometry sensors, please set odometryUse = 0.
Without odometry sensors, you can adjust the speed with motorSpeedMaxPwm.

edit: just reading that you have already do that...
 
Hi!
Thanks anyway for your respond. True, I wrote this, and after that, I found that odometry should be disabled if not used. I spent already lot of time consuming knowledge, and I realized,
that this project is really great work. The main issiue for me is lack of German language.
thanks again guys!
 
It's an old post but maybe this can help

I have trouble to set Baudrate between Arduino and HC05 module.

The solution was to push the very small button and closed JP2 at the power UP so the module pass in AT mode
and after the command 3 work fine.

HC05init.jpg



I need to do this in a breadboard because it's impossible to acces the button with the module on PCB v1.2.

The HC05 and Pfod work very well for me.
Attachment: https://forum.ardumower.de/data/media/kunena/attachments/3545/HC05init.jpg/
 
Zuletzt bearbeitet von einem Moderator:
Oben