Configuration of RN52 through Simblee (RFD77101)

Simblee (RFD77101) is one of the best BLE (Bluetooth Low Energy) chip that turns your project into the IoT. Since I have learned how to use the Simblee, I have come up with the idea that I connect Simblee into RN52 (Audio Bluetooth) to make my project more fun. The first step that I needed to do was whether I could do the configuration of RN52 through a Simblee chip, so I will introduce how to configure it by using UART and display the configuration on the Simblee App based on the commands you input.

Normal Configuration

In order to do the normal configuration that you can find in Sparkfun tutorial of RN52, you need to use a FTDI chip with USB to communicate with a serial UART through a USB port.

You are supposed to get the configuration like this (From Sparkfun).

Configuration on Simblee App

However, what if you would like to display the configuration of RN52 on Simblee App through RFD77101, the process will be different. Here is the simple sketch of this project. FTDI chip is connected to RFD77101 using UART (RX is 25 pin & TX is 23 pin as a default), and by connecting RFD77101 and RN52 using GPIO17 & GPIO19 as RX & TX), you could do the serial communication between these chips.

Source Code

Results

This is the UI on Simblee App.

When SMD mode started (GPIO9 pin shorted to GND).

When a command “D” was input in field1. However, I was supposed to get more than 68 bytes (As you can see, when you do the normal configuration on Terminal, the number of characters is more than 68 characters.) I need to study more about how to use a buffer, and fix this problem.

When a command that does not exist was input.

There are a lot of available commands that you can see. This project succeeded! Thanks.

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA