Vehicle detection with D1 Mini and magnetometer for gate actuation

You’re very welcome, I’m glad you enjoyed it. The voltage divider is necessary because the D1 mini’s A0 (analog read) max voltage input is 3.2V. The 12V from the battery would fry (or do something bad) to the D1 mini, thus is is necessary to divide this voltage down to a more acceptable level. I hope that explanation helps!

1 Like

Hello, It’s been a long time.
How is it working no?
That’s a great idea and I’m about to reproduce it :slight_smile: