Author Topic: lobotomized HC-05?  (Read 893 times)

0 Members and 1 Guest are viewing this topic.

Offline pmcTopic starter

  • Contributor
  • Posts: 10
  • Country: us
lobotomized HC-05?
« on: February 02, 2020, 01:34:12 am »
Hi all,

I have an HC-05 that used to work and still works fine in "communications mode". In "command mode" it still responds to "AT" with "OK", but now it answers "ERROR: (0)" to any other AT+ command. Including AT+ORGL. Has anyone else seen this?  Any ideas how to more authoritatively reset it?

HC-05
ZS-040
hc01.comV2.1

This started after I AT+RESET it after setting a new UART bit rate, for whatever that's worth.
 

Offline pmcTopic starter

  • Contributor
  • Posts: 10
  • Country: us
Re: lobotomized HC-05?
« Reply #1 on: February 08, 2020, 04:40:27 am »
For whoever might find this later:

Using a different serial connection fixed it.
There was apparently no problem with the unit.

Failed for AT/command mode: USB<->Arduino UnoR3 clone<->soft serial<->HC-05
Worked: USB serial adapter (PL2303)<->HC-05
both 38400bps
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 13216
Re: lobotomized HC-05?
« Reply #2 on: February 08, 2020, 07:07:21 am »
If you have to do that again and don't have a USB <=> logic level serial adapter handy, you can jumper the Arduino Reset to Gnd to disable all the ATmega I/O pins including RXD and TXD then use the Arduino's on-board USB serial adapter to communicate with youre device.   D0 (RX) is data from USB, D1 (TX) is data to USB.  Both have 1K series resistors, so if you need 3.3V levels, put a 1K8 pulldown on D0.
 

Offline pmcTopic starter

  • Contributor
  • Posts: 10
  • Country: us
Re: lobotomized HC-05?
« Reply #3 on: February 09, 2020, 09:12:03 pm »
Yes. And starting there would make more sense than ending up there!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf