Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Help getting started - temperature sensor network for beginner

Help getting started - temperature sensor network for beginner

Scheduled Pinned Locked Moved My Project
14 Posts 9 Posters 6.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • majicM majic

    First post. Thanks to anyone who takes the time to read and respond. After spending some time on the site and forum to day this looks like an active community so I am optimistic that I'll get some readers!

    Personal Background: Studied computer engineering undergrad but it's been 6+ years since I've done any legitimate programming or hardware work. I'm willing to put in the work and learn but am aiming to hack things together based on others' code and descriptions rather than writing any new software. I have no experience with Arduino, Raspberry Pi, or other DIY platforms commonly mentioned on MySensors.

    Project goal: Create a temperature monitoring network in my apartment building. We live in an older building and frequently have owners complain that it's too cold in the winter. We'd like to monitor temperature in multiple units to see whether the complaints are real and where specific problems may exist. There are 12 units on 6 floors. The goal would be to put sensors in approximately 5-8 of the units and relay the data into my apartment, where it would be logged. I would like to do this project inexpensively. Depending on the success of this project I may pursue follow-up projects, but for now I don't need to do anything "fancy"; it just needs to collect the temp. data from each node wirelessly and store the information. Refresh speed is not important; a reading every few minutes would be perfectly adequate.

    Questions:
    0. Does anyone here know of a similar project for which someone has posted instructions that I could use?

    1. What gear do I need to accomplish this? It's not 100% clear to me from reading the 'components' section of this site what I actually need.
      a. Sensors: From what I gather, each sensors will require an Arduino board, radio, and sensor (and possibly a resistor, capacitor, or two)?
      b. Gateway & controller: Sorry if I've missed something on the site or am being dense but what's the difference between these two? Do I need to have something expensive like the Vera Edge? Can I use a Raspberry Pi setup instead (eg with the B+ board)? I have an old laptop that can be dedicated to this project - can that be used in some way?
      c. Other stuff? Breadboards, soldering iron, etc?
    2. Will the software tools provided by MySensors be sufficient for what I'm trying to achieve with basic hardware?
    3. Is this project too ambitious for someone who's brand new to this field?

    Assuming I take this on, I plan to document my project closely and hope the content will be useful to other newbies interested in getting back into tinkering and playing with code.

    Thanks!

    EasyIoTE Offline
    EasyIoTE Offline
    EasyIoT
    wrote on last edited by
    #3

    @majic Hi, as @tbowmo sad it may be problem with MySensors range, because you are having 6 floors. Of course you can use relay nodes, but why complicate things. If you are already using WiFi network in your building maybe ESP8266 WiFi module is better choice.

    --
    EasyIoT framework http://iot-playground.com

    1 Reply Last reply
    0
    • B Offline
      B Offline
      boozz
      wrote on last edited by
      #4

      @majic
      I think it can be done almost without soldering, at least in the prototype phase.
      I started recently with a similar project as yours, using hardware from ebay. Pro-mini + nrf24L01 radio's and some ds18b20 temperature sensors and a usb-serial-ttl converter. All (4xpro-mini, 4x nrf24L01, 5xds18b20) around €20. My goal is to get a sensornetwork up and running, but without an (expensive) controller like the VERA as is used in here. El cheapo, but working. It's a hobby...and should stay a hobby.
      I'm currently at the status that I have an serial-gateway and a single node talking to each other. The node uses the ds18b20 ic's for temperature and sends it to the serial gateway. From there I use a datlogger (based on LabView and serial communication) to log the received data. All working for some days now.

      What is missing at the moment is the knowledge how to get a repeater node up and running, thus getting a larger distance covered by using the network possibilities. I think I have to start a threat on this as I could not find relevant info here in the forums. Maybe anyone can point me if there is some...

      About your initial questions:

      1. No precise instructions I think
        2a. need Arduino's (pro-mini, radios, breadboard, dupont cables, sensors) won't be that expensive, but of course depends on your situation / perception
        2b. I'm trying without the controller, even without an RB-pi. Old laptop should be usable I think if you can communicate to your gateway via your own written controller....
      2. Yes, I think so. Changed some minor things, and it works at the moment
      3. Depends on your background. I'm a mechanical engineer, but got it working...

      Good luck, and keep posting your results!

      Boozz

      1 Reply Last reply
      0
      • majicM Offline
        majicM Offline
        majic
        wrote on last edited by majic
        #5

        Many thanks to @boozz , @EasyIoT , and @tbowmo for their quick responses and encouragement. After spending more time on the site and hunting around on eBay I've come up with a possible parts list that I think should get me well on my way to setting up a 4 node network with room for expansion by adding more Arduino boards. All for about US $70 (including shipping).

        Parts list is below. Some follow-up questions for others:

        1. With the MySensors library and guides will this gear allow me to set up 4 of the Pro Minis as wireless temperature transmitters and the 5th board connected to a laptop as the receiver?

        2. Thoughts on using Linux vs. Windows as an operating system for Arduino projects?

        3. Any recommendations on battery setups for the temp sensor boards? 2 AA batteries and a step-up power converter for each one?

        4. Should I consider getting 5V Pro Minis instead of the 3.3v? I'm thinking it's easier to use the 3.3v's because then I don't need a voltage regulator between the arduino and the transmitter. However, if the transmission range is significantly worse, that could change my mind. But I'm hoping that the "sensor-repeater" setup would overcome this issue.

        5. Is it worth getting an 'easier to use' Arduino like the Uno? I feel like I should be fine with the Pro Minis and breadboard setup.

        Parts list with links:

        • 5-pack Arduino Pro Mini Atmega328 3.3v 8M board and FTDI USB-serial adapter [$14]: link
        • FT232RL USB-serial adapter [$5]: link
        • 10-pack of NRF24L01+ Wireless transceiver [$11]: link
        • 10-pack of DS18B20 Dallas temperature sensors [$11]: link
        • Breadboard + 65-pack of male-male jumper cables + Power Supply [$7]: link
        • 5-pack of mini breadboards [$5]: link
        • Assorted pack of 600 resistors [$5]: link
        • Assorted pack of 100 capacitors [$5]: link
        • Assorted packs of male-female jumper cables and female-female cables [$3]: link and link
        • Soldering equipment TBD. Will buy on Amazon or may be able to get some used gear from a friend.
        BulldogLowellB RJ_MakeR 2 Replies Last reply
        0
        • majicM majic

          Many thanks to @boozz , @EasyIoT , and @tbowmo for their quick responses and encouragement. After spending more time on the site and hunting around on eBay I've come up with a possible parts list that I think should get me well on my way to setting up a 4 node network with room for expansion by adding more Arduino boards. All for about US $70 (including shipping).

          Parts list is below. Some follow-up questions for others:

          1. With the MySensors library and guides will this gear allow me to set up 4 of the Pro Minis as wireless temperature transmitters and the 5th board connected to a laptop as the receiver?

          2. Thoughts on using Linux vs. Windows as an operating system for Arduino projects?

          3. Any recommendations on battery setups for the temp sensor boards? 2 AA batteries and a step-up power converter for each one?

          4. Should I consider getting 5V Pro Minis instead of the 3.3v? I'm thinking it's easier to use the 3.3v's because then I don't need a voltage regulator between the arduino and the transmitter. However, if the transmission range is significantly worse, that could change my mind. But I'm hoping that the "sensor-repeater" setup would overcome this issue.

          5. Is it worth getting an 'easier to use' Arduino like the Uno? I feel like I should be fine with the Pro Minis and breadboard setup.

          Parts list with links:

          • 5-pack Arduino Pro Mini Atmega328 3.3v 8M board and FTDI USB-serial adapter [$14]: link
          • FT232RL USB-serial adapter [$5]: link
          • 10-pack of NRF24L01+ Wireless transceiver [$11]: link
          • 10-pack of DS18B20 Dallas temperature sensors [$11]: link
          • Breadboard + 65-pack of male-male jumper cables + Power Supply [$7]: link
          • 5-pack of mini breadboards [$5]: link
          • Assorted pack of 600 resistors [$5]: link
          • Assorted pack of 100 capacitors [$5]: link
          • Assorted packs of male-female jumper cables and female-female cables [$3]: link and link
          • Soldering equipment TBD. Will buy on Amazon or may be able to get some used gear from a friend.
          BulldogLowellB Offline
          BulldogLowellB Offline
          BulldogLowell
          Contest Winner
          wrote on last edited by
          #6

          @majic said:

          Should I consider getting 5V Pro Minis instead of the 3.3v? I'm thinking it's easier to use the 3.3v's because then I don't need a voltage regulator between the arduino and the transmitter. However, if the transmission range is significantly worse, that could change my mind. But I'm hoping that the "sensor-repeater" setup would overcome this issue.

          Consider the voltage and power as separate , however related, issues. Getting the most out of the RF requires plenty of power standing by...use a good power supply and caps on the radio. The other issue is wether you want to power up for sensors that may need 5V or powering down from 5 to 3.3 for the radio... There is no definitive one way, but you are absolutely on your way to success!

          1 Reply Last reply
          0
          • majicM majic

            Many thanks to @boozz , @EasyIoT , and @tbowmo for their quick responses and encouragement. After spending more time on the site and hunting around on eBay I've come up with a possible parts list that I think should get me well on my way to setting up a 4 node network with room for expansion by adding more Arduino boards. All for about US $70 (including shipping).

            Parts list is below. Some follow-up questions for others:

            1. With the MySensors library and guides will this gear allow me to set up 4 of the Pro Minis as wireless temperature transmitters and the 5th board connected to a laptop as the receiver?

            2. Thoughts on using Linux vs. Windows as an operating system for Arduino projects?

            3. Any recommendations on battery setups for the temp sensor boards? 2 AA batteries and a step-up power converter for each one?

            4. Should I consider getting 5V Pro Minis instead of the 3.3v? I'm thinking it's easier to use the 3.3v's because then I don't need a voltage regulator between the arduino and the transmitter. However, if the transmission range is significantly worse, that could change my mind. But I'm hoping that the "sensor-repeater" setup would overcome this issue.

            5. Is it worth getting an 'easier to use' Arduino like the Uno? I feel like I should be fine with the Pro Minis and breadboard setup.

            Parts list with links:

            • 5-pack Arduino Pro Mini Atmega328 3.3v 8M board and FTDI USB-serial adapter [$14]: link
            • FT232RL USB-serial adapter [$5]: link
            • 10-pack of NRF24L01+ Wireless transceiver [$11]: link
            • 10-pack of DS18B20 Dallas temperature sensors [$11]: link
            • Breadboard + 65-pack of male-male jumper cables + Power Supply [$7]: link
            • 5-pack of mini breadboards [$5]: link
            • Assorted pack of 600 resistors [$5]: link
            • Assorted pack of 100 capacitors [$5]: link
            • Assorted packs of male-female jumper cables and female-female cables [$3]: link and link
            • Soldering equipment TBD. Will buy on Amazon or may be able to get some used gear from a friend.
            RJ_MakeR Offline
            RJ_MakeR Offline
            RJ_Make
            Hero Member
            wrote on last edited by
            #7

            @majic Just be careful, I believe alice1101983 has been sending out NRF24L01 (the non + version); you need the + version.

            RJ_Make

            majicM 1 Reply Last reply
            0
            • RJ_MakeR RJ_Make

              @majic Just be careful, I believe alice1101983 has been sending out NRF24L01 (the non + version); you need the + version.

              majicM Offline
              majicM Offline
              majic
              wrote on last edited by
              #8

              @ServiceXp said:

              @majic Just be careful, I believe alice1101983 has been sending out NRF24L01 (the non + version); you need the + version.

              Thanks for the tip. Another option I found from a US-based seller ("flygoodly") for about the same price: link

              1 Reply Last reply
              0
              • P Offline
                P Offline
                pete1450
                wrote on last edited by
                #9

                Shameless plug for my post, but if you don't want to involve a HA controller, my setup may be perfect. It requires some linux experience to set up but anything you need can be Googled. A perl script reads sensor data and stores it in a sqlite database where you can query it any way you want. Runs on a dirt cheap Pogoplug which has the added benefit of using very little power.

                http://forum.mysensors.org/topic/719/graphing-sensor-data

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  pete1450
                  wrote on last edited by
                  #10

                  I should also point out; the same thing could be done by any computer you don't mind leaving on. Just install perl(and the serial/sqlite libraries) and maybe make a few tweaks to the script. You could simplify it more by just writing the data to a file as comma separated values and use excel to graph it.

                  majicM 1 Reply Last reply
                  0
                  • P pete1450

                    I should also point out; the same thing could be done by any computer you don't mind leaving on. Just install perl(and the serial/sqlite libraries) and maybe make a few tweaks to the script. You could simplify it more by just writing the data to a file as comma separated values and use excel to graph it.

                    majicM Offline
                    majicM Offline
                    majic
                    wrote on last edited by
                    #11

                    @pete1450 said:

                    I should also point out; the same thing could be done by any computer you don't mind leaving on.
                    ...
                    You could simplify it more by just writing the data to a file as comma separated values and use excel to graph it.

                    Yes, this is what I am hoping to do, at least for the proof of concept phase - get a small network of sensors set up with pro minis, dallas sensor and the NRF24L01+ , use one board as the gateway, and skip the controller. Write the data to a text file and dump it into Excel to check on it each day. A more complex setup could come later if I decide to do other interesting things.

                    Thanks for the link to your project. Using the pogo plug sounds interesting.

                    Did you wind up getting the Vera for Christmas? If so what's the plan? Nano->Vera as a controller and then use the Pogoplug as a web server?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      pete1450
                      wrote on last edited by
                      #12

                      I did. Vera will be the controller and the pogoplug will be used for logging data and serving pages to report on it.

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        Krunal Vaghani
                        wrote on last edited by
                        #13

                        I want to get temperature data from multiple nodes.
                        I have connected nodes via DHCP 01, 02 upto 05 to Master 00.
                        & When i add New node in dynamic network it showing address 012 on Master node 00
                        But i am not able to receive transmitted data from 012 node to master node....
                        myCode: https://goo.gl/ggTei4 & Photo : https://goo.gl/Sq28tC

                        Thank You

                        1 Reply Last reply
                        0
                        • majicM majic

                          First post. Thanks to anyone who takes the time to read and respond. After spending some time on the site and forum to day this looks like an active community so I am optimistic that I'll get some readers!

                          Personal Background: Studied computer engineering undergrad but it's been 6+ years since I've done any legitimate programming or hardware work. I'm willing to put in the work and learn but am aiming to hack things together based on others' code and descriptions rather than writing any new software. I have no experience with Arduino, Raspberry Pi, or other DIY platforms commonly mentioned on MySensors.

                          Project goal: Create a temperature monitoring network in my apartment building. We live in an older building and frequently have owners complain that it's too cold in the winter. We'd like to monitor temperature in multiple units to see whether the complaints are real and where specific problems may exist. There are 12 units on 6 floors. The goal would be to put sensors in approximately 5-8 of the units and relay the data into my apartment, where it would be logged. I would like to do this project inexpensively. Depending on the success of this project I may pursue follow-up projects, but for now I don't need to do anything "fancy"; it just needs to collect the temp. data from each node wirelessly and store the information. Refresh speed is not important; a reading every few minutes would be perfectly adequate.

                          Questions:
                          0. Does anyone here know of a similar project for which someone has posted instructions that I could use?

                          1. What gear do I need to accomplish this? It's not 100% clear to me from reading the 'components' section of this site what I actually need.
                            a. Sensors: From what I gather, each sensors will require an Arduino board, radio, and sensor (and possibly a resistor, capacitor, or two)?
                            b. Gateway & controller: Sorry if I've missed something on the site or am being dense but what's the difference between these two? Do I need to have something expensive like the Vera Edge? Can I use a Raspberry Pi setup instead (eg with the B+ board)? I have an old laptop that can be dedicated to this project - can that be used in some way?
                            c. Other stuff? Breadboards, soldering iron, etc?
                          2. Will the software tools provided by MySensors be sufficient for what I'm trying to achieve with basic hardware?
                          3. Is this project too ambitious for someone who's brand new to this field?

                          Assuming I take this on, I plan to document my project closely and hope the content will be useful to other newbies interested in getting back into tinkering and playing with code.

                          Thanks!

                          K Offline
                          K Offline
                          kimot
                          wrote on last edited by
                          #14

                          @majic
                          Are you able create the wifi network in all your house?
                          ( wifi bridges on each floor etc? )
                          If yes, then buy some Sonoff units, flash ESPEasy to them, connect Dallas temperature sensor, plug in to the electricity outlet in each flat and instal Domoticz in your computer.
                          You can see graph data on your computer then.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          19

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          Posts


                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular