
Support standard baud rate of 4800bps~1382400bps. Use AT-command to switch from master or slave mode, and to connect to specific devices. Small size (3.57cm*1.52cm), SMD production, ensure quality with transparent heat shrinkable film for dustproof and anti-static function. Can access AT command to set parameters, and query information by pulling high pin 34.
ARDUINO BLUETOOTH CODE HOW TO
In this post, I will show you how to create simple Bluetooth communication between our Android phone and Arduino. Don’t worry if you have no experience in programming microcontrollers. Although it may sound complicated, it’s actually quite easy. It supports 8-bit data bits, 1 stop bit can set odd-even check communication format, which is the most common communication format do not support other formats. tech Arduino Bluetooth controller can connect a mobile phone with any hardware. No need for knowing any Bluetooth protocol.
ARDUINO BLUETOOTH CODE SERIAL
After paring, it can be used as full duplex serial port. But the connecting quality cannot be guaranteed. In open area, effective range is 10m (power level is CLASS 2). It can be directly connected with various MCUs (51, AVR, PIC, ARM, MSP43 etc.), also 5V MCUs, no need for MAX232 and cannot be connected with MAX232! input volt is 3.6~6V current about 30mA with no pairing, current about 10mA after pairing. BOttom plate has anti-reverse diode,with 3.3V LDO. LED indicates the connection status of Bluetooth, quick flash means no connectivity, slow flash means entering AT mode, double flash means Bluetooth is connected and the port is open.

core module uses HC-05 slave module, pins include VCC, GND, TXD, RXD, KEY, Bluetooth state pin (STATE), output low if not connected, high if connected It can also be a computer sending via serial port (PC serial port connected to MAX232 or USB serial port).

Device sending the AT command can be various types of MCU (for example, 51, avr, PIC, msp430, arm, etc.). Respectively are communication testing, name changing, baud rate changing, matching password changing.ĪT command must be set from TXD, RXD signal pins, not via Bluetooth channel.

A few simple steps can get you to enjoy the convenience of wireless communication.īluetooth transmission module has only 4 AT command. Using the module doesn't require knowing the complex Bluetooth bottom protocol. Bluetooth transmission module can enable you to get rid of using cable for a serial port device and realize wireless serial communication within 10 meters.
