Here is a supplementary contribution to the Bluetooth HM-10 with Arduino and different shields.
Using a PHPoC Blue and an LED, it shows how to light the two internal LEDs (30/31) and an external LED on port 13.
Since PHP is using another IDE (PHPoC debugger instead of Arduino IDE), I have formulated this information in a separate article.
That may seem strange, if a PHPoC device, which has WiFi, should control via Bluetooth components. But the reasons are in the backup area as a second way, if the WiFi intentionally or unintentionally fails and in the case of lower energy requirements. In my case, it's more about "knowing how".
WiringFrom BLE HM-10 <> PHPoC Board:
- GND <> GND
- VCC <> 3.3V
- RXD <> U0TX/4
- TXD <> U0RX/5
and generic LED with long leg (+) into 13 and short leg (-) into GND.
via PHPoC Debugger (Update v1.5.0 is out!) to the PHPoC Board.
If you need a kickstart into PHPoC check this article.
Install Smartphone AppSearch for a Serial-App in your Smartphone Store like the free version "Serial" or "ELEGOOBLE" and connect the App with the BLE Modul via Bluetooth.
TestIn the app's chat, submit a 1 to enable the LEDs and a 2 to turn off. The digits or other entries are transported and evaluated via the serial port.
Interesting that the two internal LEDs on the command LOW are bright, right?
This will be explained in the forum and is related to the circuit of the PCB.
Thx to Homer for support! Check his other PHPoC-Examples!
Comments
Please log in or sign up to comment.