Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
25 Feb 2017
Das neue Board ist ab sofort HIER ERHÄLTLICH
Aufbauvideos im WIKI findet Ihr hier.
  • Seite:
  • 1

THEMA: problem calibrating HC-05(ZS-040)

problem calibrating HC-05(ZS-040) 5 Monate 3 Wochen her #11588

  • jonathanbyrn
  • jonathanbyrns Avatar Autor
  • Offline
  • Benutzer
  • Benutzer
  • Beiträge: 56
  • Dank erhalten: 4
Hi,
I am trying to calibrate my bluetooth but it is not being detected in the calibration. I have read through the documentation and forum and I am doing the following:
  1. Because it is HC05, I am connecting the 3.3v and the key pin for initial calibration (see picture)
  2. I have checked the voltage at the key pin (EN) and it is 3.3V
  3. The board is fully disconnected (USB and battery)
  4. I press the button on the bluetooth board and hold it while I connect the battery
  5. the board powers up and the light is flashing every 2 seconds
  6. I connect the USB and start the setup mode
  7. It goes through the different baud rates and ends in an error

Is there anything I am doing wrong in this setup, or anything I can do to debug the board?
Anhang:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

problem calibrating HC-05(ZS-040) 5 Monate 2 Tage her #11697

  • jonathanbyrn
  • jonathanbyrns Avatar Autor
  • Offline
  • Benutzer
  • Benutzer
  • Beiträge: 56
  • Dank erhalten: 4
So I have taken the bluetooth module off the board and have been testing it separately. I have been working through the following tutorial:
www.martyncurrey.com/arduino-with-hc-05-...odule-in-slave-mode/

I can get it to connect with my phone and send messages from the arduino to the bluetooth terminal app on my phone, but I cannot send messages from my phone to the module.

I then connected it to an oscilloscope to check what is being sent from the module. There is a signal being sent on the TX but it is only 1.5V and not enough to register on the arduino. Is this because it is a faulty component, or is there a setting I should change?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

problem calibrating HC-05(ZS-040) 5 Monate 2 Tage her #11698

  • nero76
  • nero76s Avatar
  • Offline
  • Administrator
  • Administrator
  • cofounder of www.ardumower.de
  • Beiträge: 2241
  • Dank erhalten: 781
Just to be sure: There is 5v on the VCC pin, but only 1.5V on the TXD pin? That is odd...
www.marotronics.de/media/image/product/1...2-fuer-arduino~2.jpg

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

PCB1.3 - die Plug&Play Robotik-Plattform für Deinen Rasenroboter mit passender Open Source Software

problem calibrating HC-05(ZS-040) 5 Monate 2 Tage her #11700

  • jonathanbyrn
  • jonathanbyrns Avatar Autor
  • Offline
  • Benutzer
  • Benutzer
  • Beiträge: 56
  • Dank erhalten: 4
Yes, I double checked and there is 5V at the VCC pin. It works when sending from the serial monitor to my phone but nothing is coming off the TX pin. Even if it is in AT mode (2 second flash) I cannot get an OK for an AT command.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Letzte Änderung: von nero76.

problem calibrating HC-05(ZS-040) 4 Monate 1 Woche her #11822

  • nero76
  • nero76s Avatar
  • Offline
  • Administrator
  • Administrator
  • cofounder of www.ardumower.de
  • Beiträge: 2241
  • Dank erhalten: 781
The default baud rate is different from module to module. You can use Ardumower Bluetooth programming via USB serial console (choose 'd' for main menu, then '3' for communications menu, then '3' for BT module config) to re-program the module for the Ardumower 19200 baud baudrate. Can you try it?

wiki.ardumower.de/index.php?title=Bluetooth#Steps

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

PCB1.3 - die Plug&Play Robotik-Plattform für Deinen Rasenroboter mit passender Open Source Software
Letzte Änderung: von nero76.

problem calibrating HC-05(ZS-040) 4 Monate 1 Woche her #11823

  • jonathanbyrn
  • jonathanbyrns Avatar Autor
  • Offline
  • Benutzer
  • Benutzer
  • Beiträge: 56
  • Dank erhalten: 4
The bt module config function returns nothing despite going through all the baud rates (I tried both express and full versions to iterate through the baud rates). When I tested it using my phone my phone and the tutorial linked above, it connected and I was able to send messages to my phone so I think it is connecting correctly. The problem is that the module cannot send anything down the TX pin. When I connected it to an oscilloscope it registered a small signal but it was less than 1.5v and was not registered by the arduino.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Seite:
  • 1
Ladezeit der Seite: 0.174 Sekunden