Need advice on scanning 2.4ghz with Arduino

by Molten Fungus on Fri Feb 01, 2013 2:46 pm

Overview
------------
My daughter was recently diagnosed as a type 1 diabetic, and recently acquired a DexCom Continous Glucose Monitor (CGM). The CGM consists of a sensor, transmitter and receiver. According to their Spec, they broadcast in the 2.4Ghz range and even specify packet sizes. Though the monitoring tech is awesome, the interface is pretty sad. For example, I would like to be able to use a smartphone instead of that handheld device they sell, and if possible, send a text to either mine or my wife's cell phone (I would need to get up to speed on writing an app..but that's not the issue) when she's in school. Also, instead of having a phone and this receiver, in my mind it should be one device. ( I have more ideas that would make life much easier, but this is an overview)

So..being an Arduino fan (mega and uno with Sainsmart stuff), I was wondering how to get started with the above project. I've already figured out how to decipher IR with some of the papers on this site, and I'm wondering if this is something do-able, and if so, what hardware would I need to get started.
Basically, to get started, I'd like to see the packets coming in from the transmitter and try to figure out what's going on.. I don't have protocol specifications.

If I'm just being naive, let me know.

Thanks ahead of time.
Molten Fungus
 
Posts: 2
Joined: Fri Feb 01, 2013 2:30 pm

Re: Need advice on scanning 2.4ghz with Arduino

by janekm on Sat Feb 02, 2013 9:37 am

Unfortunately there is not as much protocol standardisation at 2.4GHz as with IR, so you don't have a realistic chance of decoding the signal without knowing what protocol is used.
A good start is usually taking apart the device and figuring out what radio chip is used (I'm not recommending that in this case as it's a medical device).
Even if you know the chip, many chips support multiple encodings and protocols. And if you're really unlucky they may be using an encrypted link too.
Here's a great blog about reverse engineering radio protocols: http://travisgoodspeed.blogspot.co.uk/?m=1
janekm
 
Posts: 5
Joined: Wed Jan 16, 2013 8:19 am

Re: Need advice on scanning 2.4ghz with Arduino

by Molten Fungus on Tue Feb 05, 2013 12:09 pm

Thanks..
I'm scanning the blog now..There's no way I would even attempt at opening up the transmitter..

The actual packet being transmitted is 240 bytes, 6 of them being the transmitter ID..
The information (I'm guessing) is some numerical value, which is used by the receiver where it does all it's calculations..
well.anyway...it's a challenge..

Thanks for the info.. I just needed some quick path to get started..
Really do appreciate the response.
Molten Fungus
 
Posts: 2
Joined: Fri Feb 01, 2013 2:30 pm

Re: Need advice on scanning 2.4ghz with Arduino

by zorch on Sat Dec 21, 2013 1:00 pm

What about accessing the USB port on the Dexcom G4 Receiver instead? Could one use a USB Host Shield along with insights from work such as https://github.com/compbrain/dexcom_reader to develop a reader? Then in a perfect world one would couple it with something like an RFduino to send the data to a Bluetooth Low Energy capable smartphone. Voila, mobile remote monitoring for your daughter.
zorch
 
Posts: 1
Joined: Sat Dec 21, 2013 12:54 pm

Re: Need advice on scanning 2.4ghz with Arduino

by polydon68 on Wed Dec 25, 2013 9:21 pm

I second the notion of utilizing the USB port. I'm not a professional programmer by any means.
What most parents want is a remote monitor for their child's Dexcom overnight. This is the scariest
time for us and the reason that most parents of type 1 kids are sleep deprived because of all the nights
they wake to check blood sugars.

Wouldn't it be a fairly straightforward project to poll the serial (USB) port on the Dexcom using an Arduino,
and have that data sent by XBee to another Arduino module with XBee and an LCD + alarm?

Just having the numbers by the bedside and perhaps a low alarm would mean so very much to MANY
tired and worried parents.

(once the data is on the first Arduino other options are possible, WIFI, Ethernet, data sent to a server and posted
as HTML- accessible worldwide, etc)

This has become my winter project, but I'm no programmer (I'm a scientist who has only programmed when forced to.)

Glad that there are better minds working on this. Please keep it up!
polydon68
 
Posts: 1
Joined: Wed Dec 25, 2013 8:42 pm

Re: Need advice on scanning 2.4ghz with Arduino

by osazuwa on Wed Feb 26, 2014 6:03 pm

Has anyone made progress on this item? I am interested in hacking the monitor as well. It will take too long for an actual smartphone syncing or bluetooth enabled product to come to market.
osazuwa
 
Posts: 1
Joined: Wed Feb 26, 2014 6:01 pm