The first thing I tried was to connect the Geiger Kit to my Android. In a short while I had the one minute serial counts going to this app
on my Android. Next I searched for an Android app that would graph
from Bluetooth. The results are below.
I also wanted to connect the Geiger Kit to a PC laptop via Bluetooth. Connecting to the IDEs serial monitor was simple, since BT pretty much replaces the serial cable. Later I found a PC based serial graphing program that works using the virtual com port created by Bluetooth on the PC. Of course, you can also connect using a cabled serial connection.
The end result of these little projects are the "recipes" on this page. If you want to try them, they should give you all you need to know to get started, but if you run into problems you could be on your own. They do work as described for me, however.
Connecting the BT module to the Geiger Kit:
Use these steps to connect the Bluetooth module to the Geiger Kit for both the Android and PC based BT connections . . .
- Get the little BT module as linked above. I'd recommend getting that one, or one just like it, because I know it works, and it's already preset to 9600 baud and slave mode, which makes it easier to integrate.
- Wire it to the FTDI pins on the Geiger kit. From the BT module to the kit . . .
GND to either "-" pins and VCC to "+" pin
RXD to the Tx pin and TXD to Rx pin
- When the kit is powered, the red led on the BT board will flash. When you connect to Bluetooth ("pair"), the LED will light steadily.
Graphing Geiger Kit output to an Android:
Many thanks to the good work done here, and here.
Check out both of these sites for some good background.
Since I don't program for Android apps, I had to take what was out there. Fortunately I found a pretty nice one. This app uses a bit of protocol, so I had to make a small change to the Geiger Kit sketch. This change is included in Version 8 of the sketch - so you need the Version 8 SW loaded in order to communicate with this Android app.
Here is the recipe for this project . . .
- Get these two apps for your Android - Amarino , and the Amarino Plug In Bundle
- Install both apps on your Android.
- If you ever want to recompile and load a new Geiger sketch you will need to install the MeetAndroid lib in your Sketchbook libraries folder.
- Now get the SensorGraph-1 app. (There is also a SenserGraph project but you need to compile your own Android app. for that.)
- Install it, and reboot your Android device. (I thought it wasn't working until I did this.)
- The SensorGraph-1 app is the one you will be using. The other two are necessary, but they run in the background. Put the SensorGraph on your "desktop".
- Now you need to "pair" your Android with the BT module. It should find a device like "linvor" and the PIN is "1234". Copy down the MAC address of the device - it should be something like xx:xx:xx:xx:xx:xx.
- Start your Geiger kit (must have ver. 8 or higher SW loaded).
- Start the SensorGraph-1 app. It should list the "linvor" BT module. Edit the default MAC address for your BT module. Touch "Connect".
- The app will switch to the display screen. If all is well, the LED on the BT module will turn to steady red, and you should begin to see counts updated every 5 seconds and a graph forming. Sometimes it is necessary to reconnect a few times before you see counts.
- I reused the PWM slider as a "percent multiplier" for the CPM. So setting the slider at 100 gives 1:1 counts between the graph and the kit. Setting it to 200 gives 2x the CPM on the graph, 50 gives half the counts, etc. Setting it to zero stops the counts. Your last setting of the slider and your MAC address is saved.
- Something a little annoying is that when you rotate your screen 90° you will be disconnected and have to reconnect in the new position.