Author Topic: CurrentRanger with HC-06  (Read 311 times)

peteb

  • Newbie
  • *
  • Posts: 2
CurrentRanger with HC-06
« on: November 25, 2018, 08:40:33 AM »
Looking at the online docs, it suggests that CR will stream readings to a PC via HC-06 bluetooth module.

I have one connected up and set to the right baud rate but am only receiving range changes i.e. "RANGE: UA" | "RANGE: MA" etc. I'm not getting the readings coming through.

Indeed, looking at the github code, I'm struggling to see where that functionality resides. Am I missing something or is there new firmware available ?

Thanks, Pete

alexsh1

  • Jr. Member
  • **
  • Posts: 51
  • Country: gb
Re: CurrentRanger with HC-06
« Reply #1 on: November 26, 2018, 05:06:58 AM »
The default CurrentRanger firmware serial header baud is set to 230400 so I understand you did set the correct baud in the HC-06 module via the AT+BAUD9 command.

Did you use Arduino's Serial Plotter? Or the Serial Monitor?

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5959
  • Country: us
    • LowPowerLab
Re: CurrentRanger with HC-06
« Reply #2 on: November 26, 2018, 01:48:23 PM »
Sorry about the confusion,
I amended the CurrentRanger sketch to include conditional output to the serial port if a BT module is detected. Please try this and let me know how it goes.