zoukankan      html  css  js  c++  java
  • HC-05蓝牙模块基本使用

    1.进入AT模式

      EN输入高电平+按住按键不放,然后上电,进入AT模式,不过AT指令只能输入一次,下次再输入AT需要重新进入

    2.串口波特率设为38400,进行AT模式下的指令操作

    3.基本AT指令

    AT+ORGL   恢复出厂设置

    AT+NAME =newName  修改蓝牙名字

    AT+ROLE=0/1/2  0:从模式 1:主模式 2:回环测试

    AT+9600,0,0  9600波特率,1位停止位,无校验

    3.hc05蓝牙模块和手机相连

      设置模块为从模式

    4.两个hc05模块连接

      一个主,另外一个从,注意波特率设置相同,然后上电,会自动连接


        .---- -. -. .  .   .   ( .',----- - - ' '    \_/      ;--:-          __--------------------__   __U__n_^_''__[.  ooo___  | |_!_||_!_||_!_||_!_| | c(_ ..(_ ..(_ ..( /,,,,,,] | |___||___||___||___| | ,_\___________'_|,L______],|______________________|/;_(@)(@)==(@)(@)   (o)(o)      (o)^(o)--(o)^(o)    

  • 相关阅读:
    Moving Price and Standard Price
    Partner function解析
    [ABAP] ABAP中定义和呼叫宏
    ABAP
    Words Learning~~(1-3)
    Words Learning~~(1-2)
    Words Learning~~(1-1)
    SQLSERVER如何查看索引缺失
    Material Stock manage T-code
    远程重启
  • 原文地址:https://www.cnblogs.com/fx427103/p/4387422.html
Copyright © 2011-2022 走看看