Adding step 3 real life test

This commit is contained in:
Louis DUMONT 2023-05-31 19:26:51 +02:00
parent 60459ae179
commit 117c8ec843
2 changed files with 18 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 MiB

View File

@ -36,6 +36,7 @@ I also needed other components such as:
- [Photoelectric sensor](https://fr.aliexpress.com/item/32810795246.html) - [Photoelectric sensor](https://fr.aliexpress.com/item/32810795246.html)
- [Warning light](https://fr.aliexpress.com/item/1005002878506861.html) - [Warning light](https://fr.aliexpress.com/item/1005002878506861.html)
- [433MHz RF remote control](https://fr.aliexpress.com/item/1005003238379943.html) - [433MHz RF remote control](https://fr.aliexpress.com/item/1005003238379943.html)
- [25µF 450V Condensator](https://amzn.eu/d/61hfXKH)
- Junction box - Junction box
- Cable - Cable
@ -66,6 +67,23 @@ The goal was to make a circuit quickly to develop the program with ESPhome and c
### Step 3: Make a real life test ### Step 3: Make a real life test
The aim now was to install the main components (limit switch, photoelectric sensor, etc...) and connect them as shown in the circuit above.
![prototype_wired](.assets/images/prototype_wired.png)
I let this prototype run for several months to see what needed to be improved, modified or removed, both physically and in the program.
I became aware of various problems:
- The sun made the photoelectric sensor think that an object was in the way, dazzling it and preventing it from closing. I installed a cover to prevent this.
- The wifi signal was difficult to pick up, either due to distance or interference. I soldered on a new antenna to avoid this problem.
- I soldered an antenna of a more suitable size for receiving the 433MHz signal, so that I could pick up the remote control signal further away (before: 10m, after: 40m).
- ...
For the program I was able to make and to optimize a few things:
- When the gate is in motion (opening or closing) and an element triggers the photoelectric sensor, it stops only if it was in the process of closing, and then reopens. Originally, the gate only stopped in the middle, regardless of movement.
- A short delay was introduced to first provide a warning light and then activate gate movement.
- ...
## Points of improvement ## Points of improvement