COMPLETED.. VMusic2 / BS2P40 Temperature data logger for Polar Bear Plunge in T
WBA Consulting
Posts: 2,935
So, I am doing the Polar Bear Plunge at South Lake Tahoe to raise money for Special Olympics of Northern California this Saturday, 3/21, and I got thinking that it would be cool to make a waterproof temperature datalogger to wear for the plunge. I need some help because I only have the Sensirion Temp sensors which cannot be submerged and the only USB drive device I have is the Vmusic2.
Anyone have any experience using the VMusic2 as a regular datalogger?
Any suggestions for a temp sensor that I can attach to my ankle, thigh, or waist?
It needs have a quick response and be waterproof.
Anyone in the Sacramento/Roseville area that can loan me the needed devices?
Suggestions for waterproofing the BS2? (plan is using a waterproof digital camera case or lure case from walmart)
thanks!
for more info about the plunge, go here:
http://forums.parallaxinc.com/www.kintera.org/faf/donorReg/donorPledge.asp?ievent=294439&supId=242419345
the page uses java, so it loads a little slow.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
Post Edited (WBA Consulting) : 3/25/2009 3:58:15 PM GMT
Anyone have any experience using the VMusic2 as a regular datalogger?
Any suggestions for a temp sensor that I can attach to my ankle, thigh, or waist?
It needs have a quick response and be waterproof.
Anyone in the Sacramento/Roseville area that can loan me the needed devices?
Suggestions for waterproofing the BS2? (plan is using a waterproof digital camera case or lure case from walmart)
thanks!
for more info about the plunge, go here:
http://forums.parallaxinc.com/www.kintera.org/faf/donorReg/donorPledge.asp?ievent=294439&supId=242419345
the page uses java, so it loads a little slow.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
Post Edited (WBA Consulting) : 3/25/2009 3:58:15 PM GMT
Comments
If you have to use the sensiron, you can cover the whole module except the temperature sensor with conformative coating, and the temperature sensor with metal spray paint. It might permanently ruin the humidity sensor, though.
http://www.vernier.com/probes/tmp-bta.html
perhaps with one of these to connect it to your recording device:
http://www.vernier.com/accessories/access.html?bta-elv&btd-elv&template=basic.html
I've used the analog protoboard connector to connect Vernier probes to Stamp and Propeller modules. It works just fine.
I think I may still try to seal a Sensirion as SRLM suggests. I have plenty of those to play with and plenty of code. Also, I have one of the SF1 caps and took another look at the spec sheet. I found that, when sealed and epoxied to the PCB properly, the cap will provide IP67 protection. (up to 1 meter submersion)
Next steps:
Start looking for code examples with a Z curve thermistor and a BS2.
Start looking into using the VMusic2 as a USB datalogger.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
If it is an actual "plunge"...meaning you'll be getting out faster than you got in, your sensor might not acclimatize fast enough.
Why not just get an old LM35 temp sensor and heat shrink it. Walk up to the hole with the sensor taped to the end of a pole and dunk it in.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!
steve_b The response time was a main concern, but I do plan on giving the sensor at least 10 seconds. The two probes I have are pretty responsive. I took this QTI sensor at room temp (10.86Kohm = 71.6F/22C) and dropped it in a cup of icewater. It settled at 27Kohm (36.5F/2.5C) in 13 seconds. It took about 10 minutes to get back to room temp.
I found this thread for vmusic code as a datalogger:
http://forums.parallax.com/showthread.php?p=678818
However, I found this code of a BS2/SD datalogger and that will reduce the overall size. I have all the parts, so that looks enticing.
forum.sparkfun.com/viewtopic.php?t=11295&highlight=sensirion+diptrace
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
I will be trying the conformal coating and SF1 cap on the sensirion tomorrow.
I think I have also come up with a solution for the case by rigging up a socket for the BS2P40 with all the other parts.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
I coated the SHT11 module and SF1 filter cap with Dow Corning conformal coat and it looks pretty good. Still works so far. I am going to do another coat before I give it the dunk test.
I added a status LED so I will be able to see that data is being logged without having to check the USB stick.
I modified the VMusic2 module with a 2nd USB connector on extensions so I can reposition the USB stick to save enclosure real estate. After all of that work, I found my PQI memory stick which is about the size of a USB connector. Oh well.
Latest code and pictures attached. Excuse the mess.....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
Here's me question: What's the best way to power this setup with minimal components?
1) 9 volt battery with 7805 feeding 5 volts to the BS2P40, SHT11, VMusic2 individually?
2) 9 volt battery feeding the BS2P40 and running the VMusic2 and SHT11 off of VDD from the BS2P40?
3) Power the SHT11 using an IO pin?
A) VMusic2 datasheet states a "5 volt supply" but everything is dropped to 3.3 except the USB stick. Unknown current draw.
SHT11 can function from 2.4 to 5.5 volts and draws less than 5mA.
C) BS2P40 spec is 5.5-12 volts for Vin or 5 for VDD. Draw
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
I think your option number 1 is the best bet. The VMusic2+flash drive is going to draw upwards of 150 mA or more when active. Some brands of flash drive draw more than others. It is too big a demand on the Stamp's internal regulator. Use an ample filter capacitor.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
FINAL PROJECT RESULTS:
Good news: My "portable" version setup worked perfectly with my program and I only had one assembly error.
Bad news: Short answer, "worked perfectly with the wrong program".
I actually wasn't able to work on it Friday night because we were with family til late, so I gave up on taking the logger since it wasn't "made" . However, my wife (gotta love her) made sure I had time in the morning. I finished my setup just before heading to Tahoe and it seemed to work. Logger LED functioned correctly during the plunge, another plus. No water made it into the 3 layers of ziploc bags.
Got home, plugged in the USB stick and no file.....well, just the old file named THERM.txt, no "PLUNGE.txt" which is what my latest version creates. I let the program run at home again, status LED was fine, plugged in the USB stick, only the therm.txt. I deleted the therm.txt file so the drive was blank, tried again.... just the therm.txt file; Hey, wait, I thought I deleted that......insert light bulb here......(the old PEBKAC error)
When I reprogrammed the stamp for 1200 samples instead of 10 samples, I used the older version "plungelogger.bsp" that only read the thermistor (instead of "plungeloggerSHT.bsp") and saved the file as therm.txt. So I did have thermistor data from the jump, until I deleted it during my debugging.
The USB stick is quarantined until I confirm the data is unrecoverable. I am running some low level disk tools on it now.
overall, had a blast, can't wait til next year. Pictures of setup are attached. (a little messy, but I did it from scratch in 35 minutes)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio
I came across a few other things as well and I will be creating a new thread for those to be answered.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andrew Williams
WBA Consulting
IT / Web / PCB / Audio