Joy-it SEN-MAG25N Bruksanvisning


Läs gratis den bruksanvisning för Joy-it SEN-MAG25N (4 sidor) i kategorin Inte kategoriserad. Guiden har ansetts hjälpsam av 17 personer och har ett genomsnittsbetyg på 4.5 stjärnor baserat på 9 recensioner. Har du en fråga om Joy-it SEN-MAG25N eller vill du ställa frågor till andra användare av produkten? Ställ en fråga

Sida 1/4
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
1. GENERAL INFORMATION
Dear costumer,
thank you very much for choosing our product.
In following, we will introduce you to what to observe while starting up
and using this product.
Should you encounter any unexpected problems during use, please do
not hesitate to contact us.
ELECTRO MAGNET MODULE
SEN-MAG25N
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
2. COMMISSIONING WITH THE RASPBERRY PI
Wiring:
Raspberry Pi MAG25N
GND (Pin 6, 14, 9...) G
3V (Pin 1, 17) V
- NC
GPIO17 (Pin 11) SIG
Code example:
In the following code example the magnet is activated every 5 seconds for 2.5 seconds.
from time import sleep
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
try:
while True:
GPIO.output(17, GPIO.HIGH)
sleep(2.5)
GPIO.output(17, GPIO.LOW)
sleep(2.5)
except KeyboardInterrupt:
GPIO.cleanup()
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
3. COMMISSIONING WITH THE ARDUINO
Wiring:
Code example:
In the following code example the magnet is activated every 5 seconds for 2.5 seconds.
Before uploading, make sure that you have set the correct board and port in your Arduino
IDE.
Arduino MAG25N
Digital Pin 8 SIG
- NC
5V VCC
GND GND
int val;
void setup() {
// put your setup code here, to run once:
pinMode(8, OUTPUT);
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(8, HIGH);
delay(2500);
digitalWrite(8, LOW);
delay(2500);
}


Produktspecifikationer

Varumärke: Joy-it
Kategori: Inte kategoriserad
Modell: SEN-MAG25N

Behöver du hjälp?

Om du behöver hjälp med Joy-it SEN-MAG25N ställ en fråga nedan och andra användare kommer att svara dig