Arduino Nano + RN52 + TPA2016D2 Experiment

It has been over a year since I have been working on the audio things. The previous experiment, I used an amplifier called TPA2016 which can amplify an audio data from a 3.5mm headphone wire connecting a phone. However, I really wanted it to be a wireless which can send the audio data, and I finally found the one called “RN52” which is an audio bluetooth module.

RN52 Test

In the Fritzing image above, I did an initial test with this RN52 module and an 8Ω speaker ( 16Ω speaker should have been used according to the data sheet, but it is actually not big deal.) with an Arduino Nano for UART communication and as a voltage supplier from my computer which is 5V. The initial test worked perfectly and I heard sounds, but there were some problems.

  1. The sounds were NOT really amplified.
  2. It could not control a gain from your Phone.

In order to solve these problems, I decided to use an TPA2016 which is the stereo class D amplifier with a gain control. By using the amplifier, I could amplify the audio sounds to around 30 dB, and I could control the gain from my phone which means I could adjust the sound volume in my phone. The TPA2016 module could solve these problems once.

Here is the new Fritzing image.

Fortunately, RN52 had 4 pins audio outputs and TPA2016 had 4 pins audio inputs, thus by connecting between these modules, the audio data coming from RN52 as outputs is going into the TPA2016 as inputs. In this video, I am showing how to connect the Bluetooth module and your phone, and how it works.

My Progress of PCB Layout

It has been six months since I started doing Schematic design and PCB Layout by myself. I have been working on these things for improving my engineering skills and exhibiting my prototypes in Maker Faire, especially for bone conduction devices that I am developing. I finally could make my own PCB which worked perfectly, so I will show my progress of PCBs.

The first experiment failed…

When I developed my own PCB for the first time, I designed a schematic which was definitely over-skilled for me. Even thought I just wanted to make a PCB which can make sounds through an amplifier, I put BLE for Bluetooth function, and Li-Polymer Charge Management Controller to charge a LiPo Battery. Of course, the PCB did not work because I did not know how to design schematics and PCBs. What I learned from this failure is…

  1. Do not try to design a complicated PCB for the first time.
  2. Increase the difficulty of schematic and PCB layout gradually.
  3. Know how the electronics work better than anybody else.

The second experiment also failed…

From the first failure, I design a easy PC board by eliminating a lot of functions that I was not supposed to use this experiment. And, this is the schematic that I designed.

However, this schematic also did not work because It had three errors.

  1. I did not connect Pin 21 (Thermal Pad) on an amplifier to the GND (ground).
  2. R1, R2, and R3 (resistors) were not working as pull-up resistors.
  3. INL- (Left channel negative audio input) and INR- (Right channel negative audio input) also did not connect to the GND.

In order to fix these errors,

  1. Make a hole on pin 21 using laser cutter and solder pin 21 to GND pin using a tiny wire. (The reason why I made a hole was the package of the amplifier was QFN and needed to be soldered using soldering cream and heat gun).
  2. Connect SDA, SCL, SDZ pins to VDD pin using three jumper wires.
  3. Connect INL- to GND pin using a jumper wire.

After these debugging, my PCB called BCv2.0 finally worked.

BCv2.1 came out!

From previous failure, I redesigned the schematic.

The PCB became much smaller and practical and I removed the external 3.5mm headphone jack and used SMD headphone jack.

By placing components on both side, I could minimize the size a lot.

The Size Comparison

I could successfully minimize the size of PCB. This is the comparison of BCv2.0 (Green), BCv2.1 (Black), and 5 cent coin.

Next challenge I will do is to put more functions such as bluetooth on my own PC Board! See you at next post!

New Bone Conduction glasses 2.1 in San Jose Mini Maker Faire

I have been thinking how I could minimize the size of my prototype and maximize the effect of it. Then, what I came up with was to make my previous bone conduction glasses to the attachable type. Fortunately, there was upcoming maker faire in 9/3/2017 after I came up with this idea so I had a chance to see people’s reactions to my new prototype. 

Fusion 360

In order to make attachable device, I needed 3d printer and some skills of 3d modeling. What I have done was to attach an amplifier PCB (middle), a battery connecter (left) and 3.5 headphone jack (right) on the top side by measuring each PCBs and calculating each positions. Of course, I could not make it only once. I failed to print a couple of times, and I remeasured, recalculated, redesigned, and reprinted many times until it fitted.

On the bottom side was very simple. It just attaches a bone conduction transducer.

In this San Jose Mini Maker Faire, I exhibited two types of my prototypes which are the bone conduction glasses and attachable bone conduction device. I wanted to get any feedback from people.

Previos prototype


New prototype


My Booth

Many people came the booth I was exhibiting my bone conduction devices, and many people told me that these were awesome. Some of them who really were into these took my business card, so these reaction of people and actions really really made me happy like I was grad to make this!

Advantage and Disadvantage of the attachable bone conduction device

These are what I realized and got feedback from people during the Maker Faire.


  • It can attach almost any types of glasses, so the users do not have to buy the glasses itself.
  • It is lighter.


  • It can not make a balance. Either side is heavier.
  • Looks uncool.


Next Step

I cannot tell you the detail but I am currently working on my own PCB to make device itself as lighter as I can. See you in next Maker Faire.