Pico + Bluetooth shim (HM-10)

Posted on
  • @Gordon do you have any example, of how to speak with the HM-10 (connected by the bluetooth shim)?
    Is it done by RX/TX over A2/A3?

  • Well, there's a but of info on the HM-10 itself here: http://www.espruino.com/Bluetooth+BLE

    And the circuit is below. As you say, A2/A3 are RX/TX, but also Pin 23 (which it seems you need for config) is on pin A4, so you can toggle it in software.

    I haven't used one, but it looks like they're AT command-set. You might find that the AT module is quite useful - there's no page on it, but there are some comments in the code, and you could look at the ESP8266 module for some examples of its use.


    1 Attachment

    • Screenshot from 2015-06-25 08:44:31.png
  • Thanks, I will try this

  • What about HM-11 board? Iam using B6,B7 for TX,RX. But do I need the system key to solder (HM11 pin 16) with A8? (http://www.elecrow.com/download/bluetoot­h40_en.pdf)

    Edit:I tried with A8 but It seems I cant connect to the bluetooth module. When I try to connect to tty.Bluetooth-Incoming-Port, I cant write any command :/

  • I'm afraid I don't know - I haven't used HM-11.

    Could it be that the baud rate is different? Espruino expects 9600 baud by default - to change it you need to call Serial1.setup(baud_rate)

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Pico + Bluetooth shim (HM-10)

Posted by Avatar for Jorgen @Jorgen

Actions