10 years, 2 months ago.

How can I connect HM-10 bluetooth to FRDM-kl25z?

I have a FRDM-kl25z and I want to connect it to HM-10 bluetooth so I can control it with my iPhone. I know how to communicate with HM-10 from iOS but I don't know how to read data that's comming from iPhone. Thanks in advance!

1 Answer

10 years, 2 months ago.

A quick google search tells me the HM-10 communicates over uart, connecting the tx pin of the module to the rx pin on your board and vice versa and setting the correct the baudrate would have you set up for basic communication.

Refer to the datasheet ftp://imall.iteadstudio.com/Modules/IM130614001_Serial_Port_BLE_Module_Master_Slave_HM-10/DS_IM130614001_Serial_Port_BLE_Module_Master_Slave_HM-10.pdf for the AT command set

Thank you for your answer, but how could I set the baudrate? And how can I interpretate the voltage which comes on the RX pin?

posted by Catalin Craciun 15 Sep 2014

Again referring to the datasheet, the factory default baud rate is 9600 8 bits no parity, it uses 3.3v logic

posted by Nicky Heuperman 15 Sep 2014