
Artikkelnr: 87298
Luxorparts Relémodul for utviklingskortet D1 Mini
Mer fra:
Relémodul for D1 Mini
- Opptil 150 W belastning
- 7 konfigurerbare IO-porter
Relekort for D1 Mini (87294). 7 konfigurerbare IO-porter. En lysdiode indikerer status. Skrueterminal med tilkobling av både NO og NC. Maks. belastning NO: 5 A (250 VAC/30 VDC), 10 A (125 VAC), MAX:1250 VA/150 W. Maks belastning NC: 3 A(25 0VAC/30 VDC), MAKS: 750 VA/90 W.
Luxorparts Relémodul for utviklingskortet D1 Mini
Relémodul for D1 Mini
Artikkelnr: 87298
eksempelkode:
/*
* Relay Shield - Blink
* Turns on the relay for two seconds, then off for two seconds, repeatedly.
* Relay Shield transistor closes relay when D1 is HIGH
*/
const int relayPin = D1;
const long interval = 2000; // pause for two seconds
void setup() {
pinMode(relayPin, OUTPUT);
}
void loop() {
digitalWrite(relayPin, HIGH); // turn on relay with voltage HIGH
delay(interval); // pause
digitalWrite(relayPin, LOW); // turn off relay with voltage LOW
delay(interval); // pause
}
/*
* Relay Shield - Blink
* Turns on the relay for two seconds, then off for two seconds, repeatedly.
* Relay Shield transistor closes relay when D1 is HIGH
*/
const int relayPin = D1;
const long interval = 2000; // pause for two seconds
void setup() {
pinMode(relayPin, OUTPUT);
}
void loop() {
digitalWrite(relayPin, HIGH); // turn on relay with voltage HIGH
delay(interval); // pause
digitalWrite(relayPin, LOW); // turn off relay with voltage LOW
delay(interval); // pause
}
Fri frakt fra 999,-
Fri standardfrakt ved kjøp fra 999,-
Fri retur
Fri retur i alle butikkene våre.
Rask levering
2–4 virkedagers leveringstid på lagervarer
Hent i butikk, GRATIS!
Reserver online – klar til henting etter 15 minutter
Luxorparts Relémodul for utviklingskortet D1 Mini