EEVblog® Electronics Community Forum

General => General Technical Chat => Topic started by: Stonent on June 14, 2013, 07:09:05 pm

Title: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 14, 2013, 07:09:05 pm
EDIT: Pictures a page or so down, below is the original post I made.

It's a free Bayer USB Blood Glucose meter. It has an internal color LCD and some kind of rechargeable battery.
You fill out the form and they mail you a coupon and you take it to the store. I know someone who got one.
The hitch is, of course, the unit is free but the test strips are like $75 a box, of course if you were doing a teardown, you wouldn't need to buy any accessories.  They just went to Walmart with the coupon and didn't buy anything with it.

The box comes with a 5v 550ma wall charger, the meter, a box of 10 strips, a bag of lancets, a poking device and some calibration fluid.

Supposedly it stores data and you can upload it to your computer or a website to track. I'd be interested to see what's inside. The battery must be pretty good sized because the unit itself feels very heavy for the size.

https://www.bayercontour.com/Meter-and-Test-Strip-Savings/Save-on-Meters/Meter-Request?product=contournextusb&promospec=save (https://www.bayercontour.com/Meter-and-Test-Strip-Savings/Save-on-Meters/Meter-Request?product=contournextusb&promospec=save)

(http://i.imgur.com/jpZrQ0v.gif)

If you pick one up, please do a proper teardown on it or even better mail it to Dave to take apart.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: c4757p on June 14, 2013, 07:34:37 pm
On one hand, I want to see what's inside one of those, it might be cool. On the other, it's probably something stupidly simple, and one of the more experienced forum members will come along and pop my bubble in 3... 2...  ;D
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: tom66 on June 14, 2013, 08:52:45 pm
I'd be interested to see the AFE and processing behind measuring blood glucose levels.
And are strips the next ink cartridge or does it really cost $75 to make a box of them?
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: Stonent on June 15, 2013, 01:18:57 am
I'd be interested to see the AFE and processing behind measuring blood glucose levels.
And are strips the next ink cartridge or does it really cost $75 to make a box of them?

I did some research on it and it looks like it comes down to a chemical reaction with the sugar in your blood with a chemical on the strip that generates a small current which is measured by the meter.

But really if the process is the same for all testers, I don't see any reason why they couldn't make a universal strip (except they don't want to)

Like printer cartridges, some glucose meters can tell when strips are expired and reject them.

Once I was in the office of the CEO of a former employer (a multi billion dollar pharmaceutical company) working on a printing issue and it came down to one of the cartridges being dried up in his printer.  So I ran downstairs to the store room and grabbed another one. Once I installed it said the ink was expired. He thought it was about as idiotic as I did. Since we had bought those cartridges in bulk ahead of time we pretty much were going to have to junk them.

I told him I'd just have to bring him a new printer rather than have him wait for a new cartridge to come in.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: sleemanj on June 15, 2013, 02:52:58 am
As a type 1 diabetic, I can tell you that yes it's a reaction on the strip which produces a small voltage.  If you take a strip, apply the requisite drop of blood, and stick your multimeter across the terminals you can see the voltage change.

I shouldn't expect there is much interesting in there, a (I suppose highly specified) op-amp, an MCU with a high resolution ADC and a display, probably about all you need.  The technology is probably more in the strip.

It used to be the case that boxes of strips came with special coding strips, active devices of some sort, plug them into the same strip port on the meter and it would calibrate the meter to that particular batch of strips, displaying a batch code so you can verify.  Not the case any more, I guess strip manufacturing has become good enough that they can reliably just have a single batch code (that, or they decided they don't care about the margin of error).




Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: free_electron on June 15, 2013, 04:04:36 am
We have an application where we use an stm8 cpu driving a static lcd display powered from a simgle cr2025 cell. There is only the cpu , the display , an rc oscillator the battry and one pushbutton. And a little slieblock where you stick the strip in. The whole thing is designed to run for 5 years off the cr2025 cell assuming 5 tests a day. The cpu is in low power mode. The pushbutton yanks an interrupt pin that wakes the cpu , does its thing ,shows a reading and then shuts off after 30 seconds.

In other words: there's nothing in those things. One pharmaceutical company actually uses our reference design and mass produces these things. They can't be opened , are sealed waterproof and when the battery is empty you throw it away.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: mikeselectricstuff on June 15, 2013, 08:22:05 am
Could be interesting to investigate hacking to re-purpose...
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: SeanB on June 15, 2013, 09:18:33 am
I did pull one apart as it was cheaper to buy a new unit than the test strips, so bought the no code ones that absolutely do not care about the strip other than having each strip having a on strip trimmed resistor to calibrate the meter.  Internally a single chip micro, a few AD analogue switches and a few low voltage AD opamps are it, along with a few resistors, capacitors and diodes and the custom LCD driven from the micro. Also had a rechargeable lithium cell as back up for when you are changing the main battery, needed as it stored the last 100 readings with time stamps and calaculated a few averages from it. Even had a full IRDA port on it to communicate using a (proprietary and of course expensive) USB dongle and ( even more expensive) Windows based software. Never got that, just bought the new one with cheap strips, which are around $10 for 50 in a desiccant lined plastic bottle.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: amyk on June 15, 2013, 09:32:47 am
Agreed, a little gadget with an MCU, LCD, USB and few buttons could be repurposed for a variety of uses... and am I the only one who thinks an electronic device telling you to "apply blood" (http://www.bernardfarrell.com/blog/uploaded_images/ContourUSBAndOneTouchMini-729753.jpg) is just a little creepy? :o

After seeing what the test strips look like, I now realise I have a bunch of them that someone left on a table in the mall. No blood on them, so at the time I thought they were RFID tags or some sort of other microelectronics. They're made of a few laminated layers.

Once I was in the office of the CEO of a former employer (a multi billion dollar pharmaceutical company) working on a printing issue and it came down to one of the cartridges being dried up in his printer.  So I ran downstairs to the store room and grabbed another one. Once I installed it said the ink was expired. He thought it was about as idiotic as I did. Since we had bought those cartridges in bulk ahead of time we pretty much were going to have to junk them.
This is when you fire up the EEPROM programmer and rewrite the dates on them. :D
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: mikeselectricstuff on June 15, 2013, 09:41:55 am
Agreed, a little gadget with an MCU, LCD, USB and few buttons could be repurposed for a variety of uses... and am I the only one who thinks an electronic device telling you to "apply blood" (http://www.bernardfarrell.com/blog/uploaded_images/ContourUSBAndOneTouchMini-729753.jpg) is just a little creepy? :o

After seeing what the test strips look like, I now realise I have a bunch of them that someone left on a table in the mall. No blood on them, so at the time I thought they were RFID tags or some sort of other microelectronics. They're made of a few laminated layers.

Once I was in the office of the CEO of a former employer (a multi billion dollar pharmaceutical company) working on a printing issue and it came down to one of the cartridges being dried up in his printer.  So I ran downstairs to the store room and grabbed another one. Once I installed it said the ink was expired. He thought it was about as idiotic as I did. Since we had bought those cartridges in bulk ahead of time we pretty much were going to have to junk them.
This is when you fire up the EEPROM programmer and rewrite the dates on them. :D

..or maybe just set the date back on the PC?
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: free_electron on June 15, 2013, 10:30:50 am
. and am I the only one who thinks an electronic device telling you to "apply blood"is just a little creepy?

All good electronics is designed using a lot of blood sweat and tears.. Oh wait... That's the design, not the usage ... Never mind ...
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: dexters_lab on June 15, 2013, 09:53:39 pm
I bought a blood glucose meter a few years ago as the testers are only £20 or so, the process is pretty simple, i wouldnt expect much inside, it will be highly integrated.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: tinhead on June 15, 2013, 10:21:06 pm
not sure if the current hw revision is exact the same (from what i can see PCB seems to be bit different routed, but that's all)
as the first hw revision, but in case yes here my findings (from March 2010)

OLED seems to be 160x60pix, controller IC SSD1353

Attached a well the org firmware (in case someone wish to play with it), Bayer forgot to protect the STM32.

I have still few of them, but never got time to play deeper :\

Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: tinhead on June 15, 2013, 10:23:11 pm
and here the newer revision (from mid 2012). These pictures are made by someone else, so no better quality available.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: Stonent on June 16, 2013, 12:54:15 am
Could be interesting to investigate hacking to re-purpose...

That was more my line of thinking. Maybe a small LiPo battery inside and maybe hack the screen.

They have them in the UK but there's only 50 free each month.

http://www.diabetes.co.uk/promotions/contour-next-usb-giveaway.html (http://www.diabetes.co.uk/promotions/contour-next-usb-giveaway.html)

Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: Stonent on June 16, 2013, 01:02:34 am
Regarding the variations, there was a previous revision with out the "next" in it that I heard during a review on youtube. They were saying this one added some kind of website tie-in where you could upload your data. Though I would think that they could have done all that in software on the PC.
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: Stonent on June 16, 2013, 03:54:26 am
Could be interesting to investigate hacking to re-purpose...

So basically a STM32F103 dev board with 3 buttons and an OLED display and surely an ADC to read the strips.

Could this be the next trend in cheap chinese DSOs? They go from MP3 players to glucose meters? 72Mhz ARM cortex M3 chip could probably handle some low end reading.

I found they had another meter that had a USB cable with an FTDI chip and a 3.5mm headphone plug. Made me wonder if they developed that one on a Picaxe?  ;)
Title: Re: This might make an interesting teardown (Free USB Glucose Meter)
Post by: Stonent on June 16, 2013, 05:23:15 am
Ok I had to know what was inside, so I got one.
This one is a bit different and was a bit disappointed it wasn't the ST Micro ARM chip.

There's a QFP on the back marked:

TOSHIBA
T5DB0
1248 HUL
167288
JAPAN

On the other side there's a Micron chip labeled:

2VD12
NW322

And on the edge says QQVNB (Edit, found it: http://www.micron.com/parts/nand-flash/serial-nand/mt29f1g01aaaddh4-it (http://www.micron.com/parts/nand-flash/serial-nand/mt29f1g01aaaddh4-it) )
1Gb Serial NAND Flash

The other chip I can't tell a vendor, appears to be a BGA labeled
F3796 017
1244PM404
MALAYSIA

There's a small 5 pin chip right about 1/2 way between them, it appears to be labeled "PHP" or "PNP" I can't tell

And there's a small cluster of parts below the button marked "Down"
Two of them are 8 pin chips that even I can't read with my 20/10 vision, so I'll have to hunt down a magnifying glass later.

The battery pack looks identical to the pictures posted earlier so I didn't bother with it.

The LCD has a chip on the flex cable. I'd say around 16 or 15 mm long and 2 mm wide.
The end of the flex cable is a little wider than the chip and looks like it could go into a LIF ribbon connector but they've stuck another adapter on top of it to squeeze it down to about 6 or 7 mm wide and appears to have 24 pins.

Anyone have some data on the Toshiba chip or the one without the vendor name? I'm not having much luck.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: amyk on June 16, 2013, 09:56:49 am
No idea about the BGA but 1244 is very likely the datecode (week 44 2012), same with 1248 on the Toshiba one.

Given that the previous version used an ARM-based MCU and Toshiba has some, maybe it's a TMPM373FWDUG?

Or it could be a custom mask-ROM one, downsized to an 8 or 16-bit non-ARM core.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: tinhead on June 16, 2013, 11:50:06 am
ahh that'S evry unfortunate, but good to know that the "Contour Next USB" is not anymore STM32 based as "Contour USB" was.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 19, 2013, 08:59:19 am
OK someone cracked the code to the service menu 3422

Blood glucose meter Bayer Contour NEXT USB - Code for Service [english] by verzuckert.de (https://www.youtube.com/watch?v=Cb-l8qeEyz0#ws)

Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 19, 2013, 09:04:24 am
ahh that'S evry unfortunate, but good to know that the "Contour Next USB" is not anymore STM32 based as "Contour USB" was.

It appears you can get the original with the STM32 chip for less than $10 USD

http://www.ebay.com/sch/i.html?_odkw=contour+usb&_sop=15&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0&_nkw=bayer+contour+usb&_sacat=0 (http://www.ebay.com/sch/i.html?_odkw=contour+usb&_sop=15&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0&_nkw=bayer+contour+usb&_sacat=0)
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: tinhead on June 19, 2013, 09:04:56 am
OK someone cracked the code to the service menu 3422

yeah, thats was me, i found it as plain text in the firmware dump i made.

It appears you can get the original with the STM32 chip for less than $10 USD

i bough in 2011 4pcs from a shop in US and paid 12USD total, so it was dirt cheap at that time.
But still, 10USD for an "STM32 dev USB stick with 1G memory and OLED" is cheap as well.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 19, 2013, 09:15:40 am
So how did you end up dumping the firmware? Just using the test points on the back? Or via the USB port?
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: johnmx on June 19, 2013, 09:34:27 am
It appears you can get the original with the STM32 chip for less than $10 USD
http://www.ebay.com/sch/i.html?_odkw=contour+usb&_sop=15&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0&_nkw=bayer+contour+usb&_sacat=0 (http://www.ebay.com/sch/i.html?_odkw=contour+usb&_sop=15&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR0.TRC0&_nkw=bayer+contour+usb&_sacat=0)
Unfortunately the shipping costs are too high.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: tinhead on June 19, 2013, 09:35:00 am
So how did you end up dumping the firmware? Just using the test points on the back? Or via the USB port?

dumped over JTAG, and yes, used the test points on back.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: tinhead on June 19, 2013, 09:38:33 am
Unfortunately the shipping costs are too high.

i paid 13USD for shippment from US to Germany, for 4pcs (so my total price was 5USD/pcs)

The trick was to ask the seller to not ship everythign (i don't need test strips or what so ever was inside) but only the "usb stick".
Many of medical stuff (well glucose testers) seller would accept this, as they can sell the test strips then separately and made
a few bucks extra.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 19, 2013, 09:47:18 am
One seller is selling a coupon for a free meter for $8.99!  |O

As far as the older meter, they are cheaper than the STM32VLDiscovery boards I'm seeing on Ebay.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 19, 2013, 09:51:22 am
Unfortunately the shipping costs are too high.

i paid 13USD for shippment from US to Germany, for 4pcs (so my total price was 5USD/pcs)

The trick was to ask the seller to not ship everythign (i don't need test strips or what so ever was inside) but only the "usb stick".
Many of medical stuff (well glucose testers) seller would accept this, as they can sell the test strips then separately and made
a few bucks extra.

Have you done anything interesting with it so far?
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: tinhead on June 19, 2013, 10:12:49 am
no, unfortunately not (except the pinout i posted and some tests with display).

I do have a big "junk box" (actually 5 of full storage boxes) with "items i will re-use soon", like Motorola
Xoom dummy with real 10.1display, DVB-S1 Opera box, Parrot DF3120 DPFs, multiple glucose testers
(AccuCheck Compact Plus, Wellon, Contour USB, etc) and actually lot of many other usefull things - but no time for that.

I'm probably one of these "buy & try & die" junk collectors ^^

Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: johnmx on June 19, 2013, 10:20:29 am
no, unfortunately not (except the pinout i posted and some tests with display).

I do have a big "junk box" (actually 5 of full storage boxes) with "items i will re-use soon", like Motorola
Xoom dummy with real 10.1display, DVB-S1 Opera box, Parrot DF3120 DPFs, multiple glucose testers
(AccuCheck Compact Plus, Wellon, Contour USB, etc) and actually lot of many other usefull things - but no time for that.

I'm probably one of these "buy & try & die" junk collectors ^^
You are not alone  ::)
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 19, 2013, 06:21:50 pm
I do that as well!
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on June 21, 2013, 02:23:48 am
Possible identification of the second chip, a Renesas V850 chip. It appears that glucometers are one of the mentioned applications as well as they provide sample glucometer firmware.

http://datasheet.octopart.com/UPD70F3796GC-UEU-AX-Renesas-datasheet-10979623.pdf (http://datasheet.octopart.com/UPD70F3796GC-UEU-AX-Renesas-datasheet-10979623.pdf)
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: paru on July 26, 2014, 01:39:03 pm
Hi,

Reviving the topic :)

Has anyone did anything with these meters (Contour USB). I found a few in a box :)
Should I try uploading an STM32 "standard" firmware? For what I see, besides JTAG, many ports are exposed, potentially making these devices useful.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Junction Runner on July 26, 2014, 02:10:56 pm
Hmm, I wonder if any stores around here in Canada have these/would accept the coupon.

edit: US only, figures.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on July 26, 2014, 11:04:45 pm
Hi,

Reviving the topic :)

Has anyone did anything with these meters (Contour USB). I found a few in a box :)
Should I try uploading an STM32 "standard" firmware? For what I see, besides JTAG, many ports are exposed, potentially making these devices useful.

I was never able to identify the chip used.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: paru on July 27, 2014, 10:02:46 pm
What chip? The main uC is easily available.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on July 28, 2014, 01:45:26 am
What chip? The main uC is easily available.

It is made by Toshiba. The part numbers don't really pull anything up. There were two versions of this device. One with an ARM chip made by ST and the other made by Toshiba which doesn't seem to match up with anything.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: paru on July 28, 2014, 09:03:17 am
I was focusing on the ones with the STM32 chip as they seem to be the most easily hackable.
The STM32 chip is widely supported and from what I see there are quite a few ports available. Moreover, the USB may be available to the main uC, enabling a few applications.

Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: PatrikLundin on November 05, 2014, 02:45:47 am
Rolling in from Google. Here's a few higher res pictures of the second (partly unidentified) version. Haven't gotten anywhere much either, not anywhere near as far as the pinout stuff (guess I should have hit google before brute forcing the Customer service code by hand :-)). Not much of a hardware guy really, I have a bus pirate, ttl and regular serial adapters, an avr flasher and some experience with cell phones, kindles, general remove and replace HW fixing but I'm pretty green to deeper stuff. I was mostly hoping to attack it from the driver/firmware end, perhaps at least get some USB-controlled GPIO pins out of the deal and perhaps practice some more with reversing random devices without risking anything I can't afford to fry. Came in the hopes of some HW specs, leaving slightly better than I came (tips hat) but still not terribly close to anything.

May or may not do more, may drop more here if I do.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: Stonent on November 06, 2014, 01:07:06 pm
Glad to see someone else was looking in to the Toshiba version.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: none on January 25, 2016, 10:44:25 pm
I have a  regular "next" model in front of me that seems to be using a Renesas µPD70F3794  V850ES/JG3-L (on-chip USB controller) with marking "D70F3794GC". It enumerates as "Contour NEXT" USB Input Device  HID (Human Interface Device) with VID 1A79 & PID 7350. There's also a Toshiba, probably the measurement frontend. It's got a very slow b/w transflective graphics LCD with white LED backlight, I guess it's serially controlled (was not able to find info yet). Power by 2 CR2032 lithium coin cells. EEPROM, some Winbond flash, Piezo buzzer. Everything looks well-designed.

Ah, great - this has already been known: https://www.eevblog.com/forum/chat/this-might-make-an-interesting-teardown-(free-usb-glucose-meter)/msg249820/#msg249820 (https://www.eevblog.com/forum/chat/this-might-make-an-interesting-teardown-(free-usb-glucose-meter)/msg249820/#msg249820)

Anyway. I'm not familiar with Renesas MCUs but a programming adapter could apparently be built relatively easily: http://elm-chan.org/works/sp78k/report_e.html (http://elm-chan.org/works/sp78k/report_e.html)
And I've read somewhere there might be GCC support. Not sure I'll investigate further, although I'd be interested (in USB-CDC and an UART for RS-232 and of course Display+Backlight, Keys, and Buzzer). It pretty much depends on an easy toolchain.
Title: Re: Free USB Glucose meter with OLED display (Now with teardown!)
Post by: liamg on November 09, 2018, 11:10:46 pm
Bayer updated the glucometer in Q4 2016 to add Bluetooth. New Renesas MCU and TI BLE.
I did a tear down here: www.cocoasteam.com (http://www.cocoasteam.com)