ESP32-Cam on your water meter with "AI-on-the-edge" -- also for gas and power meters

Sdílet
Vložit
  • čas přidán 25. 07. 2024
  • If you wanna throw a dime in my hat:
    paypal.me/MeikDangmann
    Note: My shown kromschroeder gas meter has a recess in which magnetic pulses can be read with a reed switch. These are given at each zero crossing of the second decimal place of the counter. This would certainly have been the simpler approach.
    Links:
    github.com/jomjol/AI-on-the-e...
    3D-Models:
    www.printables.com/de/social/...
    www.printables.com/de/model/1...
    www.printables.com/de/model/1...
    www.printables.com/de/model/1...
    www.thingiverse.com/makermeik/
    0:00 Intro
    0:50 Requirements
    1:39 3D-Model and camera focus
    3:05 Firmware installation
    4:21 Wiring of the ESP32-cam
    6:25 Hardware modification
    9:44 Installation on the water meter
    10:43 Initial setup
    13:07 MQTT, Node-Red, Grafana, ...
    14:00 Outro
  • Věda a technologie

Komentáře • 291

  • @makers_lab
    @makers_lab Před 3 lety +3

    What a great project. I've used a PIC to time electricity meter pulses in the past, but taking the actual reading is a very nice idea and more general.

  • @miguelraulgonzalez7744
    @miguelraulgonzalez7744 Před 3 lety +1

    Beautifully executed project. Congratulations 👏👏

  • @SpiZeak
    @SpiZeak Před 3 lety +8

    Thank you for the tip about removing the infrared filter, I had no idea you could use this with IR-leds

  • @DarkChasmGamers
    @DarkChasmGamers Před 3 lety +9

    The production value of this is really good. It's on the level of really big channels. Please keep at it :)

  • @vibhvesh
    @vibhvesh Před rokem

    Thank you! I'm glad you find the project intriguing. It's true that using a camera to capture actual readings adds versatility to the monitoring process. In the past, relying solely on timing pulses with a PIC provided useful data, but integrating a camera with AI capabilities takes it a step further. By leveraging AI, the captured images can be processed and converted into text, providing more detailed and accurate readings. This approach opens up possibilities for various applications and extends the functionality of the system. It's exciting to see how combining different technologies can lead to innovative solutions.

  • @MatSmithLondon
    @MatSmithLondon Před 2 lety

    I always thought this was something I should do but didn’t know about ESP cam and the firmware you showed. Thanks!

  • @migueldebasel2405
    @migueldebasel2405 Před 3 lety

    Beeindruckendes Video!
    Nicht nur die Qualität der Präsentation kann mit den "Großen" der Makerszene bequem mithalten, sondern besonders der Inhalt ist klug gewählt, und hervorragend aufbereitet. Überschauberer Aufwand, sowohl handwerklich als auch auf Software-Seite interessant, und dann hat das Ganze auch noch seinen Nutzen ;-)
    Wundersam, dass dieser Kanal noch keine 4 bis 5-stellige Zahl an Abonenten hat. Aber wenn das hier auf diesem Niveau weitergeht, dann ist es wohl nur eine Frage der Zeit. Natürlich habe ich gleich ein paar ESP32 mit Kamera bestellt und den Drucker angeworfen. Danke, dass das FreeCAD-Modell zur Verfügung gestellt wurde; so konnte der Halter in ein paar Minuten auf meine Etagenzähler angepasst und die Parabeln für den Lichtdurchlass entfernt werden.

  • @Clark-Mills
    @Clark-Mills Před 3 lety +2

    Great video, well presented and excellent information. Thanks!

  • @michalrzmichalrz6656
    @michalrzmichalrz6656 Před 3 lety +1

    Interesting project, thanks. Some ESP32-CAM modules actually are portrait-mode by default, so not really a mistake! Definitely worth to check before proceeding.

  • @killerkiller9501
    @killerkiller9501 Před 2 lety +1

    Stabiler Bursche und stabiles Projekt, mach weiter so!

  • @jengstronotarealsurname9583

    Excellent! Just what I've been looking for!... much better approach, than putting some mechanical plastic flow meters between pipes!

  • @Fifury161
    @Fifury161 Před 2 lety +1

    I monitor my meter with an ESP32cam, however I never considered using AI for OCR! Nice touch!

  • @Patrick-kt8em
    @Patrick-kt8em Před 3 lety

    Gestern noch darüber nach gedacht genau so etwas zu bauen, heute schlägt der CZcams Algorithmus das vor, echt verrückt. Cool zu sehen, dass es dazu bereits eine fertige Lösung gibt, auch wenn ich absolut kein node Fan bin..

  • @pjmakovinyi
    @pjmakovinyi Před 3 lety

    I wasthinking about the same for some time already, but haven't find any tutorial at that time. Really appreciate this one :) 👍

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      Thanks, I'm very glad you like it. In fact, I had also been looking for a solution for a while and was more than happy that jomjol launched this project.

  • @josefmuller4714
    @josefmuller4714 Před 3 lety +27

    Great tutorial and thanks for explaning my software that detailed!
    Jomjol

    • @grindel80
      @grindel80 Před 3 lety

      Coole Sache! Mach doch auch mal ein paar youtube Videos dazu. Würde gerne eine "tachonadelposition" auslesen... dafür wäre ein Beispiel toll! :)

    • @theincapable
      @theincapable Před 3 lety +1

      Hey, vielen Dank dass du die Software geschrieben und veröffentlicht hast. Ich hatte genau nach so etwas gesucht.

    • @grindel80
      @grindel80 Před 3 lety

      @@theincapable Rechne nicht mit einem kommentar - hat auf meins seit 2 monaten nicht reagiert...

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      Hallo Frank, mir ist nicht ganz klar, auf wessen Kommentar du wartest. Von mir oder von Joseph Müller? Joseph, alias "jomjol", erreicht ihr besser per Github. Wenn ihr ein Thema habt, könnt ihr ja dort ja einen Feature Request machen.
      Ich selbst werde hier sicher noch das eine oder andere Video machen, da das aber viel aufwändiger ist, als ich zunächst dachte, wird es zum Thema AI-on-the-edge so schnell kein Video mehr geben. Insbesondere, weil ich selbst das Tachonadelposition nicht habe.
      Aber CZcams ist ja zum Glück offen für alle. Wenn du Lust hast, @Frank Müller, kannst du dich ja selbst in das Thema reinfuchsen und ein kurzes Video dazu machen. Wie du siehst, gibt es eine große, interessierte Community.

    • @grindel80
      @grindel80 Před 3 lety +2

      @@MakerMeik Vielen Dank für deine ausführliche Antwort und deinen tollen Tipp mit Github. Das weiss ich wirklich zu schätzen. Bleib gesund und weiter so, Frank

  • @wetomelo
    @wetomelo Před rokem

    Excellent project, great ideas for similar projects, for example a crossover between this projects and the "solar harvesting wifi camera" by Galopago which uses sports cam off the shelf enclosure, make infinite possibilities

  • @techydiy
    @techydiy Před 3 lety +8

    Excellent idea.

  • @Kermareg
    @Kermareg Před 3 lety

    The device I need for my home. Thanks !!

  • @mikapeltokorpi7671
    @mikapeltokorpi7671 Před 3 lety +27

    LOL. I did work for similar commercial system (including analog inputs) couple of years ago. There is several issues you have to come over in good enough image quality. Used AI solution and reference points are helping in their part to tackle the issues, apparently. However, changing of lighting conditions and possibly dust are the most important ones to solve.

  • @Kamal_Kalyan887
    @Kamal_Kalyan887 Před 2 lety

    You are excellent and will throw a dime into your account 🙏🏻🙏🏻🙏🏻 thank you soo mich meik.

    • @MakerMeik
      @MakerMeik  Před 2 lety

      Thank you very much for your donation, I appreciate it very much 😊

  • @TheRoanfourie
    @TheRoanfourie Před 3 lety +1

    Great video tutorial! Thanks!

  • @LouisBurki
    @LouisBurki Před 7 měsíci

    Just what I was searching... Although I didn't thought that someone already did it a video on it, so I was just looking some general video on the eSP32 CAM when I suddenly saw this thumbnail :D

  • @quangongtruong4258
    @quangongtruong4258 Před 3 lety

    Super awesome project!!!

  • @gsbox1976
    @gsbox1976 Před 3 lety

    Vielen Dank für das tolle Video. Es hat mir sehr geholfen, das Projekt umzusetzen. Danke

    • @gsbox1976
      @gsbox1976 Před 3 lety

      @MakerMeik Ich war wohl zu voreilig. Bei mir "hängt" die WebUI immer wieder und es geht nicht weiter (Beim letzten Schritt, nachdem ich die Zahlen alle definiert habe). Wie lange muss man denn da warten ? Was kann ich tun, damit das klappt ? Werden die Nachkommastellen (die "Uhrzeiger") ebenfalls als ROI versorgt ? Woher weiss die Software, dass es sich um die Nachkommastellen handelt ? Dazu habe ich leider nichts gefunden.
      Ich hoffe, Du kannst mir helfen.
      Vg

    • @gsbox1976
      @gsbox1976 Před 3 lety

      Ok. Jetzt bin ich ein Stückchen weiter. Ich bin nun bis zur letzten Seite gekommen, bevor die Webseite gehangen hat. Ich habe dann in der config.ini einfach das "Setupmode" auf false gesetzt. Nun klappt es einigermassen. Danke nochmal für das tolle Video

  • @syaduinotech3681
    @syaduinotech3681 Před 2 lety

    Your project very inspiring.. even I am newbies, excited to learn.. will ask further if stuck anywhere. Tq sir

  • @rsur2000
    @rsur2000 Před 3 lety

    Awesome tutorial 👍 thank you

  • @makeratul
    @makeratul Před 3 lety

    This is good video, good to get started :)

  • @marco.horstmann
    @marco.horstmann Před 3 lety

    That's cool. I was thinking about if such a solution is possible. Great I think I have a new project :)

  • @neail5466
    @neail5466 Před 3 lety

    So straight forward. Liked it.+1

  • @JuanCarlos-ff6vp
    @JuanCarlos-ff6vp Před 3 lety +1

    Great work. Thanks.

  • @olegpopov7860
    @olegpopov7860 Před 3 lety

    Brilliant! Thanks for sharing.

  • @tomasvidal424
    @tomasvidal424 Před 3 lety +9

    you can also use grinding paper to remover the varnish and then apply solder

    • @sssxxxttt
      @sssxxxttt Před 2 lety

      Yes, definitely healthier and works with enameled wires too. I use a knife or cutters to scrape the isolation off but grinding paper is probably a better choice

  • @philhoell
    @philhoell Před 3 lety

    great tutorial!

  • @Fly2URdreams
    @Fly2URdreams Před 2 lety

    Thank you for the video @MakerMeik I just followed your tips. All is working fine. Now I'm looking for how to do with this project transfers the data to the cloud and presents for other users the diagram consumption of gas.

    • @MakerMeik
      @MakerMeik  Před 2 lety

      I would recommend you to build a classic iot-stack. I.e. you install the Grafana service on a Raspberry Pi for graphical analysis, in addition to Mosquitto, InfluxDB and Node-RED. Alternatively, Homeassistant is also a good choice.
      However, the data can then only be accessed within your network, i.e. via LAN/WLAN. Therefore a additional VPN access to your network is a good idea. With the Fritzbox routers from AVM, which are widely used in Germany, you can set this up quite comfortably. Even better, although not as easy, is WireGuard on the above mentioned Raspberry Pi.
      The advantage of a VPN is that your smartphone then "behaves" as if you were in your own Wi-Fi network, even if you are on the road.
      However, if you want to share your Grafana graphs with the general public, you'll need to install Apache on your Raspi and share Grafana via reverse proxy.
      This all sounds more complicated than it is. You should start by setting up the iot stack (Grafana, Mosquitto, InfluxDB, Node-RED). Here is a good tutorial:
      czcams.com/video/a6mjt8tWUws/video.html
      I can highly recommend all of this and if you expect to add many more sensors, it is definitely worth the effort. Above all, these are all open source projects that no manufacturer can simply take away from you. In addition, the data is then exclusively with you on a hardware that you control yourself.
      But of course there are also commercial solutions. Then you can upload your data to their server and have them directly online in the web. This is certainly more convenient, but you are very tied to one provider. And if they decide to stop offering their service (for free), you will have difficulties to move your data to another place.

  • @Gallardo6669
    @Gallardo6669 Před 3 lety

    Einwandfrei !

  • @sledgeHammerRulez
    @sledgeHammerRulez Před 3 lety +2

    Tx for this excellent explanation. It seems that the new firmware will have the ability to control the GPIOs as well, so no need to desolder the flash (I presume).

    • @sssxxxttt
      @sssxxxttt Před 2 lety

      And not having the leds on all the time saves energy. Eco friendly :)

  • @alejandrocaceres7551
    @alejandrocaceres7551 Před 2 lety

    Great idea 💡

  • @Cover3331
    @Cover3331 Před 3 lety

    Thank you, good idea !

  • @Inok_-
    @Inok_- Před 3 lety +1

    Broo i have no idea about what is going on, but i liked it haha

  • @levieux1137
    @levieux1137 Před 2 lety +1

    Excellent! I did the same ~10 years ago using a PC-Engines ALIX board and a USB webcam. I collected all photos that I post-processed at the time of graphing. There was no neural network, opencv or such thing by then so I had to do it all. Detecting digits was hard, especially when you're between two digits, as I had to recognize the bottom of a 2 at the top and the top of a 3 at the bottom for example. At some point the installation moved a little bit, forcing me to recalibrate every position. I'm sure that with todays cameras sensitivity and knowledge in image processing it would have been much easier and more reliable. Overall I achieved > 99% success on ~8k images so that wasn't bad :-)

    • @MakerMeik
      @MakerMeik  Před 2 lety +1

      Wow ... I hope the effort was worth it for you. However, I must say that the exact curve of the counter is really insightful. And with your project you surely learned more than just the pure characteristic curve of the demand.
      The project shown here works really well. But of course you should not expect perfection. However, I think that the full potential has not yet been reached on the software side.

    • @levieux1137
      @levieux1137 Před 2 lety

      @@MakerMeik yes it was worth it. First it magically stopped the leak (when other inhabitants probably did what was necessary to avoid appearing on the graphs). Second I learned a lot on various plans in this project, including the fact that the moist in the basement made the motherboard age very quickly. In ~5 months or so, there were signs of advanced corrosion!

  • @Brasletti900
    @Brasletti900 Před 3 lety +1

    Ich habe lange mit einer Webcam und python ML Modellen herumgebastelt, per Open CV Zahlen erkannt und ein recht instabiles Ergebnis erhalten. Mit Begeisterung habe ich das Video, das Thingiverse Material und die Software von jomjol gesehen und direkt 3 ESP32-CAM bestellt.

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      Freut mich sehr, dass dir mein Video gefällt. Als ich jomjols Projekt entdeckt hatte, habe ich auch direkt ein paar ESP32-cams bestellt. Die müssten jomjol eigentlich am Gewinn beteiligen ;-)

  • @qcsupport2594
    @qcsupport2594 Před 3 lety +1

    If my gas company saw that on their meter they would sh*t themselves! But I will try to find some other use for "AI on the edge". Cool project well summarized!

  • @bastiman1
    @bastiman1 Před 2 lety +3

    im not sure if i should be mad or happy that i found this... building exactly this right now but using python on a server for the character recognition and its quite fun to develop....... did not expect that the esp32 is capable of such things.. but it also feels like cheating now that i already started my aproach :D

  • @SmithyScotland
    @SmithyScotland Před 3 lety +1

    Good video. I think most coax cable has a known resistance which might explain the brownout. Tv coax for example is 50 ohms

    • @MakerMeik
      @MakerMeik  Před 3 lety

      Thanks for your feedback and estimation. In the meantime, Andreas Spiess has made a great video that sheds some more light on the brownout issues: czcams.com/video/ajt7vtgKNNM/video.html

    • @NixToDo
      @NixToDo Před 3 lety +3

      The 50 ohm of a coax cable is the wave resistance of this cable, not a "real" resistance you can measure with an ohm meter.

  • @AvinashRaiG
    @AvinashRaiG Před 3 lety

    Yet again Very informative videos ..Thanks..
    I will be grate full of you also throw some light on IoT based Ultrasonic water meter ...I am desperately wanted to make one form my home..

  • @MakerMeik
    @MakerMeik  Před 2 lety +15

    My shown kromschroeder gas meter has a recess in which magnetic pulses can be sensed with a reed switch. These are given at each zero crossing of the second decimal place of the counter. This would certainly have been the simpler approach.
    Update: The AI-on-the-edge-installation now works using a web installer, so the whole python step can be skipped completely. (Thanks to @Mihai Krieger for the hint)

    • @nyeleskettes
      @nyeleskettes Před 2 lety +9

      why simplier? counting increments is a relative measurement and you need the absolute offset to know the exact value.
      then a foolproof way of detecting and sensing the counts over a long period of time.
      taking a picture (maybe saving it) and extracting numbers from it is absolute, even if your algorithm fails you have the picture as backup.

    • @ellemore9666
      @ellemore9666 Před rokem

      @@nyeleskettes ķìď09OK6KDLLLLKKII I

  • @vladimir0rus
    @vladimir0rus Před 3 lety +5

    This is a really nice solution using image recognition that runs directly on MCU! But it is not suitable for battery-powered devices if you have no power supply nearby your flowmeter. But in such a case a pulse output of flowmeter might be used. Most flowmeters might be enhanced with pulse output or already contains one.

    • @pinoyenginerd1091
      @pinoyenginerd1091 Před 3 lety

      I think just use IR and phototransistor both facing the black rotating wheel will do or the needle.it will give you a pulsing voltage .but you need to cover the whole to avoid external light. Maybe its possible use hall effect sensor because i torn a meter ,it uses a magnetic coupling .

    • @vladimir0rus
      @vladimir0rus Před 3 lety

      ​@@pinoyenginerd1091 it might be better to use a reed switch and a magnet. In such a case MCU might deep sleep till interrupt.

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      There is a solution with an IR sensor shown on the Bitbastelei channel. The video is unfortunately only available in German, but maybe you can help yourself with the subtitles. Actually, the pictures already show most of it: czcams.com/video/bZAZcHttFaU/video.html
      Battery powered solutions are always difficult. Especially because the standard D1 minis don't support real deep sleep. But with a little trick you can do it. If you don't know this yet, Andres Spiess showed it in one of his videos: czcams.com/video/rfPwOtoGO4E/video.html
      To achieve the longest possible battery life, I would perhaps not connect the MCU every time with the Wifi but only briefly wake up to log. And then e.g. only every 15 min via Wifi to send the data.

    • @vladimir0rus
      @vladimir0rus Před 3 lety

      @@MakerMeik In general, the modification should be not invasive because the meter is a certified device.
      www.instructables.com/Monitoring-residential-water-usage-by-reading-muni/

    • @MakerMeik
      @MakerMeik  Před 3 lety +2

      @Vladimir Kuznetsov Sure, you are not allowed to modify the official meter, of course. The method with the magnetic field and the reed- or hall-effect-sensor did not work with my water meter. Maybe the magnetic field was just too weak. If it is really important to you, you could of course consider installing your own water meter behind the official one, which is capable of reading the water consumption electronically. But then it will certainly be more expensive and more complex ...

  • @LeandroTheVoice
    @LeandroTheVoice Před 3 lety +9

    I solved the led issue with
    baking paper on top of the led :)

    • @abdraoufx
      @abdraoufx Před 3 lety +1

      great. I thought removing the led was too extreme. it can easily covered with something.

  • @mababr1977
    @mababr1977 Před 2 lety

    Danke für die Anleitung. Das werde ich doch glatt mal für meinen wasserzähler ausprobieren.
    Tipp noch zum Gas. Mein KroMSchröder Zähler hat rechts bei den Dezimalen im zählwerk unten eine Vertiefung. Da kann man mit einem Reed Kontakt die Umdrehung des letzten Rades zählen

    • @MakerMeik
      @MakerMeik  Před 2 lety

      Indeed, you are absolutely right. My shown kromschroeder gas meter has indeed this recess and I just tried it with a reed switch, it gives magnetic pulses for the second decimal place. That would have been the less complex approach indeed. Fortunately, the cam solution also runs quite reliably for me and if the MCU ever runs out of power, it still continues with the correct value at a later time, whereas with a pulse-driven approach you have to reset the base value.
      Nevertheless, I have added this important hint to the video description.

  • @Engineerofeverything
    @Engineerofeverything Před 3 lety

    Excellent

  • @REDxzak
    @REDxzak Před 3 lety

    Subscribed ✌️

  • @LucaPierino
    @LucaPierino Před 3 lety

    well done m8

  • @jamess1787
    @jamess1787 Před 2 lety

    This is awesome. Like a mash up of bitluni and Marco reps.
    🤣.
    (With an idea from Kevin Darrah!)

  • @BadenBadenSwitzerBaden
    @BadenBadenSwitzerBaden Před 3 lety +1

    very nice video, thank you. subscribed, aber sofort! grüß aus dem Norden.

  • @InsidiousDr9
    @InsidiousDr9 Před 3 lety

    Great project.
    Acetone (nailpolish remover) may be less hassle to remove the wire varnish.

    • @MakerMeik
      @MakerMeik  Před 3 lety

      I just had to try this out immediately. Unfortunately, it has not worked with my copper enamel wire and my wife's nail polish remover, although this is actually acetone-based. So it may depend on the varnish of the wire. Nevertheless, a great tip and I will test it again with my next spool ;-)

  • @er.jugalmandal7736
    @er.jugalmandal7736 Před 3 lety

    Awsm 👌👌👌

  • @guatagel2454
    @guatagel2454 Před 3 lety

    Subscribed.

  • @Mavi222
    @Mavi222 Před 3 lety +2

    Hey this is amazing! Is there a way to make it more compact though? I have door right in front of the meter. Could the fisheye lens be used? Would the software be able to compensate for fisheye effect?

    • @MakerMeik
      @MakerMeik  Před 3 lety +3

      Unfortunately, I have no experience in this regard. But fisheye lenses for the ESP32 cam currently cost about 6 EUR. I would say just try it and share your experience.
      With the standard lens, the distance to the number display is about the same as the horizontal image width. So if your counter display is 80 mm wide, the focus point of the lens must also be about 80 mm away from it. That's why I would have been able to reduced the distance a little bit for my meters.

    • @sssxxxttt
      @sssxxxttt Před 2 lety +1

      If You have the luxury of a 3D printer You could incorporate a 45° mirror in the design, why not two it the meter stands out from the wall :)

  • @Ma_X64
    @Ma_X64 Před 3 lety

    Excellent soldering skills! Like my ballerina skills. :D

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      Hehe ... i can hardly wait until you upload the first videos of your ballerina skills on youtube 😂

    • @Ma_X64
      @Ma_X64 Před 3 lety

      @@MakerMeik no way!)))

  • @Realcryptotalk
    @Realcryptotalk Před 2 lety

    Pretty nice. For the 220 owm resistor what is the power rating . I see them available to me in 1/2 watt ,1watt ,1/4 watt and 2 watts
    I intend to use it with usb cable to my laptop and then 17650 battery.
    Any suggstion ?

  • @thommekm
    @thommekm Před rokem +2

    6:27 your approach is very interesting and I like the diy factor - but wouldnt it suffice to darken the existing led with a half-transparent paper (like "Butterbrotpapier" or sth. equivalent). That's my workaround in photography when the flash of my camera is too bright.

  • @gnakfaskdm
    @gnakfaskdm Před 2 lety +2

    Nice video! However I would apply this technique only when it is necessary, in my case the water meter. The gasmeter can be read more easily by attaching a reed contact sensor without blocking the display. Every turn of the last digit magnet sends a signal which increases the last count by 0.01m3. For the electricity meter I installed PZEM004 sensors which also does block the display.

    • @MakerMeik
      @MakerMeik  Před 2 lety +2

      As I found out only recently, my shown kromschroeder gas meter actually also has a recess where magnetic pulses can be read with a reed switch. These are given at each zero crossing of the second decimal place of the counter. This would certainly have been the simpler approach. Thank you for your advice.

    • @sssxxxttt
      @sssxxxttt Před 2 lety

      @@MakerMeik I would prefer to read the digits to make sure pulses aren't missed, even if it's a sledge hammer to the problem. If we've got the technology - why not use it?

    • @user-mj7ry1ir5o
      @user-mj7ry1ir5o Před 9 měsíci +1

      @@sssxxxttt technology is a tool, use one which fits more

  • @ahmetyldz5674
    @ahmetyldz5674 Před 2 lety

    your speaking remind me tobby in the office series :)

  • @Rothammel1
    @Rothammel1 Před 3 lety

    sehr gut

  • @NicolasVDN
    @NicolasVDN Před 5 měsíci

    Excellent video thanks!
    What would be the final weights of the electricity and water analog 3D model ? Thanks!

  • @farkasroman
    @farkasroman Před 2 lety

    GREAT !!

  • @CiroPeixoto
    @CiroPeixoto Před 2 lety

    Show !!! 👏👏👏

  • @PeterdeMooij
    @PeterdeMooij Před 2 lety +1

    Great project! The built-in flash creates too much shine. So I want to use my own external LED lights. I connected it to GPIO12 but now it burns all the time. What settings must be made in Expert Mode to ensure that the light only lights up when it is necessary.

    • @MakerMeik
      @MakerMeik  Před 2 lety

      Unfortunately, I only use the old version of the firmware here, where this was not yet possible. If you haven't figured it out yourself by now, it's best to contact the developer on Github with your questions.

  • @AnatolyVerkhovsky
    @AnatolyVerkhovsky Před 3 lety +1

    Hi and thanks for the video, i'm done with my setup and HA integration, works surprisingly well. One thing you glossed over was grafana setup. Could you show the query to graph daily and monthly (water) usage?

    • @MakerMeik
      @MakerMeik  Před 3 lety

      It's like I showed in the video:
      SELECT cumulative_sum(difference(last("value"))) FROM "onemonths"."meter" WHERE ("loc" = 'water') AND $timeFilter GROUP BY time(5m) fill(null)
      This causes that only the relative values of the currently selected period are considered.

    • @PeterdeMooij
      @PeterdeMooij Před 2 lety

      Hi Anatoly, how did you do the HA integration?

  • @doubledogdrone
    @doubledogdrone Před rokem

    Wondering if I could leave the USB programmer connected to the ESP32 Cam and plug that into a USB battery pack to provide power in my remote water meter location. I could take it out and charge it every few weeks or so.

  • @felipegomez4662
    @felipegomez4662 Před 3 lety

    I see that the project allows configuration by fixed IP with three parameters (ip, gateway, netmask) to be able to do LAN communication.
    The question comes is, does an ethernet module have to be added and what would be the pins already configured?
    or by connecting a USB to ETHERNET converter to the TTL module.
    It would be of great help thanks.

    • @MakerMeik
      @MakerMeik  Před 3 lety

      I think you have misinterpreted that. As far as I know, a LAN connection is not possible with the ESP32-cam microcontroller. The connectivity is always done via WiFi. A fixed IP only means that your router does not assign a new address each time via DHCP, but instead the IP address is fixed. This must be set in the router as well as in the configuration of the ESP.
      For this project this should not make a big difference, but it helps e.g. with installations, where the ESP is regularly woken up from the deep sleep. If you have a fixed IP, the connection will be established much faster. If you have a battery-powered system and the ESP is immediately put to sleep again, this can significantly extend the lifetime until the next recharge of the battery is required.
      If the background of your question is only a shaky WiFi, you should rather fix its cause. For example, by repositioning your WiFi router or adding a repeater. If it's just a matter of selective IOT connections, this project might also help you: github.com/martin-ger/esp_wifi_repeater

  • @andreasjanzen8823
    @andreasjanzen8823 Před rokem

    Ich habe lustigerweise manchmal wegen des deutsche Akzentes Probleme zu verstehen, was Du sagst. 🤔Ich habe jetzt zwei oder drei Videos von Dir gesehen und finde die Projekte sehr schön und inspirierend. Ich habe noch zwei ESP32 CAM-Module im Schreibtisch, die ich mit Hilfe Deiner Videos jetzt endlich ihrer Bestimmung zuführen kann. Danke dafür!

  • @stormmy66
    @stormmy66 Před 3 lety

    Genius

  • @jwstolk
    @jwstolk Před 3 lety

    If you 3D-print a cross-shaped holder, the board could fit in both landscape and portrait orientation.

    • @MakerMeik
      @MakerMeik  Před 3 lety

      Great idea. Maybe you would like to make a remix of my models!? I have also shared my FreeCAD files on Thingiverse. I would be very happy about it and link your model here.

  • @herantd
    @herantd Před 3 lety

    That is one ancient gasmeter

  • @Netalon
    @Netalon Před 3 lety

    Beast

  • @aswinvenu3489
    @aswinvenu3489 Před 3 měsíci +1

    Can we use it for measuring in digital meters.

  • @jansmrcka
    @jansmrcka Před 3 lety +2

    Nice job.
    Why do you remove the build-in LED? The nicer solution might be to turn off the built-in LED programmatically. The flash you can connect and control via GPIO.

    • @hypercoffeedude
      @hypercoffeedude Před 2 lety

      Most likely to deal with reflections. Placing the LEDs externally allows you to adjust for bad reflections.

  • @olivers519
    @olivers519 Před 3 lety

    Thanks a lot for your work, really appriciate this ! I always wanted sth like that. Now printing the linked items of thingiverse for the watermeter does not work- the esp32 does not fit in because the file 03-21_Wasserzaehler_main-cap… has no opening for the sd card slot. With some force to the printed item it now works ;)
    It really needs the sd card to remain in the esp32, does it ?

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      Yes, the SD card is required as far as I know because images, config and log files are cached there. The problem with the case has already been pointed out to me and in fact I just updated it today. Sorry you ran into this problem. As you can see from my pictures, I had just made a small cut with a pocket knife in the location for the SD card.
      I had forgotten about the problem in the meantime when uploading, otherwise I would have fixed it right away. The video was made a few months after my installation on the water meter.

  • @user-gd8ek7xv6d
    @user-gd8ek7xv6d Před 11 měsíci

    Excellent project! Any experience to run it on battery? I only need to run it 2-3 times a month. Thx

  • @maymoonaahmed2880
    @maymoonaahmed2880 Před 2 lety

    Can someone clarify, about the SD card, can it be 32 GB? It does not make sense to me that it should be no more than 16 GB. Please help.

  • @aaldoshin
    @aaldoshin Před 3 lety

    Hello. I have a very similar solution. Battery only and via NB-IoT. And I used a camera with a viewing angle of 160 degrees. This allowed the camera to be brought closer by 2 centimeters.

    • @MakerMeik
      @MakerMeik  Před 3 lety

      Cool, do you have a video or a website where we can see how you did it? I would also be interested to know how you take the meter reading and put it into a digital form.

    • @aaldoshin
      @aaldoshin Před 3 lety

      @@MakerMeik On the site, you can select photos that came during testing. And use the button at the bottom of the picture to recognize the numbers. out.mtom.by:5000

  • @BhaveshKakwani
    @BhaveshKakwani Před rokem

    Does the utility company allow you to block the display?

  • @brackcycle9056
    @brackcycle9056 Před 6 měsíci

    Wonder if the AI will still read the meter if the camera is mounted at 30 degree angle .. thus not getting a reflection from the LED ?

  • @basilkatakuzinos659
    @basilkatakuzinos659 Před 3 lety

    This man disserves like 1M subscribers.

  • @mikesnapper9001
    @mikesnapper9001 Před 3 lety

    what happens if the number is half way rolled? like for example half way between 8 and 9

    • @MakerMeik
      @MakerMeik  Před 3 lety

      The firmware has a correction mechanism that notices when no meaningful value can be read. This place is then marked as "N". The recognized number is then e.g. 4373N.59.
      Based on the rules that you have defined in the PostProcessing section of the configuration, the firmware then tries to determine a reasonable value. If this does not succeed, the entire value is discarded.

  • @holgerneumann2272
    @holgerneumann2272 Před 3 lety +1

    Great tutorial. ich habe es auch gleich ausprobiert, allerdings werden die Ziffern nicht richtig erkannt. An was kann das denn liegen?

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      If the light reflects on the digits in an unfavorable way, the recognition may suffer. You can also play with the size of the ROIs. If all this does not help, it may just be the font of your digits. I think Jomjol will implement new fonts in the firmware updates if you ask him kindly on his Github page ;-)
      Wenn das Licht ungünstig auf den Ziffern reflektiert, kann es passieren, dass die Erkennung darunter leidet. Außerdem kannst du mit der Größe der Ausschnitte (ROIs) spielen. Wenn alles nicht hilft, kann es auch einfach nur an der Schriftart der Ziffern liegen. Ich glaube Jomjol lässt neue Schriftarten in die Firmware-Updates einfließen, wenn du ihn auf seiner Github-Seite freundlich darum bittest ;-)

    • @holgerneumann2272
      @holgerneumann2272 Před 3 lety

      @@MakerMeik Thank you so much for the fast reply. I will do this.

  • @anlpereira
    @anlpereira Před 3 lety

    Hi, great video. Can you show more details how to train the Convolutional Neural Network? Thanks a lot

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      Hi, thank you very much. Unfortunately, I have not yet dealt with this. But sooner or later I have to deepen that. When the time comes, I might make a video about it.

    • @anlpereira
      @anlpereira Před 3 lety

      @@MakerMeik thank you very much. I hope you make the video soon.

  • @unexpectedsounds2320
    @unexpectedsounds2320 Před 2 lety

    Wonderful Video! Can you use another ESP32 to read the Value, and how?

    • @MakerMeik
      @MakerMeik  Před 2 lety

      Do you already have an MQTT broker running on a server? If so, even an ESP8266 is enough to subscribe and process the MQTT messages. However, if your question is that you would like to use an ESP32 as MQTT broker, you should have a look at the corresponding libraries. I have no own experience with it, but the sMQTTBroker library sounds promising for example.

  • @zisorano
    @zisorano Před 2 lety

    Great project. I wonder if this can work with meter using 7 segment digits

    • @MakerMeik
      @MakerMeik  Před 2 lety

      I could well imagine that. But the developer jomjol also trains the ML-algorithm if you send him pictures of the digits.

  • @papaudeeal1845
    @papaudeeal1845 Před 3 lety

    thanks for the video!, i want to ask you a question, how did you comunicate to node red? do you install mosquitto broker or something?, wating for your answer, thanks!!

    • @MakerMeik
      @MakerMeik  Před 3 lety

      Yes, that is exactly how I do it. The ESP32-cam sends its data via MQTT, which is passed on to Node-RED by the MQTT broker Mosquitto. In Node-RED I then write the data to an InfluxDB database, which I then evaluate with Grafana. This sounds much more complicated than it actually is. And when it's up and running, you can control all kinds of IOT-data with it.
      By the way, this constellation is called the classic IOT stack. If you start from scratch, you can watch the video of Andreas Spiess, in which he explains how you can install exactly these services on a Rapsberry Pi with very little effort:
      czcams.com/video/a6mjt8tWUws/video.html

    • @papaudeeal1845
      @papaudeeal1845 Před 3 lety

      @@MakerMeik thank you so much, i have installled node red, grafana, mosquitto broker, influx in ubuntu in a virtual machine, i have problems in node red with de mqtt broker, it connect and disconnect all the time, do you experience something like that? any special configuration in mosquitto?, thank you for your time!

  • @felipegomez4662
    @felipegomez4662 Před 3 lety

    can you remove the mac from the device, or between the files could you program it to add it?

    • @MakerMeik
      @MakerMeik  Před 3 lety

      I'm not a network expert, but I would guess that network devices always require a MAC address. Maybe I just misunderstood your question. If you want changes to the code or the functionality of AI-on-the-edge, you can kindly ask jomjol on Github. Feature requests are certainly welcome there.

    • @felipegomez4662
      @felipegomez4662 Před 3 lety

      @@MakerMeik understood thanks

  • @TOMTOM-nh3nl
    @TOMTOM-nh3nl Před 3 lety

    Great

  • @ROHAN-PATIL
    @ROHAN-PATIL Před 3 lety

    7:06 did you made diy soldering station? love to see video on that

    • @MakerMeik
      @MakerMeik  Před 3 lety +1

      I have built the soldering iron according to the construction proposal "Maiskolben". There is an article about this in the German "Make" (unfortunately only in German)
      www.heise.de/make/artikel/Platine-fuer-DIY-Loetstation-Maiskolben-3569923.html
      The developer also has a store where you can order the PCB. But these are often not in stock.
      hannio.org/en/produkt/maiskolben/
      The soldering station uses the professional soldering tips from Weller, I use e.g. the Weller RT 1, and it controls them via an Arduino. The total sum of the components is about 80 EUR. However, in the meanwhile I also bought a Miniware TS80P, which has a similarly good handling and costs similarly much, but without the tinkering effort.

  • @nielshetzke4965
    @nielshetzke4965 Před 5 měsíci

    Hi Meike, Can you tell me what type of LED you used and where I can buy some?

  • @winandd8649
    @winandd8649 Před 2 lety

    Can you direct me to the lens you're using?
    I have a little dome shaped lens on my ESP32CAM, and to be able to get a decent picture my focal point is about 15mm from the meter. This means i don't have to print a big tower, but it also disforms the numbers a bit i guess (fish eye effect)
    Also, my meter has white number on black, and for the decimals white numbers on red.
    I suspect that the contrast for the decimals is too little to recognize the numbers.
    But, to be honest, i'm still experimenting with lighting and reflection reduction..
    Awsome project!

    • @winandd8649
      @winandd8649 Před 2 lety

      Found it, it' must be the cheapest 70 degree angle lens for the espcam. Mine is a 160 degree wide angle lens, also widely available on Ali for a few euros more
      My first testing is promising, and i'll be using the 160 degree lens,
      It all makes of breaks it by the picture quality without glass reflections. That can be quite tricky to setup..

  • @KrystianKociszewski
    @KrystianKociszewski Před rokem

    Cool

  • @ETrade-md2vo
    @ETrade-md2vo Před rokem

    hello @MakerMeik, how many long is it work?

  • @richarbw
    @richarbw Před 2 lety

    Does anyone know if it would be possible to integrate this with an Arduino GSM module? If so how. I'd like to use this without a WIFI connection available.

    • @MakerMeik
      @MakerMeik  Před 2 lety

      Unfortunately, I don't have any experience with this topic myself and apparently no one has responded to you yet. Would be interesting to get an update from you, if you have come further in the topic. Maybe Lora would also be an alternative for you?

  • @aimanfaris9100
    @aimanfaris9100 Před 7 měsíci

    hello i have a problem where when i entered my ip address, it doesn't show the initial setup page. how to fix that?