News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

CH9141 Bluetooth module

Started by david, Nov 23, 2023, 07:48 AM

Previous topic - Next topic

david

Hello All,
A friend dropped off several tiny Bluetooth modules and asked if I could get one going to replace the HC-05 module widget I did for him.  The board is 1cm x 1cm and I eventually got it mounted on a small, pinned carrier board to plug in to the breadboard.
I can talk to it via the AT commands and it responds correctly.
I can detect it on my phone and pair with it so I know it's sending and receiving.
Baud rate is on 115200 which is the default and happens to be what I need.
But I can't connect with it.
Has anyone else played with these little boards? 
 https://www.aliexpress.com/item/1005005819533217.html?spm=a2g0o.productlist.main.1.3c72795d6zHSL9&algo_pvid=60b5c8b8-8683-4696-aacd-9631faae4d92&algo_exp_id=60b5c8b8-8683-4696-aacd-9631faae4d92-0&pdp_npi=4%40dis%21NZD%218.31%217.89%21%21%214.92%21%21%402101f04d17007254265841938eeeb3%2112000034463676156%21sea%21NZ%21916888149%21&curPageLogUid=48gJsA33tdZH
I'm unsure if they are BLE only or even if that should matter.  I just wanted to replace the HC-05 SPP module.

Cheers,
David

Mapo

hi, I did some tests, the CH9141 is a very low consumption BLE, Bluetooth module.  It doesn't communicate like normal Bluetooth, the phone needs an app created for communication with BLE

Mapo

david

Hi Mapo,
That's what I feared.  Thank you for sharing your experience with the module.
I will see if it's possible to change the phone app.

Cheers,
David

atomix

It is better to use these modules (JDY-33), they have dual UART and BLE protocol.

https://aliexpress.com/item/33055460468.html

david

That would make things easier but it's just a little bigger than we had hoped to get.  I think Bluetooth 3 and under will support Bluetooth Classic SPP and many later chips also - just not the one I'm playing with.
By downloading a BLE diagnostics app I did get to see my data being sent to my phone so I know the chip is working and my phone is not too old but as Mapo has indicated, I need a new app for the BLE and I don't think I'm up to developing that myself.

That's a really good price and it would save me from getting a new app....hmmmm.
Thanks for the heads up on that one.

Cheers,
David