How to Use BLE Module

By connecting the SPACEBLOCK dedicated microcontroller board, you can run programs via Bluetooth.
About the Parts
Connect the SPACEBLOCK dedicated microcontroller board with four pins and supply power via a battery box or USB cable (adapter, mobile battery, etc.). *You can also connect via Bluetooth while powering the board through USB from a computer or other device.
About UART
UART stands for Universal Asynchronous Receiver/Transmitter and is a serial communication method for asynchronous data transmission. UART communication uses two signal lines: TX (Transmit) for sending data and RX (Receive) for receiving data. UART synchronizes data transmission based on a pre-defined baud rate without using a clock signal.
Specifications
Voltage | 3~5V |
---|---|
Bluetooth | 5.0(LowEnergy) |
Communication method | UART |
Transmission output | 4dBm |
Size | 45 x 22 (mm) |
How to Connect
When using jumper wires
Connect the BLE module and the SPACEBLOCK dedicated microcontroller board using male-to-female jumper wires as follows:
- Connect the GND pin of the module to the GND of SPACEBLOCK
- Connect the VCC pin of the module to the 5V or 3.3V of SPACEBLOCK
- Connect the TXD pin of the module to A3 (UART-capable pin) of SPACEBLOCK
- Connect the RXD pin of the module to A2 (UART-capable pin) of SPACEBLOCK

*The image shows signal lines connected to B1 and B3 pins. *For UART communication, use the A3 and A2 pin combination.
*5V and GND can also be inserted into the corresponding labeled pins on the SPACEBLOCK dedicated microcontroller board.
When connecting directly to the SPACEBLOCK board
As shown in the photo, you can directly plug the 3.3V and GND of the SPACEBLOCK dedicated microcontroller board and use jumper wires to connect the BLE module's TXD to A3 and RXD to A2.

Connection Method
Connect the SPACEBLOCK web application to the dedicated microcontroller board (hereinafter referred to as the device) using the BLE module.
To connect with an iPad or iPhone, the SPACEBLOCK dedicated app is required. Search for "SPACEBLOCK" in the Apple Store or install it from the following URL.
https://itunes.apple.com/jp/app/id6612034099
【How to connect using the app】
① Open the device connection from the SPACEBLOCK project screen. (It opens automatically if not connected. To open manually, click "Connect" or "Connect Device" from the top menu.)

*You can switch between USB and BLE connection tabs on the screen.
② Click "BLE Connection" to open the Bluetooth device selection screen.

③ A list of devices will appear. Click the device you wish to connect to complete the connection.
【When using the dedicated app】
If there are multiple devices, they will be listed starting from the nearest. Bring the desired device closer to your iPad or iPhone and click the top item (highlighted in green) to connect.
