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

  Переглядів 240,504

MakerMeik

MakerMeik

День тому

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

КОМЕНТАРІ: 289
@makers_lab
@makers_lab 2 роки тому
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 2 роки тому
Beautifully executed project. Congratulations 👏👏
@SpiZeak
@SpiZeak 2 роки тому
Thank you for the tip about removing the infrared filter, I had no idea you could use this with IR-leds
@DarkChasmGamers
@DarkChasmGamers 3 роки тому
The production value of this is really good. It's on the level of really big channels. Please keep at it :)
@vibhvesh
@vibhvesh 10 місяців тому
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.
@Clark-Mills
@Clark-Mills 2 роки тому
Great video, well presented and excellent information. Thanks!
@michalrzmichalrz6656
@michalrzmichalrz6656 2 роки тому
Interesting project, thanks. Some ESP32-CAM modules actually are portrait-mode by default, so not really a mistake! Definitely worth to check before proceeding.
@MatSmithLondon
@MatSmithLondon 2 роки тому
I always thought this was something I should do but didn’t know about ESP cam and the firmware you showed. Thanks!
@Fifury161
@Fifury161 2 роки тому
I monitor my meter with an ESP32cam, however I never considered using AI for OCR! Nice touch!
@josefmuller4714
@josefmuller4714 3 роки тому
Great tutorial and thanks for explaning my software that detailed! Jomjol
@grindel80
@grindel80 3 роки тому
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 2 роки тому
Hey, vielen Dank dass du die Software geschrieben und veröffentlicht hast. Ich hatte genau nach so etwas gesucht.
@grindel80
@grindel80 2 роки тому
@@theincapable Rechne nicht mit einem kommentar - hat auf meins seit 2 monaten nicht reagiert...
@MakerMeik
@MakerMeik 2 роки тому
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 UKposts 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 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
@jengstronotarealsurname9583
@jengstronotarealsurname9583 2 роки тому
Excellent! Just what I've been looking for!... much better approach, than putting some mechanical plastic flow meters between pipes!
@killerkiller9501
@killerkiller9501 2 роки тому
Stabiler Bursche und stabiles Projekt, mach weiter so!
@Kermareg
@Kermareg 2 роки тому
The device I need for my home. Thanks !!
@migueldebasel2405
@migueldebasel2405 2 роки тому
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.
@TheRoanfourie
@TheRoanfourie 2 роки тому
Great video tutorial! Thanks!
@wetomelo
@wetomelo Рік тому
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
@quangongtruong4258
@quangongtruong4258 2 роки тому
Super awesome project!!!
@pjmakovinyi
@pjmakovinyi 2 роки тому
I wasthinking about the same for some time already, but haven't find any tutorial at that time. Really appreciate this one :) 👍
@MakerMeik
@MakerMeik 2 роки тому
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.
@techydiy
@techydiy 2 роки тому
Excellent idea.
@rsur2000
@rsur2000 2 роки тому
Awesome tutorial 👍 thank you
@mikapeltokorpi7671
@mikapeltokorpi7671 2 роки тому
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.
@Patrick-kt8em
@Patrick-kt8em 2 роки тому
Gestern noch darüber nach gedacht genau so etwas zu bauen, heute schlägt der UKposts 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..
@olegpopov7860
@olegpopov7860 2 роки тому
Brilliant! Thanks for sharing.
@MakerMeik
@MakerMeik 2 роки тому
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 2 роки тому
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 Рік тому
@@nyeleskettes ķìď09OK6KDLLLLKKII I
@LouisBurki
@LouisBurki 4 місяці тому
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
@Kamal_Kalyan887
@Kamal_Kalyan887 2 роки тому
You are excellent and will throw a dime into your account 🙏🏻🙏🏻🙏🏻 thank you soo mich meik.
@MakerMeik
@MakerMeik 2 роки тому
Thank you very much for your donation, I appreciate it very much 😊
@JuanCarlos-ff6vp
@JuanCarlos-ff6vp 3 роки тому
Great work. Thanks.
@marco.horstmann
@marco.horstmann 2 роки тому
That's cool. I was thinking about if such a solution is possible. Great I think I have a new project :)
@gsbox1976
@gsbox1976 2 роки тому
Vielen Dank für das tolle Video. Es hat mir sehr geholfen, das Projekt umzusetzen. Danke
@gsbox1976
@gsbox1976 2 роки тому
@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 2 роки тому
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
@makeratul
@makeratul 3 роки тому
This is good video, good to get started :)
@syaduinotech3681
@syaduinotech3681 2 роки тому
Your project very inspiring.. even I am newbies, excited to learn.. will ask further if stuck anywhere. Tq sir
@neail5466
@neail5466 2 роки тому
So straight forward. Liked it.+1
@philhoell
@philhoell 2 роки тому
great tutorial!
@tomasvidal424
@tomasvidal424 2 роки тому
you can also use grinding paper to remover the varnish and then apply solder
@sssxxxttt
@sssxxxttt 2 роки тому
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
@Cover3331
@Cover3331 2 роки тому
Thank you, good idea !
@sledgeHammerRulez
@sledgeHammerRulez 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 2 роки тому
And not having the leds on all the time saves energy. Eco friendly :)
@alejandrocaceres7551
@alejandrocaceres7551 2 роки тому
Great idea 💡
@Fly2URdreams
@Fly2URdreams 2 роки тому
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 2 роки тому
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: ukposts.info/have/v-deo/mWaenqpvq42G2Kc.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.
@levieux1137
@levieux1137 2 роки тому
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 2 роки тому
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 2 роки тому
@@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!
@qcsupport2594
@qcsupport2594 2 роки тому
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!
@Gallardo6669
@Gallardo6669 2 роки тому
Einwandfrei !
@bastiman1
@bastiman1 2 роки тому
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
@Inok_-
@Inok_- 2 роки тому
Broo i have no idea about what is going on, but i liked it haha
@user-gd8ek7xv6d
@user-gd8ek7xv6d 8 місяців тому
Excellent project! Any experience to run it on battery? I only need to run it 2-3 times a month. Thx
@LeandroTheVoice
@LeandroTheVoice 2 роки тому
I solved the led issue with baking paper on top of the led :)
@abdraoufx
@abdraoufx 2 роки тому
great. I thought removing the led was too extreme. it can easily covered with something.
@SmithyScotland
@SmithyScotland 2 роки тому
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 2 роки тому
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: ukposts.info/have/v-deo/mZqla6yrnoF_r4E.html
@NixToDo
@NixToDo 2 роки тому
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.
@thommekm
@thommekm Рік тому
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.
@jamess1787
@jamess1787 2 роки тому
This is awesome. Like a mash up of bitluni and Marco reps. 🤣. (With an idea from Kevin Darrah!)
@InsidiousDr9
@InsidiousDr9 2 роки тому
Great project. Acetone (nailpolish remover) may be less hassle to remove the wire varnish.
@MakerMeik
@MakerMeik 2 роки тому
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 ;-)
@Brasletti900
@Brasletti900 3 роки тому
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 3 роки тому
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 ;-)
@vladimir0rus
@vladimir0rus 2 роки тому
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 2 роки тому
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 2 роки тому
​@@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 2 роки тому
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: ukposts.info/have/v-deo/mopyjpl_q6p3wok.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: ukposts.info/have/v-deo/qpaBq4Wrpn2AlXk.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 2 роки тому
@@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 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 ...
@Realcryptotalk
@Realcryptotalk 2 роки тому
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 ?
@NicolasVDN
@NicolasVDN 2 місяці тому
Excellent video thanks! What would be the final weights of the electricity and water analog 3D model ? Thanks!
@AvinashRaiG
@AvinashRaiG 2 роки тому
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..
@Engineerofeverything
@Engineerofeverything 2 роки тому
Excellent
@LucaPierino
@LucaPierino 2 роки тому
well done m8
@Mavi222
@Mavi222 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 2 роки тому
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 2 роки тому
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 2 роки тому
Excellent soldering skills! Like my ballerina skills. :D
@MakerMeik
@MakerMeik 2 роки тому
Hehe ... i can hardly wait until you upload the first videos of your ballerina skills on youtube 😂
@Ma_X64
@Ma_X64 2 роки тому
@@MakerMeik no way!)))
@REDxzak
@REDxzak 2 роки тому
Subscribed ✌️
@er.jugalmandal7736
@er.jugalmandal7736 2 роки тому
Awsm 👌👌👌
@AnatolyVerkhovsky
@AnatolyVerkhovsky 2 роки тому
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 2 роки тому
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 2 роки тому
Hi Anatoly, how did you do the HA integration?
@BadenBadenSwitzerBaden
@BadenBadenSwitzerBaden 2 роки тому
very nice video, thank you. subscribed, aber sofort! grüß aus dem Norden.
@mababr1977
@mababr1977 2 роки тому
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 2 роки тому
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.
@stormmy66
@stormmy66 2 роки тому
Genius
@Rothammel1
@Rothammel1 2 роки тому
sehr gut
@gnakfaskdm
@gnakfaskdm 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 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 2 роки тому
@@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 6 місяців тому
@@sssxxxttt technology is a tool, use one which fits more
@guatagel2454
@guatagel2454 2 роки тому
Subscribed.
@herantd
@herantd 2 роки тому
That is one ancient gasmeter
@PeterdeMooij
@PeterdeMooij 2 роки тому
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 2 роки тому
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.
@ahmetyldz5674
@ahmetyldz5674 2 роки тому
your speaking remind me tobby in the office series :)
@felipegomez4662
@felipegomez4662 2 роки тому
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 2 роки тому
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
@farkasroman
@farkasroman 2 роки тому
GREAT !!
@olivers519
@olivers519 2 роки тому
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 2 роки тому
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.
@jansmrcka
@jansmrcka 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 2 роки тому
Most likely to deal with reflections. Placing the LEDs externally allows you to adjust for bad reflections.
@doubledogdrone
@doubledogdrone Рік тому
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.
@ROHAN-PATIL
@ROHAN-PATIL 2 роки тому
7:06 did you made diy soldering station? love to see video on that
@MakerMeik
@MakerMeik 2 роки тому
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.
@aswinvenu3489
@aswinvenu3489 23 дні тому
Can we use it for measuring in digital meters.
@papaudeeal1845
@papaudeeal1845 2 роки тому
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 2 роки тому
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: ukposts.info/have/v-deo/mWaenqpvq42G2Kc.html
@papaudeeal1845
@papaudeeal1845 2 роки тому
@@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!
@BhaveshKakwani
@BhaveshKakwani Рік тому
Does the utility company allow you to block the display?
@CiroPeixoto
@CiroPeixoto 2 роки тому
Show !!! 👏👏👏
@Netalon
@Netalon 2 роки тому
Beast
@ETrade-md2vo
@ETrade-md2vo Рік тому
hello @MakerMeik, how many long is it work?
@unexpectedsounds2320
@unexpectedsounds2320 2 роки тому
Wonderful Video! Can you use another ESP32 to read the Value, and how?
@MakerMeik
@MakerMeik 2 роки тому
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.
@aaldoshin
@aaldoshin 2 роки тому
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 2 роки тому
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 2 роки тому
@@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
@anlpereira
@anlpereira 2 роки тому
Hi, great video. Can you show more details how to train the Convolutional Neural Network? Thanks a lot
@MakerMeik
@MakerMeik 2 роки тому
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 2 роки тому
@@MakerMeik thank you very much. I hope you make the video soon.
@winandd8649
@winandd8649 2 роки тому
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 2 роки тому
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..
@brackcycle9056
@brackcycle9056 3 місяці тому
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 ?
@holgerneumann2272
@holgerneumann2272 2 роки тому
Great tutorial. ich habe es auch gleich ausprobiert, allerdings werden die Ziffern nicht richtig erkannt. An was kann das denn liegen?
@MakerMeik
@MakerMeik 2 роки тому
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 2 роки тому
@@MakerMeik Thank you so much for the fast reply. I will do this.
@jwstolk
@jwstolk 2 роки тому
If you 3D-print a cross-shaped holder, the board could fit in both landscape and portrait orientation.
@MakerMeik
@MakerMeik 2 роки тому
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.
@nielshetzke4965
@nielshetzke4965 2 місяці тому
Hi Meike, Can you tell me what type of LED you used and where I can buy some?
@maymoonaahmed2880
@maymoonaahmed2880 2 роки тому
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.
@zisorano
@zisorano 2 роки тому
Great project. I wonder if this can work with meter using 7 segment digits
@MakerMeik
@MakerMeik 2 роки тому
I could well imagine that. But the developer jomjol also trains the ML-algorithm if you send him pictures of the digits.
@andreasjanzen8823
@andreasjanzen8823 Рік тому
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!
@felipegomez4662
@felipegomez4662 2 роки тому
can you remove the mac from the device, or between the files could you program it to add it?
@MakerMeik
@MakerMeik 2 роки тому
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 2 роки тому
@@MakerMeik understood thanks
@pie2566
@pie2566 Рік тому
can all this be run in a raspberry Pi ? And may I know what raspberry Pi model would u suggest to use for this project ? I'm trying to develop similar system like yours but with an electrical meter for my final year project
@pie2566
@pie2566 Рік тому
or can I run on arduino mega?
@MakerMeik
@MakerMeik Рік тому
A Raspberry Pi has potentially much more power and could of course easily do that. However, there is a lot of development effort in this project and I think you won't find a comparable project for the Raspi at the moment, unless you want to program and train it yourself. But of course, the Raspi is a full-fledged small computer and the ESP32 only a microcontroller with limited resources.
@basilkatakuzinos659
@basilkatakuzinos659 2 роки тому
This man disserves like 1M subscribers.
@aimanfaris9100
@aimanfaris9100 5 місяців тому
hello i have a problem where when i entered my ip address, it doesn't show the initial setup page. how to fix that?
@HylaTube
@HylaTube 2 роки тому
Hi, another another feedback/warning :) I wasted two cameras (the actual camera chips) by being stupid ... I tried to remove the camera lenses which can be difficult if the manufaturer used too much glue. In one case I tried this operation with the MOS camera attached to the PCB, in the other case I tried not very successfully to hold it manually. In both cases the flat ribbon cables tore and I won't be able to fix that again ;) So. Best practise with lens removing seems to be: - never while the sensor is attached to the ESP32 pcb! - grab the square basis of the sensor with a plier or in a vise and rotate with another plier after removing as much of the glue. - try to preserve as much of the thread as possible. Cheers, Christoph
@MakerMeik
@MakerMeik 2 роки тому
Thanks for the valuable tips. It worked for me in all three cases, but depending on the amount of glue, I can well imagine that this may be a problem. By the way, the (OV2640) cameras can also be ordered separately. But they are quite expensive in relation to the total price including ESP32.
@TOMTOM-nh3nl
@TOMTOM-nh3nl 2 роки тому
Great
@KrystianKociszewski
@KrystianKociszewski Рік тому
Cool
Wasserzähler mit ESP-Cam auslesen / AI-on-the-edge
22:50
haus:automation
Переглядів 203 тис.
Small Brain, Big Think: AI on the Edge
12:40
Zack Freedman
Переглядів 452 тис.
Лизка заплакала смотря видео котиков🙀😭
00:33
#418 AI on the edge vs. Traditional Engineering. Water Meter with ESP32-CAM
13:04
10 Great Artificial Intelligence projects using ESP32-CAM!!!
7:18
ToP Projects Compilation
Переглядів 133 тис.
DIY haptic input knob: BLDC motor + round LCD
2:11
scottbez1
Переглядів 2 млн
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Переглядів 322 тис.
IoT Water Meter with ESP32 - Full Tutorial and Code
23:15
Kevin Darrah
Переглядів 47 тис.
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
Phone sees the future ! 📲🫣👽
0:38
BOGDANCHIKI
Переглядів 11 млн
Что если бы Apple делала зубные щётки?
0:59
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Переглядів 10 млн
Cách sửa này được không các bạn?
1:00
Cơ Khí Toàn Nghĩa
Переглядів 859 тис.