CurrentRanger with HC-06

Started by peteb, November 25, 2018, 08:40:33 AM

peteb

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

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

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.