Contents
What is BLE Nano?
BLE Nano is an amalgamated blend of outdated Nano, featuring a CC2540 Bluetooth Low Energy (BLE) unit. Its core microprocessor is ATmega328P, which receives and sends Bluetooth packages from CC2540 chip communication over the serial port. In addition, the Bluetooth unit connects directly to the Arduino communication UART RX/TX pins (pins 0 and 1).RedBearLab BLE Nano
Source: Flickr.Ble Nano Pinout
Reset the Module to Its Default Settings
Before you begin to work with this module, you must reboot it back to its default position. Using the Serial Monitor, send the module an AT command. Begin by creating a blank draft by going to File->New and name it “blank.” Setup the Port, Workstation, and the correct Board details(they may have different numbers). Afterward, link the BLE-Nano to your PC's USB port.Changing the BLE-Nano Bluetooth Name
When you want to use BLE-Nano in a surrounding with many individuals, you may not get BLE-Nano among the many electronic devices for connection. With the following commands, you will be able to differentiate your module by setting different names.Electronic signal processing devices in sockets
Begin by uploading the blank draft just as we did when resetting the module to the default factory setting. Nevertheless, in this case, change the name to NEWNAME. Once receive a +SUCCESS reply for a successful command, restart the BLE-Nano by removing the USB power source cable.Bluetooth Control with a SmartPhone
We will use an amalgam between the CC2540 BLE Bluetooth chip for the BLE Nano and Arduino Nano with ATmega328P as the core microchip. Furthermore, it sends and accepts Bluetooth packages through serial communication via the hardware serial ports within the CC2540 BLE chip. In addition, to regulate BLE-Nano, we will use the BLExAR iOS app using an iPhone, and to enhance and blurry the RGB LED, we will use the ATmega328P PWM competencies.
Bluetooth Control with a SmartPhone
Modules Required
- BLExAR app
- Small Breadboard
- RGB LED
- BLE Nano
- Jumper Wires
The Wiring Diagram Table
BLE Nano | RGB LED |
D2 | R |
D3 | G |
D4 | B |
GND | - |
Installing Code to the BLE Nano
Before any control code installation to the BLE Nano, ensure you plug it first through the PC micro-USB interface connector port. In our case, we will use Raspberry Pi. It’s essential to confirm it uses the appropriate Arduino board LED, including the relevant software framework. Hence, follow the procedures carefully.Choosing the Arduino Nano Board
Choosing the mainframe with the ATmega328P
If the code upload sends within the RGB LED pins correctly, it will switch them on and off and pin them. Meaning the BLE Nano is working fine. Nevertheless, if it’s not working, inspect the cabling to certify the standard components are accurate.Bluetooth Communication between Two Nano BLE Devices
When it comes to Bluetooth interaction decorum, the master commences the serial communication. Besides, it can link even seven slaves. After linking, the slave and master communicate with no hindrances.Beacons BLE module
Source: Wikimedia Commons. The BLE Nano Bluetooth host device interchanges interaction through the Arduino Serial interface. As a result, it provides one major benefit; no pins are lacking for the Bluetooth unit. Nevertheless, its major drawback is that short-distance wireless communication protocol sometimes obstructs consistent interaction. For instance, there may be interference when interacting or installing through the Serial Monitor. Here are major points to note;- If the draft processing the serial data is streaming, you can’t conduct AT-Commands through the Serial Monitor. If inevitable, send AT-Commands in advance and then install a blank draft.
- Several AT-commands alter the Arduino software stack, instigating the serial monitor to withhold additional response to AT-commands. If that happens, restart the Serial Monitor.
- The module doesn’t accept AT-Commands once the Bluetooth smart link is functional. Besides, it doesn’t upload new drafts.
- Once you establish the Bluetooth linking, its status will be on and blink once if not connected.

Various colored cables with various connectors suitable for different ports