I'll also be using two HC-SR04 sonar-based proximity sensors to doubly confirm that the car is actually where it says it is, as I'm also including the ability for the garage door to close once the vehicle is in place, so the GPS is just initial location data to start firing the proximity sensors.

A HC-SR501 PIR sensor will sense motion which will start monitoring GPS for proximity to its proper place in the garage. Once it's within the desired range (2 metres or so), it'll fire the sonar sensors to ensure it's inside the garage so the door can shut. If it's just someone in the garage and the car isn't anywhere near the house, we stop doing all work.

I'm using a Raspberry Pi Zero for the backend API logic which will communicate to a Wemos D1 mini over bluetooth in the garage which will automate the garage door, display the charge level via LED strip, and sound the audible "PLUG IN YOUR DAMNED CAR" warning if battery percent is lower than my desired level.


In reply to Re^3: Check whether two numbers are within a range by stevieb
in thread Check whether two numbers are within a range by stevieb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.