element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 Survival Suit Post #8
  • 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: 23 Apr 2017 1:28 AM Date Created
  • Views 874 views
  • Likes 4 likes
  • Comments 5 comments
  • safe and sound
  • winter
  • safe & sound
  • dwinhold
  • winter survival suit
Related
Recommended

Safe and Sound: Winter Survival Suit Post #8

dwinhold
dwinhold
23 Apr 2017

This week’s update is about the temperature sensors and dealing with the possibility of moisture issues.

 

First is the temperature sensors:

 

I finally received the temperature sensors yesterday!! I have been working most of today with Energia to get them working. At the time of writing this blog I am still working on the script. I will post an update blog when it’s up and running. The sensors are the DS18B20 Temperature Sensors. OneWire requires a single 4.7K pullup resistor, connected between the pin and +5 volts. Then just connect each 1-wire device to the pin and ground. Some 1-wire devices can also connect to power, or get their power from the signal wire. It looks like I made a bit more work for myself ordering this type of sensor. This Maxim series temperature sensor works on the Maxim OneWire protocol which needs a single contact serial interface. I downloaded the libraries “OneWire-master” and “Dallas Temperature” then transferred them into the libraries folder in Energia. It looks like I will be doing some re-programming of my script to get the MSP432 to read the sensors. At least I can move forward on my project!!

 

 

This information was copied from https://www.pjrc.com/teensy/td_libs_OneWire.html

 

 

Basic Usage

OneWire myWire(pin)

Create the OneWire object, using a specific pin. Even though you
can connect many 1 wire devices to the same pin, if you have a large number,
smaller groups each on their own pin can help isolate wiring problems. You can
create multiple OneWire objects, one for each pin.

 

myWire.search(addrArray)

Search for the next device. The addrArray is an 8 byte array. If
a device is found, addrArray is filled with the device's address and true is
returned. If no more devices are found, false is returned.

 

myWire.reset_search()

Begin a new search. The next use of search will begin at the
first device.

 

myWire.reset()

Reset the 1-wire bus. Usually this is needed before communicating
with any device.

 

myWire.select(addrArray)

Select a device based on its address. After a reset, this is
needed to choose which device you will use, and then all communication will be
with that device, until another reset.

 

myWire.skip()

Skip the device selection. This only works if you have a single
device, but you can avoid searching and use this to immediatly access your
device.

 

myWire.write(num);

Write a byte.

 

myWire.write(num, 1);

Write a byte, and leave power applied to the 1 wire bus.

 

myWire.read()

Read a byte.

 

myWire.crc8(dataArray, length)

Compute a CRC check on an array of data.

 

 

 

Second is the moisture issue:

 

I have purchased a liquid that can be applied to the electronic circuits that protects them against moisture and other environmental concerns. I added the product description below. The cost was $23 cdn through Amazon.

 

MG Chemicals Acrylic Lacquer Conformal Coating

 

  • 419C Acrylic Conformal Coating is an IPC 830 certified, fast drying, xylene and toluene free product that provides an excellent finish. It is easy to use and does not require special or costly equipment to apply
  • It is ideal for high moisture environments and applications requiring easy repair and rework
  • The 419C coating protects electric circuit against moisture, dirt, dust, thermal shocks, and scratches that could corrode, short circuit, or otherwise damage the electric component
  • It insulate against high-voltage arcing, shorts and static discharges; this coating provides high dielectric withstand voltage allows traces to be put closer together helping with miniaturization

 

Product description

419C Acrylic Conformal Coating is an IPC 830 certified, fast drying, xylene and toluene free product that provides an excellent finish. It is easy to use and does not require special or costly equipment to apply. It is ideal for high moisture environments and applications requiring easy repair and rework. The 419C coating protects electric circuit against moisture, dirt, dust, thermal shocks, and scratches that could corrode, short circuit, or otherwise damage the electric component. It insulates against high-voltage arcing, shorts, and static discharges. As well as, this coating provides a high dielectric withstand voltage that allows traces to be put closer together helping with miniaturization. Super fast cure - reduces production and maintenance bottlenecks. No hazardous air pollutants - free of toluene and xylene. Externally qualified to IPC-CC-830B by Pacific Testing Laboratories, Inc. Meets UL 94V-0. UL Recognized. Excellent finish - smooth, homogeneous, and durable crystal clear coat. Protects electronics from moisture, corrosion, fungus, and static discharges. Easy to inspect - fluoresces under UV. Easy rework and repairs - can solder through coat; remove with MG Chemicals Thinner/Cleaner or Conformal Coating Stripper. Visual crystal clear color. Excellent solderability, weather resistance, fungus resistance, flexibility, moisture and insulation resistance and thermal shock. 94V-0 Flammability. Ether-like, gasoline and minty odor. 3-5 minutes tack free. 2 minutes recoat time. 24 hours full cure (at room temperature). 30 minutes full cure (at 65 degree C /149 degreee F). -65 to 125 degree C service temperature. Less than 12 800 sq cm (less than 13.7 sq ft) maximum coverage for 25 micrometer (1 mil). ROHS Compliant.

 

Thank you

 

Dale Winhold

  • Sign in to reply

Top Comments

  • mcb1
    mcb1 over 8 years ago +2
    I usually run all three wires, the +5v, Data and ground. I haven't run it in 'parasitic' mode and as I understand only works well with a single sensor. The 4k7 is a pull-up but if there are multiple devices…
  • DAB
    DAB over 8 years ago +2
    Nice update and interesting find on the moisture sealant. DAB
  • dwinhold
    dwinhold over 8 years ago in reply to DAB +1
    Hi DAB, I have you to thank for the suggestion about moisture concerns. It was in the back of my mind to deal with it but became forefront when you mentioned it as well. I thought about going to one of…
Parents
  • mcb1
    mcb1 over 8 years ago

    I usually run all three wires, the +5v, Data and ground.

    I haven't run it in 'parasitic' mode and as I understand only works well with a single sensor.

     

     

    The 4k7 is a pull-up but if there are multiple devices on the bus, it can be lower.

     

    I think we had someone running a large number of Dallas One Wire temperature sensors in the Forget Me Not challenge.

    Have a look there as there may be some clues.

     

    Mark

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

    Hi Mark,

     

    Thank you for the information, I will definitely be reading the blog. The new sensors have given me a little challenge!!

     

    Dale

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

    Hi Mark,

     

    Thank you for the information, I will definitely be reading the blog. The new sensors have given me a little challenge!!

     

    Dale

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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