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.5k 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.
  • maghacM maghac

    Built a heat pump monitor based on mysensors on an Nano board and a few LM393 light sensors.

    It's simply reading the status LEDs and tells me if they're on or off, and it means I can correlate e.g the compressor or circulation pumps with the electricity usage read from the power meter.

    Also, which actually was the main driver behind the project, it allows me to send an alarm to my phone in case the alarm LED goes on. This is usually caused by incorrect pressure somewhere in the system and can be fixed by simply restarting the system. When the alarm triggers, it shuts down everything which is a bit annoying since it can take a few hours before I notice it (usually not until I go in the shower and there is no hot water). I now have to figure out how to deal with the fact that the alarm LED is blinking, which causes a stream of "alarm ON, alarm OFF, alarm ON, ... ." etc messages in Telegram :) There should be a way to fix this in Home Assistant I hope.

    An interesting thing was that I was not able to tune the sensors to give me an accurate on/off digital signal. I therefore have to read the analog signal, and in the sketch decide whether it's on or off depending on the value. The values are in the 0..1023 range and the threshold was somewhere around 1000, so I think it was too close to the end of the range for the adjustment potentiometer.

    photo_2020-01-28_22-19-25.jpg
    photo_2020-01-28_22-19-31.jpg
    photo_2020-01-28_22-19-34.jpg
    photo_2020-01-28_22-19-38.jpg
    photo_2020-01-28_22-19-42.jpg

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

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

    I now have to figure out how to deal with the fact that the alarm LED is blinking, which causes a stream of "alarm ON, alarm OFF, alarm ON, ... ." etc messages in Telegram There should be a way to fix this in Home Assistant I hope.

    You should fix it by using a flag for alarm led on and the last time the alarm led went on :

    • when led gets on, set the "alarm on" flag in your code, save the millis() of last alarm led on in a "last alarm led on" variable
    • in the loop, check status of the alarm led: if off and "alarm on" flag is on, compare millis() with "last alarm led on" time. If the difference is higher than the duration of a blink interval then your alarm is really off.
    maghacM 1 Reply Last reply
    0
    • Nca78N Nca78

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

      I now have to figure out how to deal with the fact that the alarm LED is blinking, which causes a stream of "alarm ON, alarm OFF, alarm ON, ... ." etc messages in Telegram There should be a way to fix this in Home Assistant I hope.

      You should fix it by using a flag for alarm led on and the last time the alarm led went on :

      • when led gets on, set the "alarm on" flag in your code, save the millis() of last alarm led on in a "last alarm led on" variable
      • in the loop, check status of the alarm led: if off and "alarm on" flag is on, compare millis() with "last alarm led on" time. If the difference is higher than the duration of a blink interval then your alarm is really off.
      maghacM Offline
      maghacM Offline
      maghac
      wrote on last edited by
      #913

      @Nca78 You're probably correct. I first wanted to keep the sensor "dumb" and put all logic in the controller, but it makes sense that the sensor actually returns the true alarm state - which is ON if the LED is blinking.

      1 Reply Last reply
      1
      • nagelcN Offline
        nagelcN Offline
        nagelc
        wrote on last edited by
        #914

        It's s WS2812B LED strip driver using STM32 blue pill and RFM69HCW.
        I have made a few revisions previously, but this one fits an off-the-shelf enclosure and uses the pcb and enclosure lid for strain relief on the LED strip connector wires.
        I like the concept of using the enclosure slots to hold the pcb. Maybe a slightly smaller enclosure next time.

        20200202_132206.jpg

        1 Reply Last reply
        2
        • Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by Nca78
          #915

          Today, a 5uA always on display with a PCF8553 LCD driver and a GDC1038 LCD from GoodDisplay. Power consumption varies with voltage but mostly with what segments are on/off, but at 3.3V with segments on to display data on all parts of display (2*4 digit numbers and 3 letters) it's always below 6uA.

          cbcf188c-16f4-4b62-be82-a6aaab2cbade-image.png

          Not sure why the Youtube video won't integrate as it should, but here it is for a more animated version:
          https://youtu.be/QyaC7J84vN8

          1 Reply Last reply
          5
          • pihomeP Offline
            pihomeP Offline
            pihome
            wrote on last edited by
            #916

            very first working Ethernet gateway :)

            2020-01-31 18.56.26.jpg 2020-01-31 18.56.37.jpg 2020-01-31 18.56.53.jpg

            PiHome - Smart Heating Control

            1 Reply Last reply
            2
            • Nca78N Offline
              Nca78N Offline
              Nca78
              Hardware Contributor
              wrote on last edited by
              #917

              Today I finished to fix failed soldering (too old solder paste made a mess :cry: ) on the "motherboard" of my air quality sensor.
              It's based on ESP32, uses a charging IC with power path so it can run on batteries for around a day or stay plugged without destroying the battery, step down from USB/battery to get VCC, storage on I2C EEPROM, flash and/or µSD card (depending on use case), one SK6812 mini RGB led as indicator, a small 240*240 IPS LCD (backlight driven directly by ESP32 pin in high drive capability mode), a 3 way switch for basic user interface + footprint for PAJ7620 gesture recognition module, accelerometer and I2C IO expander to manage the 3 way switch and interrupts from sensor modules.
              Sensor modules will be added on top, connected using an FPC connector. At the moment I made only one sensor PCB able to manage usual PM, CO2 and formaldehyde sensors. Only one sensor per sensor board where an attiny841 manages the UART sensor and convert it to I2C, it also manages the 5V step up to power the sensor.
              On the main board I also added an NRF24 footprint so with the same PCB I will be able to make a gateway with integrated battery backup.

              I'm pretty happy with the relatively well aligned components (no, I don't have OCD :D ) , too bad I had to unsolder, clean and re-solder each component as it now looks botched up. But at least everything (except a missing connection on µSD card, hence the blue wire) is working,
              475bc52b-5bba-450f-aaa0-74eac94a1fb3-image.png

              LCD test showing jpgs from SD card
              c6334b2c-acf5-480f-aca3-c7ad5f191def-image.png

              1 Reply Last reply
              5
              • berkseoB Offline
                berkseoB Offline
                berkseo
                wrote on last edited by berkseo
                #918

                My new mini multi device on nRF52810, nRF52811, nRF52832 chips. Designed specifically for a very small case from Aliexpress. It works!!!

                bme280, sht20/21, si7020/si7021, hdc1080, max40009, lis2dw12, lis2dh12, lmt01, reed switch, led + rgb led, user button and 6 analog pins, 6 digital pins with NFC.
                photo_2020-03-14_23-52-41.jpg
                photo_2020-03-14_23-52-42.jpg
                photo_2020-03-15_01-17-36.jpg
                photo_2020-03-15_01-17-41.jpg
                photo_2020-03-15_01-36-40.jpg
                photo_2020-03-15_01-17-39 (2).jpg

                VIDEO:
                https://youtu.be/uxe9G3y720g

                1 Reply Last reply
                7
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by sundberg84
                  #919

                  Today I designed a case for EasyPCB with 2xAA holder on the back.

                  e63319a9-b160-47ea-be2b-6b3353636e06-image.png
                  a7bd451f-72d7-4004-88b0-64c43dd0e192-image.png

                  and a case that slides just over.

                  269327e4-e5b7-4e28-85d6-183862119e61-image.png

                  It works with 3x5 version so for this you accually have to use the more advanced option and reflash the fuses on your pro mini to make it 3x5. The normal EasyPCB with booster is 5x5, but Im thinking of just stretching this for another version.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  mfalkviddM 1 Reply Last reply
                  4
                  • sundberg84S sundberg84

                    Today I designed a case for EasyPCB with 2xAA holder on the back.

                    e63319a9-b160-47ea-be2b-6b3353636e06-image.png
                    a7bd451f-72d7-4004-88b0-64c43dd0e192-image.png

                    and a case that slides just over.

                    269327e4-e5b7-4e28-85d6-183862119e61-image.png

                    It works with 3x5 version so for this you accually have to use the more advanced option and reflash the fuses on your pro mini to make it 3x5. The normal EasyPCB with booster is 5x5, but Im thinking of just stretching this for another version.

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

                    @sundberg84 just a suggestion; wouldn't it be good to move the batteries to the right (instead of the left) so they block the nrf antenna less?

                    sundberg84S 1 Reply Last reply
                    1
                    • mfalkviddM mfalkvidd

                      @sundberg84 just a suggestion; wouldn't it be good to move the batteries to the right (instead of the left) so they block the nrf antenna less?

                      sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by
                      #921

                      @mfalkvidd - a great suggestion! It wont not block it completely but as you say, a little less.

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      1 Reply Last reply
                      0
                      • NeverDieN Offline
                        NeverDieN Offline
                        NeverDie
                        Hero Member
                        wrote on last edited by NeverDie
                        #922

                        Here's another idea too: if you were to add a blank copper cladded FR4 between the batteries and the PCB above it, with a cut-out below where the antenna is, then maybe you'd have a much improved ground plane, making your radio awesome? You could have little drawer like grooves on the side of your case to slide the copper cladded FR4 into position, and, of course, you would want a ground connection to it.

                        1 Reply Last reply
                        1
                        • sundberg84S Offline
                          sundberg84S Offline
                          sundberg84
                          Hardware Contributor
                          wrote on last edited by
                          #923

                          Not sure about that groundplane @NeverDie - you are most probably right but I dont really understand the theory behind it but sounds really cool!

                          3f1897f8-e82a-4554-92bf-ac16a9fe3045-image.png

                          Controller: Proxmox VM - Home Assistant
                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                          NeverDieN 1 Reply Last reply
                          0
                          • sundberg84S sundberg84

                            Not sure about that groundplane @NeverDie - you are most probably right but I dont really understand the theory behind it but sounds really cool!

                            3f1897f8-e82a-4554-92bf-ac16a9fe3045-image.png

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

                            @sundberg84 Here's all the theory you need in one picture:
                            alt text
                            Most of the modules use a monopole antenna, and as near as I can tell, most of them, if not all of them, have insufficient ground plane. It still works, of course, but it's impaired over what it would be with a better ground plane. I think maybe that's why whenever someone switches to a dipole antenna they generally notice a huge improvement. So, there's always that, but your design is nice because it's so compact, and a dipole would spoil that.

                            sundberg84S 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @sundberg84 Here's all the theory you need in one picture:
                              alt text
                              Most of the modules use a monopole antenna, and as near as I can tell, most of them, if not all of them, have insufficient ground plane. It still works, of course, but it's impaired over what it would be with a better ground plane. I think maybe that's why whenever someone switches to a dipole antenna they generally notice a huge improvement. So, there's always that, but your design is nice because it's so compact, and a dipole would spoil that.

                              sundberg84S Offline
                              sundberg84S Offline
                              sundberg84
                              Hardware Contributor
                              wrote on last edited by
                              #925

                              @NeverDie - so a ground plane like in here? Like that mod Pete did in his video but you inmplement it into the 3d case?

                              3214fd69-c25b-4aa6-a2df-fdd54de776ed-image.png

                              Controller: Proxmox VM - Home Assistant
                              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                              1 Reply Last reply
                              1
                              • NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by
                                #926

                                Yeah, the flat piece that the red line points to. I'm not sure what those black spray painted things are, so I'm ignoring those.

                                1 Reply Last reply
                                1
                                • NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #927

                                  Made a dead-bug op-amp circuit to help measure open-circuit voltages created by nano-amp currents generated by a solar cell illuminated by just 1 lux of very dim light:
                                  alt text
                                  This picture is actually just the LDO part of the op-amp circuit, where I was able to solder the prescribed surface mount capacitors directly between its pins. The larger circuit is described on this thread: https://forum.mysensors.org/topic/10812/the-harvester-ultimate-power-supply-for-the-raybeacon-dk/122
                                  Why dead-bug you ask? Since the circuit depends on the correct measurement of the effects of mere nanoamps, I didn't want any leakage currents that might happen on a protoboard, which can be significant when it's just a small number of nanoamps and their effects that's under scrutiny.

                                  1 Reply Last reply
                                  1
                                  • sundberg84S Offline
                                    sundberg84S Offline
                                    sundberg84
                                    Hardware Contributor
                                    wrote on last edited by
                                    #928

                                    Updated my GW with the code @mfalkvidd provided to monitor OK and NACK

                                    a2a53f2e-6227-451f-baf6-bc2ed2d66111-image.png

                                    Controller: Proxmox VM - Home Assistant
                                    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                    1 Reply Last reply
                                    4
                                    • nagelcN Offline
                                      nagelcN Offline
                                      nagelc
                                      wrote on last edited by
                                      #929

                                      I got tired of twisting DuPont cabels to get from different programmers to different boards.
                                      This is an adapter that lets me connect the programmers I commonly use (Jlink-mini, BMP, STLink clone) with the boards I commonly program with straight through wires. I left a couple unpopulated for future in and out.

                                      jlink_adapter.jpg

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

                                        Finally I am starting to do a little electronics again.. First thing is a prototype assembly of RASLE (Rpi Arcade Sound and Light Extension). It's a custom made arduino "coprocessor" for a raspberry pi, built into retropie arcade cabinets. It's a joint project with a couple of friends that are building arcade cabinets (I built mine a couple of years ago, I think that there is pictures earlier in this thread).

                                        20200331_175528.jpg

                                        Features:

                                        • stereo 3W class-d amplifier
                                        • atmega328p
                                          • 3 pwm channels for LED strips
                                          • a port for WS2812 type led strips
                                          • pwm channel for fan
                                          • output for a relay to control mains input for the box (let the rpi shutdown cleanly, before disconnecting power)
                                          • 5 button inputs (shared between rpi and atmega)
                                        1 Reply Last reply
                                        2
                                        • franz-unixF Offline
                                          franz-unixF Offline
                                          franz-unix
                                          wrote on last edited by
                                          #931

                                          Hi, finished two nodes based on the same multi-purpose battery powered pcb (all the documentation here)

                                          One is a door / window sensor based on a Reed switch.

                                          20200223_175402.jpg 20200223_175502.jpg

                                          If someone is interested, the dedicated wiki page contains the detailed build instructions.

                                          The other is a soil moisture sensor.

                                          final-1.jpg cover.jpg

                                          For this one, the wiki page is here.

                                          Happy Easter, even if at home!

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


                                          18

                                          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