-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
ead7188
commit 2b42904
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"> |