Datasheet
Table Of Contents
ASCII Command Set
All ASCII Commands begin with a colon (":") with any data needed separated by commas (",") and end with
a carriage return ("\r").
Command Description
Enter Password
(PWD)
":PWD,password\r" Send the password to the BT004BLE, the password must be sent
before you can control the board. Returns "OK\r" for success and "NAK\r"
Get Module Info
(GMI)
":GMI\r" returns a string with the module ID, software version and hardware version
separated by commas and ending with a carriage return e.g. "27,1,1\r"
Digital Output
Active (DOA)
":DOA,3,0\r" Make digital output 3 active, returns "OK\r" for success and "NAK\r" for
failure
":DOA,1,5\r" Make digital output 1 active for 500mS, returns "OK\r" for success and
"NAK" for failure
Digital Output
Inactive (DOI)
":DOI,2,0\r" Make digital output 2 inactive, returns "OK\r" for success and "NAK\r"
for failure
":DOI,4,10\r" Make output 4 inactive for 1 second, returns "OK\r" for success and
"NAK\r" for failure
Get Digital Output
(GDO)
":GDO,1\r" Gets the state of output 1, returns "ACTIVE\r" or "INACTIVE\r"
Get Supply Voltage
(GSV)
":GSV\r" returns module supply voltage as string ending with a carriage return, 125
being 12.5V DC e.g. "125\r"
Android and IOS Apps
We provide an Android app "IOBluetoothLE" for controlling the BT004BLE which can be downloaded from
the Google play store. It allows you to name the digital outputs and set the pulse times for each of them.
Using this app you can also update the modules name, password and set a name and pulse time for each
relay.