VMA431
V. 01 – 16/04/2018
3
©Velleman nv
5.
Overview
VMA431
High-quality electric lifting magnet.
holding force: 25 N
working Voltage: 5 V
working current: 400 mA
standby current: 200 µA
load weight: 1 kg
dimensions: 35 x 20 x 17 mm
weight: 25 g
6.
Example
/*
Turns on an Electromagnet on for one second, then off for one second, repeatedly.
This example code is in the public domain.
VMA431 connections
VCC = +5V
GND = GND
SIG = Digital line 0 (any line can be used)
*/
int Electromagnet = 0;
int LED = 13;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(Electromagnet, OUTPUT);
pinMode(LED, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(Electromagnet, HIGH); // turn the Electromagnet on (HIGH is the voltage level)
digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(Electromagnet, LOW); // turn the Electromagnet off by making the voltage LOW
digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Содержание VMA431
Страница 1: ...VMA431 ELECTROMAGNET MODULE USER MANUAL...