Avatar for user157904

user157904

Member since Apr 2024 • Last active Dec 2024
  • 2 conversations
  • 6 comments

Most recent activity

  • in General
    Avatar for user157904

    Hi Gordon,

    Thanks for your response. I managed to activate half duplex mode by poking the correct register as you suggested and all seems to work as expected.

    Thanks!

  • in General
    Avatar for user157904

    Is there a way to enable half-duplex UART on Espruino Pico? I have a device that I communicate with using standard serial over one wire, however I am using an NPN and PNP transistor to toggle between rx/tx. I believe that STM32’s have half duplex UART capability but I’m not sure if/how this can be enabled in Espruino. It would be nice to connect the directly to the pico instead of needing additional transistors.

  • in Interfacing
    Avatar for user157904

    I managed to get it working by modifying the ble_uart module as suggested, thanks. There does seem to be a lot of serial data being missed, but presume that this is due to me running the console via Bluetooth at the same time. I will connect via Serial1 to see if this improves the data.

  • in Interfacing
    Avatar for user157904

    I have just opened the heater controller and despite the manual saying it has an HC-05 module, it actually has a DX-BT18 module which I believe does have BLE. Do you know whether I would be able to connect to this using the MDBT42Q?

  • in Interfacing
    Avatar for user157904

    Ok that now makes sense. I am already using the MDBT42Q to get data from some BLE sensors, so may replace the HC-05 for an HM-10 or similar as you have suggested.

    Thanks for the help

  • in Interfacing
    Avatar for user157904

    I have a Bluetooth heater controller that I would like to connect to with my Espruino MDBT42Q. The controller uses an HC-05 Bluetooth module and sends/receives JSON strings using SPP. I am able to communicate with the controller via PC when paired to it (using a pin), but don’t know if this is possible using Espruino.

    Can someone let me know if this is possible and if so, point me in the right direction on how to pair with the controller using a pin? Thanks!

Actions