Page 1 of 1

Modbus RTU/HC06

Posted: Thu Feb 01, 2018 5:46 pm
by electronix
Hi all.
Would it be possible to use the bluetooth component HC06 in FC7 to connect, for example, an Android device and use modbus rtu protocol?
Has anyone tried already? Any ideas on how it could be done?

/Nick

Re: Modbus RTU/HC06

Posted: Fri Feb 02, 2018 4:18 pm
by Benj
Hi Nick,

I can't say I've tried this but yes it should be possible.

The Bluetooth CDC class is basically just a standard asynchronous data connection so it should be just as easy as if you had a wire. I would get a wired version working first for sanity and then move to the Bluetooth version.

Re: Modbus RTU/HC06

Posted: Fri Feb 02, 2018 4:53 pm
by electronix
Hi Ben.

Thanks for your reply, and your suggestion is spot on what I´m trying right now, I´ll post the result here when I´m done.

/Nick