Skip to content

Commit

Permalink
#27 +README to #31 and explaind in more detail.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikberzins committed Apr 14, 2021
1 parent ead7188 commit 2b42904
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions integration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Integration of ESP32 with relay

# Switch type

Depending on what type of switch you are trying to remote controll you will need slighty difrent wiering.

* Check what type of switch you are trying to remot control.
* Is it normaly open (will it not let thru electrycity normaly)?
* You need NO relay schematic.
* Is it normaly closed (will it let thru electrycity normaly)?
* You need NC relay schematic.
* Dose it have any other component connected (like a resistor)?
* You need corespondecnly NO or NC with R(Resistor).

### NO
For a normay open button you need to connect the relay in parallel as shown bellow.

<img src="esp32_integration_NO.jpg" height="400">

### NC
For a normay closed button you need to connect the relay in series as shown bellow.

<img src="esp32_integration_NC.jpg" height="400">

### NC Resistans
For a normay closed button you need to connect the relay in series as shown bellow and let the resistor go from befor the first button to after the last.

<img src="esp32_integration_NC_R.jpg" height="400">

0 comments on commit 2b42904

Please sign in to comment.