diff --git a/.assets/images/component_connection_diagram.png b/.assets/images/component_connection_diagram.png new file mode 100644 index 0000000..4da604b Binary files /dev/null and b/.assets/images/component_connection_diagram.png differ diff --git a/README.md b/README.md index 2c54477..8f4e82f 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ The state of the portal before starting my project was as follows: ### Hardware -For this project, I made an electronic board to build a reliable, clean and easy to install system: [LiHoCo Yard gate PCB v1.0](hardware/PCB) +For this project, I made an electronic board to build a reliable, clean and easy to install system: [LiHoCo Yard gate PCB v1.0](/hardware/PCB) I also needed other components such as: - [Mechanical limit switches](https://www.conrad.fr/fr/p/interrupteur-de-fin-de-course-tru-components-xz-9-108-1426610-250-v-ac-10-a-levier-pivotant-a-galet-a-rappel-ip65-1-pc-s-1569253.html) @@ -44,7 +44,7 @@ I also needed other components such as: [ESPhome](https://esphome.io/) was the easiest solution to implement the portal system. I used it to make my ESP32 program -Here is the program : [electric-gate.yaml](software/ESPhome) +Here is the program : [electric-gate.yaml](/software/ESPhome) ## Developpement @@ -53,7 +53,7 @@ Here is the program : [electric-gate.yaml](software/ESPhome) The engine was the first element I tested to verify the feasibility of the project. After a little research to make a three-phase asynchronous motor work on an alternating current, I was able to verify that it turned correctly. I made the conversion from three phase to single phase using a capacitor of 25µF 450V. connected between 2 motor coils: -![Picture of the motor connections](.assets/images/motor_wire_connections.png) +![Picture of the motor connections](/.assets/images/motor_wire_connections.png) I also changed the oil of the 45/1 gearbox. All the rest was not in working order anymore but it doesn't matter. @@ -62,14 +62,14 @@ All the rest was not in working order anymore but it doesn't matter. The goal was to make a circuit quickly to develop the program with ESPhome and check if everything works as I wanted. -![Picture of the circuit prototype](.assets/images/prototype_circuit.png) -![Schematic of the prototype](.assets/images/prototype_schematic.png) +![Picture of the circuit prototype](/.assets/images/prototype_circuit.png) +![Schematic of the prototype](/.assets/images/prototype_schematic.png) ### 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 image](.assets/images/prototype_wired.png) +![Prototype wired image](/.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. @@ -88,15 +88,15 @@ For the program I was able to make and to optimize a few things: After correcting the main problems with the circuit and electronics in general, I set about designing an electrical board to make the portal's operation more reliable and, above all, more professional. -You can have a look at the PCB documentation: [LiHoCo Yard gate PCB v1.0](hardware/PCB) +You can have a look at the PCB documentation: [LiHoCo Yard gate PCB v1.0](/hardware/PCB) Once the electronic board was soldered and functional, I removed the prototype and installed the new PCB : -![Empty box image](.assets/images/empty_box_after_prototype.png) +![Empty box image](/.assets/images/empty_box_after_prototype.png) Then I installed the new PCB and here it is! #BrandNew -![PCB Wired image](.assets/images/pcb_wired.png) +![PCB Wired image](/.assets/images/pcb_wired.png) ## Maintenance diff --git a/hardware/PCB/README.md b/hardware/PCB/README.md index c0f58b1..7c52834 100644 --- a/hardware/PCB/README.md +++ b/hardware/PCB/README.md @@ -4,13 +4,13 @@ In order to make the system reliable and easy to install, I started to design a The following circuit board has been realized with the help of [EasyEDA](https://easyeda.com/) software: -![Image of front and rear pcb model in EasyEDA](.assets/images/front_rear_pcb_v1.0.png) +![Image of front and rear pcb model in EasyEDA](/.assets/images/front_rear_pcb_v1.0.png) -![Image of the electronic circuit diagram](.assets/images/schematic_yard_gate.png) +![Image of the electronic circuit diagram](/.assets/images/schematic_yard_gate.png) ## Materials required: -- 1x raw PCB ([Gerber file of the PCB](hardware/PCB/Gerber_PCB_yard_gate.zip)) +- 1x raw PCB ([Gerber file of the PCB](/hardware/PCB/Gerber_PCB_yard_gate.zip)) - 1x ESP32 DevKit v1 ([ESP-WROOM-32](https://fr.aliexpress.com/item/1005001929935550.html)) - 1x 433MHz EV1527 receiver module ([RX480E](https://fr.aliexpress.com/item/33005839512.html?spm=a2g0o.order_list.order_list_main.24.2cd35e5blSNIk3&gatewayAdapt=glo2fra)) - 3x relays ([Songle SRD-05VDC-SL-C](https://www.lcsc.com/product-detail/_Ningbo-Songle-Relay-_C35449.html)) @@ -41,13 +41,13 @@ I used [JLCPCB](https://jlcpcb.com/)'s printing services to make my printed card ## Results -![Image of front and rear of the printed PCB](.assets/images/PCB_result_front_rear.png) +![Image of front and rear of the printed PCB](/.assets/images/PCB_result_front_rear.png) ## It's working ! By powering the PCB with 230V, and implementing the ESPhome firmware, everything started and works perfectly. -![Picture of the PCB powered on](.assets/images/PCB_powered_on.png) +![Picture of the PCB powered on](/.assets/images/PCB_powered_on.png) ## Points of improvement diff --git a/software/ESPhome/README.md b/software/ESPhome/README.md index ae09e1a..d5a0390 100644 --- a/software/ESPhome/README.md +++ b/software/ESPhome/README.md @@ -1,4 +1,4 @@ # ESPhome electric-gate.yaml -Download : [electric-gate.yaml](software/ESPhome/electric-gate.yaml) +Download : [electric-gate.yaml](/software/ESPhome/electric-gate.yaml)