element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Safe and Sound
  • Challenges & Projects
  • Design Challenges
  • Safe and Sound
  • More
  • Cancel
Safe and Sound
Blog Safe and Sound - Winter/Cold weather survival suit Post 11
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dwinhold
  • Date Created: 28 May 2017 2:27 AM Date Created
  • Views 1551 views
  • Likes 6 likes
  • Comments 15 comments
  • safe and sound
  • carbon fiber
  • dwinhold
  • winter survival suit
  • cold
Related
Recommended

Safe and Sound - Winter/Cold weather survival suit Post 11

dwinhold
dwinhold
28 May 2017

In this post, I will show how everything is coming together and works. After a frustrating 2 ½ weeks with my code not working with the temperature sensors I got that issue solved. I did post the solution but here it is again. There was an error with Energia compiling the code for the MSP432 Red. Before I knew this, an error showed up while compiling saying “analogRead” was not declared. This was odd but I declared it in my code and everything compiled but wouldn’t read the sensors. I searched the internet for solutions and finally found a forum where this issue was brought up. There was a reply saying that 1 week ago Energia released an update to correct this issue.... Really…. So, I did an update and everything compiled and ran exactly as it should have. Now that all is good I can continue with my project!!!

 

 

Code completed and working:

//Winter Survival Suit Temperature
//Dale Winhold
//C = (F - 32)/ 1.8; Convert to celcius
#include "SPI.h"
#include "OneMsTaskTimer.h"
#include "LCD_SharpBoosterPack_SPI.h"
LCD_SharpBoosterPack_SPI myScreen;
int llPin = A14;       //Temperature sensor Left Leg
int rlPin = A13;       //Temperature sensor Right Leg
int laPin = A11;       //Temperature sensor Left Arm
int raPin = A9;        //Temperature sensor Right Arm
int ltPin = A8;        //Temperature sensor Left Torso
int rtPin = A6;        //Temperature sensor Right Torso
int LLegValue = 0;            
int RLegValue = 0;           
int LArmValue = 0;  
int RArmValue = 0;
int LTorsoValue = 0;
int RTorsoValue = 0;
int SettempValue = 25;
String LLegStr;
String RLegStr;
String LArmStr;
String RArmStr;
String LTorsoStr;
String RTorsoStr;
String SettempStr;
// setup 
void setup() {
    Serial.begin(9600);
    myScreen.begin();
   // setup LCD 
    myScreen.clearBuffer();   
    myScreen.setFont(0);
    myScreen.text(3, 1, "Set Temp:   c");
    myScreen.text(3, 14, "L-Leg       c");
    myScreen.text(3, 27, "R-Leg       c");
    myScreen.text(3, 40, "L-Arm       c");
    myScreen.text(3, 53, "R-Arm       c");
    myScreen.text(3, 66, "L-Tor       c");
  
    myScreen.text(3, 79, "R-Tor       c");
  
    myScreen.flush();
}
 
void loop()
{
  LLegValue = analogRead(llPin);    //Reading Temperature
    
  RLegValue = analogRead(rlPin); 
       
  LArmValue = analogRead(laPin);    
    
  RArmValue = analogRead(raPin); 
     
  LTorsoValue = analogRead(ltPin);
  
  RTorsoValue = analogRead(rtPin);
   
  LLegStr = String((LLegValue-32)*5/9);        //Converting F to C
  RLegStr = String((RLegValue-32)*5/9);          
  LArmStr = String((LArmValue-32)*5/9);          
  RArmStr = String((RArmValue-32)*5/9);        
  LTorsoStr = String((LTorsoValue-32)*5/9);       
  RTorsoStr = String((RTorsoValue-32)*5/9);
  
  SettempStr = String(SettempValue);

//Display temperature
    myScreen.setFont(0);
    myScreen.text(60, 1, SettempStr + "");
    myScreen.text(60, 14, LLegStr + ""); 
    myScreen.text(60, 27, RLegStr + "");   
    myScreen.text(60, 40, LArmStr + "");   
    myScreen.text(60, 53, RArmStr + "");  
    myScreen.text(60, 66, LTorsoStr + "");
    myScreen.text(60, 79, RTorsoStr + "");
    myScreen.flush();
//Heat on or off
if (((LLegValue-32)*5/9) < (SettempValue-3)) //Heat On
{
  digitalWrite(40, HIGH); //Power on to Relay Module to open power supply to carbon fiber
  myScreen.setFont(0);
  myScreen.text(85, 14, "H"); //Displays heat on icon
}
if (((LLegValue-32)*5/9) > (SettempValue+3))  //Heat off
{
  digitalWrite(40, LOW);  //Power off to Relay Module to close power supply to carbon fiber
  myScreen.setFont(0);
  myScreen.text(85, 14, "L"); //Displays heat off icon
}
if (((RLegValue-32)*5/9) < (SettempValue-3))
{
  digitalWrite(39, HIGH);
  myScreen.setFont(0);
  myScreen.text(85, 27, "H");
}
if (((RLegValue-32)*5/9) > (SettempValue+3))
{
  digitalWrite(39, LOW);
  myScreen.setFont(0);
  myScreen.text(85, 27, "L");
}
if (((LArmValue-32)*5/9) < (SettempValue-3))
{
  digitalWrite(38, HIGH);
  myScreen.setFont(0);
  myScreen.text(85, 40, "H");
}
if (((LArmValue-32)*5/9) > (SettempValue+3))
{
  digitalWrite(38, LOW);
  myScreen.setFont(0);
  myScreen.text(85, 40, "L");
}
if (((RArmValue-32)*5/9) < (SettempValue-3))
{
  digitalWrite(37, HIGH);
  myScreen.setFont(0);
  myScreen.text(85, 53, "H");
}
if (((RArmValue-32)*5/9) > (SettempValue+3))
{
  digitalWrite(37, LOW);
  myScreen.setFont(0);
  myScreen.text(85, 53, "L");
}
if (((LTorsoValue-32)*5/9) < (SettempValue-3))
{
  digitalWrite(36, HIGH);
  myScreen.setFont(0);
  myScreen.text(85, 66, "H");
}
if (((LTorsoValue-32)*5/9) > (SettempValue+3))
{
  digitalWrite(36, LOW);
  myScreen.setFont(0);
  myScreen.text(85, 66, "L");
}
if (((RTorsoValue-32)*5/9) < (SettempValue-3))
{
  digitalWrite(35, HIGH);
    myScreen.setFont(0);
  myScreen.text(85, 79, "H");
}
if (((RTorsoValue-32)*5/9) > (SettempValue+3))
{
  digitalWrite(35, LOW);
  myScreen.setFont(0);
  myScreen.text(85, 79, "L");
}
delay(100);
}

 

Hope it made sense!!

 

The suit:

All the carbon fiber is sewn into the suit (Thanks to my daughter Chrystal) and I have run tests for how many volts makes the carbon fiber heat up enough, but not to hot. For the legs and torso strips I need to have 14.8v to get me 52 deg C (125 deg F) which I found a very comfortable warmth. For the same result in the arms I required 7.4v, go figure, Chrystal made the carbon fiber ½ the length in the arms!! (Made my life easier). For fun, I ran the 14.8v to the arms to see how hot the carbon fiber would get, I disconnected the power when the temperature reached 86 deg C (187 deg F). Here again as suggested by DAB, I am doing a quick disconnect to all the carbon fiber as well as a manual over ride in case the computer should fail. Being a survival suit, the need to survive can’t rely solely on the computer working so I am putting over ride switches to each area for manual operation of the heater (this is not completed yet). Pictures below:

 

image

 

 

 

The wiring:
I ran CAT5e wires to the sensors. I found this was a nice light weight wire that was easy to use. As per DAB’s suggestion, I did a quick disconnect for the sensors in the legs (and the carbon fiber explained later). Since I am using CAT5e I wired in the usual male/female connector as my quick disconnect. It works very well as shown in the pictures:

 

image

 

image

 

 

I only had the leg sensors attached at this time, as you can see the four real weird temperatures and 2 correct ones!!

image

 

All hooked up!!

image

 

 

For a bit of a laugh, here is a picture of my home made board I through together that connects to the bottom of the MSP432. I did a PCB layout on AutoCAD, printed out an acid etch transfer and found I didn't have any blank PCB board left. No one in town had any either. I hope to get some in so I can make this a little more prettier.

image

 

 

 

Things to complete:
So, what is left to do? Here is my list:

  • Solder the sensors to the leads
  • Attach everything to the suit
  • Add in the carbon fiber power quick disconnects
  • Heater manual over ride
  • Case for computer and switch
  • Make pockets in the suit to hold the power supplies (Ohhhh Chrystal!!!)
  • Water proof the computer and hardware
  • Testing of completed suit

 

I want to thank everyone (dougw balearicdynamics Jan Cumps msimon mcb1 DAB **Sorry if I missed anyone**) for their help these past few weeks with my frustrations. I'm so happy those issues are out of the way!!

 

I also want to send an extra special thank you to DAB for the excellent suggestions he gave me to add into the suit. I'm using them all!! I truly can't thank you enough!!

 

Dale Winhold

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 8 years ago in reply to dwinhold +4
    Heat zones: Right chest, left chest, mid back (Theirs) Left leg, right leg, left arm, right arm, left torso, right torso (Mine) dwinhold Yes it is very hard to heat the legs when it's a jacket only Shorts…
  • mcb1
    mcb1 over 8 years ago +3
    I was looking in one of our local tool supplier catalogues the other day. They had two different heated jackets. As usual one was a cheaper asian knockoff with different number of heating elements in different…
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to mcb1 +3
    As a historycal motard I suggest to explore the byker heated trousers; these are interesting suits as should be powered by the USB plug or your motorcycle ... Very diffused in Germany (strange, uh?) E…
Parents
  • mcb1
    mcb1 over 8 years ago

    I was looking in one of our local tool supplier catalogues the other day.

    They had two different heated jackets.

     

    As usual one was a cheaper asian knockoff with different number of heating elements in different locations.

     

    The other was one a Milwaukee. (perhaps this one)

    https://www.milwaukeetool.com/power-tools/cordless/2390

     

    They say they are no longer stocked, so perhaps they had issues.

     

     

    I'm sure your properly controlled version will be much better.

    Plus you've added suitable insurance in it.

     

    Mark

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 8 years ago in reply to mcb1

    Thank you for the reply and the info mcb1

     

    I have just read up on the link you have posted, this is their older model with new ones on the market. In my search almost all the major tool companies are producing these jackets. The main reviews and complaints were - Negative: Cost, the heat is on or off (3 levels of heat), heats the body only  - Positives: Great for cold weather, comfortable - Some concerns were shocks if shorted out, all the warranties and safety paperwork say that due to the voltage being so low that the worse you would feel is a slight tingle (They assured no safety concerns are warranted).

     

    So I thought I would have fun with this and do a comparison of my own (Mine vs theirs)

     

    Heat settings:

    Off, low, medium, high (Theirs)

     

    Computer controlled using temperature sensors that only heat the area required until that area is up to temperature (Mine)

     

    Heat zones:

    Right chest, left chest, mid back (Theirs)

     

    Left leg, right leg, left arm, right arm, left torso, right torso (Mine)

     

    Heat run time:

    6-8 hours (Theirs)

     

    Not tested (Mine) Should be comparable

     

    Voltage:

    12v - 20v (Theirs)

     

    7.4v - 14.8v (Mine)

     

    Warranty:

    1 year (Theirs)

     

    Life time **Extremely Limited**  Read the fine print (Mine)

     

    Cost:

    $200+ (Theirs)

     

    Great sponsors (Thank you Texas Instruments and Element14), a few sensors $15, jogging suit $25, Msc $10, child labour (Thanks Chrystal) and frustrations (Mine)

     

     

    Hope you enjoyed reading this as I did writing it!!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • dwinhold
    dwinhold over 8 years ago in reply to mcb1

    Thank you for the reply and the info mcb1

     

    I have just read up on the link you have posted, this is their older model with new ones on the market. In my search almost all the major tool companies are producing these jackets. The main reviews and complaints were - Negative: Cost, the heat is on or off (3 levels of heat), heats the body only  - Positives: Great for cold weather, comfortable - Some concerns were shocks if shorted out, all the warranties and safety paperwork say that due to the voltage being so low that the worse you would feel is a slight tingle (They assured no safety concerns are warranted).

     

    So I thought I would have fun with this and do a comparison of my own (Mine vs theirs)

     

    Heat settings:

    Off, low, medium, high (Theirs)

     

    Computer controlled using temperature sensors that only heat the area required until that area is up to temperature (Mine)

     

    Heat zones:

    Right chest, left chest, mid back (Theirs)

     

    Left leg, right leg, left arm, right arm, left torso, right torso (Mine)

     

    Heat run time:

    6-8 hours (Theirs)

     

    Not tested (Mine) Should be comparable

     

    Voltage:

    12v - 20v (Theirs)

     

    7.4v - 14.8v (Mine)

     

    Warranty:

    1 year (Theirs)

     

    Life time **Extremely Limited**  Read the fine print (Mine)

     

    Cost:

    $200+ (Theirs)

     

    Great sponsors (Thank you Texas Instruments and Element14), a few sensors $15, jogging suit $25, Msc $10, child labour (Thanks Chrystal) and frustrations (Mine)

     

     

    Hope you enjoyed reading this as I did writing it!!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • mcb1
    mcb1 over 8 years ago in reply to dwinhold

    Heat zones:

    Right chest, left chest, mid back (Theirs)

     

    Left leg, right leg, left arm, right arm, left torso, right torso (Mine)

    dwinhold Yes it is very hard to heat the legs when it's a jacket only image

     

    Shorts are interesting, as it's not the voltage that is the issue, it's the very localised burning, and therefore extreme heating that is the problem.

     

    Yours has the advantage that it's worn beneath a more suitable outer jacket, whereas these are designed as the outer jacket, and therefore are rather limited.

     

    I thought about one for the skifield for when I'm fixing stuff, but I quickly decided that it was a waste of time, and only likely to get damaged ...which is why I don't wear my proper jacket.

     

     

    Your camparison does make a very positive comparison about the advantages, so you may wish to include it in your summary.

     

    Mark

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to mcb1

    As a historycal motard I suggest to explore the byker heated trousers; these are interesting suits as should be powered by the USB plug or your motorcycle ...  Very diffused in Germany (strange, uh?) image

     

    Enrico

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 8 years ago in reply to mcb1

    I definitely will include the comparison in my summery, great idea!! After posting the comparison I thought of a few more that would be good to add.

     

    Dale

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dwinhold
    dwinhold over 8 years ago in reply to balearicdynamics

    I too ride and will be using this suit for that purpose as well. There is an easy way to heat the trousers; take an after market plug in car seat heater and remove the element but leave the plug and switch attached. Attach the element to the trousers (There definitely is enough) and plug it into the bikes USB, makes for a nice cold weather ride!!

     

    I also SCUBA dive (Dry suit) in very cold water (Under ice) and want to figure out if this could develop into a safe, usable heat source. The obvious biggest issue is water and electronics don't mix (even with a dry suit, water does seep in over time.... But I never say never, anything is possible!!

     

    Dale

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • balearicdynamics
    balearicdynamics over 8 years ago in reply to dwinhold

    Yea Dale! Now it is explained the reason of your choice for this challenge image

     

    Enrico

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube