Русский Deutsch

WXM12 Xbee Expansion Board Compatible Bluetooth Bee Module - Blue + Black

SKU: 199528
In Stock
Price: $8.1
Worldwide Free Shipping
- Model: WXM12
- Quantity: 1
- Color: Blue + Black
- Material: FR4
- Compatible Bluetooth Bee wireless module, it has two serial link and Arduino board communication.
- To set Bluetooth parameters, through the following procedures can modify the relevant parameters: # include / / Software Serial Port # define RxD 2 # define TxD 3 # define LED 13 NewSoftSerial blueToothSerial (RxD, TxD); void setup () {Serial.begin (9600); pinMode (RxD, INPUT); pinMode (TxD, OUTPUT); setupBlueToothConnection ();} void loop () {digitalWrite (LED, HIGH); delay (500); digitalWrite (LED, LOW); delay (500);} void setupBlueToothConnection () {Serial.println ("Setting Bluetooth parameters"); blueToothSerial.begin (38400); / / Set BluetoothBee BaudRate to default baud rate 38400 delay (100); sendBlueToothCommand ("AT \ r \ n"); sendBlueToothCommand ("AT + NAME = Manolins\ r \ n ");/ / named module name sendBlueToothCommand (" AT + ROLE = 0 \ r \ n ");/ / set master-slave mode: 0 slave 1 the host sendBlueToothCommand (AT + PSWD = 1234 \ r\ n ");/ / set a passcode, such as 0123 sendBlueToothCommand (" AT + UART = 38400,0,0 \ r \ n ");/ / set the baud rate 38400, 1 stop bit, parity bit sendBlueToothCommand ("AT + RMAAD \ r \ n") ;/ / clear the pairing list delay (100); Serial.println ("Setup complete");} void sendBlueToothCommand (char command []) {char a; blueToothSerial.print (command); Serial.print (command); delay (100); while (blueToothSerial.available ()) Serial.print (char (Bluetooth Serial.read ()));
- First: Direct serial control, that is, the expansion board D1, D2, respectively corresponding to D0, D1 serial UNO on the motherboard. Need to note that if you use these two ports, expansion board need be removed from the motherboard in the programming code, and then folded up after programming code.
- Second: Software serial link, using official Arduino software serial library, we can use the expansion board D3, D4, respectively corresponding to the UNO on the motherboard D2, D3 pin; serial port via software serial and Bluetooth module to interact at the same time monitoring the information via hardware Monitor tool, to set Bluetooth module via hardware serial.
- English Manual/Spec: Yes
- Great for DIY project.
Tags:

black module mod

,

blackboard wars

,

blu ray compatible tv

,

bluetooth compatible with iphone 5

,

blackboard

,

bluetooth module compatible with iphone

,

board modules

,

compatible bluetooth for iphone 5