DFR144 Relay Shield
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
TIA, Joe
2015-11-11 17:54:28
Very happy that could help you! Leff
jbm417 wrote:Leff, thank you for the info. This is just what I needed.
Very happy that could help you! Leff
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;
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
Leff 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
}