Bluetooth 4.0 modul

46.00 DKK incl. moms

Bluetooth4.0 HM-10 Modul (breakout)

På lager

Varenummer (SKU): E3-4 Kategori:

Bluetooth 4.0 modul baseret på TI CC2540/CC2541 chipsæt, som understøtter master/slave mode og low power operation.
Breakoutet tilhører en ny generation af Bluetooth moduler, og kan funktionsmæssigt erstatte rækken af moduler indenfor den “gamle” HC-serie – vær dog opmærksom på der kan være forskel i AT kommandosættet.

Modulet er et breakout af det oprindelige HM-10 bluetooth modul design og firmware fra Jinan Huamao Technology Company (JNHuaMao). Breakoutet gør at det nemt og hurtigt kan forbindes til din Arduino – eller PC’er via en USB til TTL konverter.
Når du har forbundet modulet, styres det via AT kommandoer f.eks. gennem serial monitor fra Arduino udviklingsmiljøet eller andet terminalprogram

De mest anvendte AT-kommandoer:

  1. AT+ADDR?
    Usage: Query the native MAC address
    Should return: OK + LADD: MAC address (address for 12 string)
  2. AT+BAUD?
    Usage: Query the baud rate
    Should return: OK + Get: [para1] Details: Scope of para1:0 ~ 8. The parameters corresponding to: 0 represents 9600, 1, 2, 9600, 38400, on behalf of the representative representative of 57600, 115200, 5, 4800, 6, 7 represents 1200, 1200 2400. The default baud rate is 9600.
  3. AT+BAUD[para1]
    Usage: Set the baud rate
    Should return: OK+Set:[para1] Details: Scope of para1:0 ~ 8. The parameters corresponding to: 0 represents 9600, 1, 2, 9600, 38400, on behalf of the representative representative of 57600, 115200, 5, 4800, 6, 7 represents 1200, 1200 2400. The default baud rate is 9600.
    Note: If you switch to the 1200, module will no longer support the configurations of the AT command, and press the PIO0 under standby, module can restore the factory Settings.Do not recommend using the baud rate.After setting the baud rate, modules should be on electricity, anew set parameters can take effect.
  4. AT+CON[para1]
    Usage: Connect to the bluetooth address specified (para1)
    Should return: OK+CONN[para2] Details: Para2 is the range of the connection and can be A, E or FE.
    Example: To connect to bluetooth address 0017EA0943AE: sending the AT + CON0017EA0943AE, module returns: OK + CONNA or OK + + CONNF CONNE or OK.
  5. AT+CLEAR
    Usage: Removal of equipment matching information
    Should return: OK + CLEAR
    Details: Clear success had connected device address code information.
  6. AT+MODE?
    Usage:Query module working mode
    Should return: OK + Get: [para] Details: The range of [para] is 0 ~ 2. 0 represents passthrough mode, on behalf of the PIO acquisition + remote control + 1 passthrough, 2 representative passthrough + remote control mode.The default is 0.
  7. AT + MODE [para]
    Usage:Set module working mode
    Should return: OK + Set: [para] Details: The range of [para] is 0 ~ 2. 0 represents passthrough mode, on behalf of the PIO acquisition + remote control + 1 passthrough, 2 representative passthrough + remote control mode.The default is 0.
  8. AT + NAME?
    Usage:Query device name
    Should return: OK + NAME [para1]
  9. AT + NAME [para1]
    Usage:Set the device name
    Should return: OK + Set: [para1] Note: After the execution of the instruction, required to restart in order to set the parameters of the approval.
    Example: Set the device name to Seeed, sending the AT + NAMESeeed, return OK + Set: Seeed AT this time, the name of the bluetooth module has been changed to Seeed.
  10. AT + PASS?
    Usage:Query pairing password.
    Should return: K + PASS: [para1] Details: Para1 range is 000000 ~ 999999, the default is 000000.
  11. AT + PASS [para1]
    Usage:Set pairing password.
    Should return: OK + Set: [para1]
  12. AT + RENEW
    Usage:Restore factory default settings
    Should return: OK + RENEW
    Details: Restore the default factory settings for the module. Ensure a delay of 500 ms after the restart. Note: For some reason the datasheet says: “If no need, please be careful”.
  13. AT + RESET
    Usage:Reset the module.
    Should return: OK + RESET
    Note: After the instruction execution module will have a delay of 500 ms.
  14. AT + ROLE [para1]
    Usage:Set the master-slave mode
    Should return: OK + Set: [para1] Details: Para1 can be
  15. AT+SLEEP
    Usage:Set the device in sleep mode.
    Should return: OK+SLEEP
    Details: To wake up, send a large (>80 characters) string.

    Der er en del flere AT kommandoer – dem kan du finde i datasheet nedenfor

Mere læsestof

Yderligere information

Vægt 8 g