03 June, 2016

TP 4056 Charging Module Eagle Footprint

The TP4056 Charging Module can be found on eBay fairly cheap. They are small and powerful, with an 1A charging current. They exist in different USB versions but the PCB is always the same. Head over to candlepowerforums for a nice review of this charger.




Eagle PCB Footprint:




You can Download the Eagle library .lbr file Here.

26 May, 2016

Micro USB 4 vertical legs DIP Eagle Footprint

Micro usb connectors can easily break, so its important you use one that can be soldered strongly on the PCB. The one Sparkfun sells can break so I found one with 4 vertical legs.
I couldn't find the footprint anywhere, so I had to create my own.
These are relatively cheap micro-usb sockets with 4 vertical legs found easily on eBay, I bought 10 for about $1



Eagle PCB footprint:


This was the datasheet attached to the eBay listing, some measurements are missing:


I will update this post once I test these out


You can Download the Eagle library .lbr file Here.

17 January, 2016

MSK-12C02 SMD Slider Switch SPDT Eagle Footprint

I needed a SMD switch for a project and since I couldn't find the footprint online, I had to create it myself.

Sparkfun does sell similar switches as the one I wanted but I needed something cheaper, and eBay had just the part I had in mind. For about 2€/US$ you get 20 of them, including shipping.
So I ordered some but as I compared them with the Sparkfun Eagle footprint (SWITCH-SPDT-SMD-A), I noticed that they didn't fit quite right.




I followed this excellent guide from Sparkfun and designed the footprint based on this datasheet. Since my switches had already arrived, I confirmed the dimensions with a digital caliper. Everything seemed correct except for the legs, which where a little longer, so I increased the size of the pads a little.





Update: tested and fits good enough:




You can Download the Eagle library .lbr file Here.

05 January, 2016

Dexcom G4 (non slim) Transmitter battery replacement


In this post I will show you how I changed the batteries of a Dexcom G4 (non slim) transmitter. This is not an easy task because it involves cutting the batteries horizontally in half and you can easily destroy the transmitter if you cut in the wrong place. The batteries are sandwiched between the two circuit boards.
On the Dexcom G4 Slim this seems to be much easier because there is only one circuit board, so you don't have to cut the batteries in half. It has already been done, but the Forum thread got deleted.



Preparation

First I took some x-rays of the transmitter to precisely locate the batteries. Along the process I took x-rays to control and correct any mistakes. For now only consider the top left and right image.





I then measured the pictures taken and drew a plan of their position (units are in mm). I marked the position with a pen on the transmitter and started cutting it open with a Dremel and a disk.





Front Battery

You have to start cutting in the center of the battery and then expand the gap it by moving the Dremel disk up and down slowly.




Cut until right before the pins that connect the upper with the lower circuit board. Notice the black dot on the right, that is the encapsulation of the pins. Do not cut any further than this.





I then started prying away the old battery, taking care not to destroy the metal tabs that are tack-welded to it. Sadly I did not take any pictures of this step, but you can see it below on the back side battery.





Back Battery

Left and right dots are the connectors, in the center you can see the  front battery.



Here you can see the upper metal battery tab…



... and here the lower. Be careful to not break it off because this one is only connected to the PCB via a tiny metal band in the center of the larger tab (see arrow).






Side views








Battery replacement

The Dexcom transmitter uses two Maxwell SR1120W Silver Oxide Batteries which are connected in series, and have a voltage of 1.55V and a capacity of 55mah each. The SR1120W measures about 11.6 X 2.1mm. The transmitter battery status is send to the Dexcom receiver via a value that ranges between about 207-217. When this value reaches 207, it triggers the alarm to replace the transmitter.
The value normally stays constant at around 216 for a couple of months and then quickly drops in a matter of weeks/days. This makes sense because if you consult the datasheet of silver oxide batteries you can see that the voltage remains constant for a long time and then quickly drops in the last 1/3 of the graph.
With an xDrip setup you can read out this value in the System Status tab.


This is what remained of the batteries.



I experimented with different Brands and two form factors (SR1120W aka 391 & the slimmer SR1116W aka 365)



I came to the conclusion that the slimmer Renata 365 (47mah) had not enough juice to power the transmitter for more than a couple of months (even if only one was used combined with a 391). I also tried the Energizer 391 (60mah) but this one did not fit in the back side. In the end I used a Maxwell SR1120W in the back side and a Energizer 391 in the front side.




Renata 365 in the back and Energizer 391 in the front, showing a mere 210 in xDrip system status, which then dropped to 208 after a couple of minutes.




I had the feeling that the Energizer 391 is slightly thicker than the Maxwell SR1120W because it was very difficult to insert. Because of the tight fit I had to insulate the half of the lower tab with insulation tape so that the battery wouldn't short out. However I think this is not a problem with the Maxwell one (at the back side it worked just fine).


Energizer 391 (Front) covered in resin + Maxwell SR1120W (Back), showed a changing value of 217/216 in xDrip, which then stabilized at 217.







Finishing

I filled the empty space with light curing resin so it can be easily removed in a future battery change and covered it with a layer of epoxy glue for waterproofing.









Here is a video i made of the last replacement: 








If you have any questions feel free to ask me.

Links that helped me:

Thread on German forum insulinclub.de (Sadly the thread got deleted)
Similar Thread on tudiabetes.org
This post on hypodiabetic.co.uk
xDrip Project
This other Thread on tudiabetes.org