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. General Discussion
  3. What did you build today (Pictures) ?

What did you build today (Pictures) ?

Scheduled Pinned Locked Moved General Discussion
1.1k Posts 105 Posters 202.0k Views 98 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.
  • YveauxY Yveaux

    A temperature controlled PWM fan controller for my DPS5005 power supply!

    0_1513282712833_b39ad537-771a-4175-bb65-07a980b2b734-image.png

    The original 2-wire fan that came with the power supply casing made an incredible amount of noise.
    Using PWM to reduce its velocity made it even more noisy :imp:

    So, I made a fresh start and ordered a quality fan (almost as expensive as the whole casing...)

    Using nothing more than a 5V pro mini, piezo speaker, DS18B20 temperature sensor and a resistor I made a full fledged fan controller ;-)

    It takes the current temp from the DS18B20 (which will be mounted on the heatsink) and ramps up the fan linearly in the 30..60 C range. Below 30 C, the fan is off.
    If RPM readback indicates a stalled fan, or DS18B20 returns wrong values the buzzer will force me to invest what's wrong :muscle:

    mfalkviddM Offline
    mfalkviddM Offline
    mfalkvidd
    Mod
    wrote on last edited by
    #188

    @yveaux next step is to use the piezo for active noise cancelling ;-)

    YveauxY 1 Reply Last reply
    1
    • mfalkviddM mfalkvidd

      @yveaux next step is to use the piezo for active noise cancelling ;-)

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #189

      @mfalkvidd don't tempt me...

      http://yveaux.blogspot.nl

      gohanG 1 Reply Last reply
      0
      • YveauxY Yveaux

        @mfalkvidd don't tempt me...

        gohanG Offline
        gohanG Offline
        gohan
        Mod
        wrote on last edited by
        #190

        @yveaux that looks like a Noctua fan. I have a DPS5015 and I was planning to make some mods on the case (I got the other model that is bigger), so I guess I am gonna ask you for some code :D

        1 Reply Last reply
        0
        • YveauxY Yveaux

          A temperature controlled PWM fan controller for my DPS5005 power supply!

          0_1513282712833_b39ad537-771a-4175-bb65-07a980b2b734-image.png

          The original 2-wire fan that came with the power supply casing made an incredible amount of noise.
          Using PWM to reduce its velocity made it even more noisy :imp:

          So, I made a fresh start and ordered a quality fan (almost as expensive as the whole casing...)

          Using nothing more than a 5V pro mini, piezo speaker, DS18B20 temperature sensor and a resistor I made a full fledged fan controller ;-)

          It takes the current temp from the DS18B20 (which will be mounted on the heatsink) and ramps up the fan linearly in the 30..60 C range. Below 30 C, the fan is off.
          If RPM readback indicates a stalled fan, or DS18B20 returns wrong values the buzzer will force me to invest what's wrong :muscle:

          Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #191

          @yveaux said in What did you build today (Pictures) ?:

          The original 2-wire fan that came with the power supply casing made an incredible amount of noise.
          Using PWM to reduce its velocity made it even more noisy :imp:

          Less funny that way but did you try to lower the PWM frequency of the atmega to it's minimum ? I had the same problem with the fan I put in my fridge cabinet and low PWM frequency solved it.

          YveauxY 1 Reply Last reply
          0
          • Nca78N Nca78

            @yveaux said in What did you build today (Pictures) ?:

            The original 2-wire fan that came with the power supply casing made an incredible amount of noise.
            Using PWM to reduce its velocity made it even more noisy :imp:

            Less funny that way but did you try to lower the PWM frequency of the atmega to it's minimum ? I had the same problem with the fan I put in my fridge cabinet and low PWM frequency solved it.

            YveauxY Offline
            YveauxY Offline
            Yveaux
            Mod
            wrote on last edited by
            #192

            @nca78 I did fiddle with the frequency, but the fan was just total crap, so I decided to replace it anyhow.

            http://yveaux.blogspot.nl

            1 Reply Last reply
            2
            • tbowmoT Offline
              tbowmoT Offline
              tbowmo
              Admin
              wrote on last edited by
              #193

              @Yveaux @Nca78

              An RC filter could probably also make wonders for the fan. I had to add one for the parts fan on my 3D printer. Couldn't control the speed with PWM without the RC filter..

              Btw. probably a bit over the top of using an arduino as fan control? Unless you plan on adding a NRF radio, and report the temperature + PWM duty cycle to your mysensors system, and store the values in influxdb? ;)

              NeverDieN YveauxY 2 Replies Last reply
              1
              • tbowmoT tbowmo

                @Yveaux @Nca78

                An RC filter could probably also make wonders for the fan. I had to add one for the parts fan on my 3D printer. Couldn't control the speed with PWM without the RC filter..

                Btw. probably a bit over the top of using an arduino as fan control? Unless you plan on adding a NRF radio, and report the temperature + PWM duty cycle to your mysensors system, and store the values in influxdb? ;)

                NeverDieN Offline
                NeverDieN Offline
                NeverDie
                Hero Member
                wrote on last edited by NeverDie
                #194

                @tbowmo said in What did you build today (Pictures) ?:

                Btw. probably a bit over the top of using an arduino as fan control?

                Really? How so? Seems like the end result will be as quiet as possible, yet avoids stalling.

                YveauxY 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @tbowmo said in What did you build today (Pictures) ?:

                  Btw. probably a bit over the top of using an arduino as fan control?

                  Really? How so? Seems like the end result will be as quiet as possible, yet avoids stalling.

                  YveauxY Offline
                  YveauxY Offline
                  Yveaux
                  Mod
                  wrote on last edited by
                  #195

                  @neverdie said in What did you build today (Pictures) ?:

                  @tbowmo said in What did you build today (Pictures) ?:

                  Btw. probably a bit over the top of using an arduino as fan control?

                  Really? How so? Seems like the end result will be as quiet as possible, yet avoids stalling.

                  Indeed! I thought of going the analog way, but the final solution would be more expensive, I didn't have the parts at hand, it wouldn't have as many features and it would have cost me a lot more time...

                  http://yveaux.blogspot.nl

                  1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @Yveaux @Nca78

                    An RC filter could probably also make wonders for the fan. I had to add one for the parts fan on my 3D printer. Couldn't control the speed with PWM without the RC filter..

                    Btw. probably a bit over the top of using an arduino as fan control? Unless you plan on adding a NRF radio, and report the temperature + PWM duty cycle to your mysensors system, and store the values in influxdb? ;)

                    YveauxY Offline
                    YveauxY Offline
                    Yveaux
                    Mod
                    wrote on last edited by
                    #196

                    @tbowmo said in What did you build today (Pictures) ?:

                    An RC filter could probably also make wonders for the fan.

                    Probably, but again, the fan was total crap and made a lot of wind noise due to the bad condition of its blades.

                    http://yveaux.blogspot.nl

                    1 Reply Last reply
                    0
                    • tbowmoT Offline
                      tbowmoT Offline
                      tbowmo
                      Admin
                      wrote on last edited by
                      #197

                      a 555 and a couple of resistors / capacitors.. ;)

                      https://electronics.stackexchange.com/questions/91102/555-temperature-controlled-pwm

                      But then again, I recon that most of us might have more atmega328 based boards, than 555's in the parts bin :)

                      about the RC for PWM, it was meant as a hint for others that might fight problems with a fan that they couldn't control properly with PWM..

                      ben999B YveauxY 2 Replies Last reply
                      2
                      • tbowmoT tbowmo

                        a 555 and a couple of resistors / capacitors.. ;)

                        https://electronics.stackexchange.com/questions/91102/555-temperature-controlled-pwm

                        But then again, I recon that most of us might have more atmega328 based boards, than 555's in the parts bin :)

                        about the RC for PWM, it was meant as a hint for others that might fight problems with a fan that they couldn't control properly with PWM..

                        ben999B Offline
                        ben999B Offline
                        ben999
                        wrote on last edited by
                        #198

                        @tbowmo 555s need knowledge... i wouldn't know what to do with these :/ except cufflinks
                        arduinos are much more accessible ;)

                        1 Reply Last reply
                        0
                        • tbowmoT tbowmo

                          a 555 and a couple of resistors / capacitors.. ;)

                          https://electronics.stackexchange.com/questions/91102/555-temperature-controlled-pwm

                          But then again, I recon that most of us might have more atmega328 based boards, than 555's in the parts bin :)

                          about the RC for PWM, it was meant as a hint for others that might fight problems with a fan that they couldn't control properly with PWM..

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by
                          #199

                          @tbowmo said in What did you build today (Pictures) ?:

                          a 555 and a couple of resistors / capacitors..
                          https://electronics.stackexchange.com/questions/91102/555-temperature-controlled-pwm

                          Still, no tacho readback to detect stalled fans, no temperature sensor verification or overtemperature warning, no initial fan spinup and little control over how the fans reacts to temperature changes....

                          http://yveaux.blogspot.nl

                          1 Reply Last reply
                          1
                          • mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by mfalkvidd
                            #200

                            0_1513373376632_IMG_6260.JPG
                            Testing a flow meter.

                            It works pretty well, but at high flow rates (90 pulses per second) the esp8266 resets. Not sure if the reset is caused by too many interrupts or if the sensor uses too much power.

                            1 Reply Last reply
                            2
                            • dbemowskD Offline
                              dbemowskD Offline
                              dbemowsk
                              wrote on last edited by dbemowsk
                              #201

                              Though not fully finished, I am prototyping a new in-wall switch/scene controller with an integrated 128x64 OLED display. The design is made to fit my decora wall switch design that I had posted a while back. Here is a mock up of how I think the keypad and screen will be layed out.
                              !0_1513471867393_4ef1b764-81be-48e7-9047-0493e0467626-image.png
                              0_1513471973166_221268ef-db5a-4572-9929-536364bbd172-image.png

                              For the screen, I am hoping to display the current room temperature and possibly the outside temp. I can also scroll messages across the screen if needed. I can also do some custom graphics and icons.

                              I have tested the display connected to my uno with the Adafruit sample code and think it does a nice job. This is not my video, but it is the same sample code that I used to test it.
                              https://www.youtube.com/watch?v=ldq0-IXl_GM

                              I'll post more as I get further along.

                              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                              NeverDieN 1 Reply Last reply
                              7
                              • sinczeS Offline
                                sinczeS Offline
                                sincze
                                MySensors Evangelist
                                wrote on last edited by sincze
                                #202

                                Well as you can see, my prototyping skills are not at the level of @dbemowsk (always interested in the under side of the boards, mine look .. yeah a mess?), however I managed to create this enclosure (once closed looks nice enough).

                                It should control the programmable LED lights in my livingroom (900 pieces).The board is powered 5v from the same power supply as the LED's. In addition it needs to measure the lux in the livingroom to decide if it is dark enough to turn on the lights.

                                0_1513502717712_LED Controller.jpeg

                                Initial tests looked okay, however after finding 56 effects in the Doll House of @Yveaux I decided to use that FX library as well. However the Arduino Mega is out of RAM to accomodate a full controll of the 900 LEDS. It will only control around 650 LEDS with that FX library.

                                After being in contact with @Yveaux we decided to use an ESP solution. I have a spare NodeMCU v3 that can house the ESP gateway sketch and will have enough memory to controll the LEDs. Well now I have to look for a nice prototyping thing/case for the NodeMCU and add a level shifter as well. The LED's control line wants to be controlled by at least 3,7v.

                                This is the nice thing about these kind of projects.. "There is always something to do"

                                dbemowskD 1 Reply Last reply
                                4
                                • sinczeS sincze

                                  Well as you can see, my prototyping skills are not at the level of @dbemowsk (always interested in the under side of the boards, mine look .. yeah a mess?), however I managed to create this enclosure (once closed looks nice enough).

                                  It should control the programmable LED lights in my livingroom (900 pieces).The board is powered 5v from the same power supply as the LED's. In addition it needs to measure the lux in the livingroom to decide if it is dark enough to turn on the lights.

                                  0_1513502717712_LED Controller.jpeg

                                  Initial tests looked okay, however after finding 56 effects in the Doll House of @Yveaux I decided to use that FX library as well. However the Arduino Mega is out of RAM to accomodate a full controll of the 900 LEDS. It will only control around 650 LEDS with that FX library.

                                  After being in contact with @Yveaux we decided to use an ESP solution. I have a spare NodeMCU v3 that can house the ESP gateway sketch and will have enough memory to controll the LEDs. Well now I have to look for a nice prototyping thing/case for the NodeMCU and add a level shifter as well. The LED's control line wants to be controlled by at least 3,7v.

                                  This is the nice thing about these kind of projects.. "There is always something to do"

                                  dbemowskD Offline
                                  dbemowskD Offline
                                  dbemowsk
                                  wrote on last edited by
                                  #203

                                  @sincze I've done and seen a lot worse than this. Good job. Any particular reason you chose to use a Arduino Mega?

                                  Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                  Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                  sinczeS 1 Reply Last reply
                                  0
                                  • dbemowskD dbemowsk

                                    @sincze I've done and seen a lot worse than this. Good job. Any particular reason you chose to use a Arduino Mega?

                                    sinczeS Offline
                                    sinczeS Offline
                                    sincze
                                    MySensors Evangelist
                                    wrote on last edited by
                                    #204

                                    @dbemowsk Well first I started with my all time favourite... the Nano, as I have prototyping boards available.;-) but even with some simple light shows it did not have enough memory to hold de states of each individual 900 LEDs.

                                    I moved to the Mega. as it has more memory. My sketch worked fine so I started to build the node in its box. I also looked at the Github for the Doll House inspiration. I found the library that had 56 effects. So I thought why not use that one... Migrated my sketch, did a few tests with 300 LEDS, completed the enclosure and only than found out It could not controll all the 900 leds, due to memory issue. Insufficient RAM.

                                    But as this forum is a learning curve for me please feel free to share your thoughts. I always look at examples from others and see what I can do with it myself. I don't have fancy PCB equipment, justs a soldering iron and my own Aliexpress wearhouse with components ;-)

                                    dbemowskD 1 Reply Last reply
                                    0
                                    • sinczeS sincze

                                      @dbemowsk Well first I started with my all time favourite... the Nano, as I have prototyping boards available.;-) but even with some simple light shows it did not have enough memory to hold de states of each individual 900 LEDs.

                                      I moved to the Mega. as it has more memory. My sketch worked fine so I started to build the node in its box. I also looked at the Github for the Doll House inspiration. I found the library that had 56 effects. So I thought why not use that one... Migrated my sketch, did a few tests with 300 LEDS, completed the enclosure and only than found out It could not controll all the 900 leds, due to memory issue. Insufficient RAM.

                                      But as this forum is a learning curve for me please feel free to share your thoughts. I always look at examples from others and see what I can do with it myself. I don't have fancy PCB equipment, justs a soldering iron and my own Aliexpress wearhouse with components ;-)

                                      dbemowskD Offline
                                      dbemowskD Offline
                                      dbemowsk
                                      wrote on last edited by
                                      #205

                                      @sincze I should have known. All you had to say was memory and it would have made sense, or should I say sincze. LOL. With needing to hold states of 900 LEDs, I am going to guess that they are WS2812 LED strips.

                                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                                      sinczeS H 2 Replies Last reply
                                      0
                                      • dbemowskD dbemowsk

                                        Though not fully finished, I am prototyping a new in-wall switch/scene controller with an integrated 128x64 OLED display. The design is made to fit my decora wall switch design that I had posted a while back. Here is a mock up of how I think the keypad and screen will be layed out.
                                        !0_1513471867393_4ef1b764-81be-48e7-9047-0493e0467626-image.png
                                        0_1513471973166_221268ef-db5a-4572-9929-536364bbd172-image.png

                                        For the screen, I am hoping to display the current room temperature and possibly the outside temp. I can also scroll messages across the screen if needed. I can also do some custom graphics and icons.

                                        I have tested the display connected to my uno with the Adafruit sample code and think it does a nice job. This is not my video, but it is the same sample code that I used to test it.
                                        https://www.youtube.com/watch?v=ldq0-IXl_GM

                                        I'll post more as I get further along.

                                        NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by NeverDie
                                        #206

                                        @dbemowsk I like your buttons-OLED a lot. It would be nice to have available a generic module like this with a screen and buttons and which "just works" to use on different projects. Nice work!

                                        dbemowskD 2 Replies Last reply
                                        1
                                        • NeverDieN NeverDie

                                          @dbemowsk I like your buttons-OLED a lot. It would be nice to have available a generic module like this with a screen and buttons and which "just works" to use on different projects. Nice work!

                                          dbemowskD Offline
                                          dbemowskD Offline
                                          dbemowsk
                                          wrote on last edited by
                                          #207

                                          @neverdie I am hoping to soon have all of my boards posted on openhardware.io. I am just waiting for a reply on a thread I posted last night on what OHL to use when I upload them. I currently have a power supply board, the controller board that you see in the pics above, and a universal switch board that allows you to build it into everything from a single paddle switch to an 8 button scene controller. All of this fits a standard decora style US wall switch box. I designed the controller to be somewhat universal which is what gave me the flexibility for this design. I had thought about a similar design with this OLED display in which the buttons were layed out in an up, down, left, right and center select (U, D, L, R, S) configuration. If I ever get around to designing a board for this, I might see if it is possible for me to fit the buttons in a multi-configuration layout similar to my original button board where you can choose to make the 6 button layout like in my pics, or the U, D, L, R, S layout.
                                          0_1513528394316_2021346a-9389-4339-80b2-f5103df545ed-image.png

                                          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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


                                          16

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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