Kobo and Bluetooth module RN42
- Dettagli
- Categoria: Avionica
- Pubblicato: Martedì, 15 Novembre 2016 20:28
- Visite: 7218
RN42 4 is a more reliable Bluetooth module that HC05. Unfortunately, it’s more expensive that HC05 but can be found on the market at about 15-20€ (HC05 is a 5€ module). https://goo.gl/hUXjvV
Connection
Only 4 pins are required on the RN42 ( TX,RX,Vcc and GND)
Configuration
Use terraterm : http://ttssh2.osdn.jp/index.html.en for connection unsing the following settings :
Baud: 115,200 (use 9600 if jumper 4 is set)
Data Bits: 8
Parity: None
Stop Bits: 1
Flow Control: None
Send command :
>$$$
CMD
The RN42 should reply with : "CMD"confirming the device is in command mode
#sets the serialized friendly name of the device
>S-,KOBO
AOK
#sets the security pin code
>SP,0000
AOK
# set authentication Pin code
firmware > 610d
>SA,4
AOK
firmware >= 610d
>SA,2
AOK
#sets the mode Pairing Mode.
>SM,6
AOK
Now switch on the Digifly AIR BT and put it into Airtool BT mode. ( see Digifly documentation on section 13.2.2 ). Make sure no other Bluetooth devices are in the area.
#Device Scan Inquiry,
>I
Inquiry,T=7,COD=0
Found 1
00133308ECC1,Digifly Air604,0
Inquiry Done
#Connect,
>C,00133308ECC1 // or direcly >CFI
AOK
Done . Now connect the RN42 to your KOBO