Modulo Bluetooth JY-MCU

Da Fablab Imperia Wiki.

Sketch & Wiring

Sketch per ricezione/invio con arduino via bluetooh al posto della seriale.
Ecco i collegamenti ad arduino:
wiring


Links utili


Manuale fornito

Link al pdf

AT Commands

Da http://byron76.blogspot.it/2011/09/one-board-several-firmwares.html

...boards seem identical, they had different firmwares.
The suntekstore ones has HC05 firmware, the DealExtreme ones has linvor

1.5 firmware. The differences between them is mainly the AT command set.Linvor 1.5 also known as HC06 This firmware offers a very limited set of AT command. By default the baudrate is 9600 8N1.

For this firmware you have to not send LF or CR character at the end of your AT command.AT programming mode is up when your board is not paired by bluetooth devices. For this firmware, you have to copy/paste AT command since timings is important. You can send about one command per second.

Command

Response

Note

AT

OK

Usefull to check connection and   baudrate

AT+VERSION

Linvor1.5

Get the version of the module

AT+BAUDx

OKyyyy

Set the baudrate :

x can take the following values :

  • 1 for 1200 bps 

  • 2     2400 bps

  • 3     4800 bps 

  • 4     9600 bps 

  • 5    19200 bps 

  • 6    38400 bps 

  • 7    57600 bps 

  • 8   115200 bps 

  • 9   230400 bps 

  • A   460800 bps 

  • B   921600 bps 

  • C  1382400 bps

AT+NAMEString

OKsetname

Change bluetooth device name  :

String can be any string you want ! be creative !! (20 characters limited)

AT+PINxxxx

OKsetpin

Set the bluetooth pincode  :

1234 by default

And that's it !!! No other AT command.

vedere anche dallo stesso blog: