Ticker

6/recent/ticker-posts

Header Ads Widget

HC-05 Bluetooth module with Raspberry Pi Pico Rp2040

A quick guide to interface hc-05/hc-06 bluetooth module with raspberry pi pico RP2040 Board, by using this example you can control devices using mobile phones over serial terminal, default baud rate used for this tutorial is 9600.


Components:

  •  Raspberry Pi Pico - 1
  • HC-05/HC-06 - 1
  • USB Cable - 1
  • Jumper cables - 4

Circuit Diagram:

Source Code

Post a Comment

1 Comments

  1. This code example doesn't seem to work on HM10.

    UART(1, baudrate=9600, bits=8, parity=None, stop=1, tx=4, rx=5, txbuf=256, rxbuf=256, timeout=0, timeout_char=2, invert=None)
    Traceback (most recent call last):
    File "", line 14, in
    AttributeError: 'NoneType' object has no attribute 'decode'

    Commenting out
    command= command.decode("utf-8")

    does allow it to work, but when printed, command is NONE

    ReplyDelete