Gas meter - Receive magnetic pulses with an ESP8266
Channel: MakerMeik
Date: 2021-12-01

Donations: https://paypal.me/MeikDangmann

Unfortunately, an error has slipped into the calculation of the binary numbers. Correctly the right side of the decimal point should look like this:
1/2^2 + 1/2^3 + 1/2^6 = 0.25 + 0.125 + 0.015625 = 0.390625
For the small numbers I noted above the binary digits, I should not have started with 0, 1, 2, 3... but with 1, 2, 3, 4...

Links:

Code, KiCAD-Files:
https://github.com/MakerMeik/Gasmeter_with_reed

3D-Model of the Case on Thingiverse:
https://www.printables.com/de/model/109985-gas-meter-receive-magnetic-pulses-with-an-esp8266

Songs:
"8-bit-Laserstrahl" by betatronik (CC BY-NC-SA)
"Auf Dem Wind (calm)" by betatronik (CC BY-NC-SA)
"Make-New" by Ketsa (CC BY-NC-ND)
"Towel Defence Ending" by sawsquarenoise (CC-BY)
"Hachimantai Snow" by Maarten Schellekens (CC BY-NC)
"Poor Boy" by Pedro Santiago (CC BY-NC-SA)
"D2" by Maarten Schellekens (CC BY-NC)
"Long Story" by Sergey Cheremisinov (CC BY-NC)
"Salt Lake Swerve - Chillout Remix" by Maarten Schellekens (CC BY-NC)
"Mallet Play" - Maarten Schellekens (CC BY-NC)
"Tuesday Night - Radio Edit" by Maarten Schellekens (CC BY-NC)
"Salt Lake Swerve - Chillout Remix" by Maarten Schellekens (CC BY-NC)
"Just Wondering" by Maarten Schellekens (CC BY-NC)

Photos/Videoclips:
Wikinaut (CC-BY-SA)
Tim Reckmann (CC-BY)
Magic TV (CC0)
Alexas_Fotos (CC0)
juwelfahim48 (CC0)
Danil_Shostak (CC0)
motionstock (CC0)
torstensimon (CC0)
TheMarcKnight (CC0)
INESby (CC0)
jplenio (CC0)
Ra Boe (CC BY-SA 3.0)
Digital_Expert (CC0)

Sources:
circuitdigest.com
arduino.cc
businessinsider.com


0:00 Intro
0:42 ESP-32-cam project
1:54 Abstract
2:45 A reed switch with problems
3:02 Interrupts
5:21 Without interrupts
6:05 The precision of floats
7:09 Binary 
9:30 Server side
10:28 Conclusion
10:57 What is the purpose and how to save money
12:22 Outro