Physical switch + relay + arduino nano looking for a sketch - Need
![Physical switch + relay + arduino nano looking for a sketch - Need](https://community.blynk.cc/uploads/default/original/3X/2/9/29bd7763aa4a590ee83cd482222bd94918a10a68.png)
Hello, I’m using a Arduino nano to control my 3 relays I have added an switch which should turn all relays on when switched on. I’m hosting my own blynk server and I need help with making a sketch. I have only a little bit of experienced with coding for the Arduino. wiring schematics: parts: Arduino nano ENC28J60 Ethernet shield 2x 5v power supplies 1x 1 channel relay 1x 2 channel relay 1x toggle switch I’m currently using the example sketch for enc28j60 /*******************************
![](https://arduinogetstarted.com/images/cover/arduino-relay.jpg)
Arduino - Relay Arduino Tutorial
![](https://www.electroniclinic.com/wp-content/uploads/2020/09/reed-switch-led-on-and-off.jpg)
Reed Switch working, Reed Switch based Projects, Reed Switch use
![](https://preview.redd.it/after-all-the-help-here-i-updated-my-simple-arduino-mosfet-v0-gb66rufdls3b1.jpg?width=1080&crop=smart&auto=webp&s=eb008333ffe6a64b37e0d5847a02dec83da50501)
After all the help here I updated my simple Arduino>MOSFET>Relay
![](https://thesolaruniverse.files.wordpress.com/2020/10/079_relay_fig_01_96_dpi.png?w=722&h=527&crop=1)
Arduino combined with a switching relay – thesolaruniverse
![](https://content.instructables.com/FW9/S9US/KY04J14N/FW9S9USKY04J14N.jpg?auto=webp&fit=bounds&frame=1)
Home Automation - How to Add Relays to Arduino : 10 Steps
![](https://itp.nyu.edu/physcomp/wp-content/uploads/LabSwitchesMotor_no_LED_bb-1.png)
Switches – ITP Physical Computing
![](https://europe1.discourse-cdn.com/arduino/original/4X/5/8/e/58edca81a1eb569eb308e28a16588f1bc8808325.png)
How to read Voltage through Arduino - General Electronics
![](https://www.technolabcreation.com/wp-content/uploads/2024/01/Untitled-design-6-1170x658.jpg)
Creating a Smart Home with Arduino: Exploring IoT Cloud and
![](https://www.circuits-diy.com/wp-content/uploads/2023/04/Relay-with-Touch-Control-Arduino-Tutorial.png)
Relay with Touch Control - Arduino Tutorial