Velleman VMA209 Bruksanvisning

Läs nedan 📖 manual på svenska för Velleman VMA209 (21 sidor) i kategorin Inte kategoriserad. Denna guide var användbar för 5 personer och betygsatt med 4.5 stjärnor i genomsnitt av 2 användare

Sida 1/21
VMA209
MULTI-FUNCTION SHIELD EXPANSION BOARD FOR ARDU INO ®
USER MANUAL
VMA209
V. 01 12/04/2018 2 ©Velleman nv
USER MANUAL
1. Introduction
To all residents of the European Union
Important environmental information about this product
This symbol on the device or the package indicates that disposal of the device after its lifecycle could
harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it
should be taken to a specialized company for recycling. This device should be returned to your
distributor or to a local recycling service. Respect the local environmental rules.
If in doubt, contact your local waste disposal authorities.
Thank you for choosing Velleman®! Please read the manual thoroughly before bringing this device into service.
If the device was damaged in transit, do not install or use it and contact your dealer.
2. Safety Instructions
This device can be used by children aged from 8 years and above, and persons with
reduced physical, sensory or mental capabilities or lack of experience and knowledge if
they have been given supervision or instruction concerning the use of the device in a
safe way and understand the hazards involved. Children shall not play with the device.
Cleaning and user maintenance shall not be made by children without supervision.
Indoor use only.
Keep away from rain, moisture, splashing and dripping liquids.
3. General Guidelines
Refer to the Velleman® Service and Quality Warranty on the last pages of this manual.
Familiarise yourself with the functions of the device before actually using it.
All modifications of the device are forbidden for safety reasons. Damage caused by user
modifications to the device is not covered by the warranty.
Only use the device for its intended purpose. Using the device in an unauthorised way
will void the warranty.
Damage caused by disregard of certain guidelines in this manual is not covered by the
warranty and the dealer will not accept responsibility for any ensuing defects or
problems.
Nor Velleman nv nor its dealers can be held responsible for any damage (extraordinary,
incidental or indirect) – of any nature (financial, physical…) arising from the possession,
use or failure of this product.
Due to constant product improvements, the actual product appearance might differ from
the shown images.
Product images are for illustrative purposes only.
Do not switch the device on immediately after it has been exposed to changes in
temperature. Protect the device against damage by leaving it switched off until it has
reached room temperature.
Keep this manual for future reference.
4. What is Arduino®
Arduino® is an open-source prototyping platform based in easy- -use hardware and software. Arduinoto ® boards
are able to read inputs light-on sensor, a finger on a button or a Twitter message and turn it into an output – –
activating of a motor, turning on an LED, publishing something online. You can tell your board what to do by
sending a set of instructions to the microcontroller on the board. To do so, you use the Arduino programming
language (based on Wiring) and the Arduino® software IDE (based on Processing).
Surf to and for more information. www.arduino.cc www.arduino.org
VMA209
V. 01 12/04/2018 5 ©Velleman nv
if(val==LOW) //If this value is LOW:
{ digitalWrite(ledpin,LOW);} // then ledpin (the led on digital line 13) is also LOW (off)
else
{ digitalWrite(ledpin,HIGH);} // in the other case (ledpin is not low) switch ON the LED on D13
}
void loop()
{
for (int i = BASE; i < BASE + NUM; i ++)
{
digitalWrite(i, LOW); //Switch OFF Digital lines 10 to 13 one by one
delay(200); // wait 0,2 seconds
}
for (int i = BASE; i < BASE + NUM; i ++)
{
digitalWrite(i, HIGH); //Switch ON Digital lines 10 to 13 one by one
delay(200); //wait 0,2 seconds
}
}
7.4 LED Start-Stop
//*******************************************************************************
// VMA209 - LED START-STOP BY PUSH BUTTON EXAMPLE
// function : press S1, LED D1 will light press S1 again, LED D1 will switch off --
// programmed on:Arduino IDE -----------------------------------------
// compatible with Arduino UNO, MEGA
//*******************************************************************************
#define LED 13 // LED is on digital 13, another value between line 10 and 13 can be chosen ! Just give it a
try !
#define KEY A1 // we choose one of the available push buttons which are on A1, A2 or A3. In this case we
choose A1 but You can try another one
int KEY_NUM = 0;
void setup()
{
pinMode(LED,OUTPUT); // initialize LED (D13) as output
pinMode(KEY,INPUT_PULLUP); //initialize KEY (analog pin A1) as an input with the internal
pull-up resistor enabled
}
void loop()
{
ScanKey(); // check if there is a key pressed (see void ScanKey)
if(KEY_NUM == 1) // key 1 pressed
{
digitalWrite(LED,!digitalRead(LED));// Inverte the LED status
}
}

Produktspecifikationer

Varumärke: Velleman
Kategori: Inte kategoriserad
Modell: VMA209

Behöver du hjälp?

Om du behöver hjälp med Velleman VMA209 ställ en fråga nedan och andra användare kommer att svara dig




Inte kategoriserad Velleman Manualer

Inte kategoriserad Manualer

Nyaste Inte kategoriserad Manualer