Author Topic: Optoisolated Serial instead of the HC06BT  (Read 197 times)

heiterkiter

  • Newbie
  • *
  • Posts: 1
Optoisolated Serial instead of the HC06BT
« on: January 02, 2019, 07:20:59 PM »
Hi there, happy new year

do you think it is possible to use optoisolated Serial instead of the BT module?

i am planning on incorporating another esp32 with one serial input from the the
currentranger and one serial input from the DUT. Both isolated. This way i can send
data from the device about the current state or task it is doing and therefore having
a better clue about the relations. I am aware that there will be a spike evertime i send
serial date from the DUT.

maybe this could be an addition to a next version of the currentRanger too, with a nice
frontend. somtheing like andreas has mentioned in his review. I don't remember the name.

heiterkiter
hamburg, germany

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 5850
  • Country: us
    • LowPowerLab
Re: Optoisolated Serial instead of the HC06BT
« Reply #1 on: January 03, 2019, 08:50:50 AM »
Thanks for the suggestion.

The given header has RX/TX that can support very high serial data bitrates.
But anyway there are different ways to do this. The BT06 was a simple way to get wireless with a decent bench range, I suggested that since I tried it and it works, and it's easy to put in the box or attach externally and power it from the same header/3.3v that powers the CRanger.
You could also hook up an arduino with IR transmission to that header (read serial, convert to IR, decode IR on other end, output serial to your PC), I never tried it but I think they can have pretty decent data rates, but sounds more complicated and maybe things can go wrong - obstacles!

Optoisolators means no wireless, but can be used with high data rates as well, however I'm not sure this is appropriate to integrate into the CurrentRanger, maybe not everyone wants this specific arrangement.

But I am sure there must be some isolated USB UART converter out there (powered from external USB but isolated RX/TX). Or one could be made easily, still no wireless which is always nice. Does this option sound ok for you?