General

DFR144 Relay Shield

userHead jbm417 2015-11-06 09:16:09 9503 Views3 Replies
I have looked at the board layout & schematic, but cannot figure out if it is possible to use Arduino D4 to control Relay 1. Will someone help me with a simple answer?

TIA, Joe
2015-11-11 17:54:28
jbm417 wrote:Leff, thank you for the info. This is just what I needed.


Very happy that could help you!
userHeadPic Leff
2015-11-11 07:30:02 Leff, thank you for the info. This is just what I needed. userHeadPic jbm417
2015-11-09 19:04:19 Hi Joe,

Welcome!

It's easy to make it just by removing the pin-map on the board and then connect the pin to the any Digital pin, e.g. D4.

For example:

I removed the map on D2/IO3, and connect it by a wire to D3;


If I upload the sketch:
Code: Select all
void setup() {
  // initialize digital pin 13 as an output.
  pinMode(3, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(3, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);              // wait for a second
  digitalWrite(3, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second
}
userHeadPic Leff