I'm trying to run a form of serial via Bluetooth using the HC06 Bluetooth module on MacOS. I can connect the HC06 to the Bluetooth of my device and (sometimes) can change the name and baud rate of the HC06 using AT commands via a wired connection. However, I'm unable to run communicate with the HC06 even once and the sketch has been uploaded via a wired connection. I'm completely clueless about how I'm supposed to communicate with the HC06 via Bluetooth on my Mac once it has been paired.
I wonder if there is a bluetooth serial terminal for Le Mac.
iphones cannot be used with HC05/06. They're SPP, and iphone is strictly BLE.
'Bing' informs me --
To use Bluetooth Serial Port Profile (SPP) devices on Mac, you can follow these steps12:
1. Turn on Bluetooth and start the Bluetooth Setup Assistant.
2. The device should be found by the assistant.
3. Pair with the adapter. If your adapter is discoverable but fails auto-pairing, you can manually pair it using the pin code provided in the online documentation.
4. The system will automatically create a serial port. You can check this by running ls -l /dev/tty.*
in your terminal.
5. You can then use a terminal emulator like screen
to open this port. For example, if your device is named HC-06-DevB
, you can connect to it with screen /dev/tty.HC-06-DevB 9600
.
Please note that these steps might vary depending on your specific device and Mac OS version.
Alternatively, there are apps available on the App Store like “Bluetooth Serial Connect” that can help you easily send data to and from HM10 and similar Bluetooth chips3.
If you’re looking for hardware, there are several options available online, such as the “Us Converters Serial Rs232 Bluetooth Adapter” and the "Gearmo 4 Port USB To Serial RS232 Adapter"4.
Remember to always check the compatibility of the hardware with your specific Mac model and OS version. Let me know if you need more help!
Martyn Currey's tutorials are excellent. Perhaps you forgot the required logic level shifter.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.