Skip to the content.

JDY-08 Bluetooth transparent transmission module

Feature

Operating mode state current

Dimension, Pin definition

Sizes pic

Pin definition

  1. VCC Power Supply Power supply 3V or 3.3V
  2. P22
  3. P21
  4. P20
  5. P17
  6. P16 connection status pin Bluetooth connection is low, usually high (master-slave effective)
  7. P11 PWM2 The PWM2 output pin can be controlled by the APP
  8. P12 IO1 Output The IO1 pin can be controlled by the APP level
  9. P13 IO2 Output The IO2 pin can be controlled by the APP pin
  10. P15 IO3 Output The IO3 pin can be controlled by the APP pin
  11. SCK
  12. SDA
  13. P14 IO4 Output The IO4 pin can be controlled by the APP pin
  14. P10 PWM1 The PWM1 output pin can be controlled by the APP
  15. P07 PWM3 The PWM3 output pin can be controlled by the APP
  16. P06 PWM4 The PWM4 output pin can be controlled by the APP
  17. P05 RTC Alarm IO IO output low when the RTC timing time expires
  18. P04 RTC Alarm IO IO output low when the RTC timing time expires
  19. P03 TXD serial output, the level is TTL level
  20. P02 RXD serial port, the level is TTL level
  21. P01 IO disconnected Bluetooth connection status is down to delay the connection, usually high
  22. P00 PWRC module sleep wake-up pin, the module internal pull-up resistor, low-level wake-up, usually high
  23. RST Resets the hardware reset pin
  24. GND Power ground

Boards:

Resources for development in KiCAD…

BLE preview complete

AT Commands

  1. AT + RST reset M / S -
  2. AT + BOUD serial port baud rate setting M / S - 115200
  3. AT + HOSTEN Master / Slave Setup M / S - Slave
  4. AT + HOST Read Host Status M -
  5. AT + DISC Disconnect M -
  6. AT + ADVEN Open Broadcast S - On
  7. AT + ADVIN Broadcast interval S - 100ms
  8. AT + NEIN Connection Interval S - 10ms
  9. AT + POWR Transmit power S - 0db
  10. AT + NAME broadcast name S - EB - 08
  11. AT + MAC Read MAC Address M / S -
  12. AT + STRUUID Set iBeacon UUID (string type UUID) S iBeacon UUID
  13. AT + HEXUUID setting iBeacon UUID (hexadecimal type UUID) S iBeacon micro letter UUID
  14. AT + MAJOR Sets iBeacon Major (string type Major)
  15. AT + MINOR Set iBeacon Minor (string type Minor) S iBeacon 7
  16. AT + VER Read version number M / S - JDY-08-2.1
  17. AT + VID Manufacturer’s identification number (not for factory identification) S iBeacon Sensor 8899
  18. AT + TEMP Temperature Value Sets the Sipacon sensor
  19. AT + HUMID Temperature setting S iBeacon sensor 0
  20. AT + ISCEN Set whether to open the password connection S - Off
  21. AT + PASS connection password S - 123456
  22. AT + SVRUUID Change service UUID M / S - FFE0
  23. AT + CHRUUID Change feature UUID M / S - FFE1
  24. AT + SCAN Host Scan Slave M Host transparently transmitted
  25. AT + RSLV Reads the MAC-to-MAC transparent transmission from the master
  26. AT + CONNET CONNECTIONS SCAN TO MAC MOST TRANSMISSION FROM SLAVE
  27. AT + BAND Bind slave MAC M -
  28. AT + GETDCD Number of slaves scanned by the master M -
  29. AT + GETSTAT Find the working status of the module M / S -
  30. AT + PWMFRE Set the PWM frequency M / S - 500HZ
  31. AT + PWMOPEN Turns PWM M / S - off
  32. AT + PWM1PUS Sets the pulse width of PWM1 M / S - 50%
  33. AT + PWM2PUS Sets the PWM2 pulse width M / S - 50%
  34. AT + PWM3PUS Sets the pulse width of PWM3 M / S - 50%
  35. AT + PWM4PUS Sets the pulse width of PWM4 M / S - 50%
  36. AT + RTCDATE Setting the RTC time M / S -
  37. AT + RTCOPEN Turn on the RTC function M / S - Off
  38. AT + WXSVR Micro-H5 communicates with the server settings S-micro-H5

AT instructions


Commands AT return
Soft reset AT + RST Returns: OK
Setting the baud rate Note: The module default baud rate is 115200 Instruction: AT + BOUD0 means the baud rate is 115200, 1 means the baud rate is 57600, 2 means the baud rate is 38400, 3 means the baud rate is 19200, 4 means the baud rate is 9600 Returns: OK
Set the module operating mode AT + HOSTEN0 means to set the slave transparent transmission (APP) mode. 1 means to set the host transparent mode, 2 means to set the host (indoor positioning, sensor) observer mode, 3 means to set the host (indoor positioning, sensor) observer mode, 4 means to set the slave (WeChat transmission) mode Returns: OK
Disconnect AT + DISC Disconnect Returns: OK
Open the radio Command: AT + ADVEN0 Stop broadcasting, AT + ADVEN1 means to turn on the broadcast, do not turn on the radio after power on Returns: OK
Broadcast interval Instruction: AT + ADVIN0 means to set the broadcast interval to: 100ms, 1 means to set the broadcast interval to: 500ms, Instruction: AT + ADVIN2 means to set the broadcast interval to: 750ms, Instruction: AT + ADVIN3 means to set the broadcast interval to: 1000ms, Instruction: AT + ADVIN4 means to set the broadcast interval: 2000ms, Instruction: AT + ADVIN5 means to set the broadcast interval to: 4000ms, Instruction: AT + ADVIN6 means to set the broadcast interval to: 8000ms Returns: OK
Connection Interval Instruction: AT + NEIN0 connection is 10ms, Command: AT + NEIN1 connection is 100ms, Command: AT + NEIN2 connection is 500ms Returns: OK
Transmission power Instruction: AT + POWR0 that set the transmit power to 4db CC2541 module this is 0db, Command: AT + POWR1 means to set the transmit power to 0db, Command: AT + POWR2 that set the transmit power -6db, Command: AT + POWR3 means to set the transmit power to -23db Returns: OK
Transmission power Instruction: The AT + POWR instruction is followed by a read without parameters Returns: POWR0db indicates that the module transmit power is: 0db
Set the broadcast name Instruction: AT + NAMEEB-08 means to set the broadcast name: EB-08 Returns: OK
Set the broadcast name Instruction: The AT + NAME instruction is followed by a read without parameters Returns: JDY-08 Indicates that the module broadcast is named JDY-08
Reads the MAC address Instruction: AT + MAC Returns: MAC: 001830EA0662 Indicates that the MAC address is: 001830EA0662
Set the iBeacon UUID The string type UUID is set, UUID is: FDA50693A4E24FB1AFCFC6EB07647825 <ul><li> Command: AT + STRUUIDFDA50693A4E24FB1AFCFC6EB07647825 </li></ul> Returns: OK
Set as UUID in hexadecimal, UUID is: FDA50693A4E24FB1AFCFC6EB07647825 Directive: 41542b48455855554944FDA50693A4E24FB1AFCFC6EB07647825 Returns: OK
Set as UUID in hexadecimal Instruction: The AT + STRUUID instruction is followed by a read without parameters Returns: UUID: FDA50693A4E24FB1AFCFC6EB07647825
Reads the UUID in hexadecimal Command: AT + HEXUUID Return: 555549443AFDA50693A4E24FB1AFCFC6EB07647825
Set iBeacon Major Command: AT + MAJOR000A Indicates that Major is set to 10 Returns: OK
Set iBeacon Major Instruction: The AT + MAJOR instruction is followed by a read without parameters Returns: 4D414A4F523A000A Returns the data in hexadecimal format Major: 0x000a
Set iBeacon Minor Command: AT + MINOR0007 means to set Minor to 7 Returns: OK
Set iBeacon Minor Command: The AT + MINOR instruction is followed by a read without parameters Returns: 4D494E4F523A0007 Returns the data in hexadecimal format Minor: 0x0007
Read the module version number Command: AT + VER instruction is not behind the parameters that read Back to: EB-08-V2.1
Set the factory identification code Command: AT + VID1122 means to set the factory identification code to 1122 Returns: OK
Set the factory identification code Command: AT + VID Read the factory identification code Returns: VID: 1122
Set the sensor temperature value Command: AT + TEMP32 means the setting temperature is 32 degrees Returns: OK
Set the sensor humidity value Command: AT + HUMID11 means that the relative humidity is set to 11% Returns: OK
Set the sensor charge value Command: AT + BATT90 means that the sensor power is 90% Returns: OK
Set whether to open the password connection Command: AT + ISCEN0 means close the password connection <ul><li> Command: AT + ISCEN1 means open the password connection but not binding </li><li> Command: AT + ISCEN2 means open the password connection and bind </li></ul> Returns: OK <ul><li> Note: The factory default is to disable the password connection </li></ul>
Set the connection password Command: AT + PASS123456 means to set the connection password: 123456 password length can only be 6 Returns: OK
Set the connection password Command: AT + PASS means to read the connection password Returns: PSS: 123456 <ul><li> Note: The factory default password: 123456 </li></ul>
Change the service UUID Instruction: AT + SVRUUFFFF0 means set service UUID is: 0xFFF0 Returns: OK
Change the service UUID Command: AT + SVRUUID Indicates the read service UUID Returns: SRUUID: FFF0
Change the pass-through feature UUID Instruction: AT + CHRUUIDFFF1 means setting the characteristic UUID to be: 0XFFF0 Returns: OK
Change the pass-through feature UUID Command: AT + CHRUUID Reads the feature UUID Returns: SRUUID: FFF1
Host scan Command: AT + SCAN1 Indicates that the master starts scanning the slave <ul><li> Command: AT + SCAN0 indicates that the master stops scanning the slave </li></ul> Returns: OK
The host reads the number of slaves scanned Command: AT + GETDCD Returns: DEV: 1 indicates that the host has scanned a device and can scan up to 8 devices
The master reads the scanned slave MAC address Instruction: AT + RSLV0 means the host reads the MAC address of list 0, and can read up to 8 lists of addresses Returns: MAC: 001830EA0662
The address of the list to which the host connection is scanned Command: AT + CONNET0 Indicates the MAC address of host connection list 0 Returns: OK
The MAC address that the host binds to Command: AT + BAND0 Indicates the MAC address of Host Binding List 0 Returns: OK
The MAC address that the host binds to Command: AT + BAND001830EA0662 Indicates that the host binds the specified MAC address: 001830EA0662 Returns: OK
The MAC address that the host binds to Command: AT + BAND Reads the bound MAC address Returns: MAC: 001830EA0662
Read the working status of the module Command: AT + GETSTAT The following is the return status of each operating mode <ul><li> 1: Slave transmission mode </li><li> Returns: STS: 0111 </li><li> The stunning part corresponds to the left function </li><li> Operating mode - STS: 0111 0 Indicates transparent mode for the slave </li><li> Connection status - STS: 0111 1 means connected, 0 means not connected </li><li> Broadcasting - STS: 0111 1 means that the broadcast is enabled and 0 means it is off </li><li> Open password connection - STS: 0111 1 means to play password connection, 0 means not open in this case, </li></ul><ul><li> 2: Host transparent mode </li><li> Returns: STS: 10 </li><li> 1: Indicates the host transparent transmission mode </li><li> 0: Connected, 1: Connected </li></ul><ul><li> 3: Slave iBeacon mode </li><li> Returns: STS: 301 </li><li> 3: Indicates the iBacon mode </li><li> 0: Not connected, 1: Connected </li><li> 1: Indicates that the broadcast is on, and 0 means that the broadcast is not turned on </li><li> 4: Host observer mode </li><li> Returns: STS: 2 </li><li> 2: Indicates the host observer mode </li></ul>
PWM frequency setting Command: AT + PWMFRE260 means to set the PWM frequency to 260HZ Returns: OK
PWM frequency setting Command: AT + PWMFRE Read the PWM frequency  
Turn on the PWM function Command: AT + PWMOPEN1 Indicates that the PWM is turned on <ul><li> Command: AT + PWMOPEN0 means to turn off PWM </li></ul> Returns: OK
Turn on the PWM function Instruction: AT + PWMOPEN Read PWM operation state Returns: PWMOPEN: 1 for development, 0 for off
Set the PWM1 pulse width Instruction: AT + PWM1PUS50 means to set the pulse width of PWM1 to 50% Returns: OK
Set the PWM2 pulse width Instruction: AT + PWM2PUS10 means to set the pulse width of PWM2 to 10% Returns: OK
Set the PWM3 pulse width Instruction: AT + PWM3PUS90 means to set the pulse width of PWM3 to 90% Returns: OK
Set the PWM4 pulse width Instruction: AT + PWM4PUS80 means setting pulse width of PWM4 to 80% Returns: OK
Set the RTC time Instruction: AT + RTCDATE2014-12-05,12: 07: 08, Indicates that the RTC time is set to December 5, 2014, 12: 7: 8 Returns: OK
Set the RTC time Command: AT + RTCDATE Read RTC time Return: AT + RTCDATE14-12-05, 12: 07: 09, Indicates that the read RTC time is December 5, 2014, 12:7:9
RTC function switch Command: AT + RTCOPEN0 means to turn off the RTC <ul><li> Command: AT + RTCOPEN1 Indicates that the RTC is on </li><li> Command: AT + RTCOPEN2 Indicates that the RTC is turned on and turned on </li></ul> Returns: OK
Micro-H5 or server selection Command: AT + WXSVR0 Indicates communication with micro-H5 <ul><li> Command: AT + WXSVR1 indicates communication with the factory server via micro-communication </li></ul> Returns: OK
Micro-H5 or server selection Command: AT + WXSVR Read status Returns: 0 for WXSVR: 0 for return status H5 for factory manufacturer server

Devices End Instructions


Name Instructions
UUID list * Service UUID: 0XFFE0 (service UUID default 0xffe0 user can change) <ul><li> FEATURES UUID: 0XFFE1 (for transparent transmission of the default 0xffe1UUID user can change)</li><li> Feature UUID: 0XFFE2 (for module function configuration)</li></ul>
Name Feature UUID Description Commands Return
1) APP transparent transmission UUID: 0XFFE1 FFE1 for the APP transparent transmission characteristics UUID <ul><li> (applied to the IOS or Android phone through the APP) </li></ul>    
2) IBeacon UUID settings and read UUID: 0XFFE2 Set the UUID instruction format: E1 + 11 + 16 hexadecimal UUID Instruction: <ul><li> E111FDA50693A4E24FB1AFCFC6EB07647825 </li></ul>  
2) IBeacon UUID settings and read UUID: 0XFFE2 Read the UUID instruction format: E1 +12 Instruction: E112 Back to: <ul><li> 12FDA50693A4E24FB1AFCFC6EB07647825 </li><li> 12 for the command header, FDA50693A4E24FB1AFCFC6EB07647820 for the UUID </li></ul>
3) IBeacon Major settings and read UUID: 0XFFE2 Set Major Instruction Format: E2 +21 + 2 Hexadecimal Instruction: E221000A Description Major is hexadecimal 000A  
3) IBeacon Major settings and read UUID: 0XFFE2 Read the Major instruction: E222 Returns: <ul><li> 22000A Description 22 for the command header, 000A for the hexadecimal Major </li></ul>
4) IBeacon Mimor set and read UUID: 0XFFE2 Set the broadcast interval instruction format: E3 +41 + 2 hexadecimal Minor <ul><li> Command: E3320007 means to set Mmior to hex 0X0007 </li><li> Command: E332 means reading the Minor hexadecimal value </li></ul> Returns: 320007 Description 32 is the command header, 0007 is the hexadecimal Minor
4) Broadcast interval setting and reading UUID: 0XFFE2 Set the broadcast interval instruction format: E4 +41 + 1 hexadecimal data <ul><li> Command: E44100 means to set the broadcast interval to 100ms </li><li>Command: E442 Indicates read broadcast interval </li></ul> Returns: 4200 Description 42 is the command header, 00 means the broadcast interval is: 100ms <ul><li> The APP sends the command broadcast interval </li><li> E44200 100ms </li><li> E44201 500ms </li><li> E44202 750ms </li><li> E44203 1000ms </li><li> E44204 2000ms </li><li> E44205 4000ms </li><li> E44206 8000ms </li></ul>
5) Connect password settings and read UUID: 0XFFE2 Set the connection password Instruction format: E5 + 51 + 6-bit current password + 6-bit new password <ul><li> Instructions: E551313233343536313132323333 </li><li> said after the set of passwords: 11223344 </li><li> The new password can be set only when the current password is the same as the module password, and the password before the password is updated will be invalid </li></ul>  
6) Broadcast name setting and reading UUID: 0XFFE2 Set broadcast command format: E6 + 61 + broadcast name (broadcast name length of not more than 12 bytes) Instruction: E6614A44592D3038 means to set the broadcast name: EB-08 <ul><li> Command: E662 Indicates read broadcast name </li></ul> Return: 624A44592D3038 Description 62 for the command header, 4A44592D3038 said broadcast name: EB-08
7) APP control IO port UUID: 0XFFE2 IO1 <ul><li> E7F100 IO1 output low level </li><li> E7F101 IO1 output high level </li></ul> Command: E7F101 means to set IO1 high level
7) APP control IO port UUID: 0XFFE2 IO2 <ul><li> E7F200 IO2 output low </li><li> E7F201 IO2 output high </li></ul> Command: E7F101 means to set IO1 high level
7) APP control IO port UUID: 0XFFE2 IO3 <ul><li> E7F300 IO3 output low level </li><li> E7F301 IO3 output high level </li></ul> Command: E7F101 means to set IO1 high level
7) APP control IO port UUID: 0XFFE2 IO4 <ul><li> E7F400 IO4 output low level </li><li> E7F401 IO4 output high level </li></ul> Command: E7F101 means to set IO1 high level
8) APP control PWM switch UUID: 0XFFE2 ON/OFF * PWM OFF E8A100 None <ul><li> PWM on E8A101 None </li><li> PWM ON/OFF on boot E8A102 None </li></ul>  
8) APP control PWM switch UUID: 0XFFE2 PWM frequency setting (frequency range 50-4KHZ) PWM frequency is set to 1000HZ E8A203E8 None  
8) APP control PWM switch UUID: 0XFFE2 PWM Tempo Setting (Range 0-99%) <ul><li> PWM1 Temporary Ratio set to 10% E8A30A None </li><li> PWM2 Temporal Ratio set to 50% E8A432 None </li><li> PWM3 Temporal Ratio set to 90% E8A55A None </li><li> PWM4 Temporal Ratio set to 30% E8A61E None </li></ul>  
8) APP control PWM switch UUID: 0XFFE2 Read PWM state <ul><li> Read PWM switch state E8A8 </li></ul> A831 indicates PWM on state <ul><li> A830 indicates the PWM off state </li></ul>  
8) APP control PWM switch UUID: 0XFFE2 Read PWM frequency Read PWM frequency E8A9 A903E8 indicates that the frequency is 1000HZ <ul><li> Read PWM1 Temporal Ratio E8AA AA0A Indicates Temporary Ratio is 10% </li><li> Read PWM2 Temporal Ratio E8AB AB32 Indicates Temporary Ratio is 50% </li><li> Read PWM3 Temporal Ratio E8AC AC5A Indicates a temporary ratio of 90% </li><li> Read PWM4 Temporary Ratio E8AD AD1E Indicates Temporary Ratio is 30% </li></ul>  
9) APP control Other UUID: 0XFFE2 Instruction: E90101 represents the reset module, Command: E90102 means disconnect the Bluetooth connection, (this feature applies only to the slave mode)  
10) APP control of transmit power UUID: 0XFFE2 control of transmit power * 4db EAC100 indicates that the transmit power is set to 4db, CC2541 module is: 0db <ul><li> 0db EAC101 means to set the transmit power to 0db </li><li> -6db EAC102 means to set the transmit power to -6db </li><li> -23db EAC103 means to set the transmit power to -23db </li></ul>  
10) APP control of transmit power UUID: 0XFFE2 Read transmit power EAC2 returns C201 that transmit power is: 0db
11) APP control RTC UUID: 0XFFE2) on off, on on boot * RTC Off EBB100 None <ul><li> RTC On EBB101 None </li><li> RTC On and Power On EBB102 None </li></ul> -
11) APP control RTC UUID: 0XFFE2) Set the RTC time, For: May 7, 15 years, 9 hours 9 seconds seconds EBB20F0507090900 None
11) APP control RTC UUID: 0XFFE2) Read the RTC time EBB3 B30F0507090900, Said that at 9:10 on May 7, 15 seconds

Working Mode Wiring

Working Mode

Working in relay control mode

use app “IO_ctrl”, when button on bluetooh board pressed, app will receive relevant UUID data, when switch in app is pressed, UUID will send to EB08

iBeacon mode

  1. Step 1: Configure the module as an iBeacon mode command
  2. Send via serial port: AT + HOSTEN3 Returns: OK
  3. Step 2: Let the module restart
  4. Send via serial port: AT + RST means reset
  5. Step 3: Change the UBID of iBeacon to (FDA50693A4E24FB1AFCFC6EB07647825)
  6. Send via serial port: AT + STRUUIDFDA50693A4E24FB1AFCFC6EB07647825 Back: OK
  7. Step 4: Change the Major value of iBeacon to (10)
  8. Send via serial port: AT + MAJOR000A returns OK
  9. Step 5: Change the minor value of iBeacon to (7)
  10. Send via serial port: AT + MINOR0007 Returns OK
  1. The factory ID is 65330 (decimal value) and the hexadecimal value is 1985
  2. Send via serial port: AT + VID1985 Returns: OK

PWM Cotrol

iBeacon Sensor

Power Consumption Setup

Master to Slave, two bluetooth mode

Master/slave pair/binding mode for data tranmissoin

Sensor read function

Replace your module by UUID