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

  Рет қаралды 240,043

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 :)
@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 KZfaq 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
@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.
@vibhvesh
@vibhvesh 9 ай бұрын
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!
@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!
@jengstronotarealsurname9583
@jengstronotarealsurname9583 2 жыл бұрын
Excellent! Just what I've been looking for!... much better approach, than putting some mechanical plastic flow meters between pipes!
@Fifury161
@Fifury161 2 жыл бұрын
I monitor my meter with an ESP32cam, however I never considered using AI for OCR! Nice touch!
@killerkiller9501
@killerkiller9501 2 жыл бұрын
Stabiler Bursche und stabiles Projekt, mach weiter so!
@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.
@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.
@Kermareg
@Kermareg 2 жыл бұрын
The device I need for my home. Thanks !!
@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.
@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
@TheRoanfourie
@TheRoanfourie 2 жыл бұрын
Great video tutorial! Thanks!
@rsur2000
@rsur2000 2 жыл бұрын
Awesome tutorial 👍 thank you
@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 😊
@quangongtruong4258
@quangongtruong4258 2 жыл бұрын
Super awesome 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
@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 :)
@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
@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
@olegpopov7860
@olegpopov7860 2 жыл бұрын
Brilliant! Thanks for sharing.
@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
@Patrick-kt8em
@Patrick-kt8em 2 жыл бұрын
Gestern noch darüber nach gedacht genau so etwas zu bauen, heute schlägt der KZfaq 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..
@JuanCarlos-ff6vp
@JuanCarlos-ff6vp 3 жыл бұрын
Great work. Thanks.
@makeratul
@makeratul 3 жыл бұрын
This is good video, good to get started :)
@techydiy
@techydiy 2 жыл бұрын
Excellent idea.
@philhoell
@philhoell 2 жыл бұрын
great tutorial!
@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.
@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!
@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 :)
@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
@alejandrocaceres7551
@alejandrocaceres7551 2 жыл бұрын
Great idea 💡
@Inok_-
@Inok_- 2 жыл бұрын
Broo i have no idea about what is going on, but i liked it haha
@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: kzfaq.info/get/bejne/l5ydnddp2b25p6c.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.
@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: kzfaq.info/get/bejne/l9CkatmlzLGyfoE.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.
@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 !
@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..
@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
@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!)
@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 ;-)
@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 ;-)
@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: kzfaq.info/get/bejne/mMBxjcZ52dqqkYk.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: kzfaq.info/get/bejne/qMyAqrKl1K2zZHk.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 ...
@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!)))
@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?
@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!
@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.
@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.
@Engineerofeverything
@Engineerofeverything 2 жыл бұрын
Excellent
@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
@BadenBadenSwitzerBaden
@BadenBadenSwitzerBaden 2 жыл бұрын
very nice video, thank you. subscribed, aber sofort! grüß aus dem Norden.
@REDxzak
@REDxzak 2 жыл бұрын
Subscribed ✌️
@LucaPierino
@LucaPierino 2 жыл бұрын
well done m8
@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.
@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
@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.
@stormmy66
@stormmy66 2 жыл бұрын
Genius
@ahmetyldz5674
@ahmetyldz5674 2 жыл бұрын
your speaking remind me tobby in the office series :)
@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.
@guatagel2454
@guatagel2454 2 жыл бұрын
Subscribed.
@Rothammel1
@Rothammel1 2 жыл бұрын
sehr gut
@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: kzfaq.info/get/bejne/l5ydnddp2b25p6c.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!
@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.
@aswinvenu3489
@aswinvenu3489 16 күн бұрын
Can we use it for measuring in digital meters.
@GnobarEl
@GnobarEl 2 жыл бұрын
This is amazing! In my case, both counters are outside of the house without electricity. How can I solve it? Any tip? Also, congratulations for your youtube channel.
@guatagel2454
@guatagel2454 2 жыл бұрын
Put esp32 in deep sleep after readings. Lion batteries, you should charge it every month, or replace it with a charged one every month. See Andreas Spiess channel on deep sleep and battery powered ESPs.
@GnobarEl
@GnobarEl 2 жыл бұрын
@@guatagel2454 Hi! Thanks for your feedback. I tried something like that, the issue is that I need to replace it very often, less than a month, and it's not very particle. I need something for at least 6 months. Thanks anyway :)
@MakerMeik
@MakerMeik 2 жыл бұрын
Thanks for the congrats. Without a permanent power supply, however, it will probably be challenging. Here in the chat others had already the topic. Of course you can test the deep sleep function of the ESP. However, as you have already written, you won't get very far with it. On the one hand, the required wake time of the ESP is quite long for this project. Unless you really want to charge the batteries every few weeks, you can probably only read a few times a day. Also, I know from my own experience that the deep sleep function is usually treated poorly by ESP developer boards. I plan to do another compact video on this myself in the next few weeks. But you can find the essential tricks in these two videos: kzfaq.info/get/bejne/qMyAqrKl1K2zZHk.html kzfaq.info/get/bejne/gJxmkpuBlZqXm6M.html I'm not quite sure if this is necessary or possible with the ESP32(-cam)s though. Further down in the chat, @Vladimir Kuznetsov also brought up the discussion of whether it wouldn't make more sense to count the pulses via IR sensor, at least for electricity meters. If that is an option for you, your chances for a battery-powered project would certainly be higher. By the way, the main power consumer is the wifi. Maybe you think about an offline solution. Or send the measurement data only once a day ... Anyway, the ESPs are not ideal when it comes to power consumption. On the other hand, complex projects like AI-on-the-edge are hardly possible with simpler MCUs. Let's see what future MCU generations bring. The RP2040-based boards already look very promising. If you successfully complete the project, I would be very happy if you also make a short video about it.
@GnobarEl
@GnobarEl 2 жыл бұрын
@@MakerMeik Hello! I'm really sorry for my late reply. I didn't noticed it. I will read carefully and take that in consideration. Thanks! Best Regards.
@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.
@er.jugalmandal7736
@er.jugalmandal7736 2 жыл бұрын
Awsm 👌👌👌
@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.
@farkasroman
@farkasroman 2 жыл бұрын
GREAT !!
@CiroPeixoto
@CiroPeixoto 2 жыл бұрын
Show !!! 👏👏👏
@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..
@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.
@nielshetzke4965
@nielshetzke4965 2 ай бұрын
Hi Meike, Can you tell me what type of LED you used and where I can buy some?
@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.
@Netalon
@Netalon 2 жыл бұрын
Beast
@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.
@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.
@ETrade-md2vo
@ETrade-md2vo Жыл бұрын
hello @MakerMeik, how many long is it work?
@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
@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!
@herantd
@herantd 2 жыл бұрын
That is one ancient gasmeter
@hervelacerre4074
@hervelacerre4074 2 жыл бұрын
Hello, What is the reference of the PSRAM on your esp32-cam ? I have IPUS ISP6404L and there is an error on the psram
@MakerMeik
@MakerMeik 2 жыл бұрын
Hi @Hervé Lacerre, my ESP32 cams have IPUS IPS6404LSQ installed. Since several users have now written about PSRAM problems, this could really be the cause. Do you think you can re-solder the IC? It would be interesting to see if the problem can be solved this way. Or you can ask jomjols on his Github page if he knows something about this IC or a way to fix the problem.
@hervelacerre4074
@hervelacerre4074 2 жыл бұрын
@@MakerMeik I have re-soldered the psram, but same error E (506) psram: PSRAM ID read error: 0xffffffff E (506) spiram: SPI RAM enabled but initialization failed. Bailing out.
@MakerMeik
@MakerMeik 2 жыл бұрын
And the normal CameraWebServer example works, or are there also problems with it?
@BhaveshKakwani
@BhaveshKakwani Жыл бұрын
Does the utility company allow you to block the display?
@grindel80
@grindel80 3 жыл бұрын
Stabile leistung. Hab mal n Like & abo da gelassen. Hast schon erfahrung ob das ganze auch mit "tacho" anzeigen funktioniert?
@josefmuller4714
@josefmuller4714 3 жыл бұрын
Hallo Frank, was meinst du mit Tacho anzeigen? Der Ansatz auch für analoge Zeiger möglich und kann recht einfach erweitert werden. Ich bin der Entwickler der Firmware (jomjol) und tausche mich gerne mit dir aus, um neue Applikationen zu finden.
@MakerMeik
@MakerMeik 3 жыл бұрын
Hallo Frank, jomjol hat ja schon seine Hilfe angeboten. Mir ist auch nicht ganz klar, in welchem Zusammenhang du das mit dem Tacho meinst, aber ein Flaschenhals könnte sein, dass der ESP32 eine Weile braucht, um die Bilder zu machen und auszuwerten. Das kürzeste Intervall ist bei AI-on-the-edge darum auf derzeit 3 Minuten beschränkt. Wenn du damit das Manometer des (Haus-)Wasserdrucks ablesen willst, sollte das reichen. Auf einem Moped würde ich die Installation aber eher nicht empfehlen ;-)
@josefmuller4714
@josefmuller4714 3 жыл бұрын
​@@MakerMeik @Frank Müller Also an der Erkennungsgeschwindigkeit gibt es durchaus noch ziemlich Potential. In einer kommerziellen Variante mit nur 3 Ziffern und einigen Geschwindigkeitsoptimierungen kann ich das Bild in unter 1.5 Sekunden verarbeiten.
@aimanfaris9100
@aimanfaris9100 4 ай бұрын
hello i have a problem where when i entered my ip address, it doesn't show the initial setup page. how to fix that?
@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
@mikesnapper9001
@mikesnapper9001 2 жыл бұрын
what happens if the number is half way rolled? like for example half way between 8 and 9
@MakerMeik
@MakerMeik 2 жыл бұрын
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.
@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.
10 Great Artificial Intelligence projects using ESP32-CAM!!!
7:18
ToP Projects Compilation
Рет қаралды 132 М.
Breaking up a fight (GONE WRONG ❌)😳😱 | Triple Charm #Shorts
00:12
ФОКУС С ЧИПСАМИ (секрет)
00:44
Masomka
Рет қаралды 1,3 МЛН
Guess The Gift, Keep It
00:46
MrBeast
Рет қаралды 121 МЛН
Wasserzähler mit ESP-Cam auslesen / AI-on-the-edge
22:50
haus:automation
Рет қаралды 202 М.
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Рет қаралды 318 М.
Prevent THOUSANDS in damages with these smart water monitors.
18:50
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Рет қаралды 561 М.
Робот зарядка на 65W🤖
0:36
serg1us
Рет қаралды 1,6 МЛН
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Рет қаралды 14 МЛН
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Рет қаралды 643 М.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Рет қаралды 845 М.
phone charge game #viral #tranding #new #reels
0:18
YODHA GAMING RAAS
Рет қаралды 2,7 МЛН
У Nokia 3310 появился конкурент
0:36
AndroHack
Рет қаралды 1,7 МЛН