User Tools

Site Tools


arduino:bk3231

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
arduino:bk3231 [2017/08/07 19:23] – created aistisarduino:bk3231 [2017/08/07 20:49] (current) – aistis
Line 1: Line 1:
 bk3231 bk3231
  
-b22682h+b26782h 
 + 
 +defaultinis pairinimosi slaptazodis 1234 
 + 
 +{{:arduino:pasted:20170807-192443.png}} 
 + 
 +{{:arduino:pasted:20170807-192639.jpeg}} 
 + 
 + 
 +cia apie panasius modulius: http://wiki.pinguino.cc/index.php/SPP_Bluetooth_Modules 
 + 
 +<code> 
 + 
 + 
 +BK3231 Bluetooth 2.0 Slave Module XBEE Pin for Wireless Remote Transmission 
 + 
 +Specification: 
 +- Bluetooth chip: BK3231 
 +- Bluetooth protocol: Bluetooth Specification v2.0+EDR 
 +- USB protocol: v1.1/2.0 
 +- Working frequency: 2.4~2.8GHz ISM band 
 +- Modulation: GFSK 
 +- Transmit power: <= 4dbm, Class 2 
 +- Transmit distance: 20~30m 
 +- Sensitivity: <= -84dBm at 0.1% BER 
 +- Transmit speed: 2.1Mbps(Max)/160kps; 1Mbps/1Mbps 
 +- Security: Certification: Encrytion 
 +- Supprot profiles: Bluetoothe serial 
 +- Serial setting: 1200~1382400N/8/1 
 +- Default baud rate: 9600 
 +- Match code: 1234 
 +- Working temperature: -20~55 Celsius 
 +- Size" 31*24*9mm 
 + 
 +Package included: 
 +- 1* BK3231 bluetooth 2.0 slave module 
 + 
 +Previous: 20A Brushless ESC Electric Speed Controller BLHeli 14.2 2-6S for FPV Multicopter 1-Pack 
 + 
 +Next: XBEE FT232RL Chip Serial Ports Expand Board USB to TTL Adapt Base 
 + 
 +</code> 
 + 
 +jungti TX(1) i arduino 10, jungti rx(2) i arduino 11 
 + 
 + 
 +<code c> 
 +#include <SoftwareSerial.h> 
 + 
 +SoftwareSerial mySerial(10, 11); // RX, TX 
 + 
 +void setup() { 
 +  // Open serial communications and wait for port to open: 
 +  Serial.begin(38400); 
 +  while (!Serial) { 
 +    ; // wait for serial port to connect. Needed for native USB port only 
 +  } 
 +  pinMode(LED_BUILTIN, OUTPUT); 
 + 
 +  Serial.println("Goodnight moon!"); 
 + 
 +  // set the data rate for the SoftwareSerial port 
 +  mySerial.begin(9600); 
 +  mySerial.println("Hello, world?"); 
 +} 
 + 
 +void loop() { // run over and over 
 +  mySerial.println("Hello, world?"); 
 +  digitalWrite(LED_BUILTIN, HIGH);  
 +  delay(1000); 
 +  digitalWrite(LED_BUILTIN, LOW);   
 +  delay(1000); 
 +  /* 
 +  if (mySerial.available()) { 
 +    Serial.write(mySerial.read()); 
 +  } 
 +  if (Serial.available()) { 
 +    mySerial.write(Serial.read()); 
 +  } 
 +  */ 
 +} 
 +</code>
arduino/bk3231.1502123036.txt.gz · Last modified: by aistis