Arduino + ESP8266 BLE Proximity Library with HM-10 CC2541 CC2540
This library provides proximity functions to ARDUINO or ESP8266. The peripheral used is HM-10.
You may use CC2541 but you have to "burn" the HM-10 firmware in order to respond to AT Commands.
Step 0
#Connect HM-10 Vcc to 3.3V
#Connect HM-10 GND to GND
#Connect HM-10 RX to D6 You may use any pin
#Connect HM-10 TX to D5 You may use any pin
Step 1 Use the Example