Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    temerature sensor for Wipy 2.0 w/ext. board

    Scheduled Pinned Locked Moved WiPy 2&3
    wipyexpansion boardsensorstemperature
    8 Posts 5 Posters 2.4k Views 5 Watching
    Loading More Posts
    • 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.
    • K Offline
      kop524
      last edited by kop524

      So me and my friends want to do project for university based on my WiPy 2.0 put into extension board.
      Project is:
      Make multi-point temperature sensor system that will measure temp. on min. 4 sensors and will visualise all 4 sensors in real time on 2d or 3d diagram using any dev board and language.

      And we havem problems with choosing right temp sensors that will work with wipy2 with no probs (or at least that won't have too much of them ;) and what modules will we need?
      Other thing is taht we will not have money for PySense module especially that my WiPy is already connected to expansion board and I'm not sure if it's ok to try to pull module out of it.

      I've been thinking about DS18B20 from botland and btw yes I'm from Poland so this shop would be perfect :)

      Regards, Horacy :)

      robert-hhR 1 Reply Last reply Reply Quote 0
      • B Offline
        Bettina administrators
        last edited by

        Hi,
        I just saw your post.

        Check this out: https://www.hackster.io/55969/fridge-sensor-6989a6

        Best wishes
        Bettina

        Bettina
        Pylot at Pycom

        1 Reply Last reply Reply Quote 0
        • J Offline
          joe2612
          last edited by

          Hi @kop524 , that temperature sensor (DS18B20) is correct!

          1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @kop524
            last edited by

            @kop524 said in temerature sensor for Wipy 2.0 w/ext. board:

            Other thing is taht we will not have money for PySense module especially that my WiPy is already connected to expansion board and I'm not sure if it's ok to try to pull module out of it.

            It's no problem to remove a WiPy2 from the expansion board. I do it all the time. Just pull it out straight.

            1 Reply Last reply Reply Quote 0
            • K Offline
              kop524
              last edited by

              Hey sorry for no reply had no time due to my university.
              Few more things do I nned Breadboard to connect them?
              Which libs are needed to run those sensors?
              Do You guys know some code templates to run them?

              As I said it will be like:
              4 sensors taking temps inreal time and (s1 + s2 +s3 +s4)/4
              and use led on exp. board to show if it's ok or too high/low on that basis.

              Regards, Horacy.

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                livius @kop524
                last edited by

                @kop524
                for DS18B20 you need only one lib
                https://github.com/pycom/pycom-libraries/blob/master/lib/onewire/onewire.py

                and this is simple to use like

                temps = DS18X20(Pin('P10'))
                

                and then temps.roms return you list of DS18B20 sensors
                you can read them one by one passing rom as parameter to start_conversion and read_temp_async func

                think about people first, then computers

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kop524 @livius
                  last edited by

                  @livius Thx for fast reply do I need to have breadbooard or not?
                  And which pins will be the best to connect sensors?

                  L 1 Reply Last reply Reply Quote 0
                  • L Offline
                    livius @kop524
                    last edited by livius

                    @kop524 said in temerature sensor for Wipy 2.0 w/ext. board:

                    As near all pins can be redirected then choose is quite simple
                    i only ommit for sensors pins used for SD card communication and sometimes inputonly
                    look at https://docs.pycom.io/chapter/datasheets/
                    there are good descriptions about pins - you must choose self.

                    think about people first, then computers

                    1 Reply Last reply Reply Quote 0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    • 1 / 1
                    • First post
                      Last post

                    Pycom on Twitter

                    Pycom