Go Back   Home > Forums > Blogs > merlin2069er

Rate this Entry

Stumbled upon btinterface

Posted 16th July 2013 at 07:32 PM by merlin2069er
Updated 19th July 2013 at 11:36 AM by merlin2069er (adding links...)

I was browsing the google play store one day when I came across something called BTInterface.

Anyways, that free btinterface program led me to btinterface.com where I watched a few of the videos posted. I was immediately impressed with the possibilities. So I bought an android phone, and installed the btinterface app.

I picked up a couple of arduinos (mega 1280) about $12 each, and bt modules, about $8 on ebay, and also picked up some relays to fool around with (about $12) and jumper cables...

BTInterface will allow you to connect to a bt module, then send commands to it. You need a sketch on the arduino to do something with those commands.

BTInterface being a bit limited in what it can do - I purchased basic4android.

So, with basic4android I put together a few screens, on a couple of tabs. The first tab, "Sources" - allows you to edit the name and select a source (these names are saved to an internal file). So they'll be there when you restart the app.

The second tab, "Attenuator" give you coarse and fine tune position (upto 128) on your attenuator and a mute button.

So, what's happening in the android app, is it's connecting to the bt module, and when the sources are selected- it's sending b1, b2, b3, b4 (for inputs 1 to 4) and on the attenuator side, it's sending the position of the attenuator from 1 to 128, 0 for mute.

The arduino sketch will basically, turn these relays on and off depending on the button selected. That's pretty much it in a nut shell.

I've got the source selector working, the hardware was cheap and easy to work with. Just need to wire these up in parallel and attach rca jacks to them.

I'm currently working on the attenuator hardware... stay tuned for part 2 of this blog.

I'll be posting my android / arduino code soon.

Here's some video from youtube...



Posted in Uncategorized
Views 1247 Comments 2
Total Comments 2


  1. Old Comment
    I'd be interested in learning more about the (will check out the BTinterface site) and seeing how you coded this up for the Arduino. I'm developing a preamp that is controlled by an Arduino and have wanted to add BT connectivity to it, so this is great timing! Thanks for posting about it.
    Posted 29th July 2013 at 02:52 PM by CharlieLaub CharlieLaub is offline
  2. Old Comment
    merlin2069er's Avatar
    No problem, actually easier than I thought. I had a bit of help... check my website for the arduino code (click on my signature).
    Posted 30th July 2013 at 02:09 PM by merlin2069er merlin2069er is offline

New To Site? Need Help?
Copyright 1999-2017 diyAudio