I am looking for a ESPHome solution that scans the gate area before it allows the gate to close; particularly the gate clearance area. I used to have an inbuilt IR sensor but that has stopped working… My research seems to suggest maybe an ultrasonic sensor would work… but I am not sure how to implement it. any suggestions? It is unlikely i have power there… unless i draw from the gate… so prefer a battery powered solution, thanks v much in advance community
What’s wrong with gate power supply? I use it without problems for my esp32 which controls gate, electronics has more than enough reserve for that. You just need to convert it’s 24VAC to 5VDC. If you use switcher for that draw from 24VAC will be even smaller. I use graetz and module similar to THIS - it’s just an example, make sure it can handle input voltage of about 35V or more.
Regarding sensor: perhaps you should look LD2450, which is, as i read presence sensor with multiple targets options (it can report multiple persons). The topic about it exists here on this forum.
you are absolutely right. i need a solution that talks to the gate. there is wifi there. i am just looking for a solution that doesn’t require it to be wired on the other end of the break beam. the end that is connected to my gate is fine. i just can’t have cables across to the other side
I use this sensor for my pellets stove for pellets quantity monitor. It has less than 1m range, though.
But, in reality gates have a second pair of photocells at the back part for this.
A certain caution is needed in using reflective photocells - they can reflect from a car and falsly report “clear” (just saying from experience, i was installing automatic gates etc… for quite a while).
But models with battery-powered TX certainly exist - we did install models, powering with two AA cells and they were running over a year with one pack.