![]() If you need a lot of messages, AWS MQTT broker has a cost of about 1.5 dollar for 1 billion 5 KB messages, that’s a lot to play with. Finally, moving on the software side, you need an MQTT broker, a smartphone and, of course, a Wi-Fi network.Ībout the MQTT broker, I decided to make my own broker (Mosquitto) on a Raspberry Pi 3 placed inside my home network, but there are also many online free available MQTT broker, hosted from AWS or Azure, which provide some free messages every day, which, for this kind of use case, should be enough. We also need some raw material and an IP67 box for the boards housing. ![]() I bought an LM2596 voltage converter, which can handle up to 35 volt as input, converting it to an output as low as 1.2 volt, so inside our operating range.įinally, at least on the hardware side, we also need many cables for the wiring, both between the ESP32 and the relays, both between the power supply, relays and the gate control board. Then, we need a power supply or, as in my case, a voltage converter, since many gate automation boards work between 12 and 24 volts, while the ESP32 needs no more than 5 volt. They can be feed by the ESP32, since they work at 5 volt. I bought a board with two of these optocouplers, which can handle 28 volt in DC or up to 220 in AC. Then, you need at least a relay module, at least because some gate automation mechanism has multiple inputs to control complete or partial gate opening, like mine. You can easily find it on Aliexpress for a 3 or 4 dollars. In my case, I decided to use a generic ESP32 board, based on the ESP32 microcontroller. First of all we need an ESP8266 or ESp32 board. In order to create our gate opener, we need many components. Open any automated gate or garage door with your smartphone and an ESP32 Requirements
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |