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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum A white board excercise on designing a Raspberry Pi temperaturing measuring device
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 29 replies
  • Answers 17 answers
  • Subscribers 667 subscribers
  • Views 2901 views
  • Users 0 members are here
  • raspberry_pi
  • pitempature
Related

A white board excercise on designing a Raspberry Pi temperaturing measuring device

colporteur
colporteur over 7 years ago

Looking for input on the design of a temperature measuring device using a Raspberry Pi.
 

I would like to use this forum to do a white board design exercise on a project I am developing. One of the interactions I miss after retiring from a 37 years career in technology, is the ability to sit with a group of techies and socialize an idea to get their perspectives. I would like to try using the Element14 community for such an exercise.
 

In a closed group, I would know the backgrounds of the individuals participating and from experience be able to evaluate their have opinions. Not all opinions have value. Using this forum doesn’t afford many of the face to face controls. I would like to work around that. I suspect there will be more overhead on my part to evaluate the input. I look forward to interacting with those who wish to participate.
 

Please provide your input around designing a temperature recording device using a raspberry Pi. The term input is defined as suggestions, recommendations, best practices, directions or questions. The pi_temp u

 

Looking for input on the design of a temperature measuring device using a Raspberry Pi.
 

I would like to use this blog to do a white board design exercise on a project I am thinking of starting. One of the interactions I miss after retiring from a 37 years career in technology, is the ability to sit with a group of tech guys to socialize an idea and get perspectives you may not have thought about. I would like to try using the Element14 blog for such an exercise.
 

In a closed group, I would know the backgrounds of the individuals participating and from experience be able to evaluate their have opinions. Using this forum doesn’t afford those controls. I can accept that. I suspect there will be little more overhead on my part to evaluate the input. I look forward to inacting with those who wish to participate.
 

Please provide input around designing a temperature recording device using a raspberry Pi. The term input, can be defined as suggestions, recommendations, best practices, directions or questions. The pi_temp unit will be used to measure and record water and air temperatures in and around an Atlantic Salmon fish ladder. The ability to operate without AC power would be an advantage but not a requirement. The unit will be isolated and have no access to a communication network. Data collected should be stored locally and retrieved manually on, no predetermined schedule. The unit may be deployed in rugged conditions exposed to the elements. People deploying and operating the unit, as well as collecting the data may have little technical skills.
 

Context:

I made an offer to build a device using a Pi, for a non-profit organization that works for the preservation of Atlantic salmon, to record water and air temperature and store the data for collection. This is a volunteer project with no funding provided. All cost are out of pocket. There are no plans to make this into a commercial product. I will write for publication in a technical resource when the project is complete. I saw a manual process and thought, hey I can fix that.
 

The project provides only the personal gain of applying years of technology knowledge to assist in solving a real world problem. My retirement now affords me time to take advantage of some of the offerings in the Element14 community.
 

Before starting the final design, I will make a post on this forum containing a list of the requirements I have gathered and hope to achieve in the project. This is mean’t to be a white board dialog exercise (experiment) to solicit input from tech folks. I welcome your participation.

  • Sign in to reply
  • Cancel
Parents
  • colporteur
    0 colporteur over 7 years ago

    Not sure if posting to my own comment is acceptable or if editing the original post is preferred. Good and bad to both.

     

    I have started the build (bill) of materials.

     

    BoM

    -Pi 3

    -3A power supply

    -16G SD card

    -weatherproof enclosure

     

    -DS3231 Real time clock Module

    -2X DS18B20 Temperature sensor

     

    Design criteria under consideration

    Provide air and water temperature

    Management of data collection schedule

    Management of data storage

    How to communicate with a Pi to extract data

     

    Enter contest for PiJuice battery unit

     

     

    Sean

    DS3231 Clock Module

    DS18B20 Temperature sensor

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • a531016
    0 a531016 over 7 years ago in reply to colporteur

    Sean,

     

    That is certainly the approach I would (and have) taken in the past. I like to affordability and compatibility of the BS18B20 sensors, and you can buy waterproof versions for the water sensing. You don't need any ADC circuitry, and a one-off "offset" calibration should do the job. I have had up to 4 connected in series to the single gpio on a PI.

     

    I have done a couple of things with the readings:

    1. save to text file, and SSH to retrieve
    2. Store in a mySQL database and serve by web page (Apache and PHP) as table, download file or graph
    3. or send as recorded to an API to save remotely (maybe best for a battery option, so the results are saved as you go).

     

    I have used Cron to request the recording (15 min intervals), although depending on your required log frequency and time period, a python script may be better. Of course a hybrid of "local cache" and send to server is probably wise - belt and braces!

     

    David

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • colporteur
    0 colporteur over 7 years ago in reply to a531016

    Thanks for the feedback on temperature sensor. My plan was to use two of them. I have ordered waterproof versions from an online website. Relatively inexpensive. I have no experience with the devices. What I found online regarding them appears to be pretty straight forward. I have some experience with DHT11 & DHT22 temp sensors.

     

    Ideally I would like to use SSH, but there is no network.  Now I was thinking of using a serial connection but that requires user intervention to make connection. I was hoping there was some suggestion of bluetooth capabilities. I also thought of making the Pi an access point and seeing if a connection could be established that way. Any suggestions along these lines or others would be appreciated.

     

    If I consider battery supply, then reducing it power footprint (i.e. transmitting signals) would be important.

     

    Appreciate your insight.

     

    Sean

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • colporteur
    0 colporteur over 7 years ago in reply to a531016

    Thanks for the feedback on temperature sensor. My plan was to use two of them. I have ordered waterproof versions from an online website. Relatively inexpensive. I have no experience with the devices. What I found online regarding them appears to be pretty straight forward. I have some experience with DHT11 & DHT22 temp sensors.

     

    Ideally I would like to use SSH, but there is no network.  Now I was thinking of using a serial connection but that requires user intervention to make connection. I was hoping there was some suggestion of bluetooth capabilities. I also thought of making the Pi an access point and seeing if a connection could be established that way. Any suggestions along these lines or others would be appreciated.

     

    If I consider battery supply, then reducing it power footprint (i.e. transmitting signals) would be important.

     

    Appreciate your insight.

     

    Sean

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • a531016
    0 a531016 over 7 years ago in reply to colporteur

    Sean,

     

    A little more detail may be helpful if you can provide it?

    1. For what period will the device be deployed between human interaction?
    2. What logging frequency do you need to achieve?
    3. Are there any GSM networks (texting the data could be an option)?

     

    From what you have said, and thinking about power conservation, I think appending your logs to a text file as they are recorded would be more efficient than running a database engine. Also having a script that fired when a usb flash storage device is attached is more frugal from a power consumption point of view than anything wireless (bluetooth, wifi or GSM). This would allow a human with no skill to retrieve the data, but you would want some LEDs to indicate the copy and completion status? Does that sound like a viable option?

     

    Also I would avoid installing a full OS with a GUI (command line only) and maybe consider an older PI or a PI 0 for the project, as they have lower power consumption, and processing power or RAM shouldn't be an issue for this project (my before mentioned project is running on a RPI B).

     

    David

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • colporteur
    0 colporteur over 7 years ago in reply to a531016

    I am thinking of taking a temperature reading once every hour. Data collection ideally would be done every day. That being said, capacity would need to be there to store if a day is missed. I don’t see the data collection and retention capacity as an issue. I will do some testing to confirm the requirements of storing date/time and two temperature values.
     

    My big concern is how to transfer the data from the Pi to a portable laptop. The Pi is on top of a dam. An externsion cord from a work site is the only power. There is no network to use. I’m not willing to explore cellphone technology.
     

    Can bluetooth be used to transmit data. The attendant has to attend the gate to release salmon that have climbed the ladder. Can they pull the data from the Pi over a bluetooth connection. I can leave a serial connection for this but would like to keep fingers from interacting with the Pi.
     

    What about making the Pi as a wireless Access Point (AP). Can a wireless connection from the laptop accessing the AP use that network to talk to the Pi?

     

    Sean

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 7 years ago in reply to colporteur

    Hi Sean,

     

    Bluetooth can be used to transmit data, however this implies that the laptop also needs some software written to fetch individual records or specified content. It could be far easier for your particular scenario to use the Pi as a web server accessible by WiFi, and let the laptop user browse to it using IE, Chrome, etc. That way no additional software is needed to be written to access/download the data or view graphs, etc., and any laptop can then be used, or mobile device, without having to write an app.

     

    Google search reveals the Pi can be configured in AP mode, I've not tried this but it's a reputable site:

    https://learn.sparkfun.com/tutorials/setting-up-a-raspberry-pi-3-as-an-access-point

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Problemchild
    0 Problemchild over 7 years ago in reply to colporteur

    Look in to  setting up a LoRa based network or just point to point at low bit rates it's capable of several KM  paticularly if you can get it to be line of sight with each other!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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