2017-11-15

AT-09 藍牙4.0BLE 模組 串口引出CC2541相容HM-10模組 連接單片機

重要參考文件

Data sheet
  • Type: Module of off-wire connection of Bluetooth
  • Microcontroller: TI CC2541
  • Size: 10cm x 6cm x 6cm
  • Communication modes: BLE
More information
  • AT+ command set on board
  • Customizable baud rate, device name, and pairing PIN
  • Automatically enters transparent serial mode after device is paired and connected
  • Returns to AT command mode when disconnected
  • Bluetooth version: V4.0
  • Default baud rate: 9600
  • Default serial port setting: 9600, N, 8, 1
  • Voltage: 3.3V
  • VCC:  input power supply 3.3~6V, Prohibit more than 7V
  • GND: Ground
  • TX:  transport
  • RX:  receive  
  • State: when bluetooth is connected , output "High level", "no conntected"  output "low level"
  • EN:when module is connected, give a high level to "EN", the module will disconnected.

2017-11-06

Arduino nano 安裝 Arduino uno 的 bootloader

方法 : How to Burn a Bootloader to Clone Arduino Nano 3.0
1. 單獨將 Arduino uno 連到電腦, 上傳 ArduinoISP 到 Arduino uno
2. 拆下 Arduino uno, 連接 Arduino uno 與 Arduino nano
3. 連接 Arduino uno 與電腦, Arduino IDE-Tools-Programmer 設為 "Arduino as ISP", 接著執行 "Burn Bootloader"

困難 : Arduino nano 安裝 Arduino uno bootloader 之後一直無法上傳程式. 後來改用 portable Arduino IDE version version 1.8.5, 重新執行一次上述方法後就成功了. (真正原因為何?)

記得 : 之後使用此 Arduino nano, Arduino IDE-Board 必須選取 "Arduino/Genuino Uno". 因為它已安裝了 Arduino uno bootloader.

好處 : Arduino uno bootloader 體積較小, 部屬程式較快