Fix a Bluetooth Module CC41-A (HM-10 clone) State Pin with this Solder Hack

Solder the LED’s resistor to the header pin
You could solder the resistor to the pin from the side (not done in this photo)

Arduino Sketch to Detect Connection

checkIfConnected(), a non-blocking function for detecting a Bluetooth connection using the module’s LED pattern.

Alternative Fix

The Yavilevich approach




Physician in Spinal Cord Injury & Physical Medicine and Rehab @ Rocky Mountain Regional VAMC, Colorado. Interests: Rehab Engineering & software development

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store