Velleman VMA209 User Manual

Velleman VMA209 User Manual

Multi-function shield expansion board for arduino

Advertisement

Quick Links

VMA209
MULTI-FUNCTION SHIELD EXPANSION BOARD FOR ARDUINO
®
USER MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VMA209 and is the answer not in the manual?

Questions and answers

Summary of Contents for Velleman VMA209

  • Page 1 VMA209 MULTI-FUNCTION SHIELD EXPANSION BOARD FOR ARDUINO ® USER MANUAL...
  • Page 2: Safety Instructions

     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.
  • Page 3 5, 6, 9, A5 free pins (PWM) Examples Blinking LEDs //******************************************************************************* //Flashing LEDS on the Velleman VMA209 //Programmed by : Arduino IDE //Compatible with :Arduino Leonardo, Arduino UNO, MEGA //******************************************************************************* char ledPin = 10; //digital pin 10 -> LED1 (D4) char ledPin1 = 11;...
  • Page 4 // written by Patrick De Coninck / Velleman NV. // VMA209 contains 3 Push buttons, they are connected to the Arduino Analog inputs A1, A2, A3 // in this example we will switch ON LED1 when pushing Push button 3 - please feel free to choose different...
  • Page 5 //wait 0,2 seconds 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...
  • Page 6 // VMA209 - Pot meter example // The VMA209 contains a blue potmeter (trimmer) which is connected to Analog 0 // In this example we show You how to measure the voltage between 0 and 5V, and how to visualise it by...
  • Page 7: Buzzer Test

    // VMA209 - Pot meter + PWM example // The VMA209 contains a blue potmeter (trimmer) which is connected to Analog 0 // In this example we show You how to measure the voltage between 0 and 5V,how to visualise it by the...
  • Page 8: Up-Down Counter

    2ms digitalWrite(buzzer,LOW);//Sound Off delay(2);//Wait 2ms Up-Down Counter //******************************************************************************* //----------------VMA209 UP-DOWN counter example----------- //*******************************************************************************/ int latchPin = 4; int clockPin =7; int dataPin = 8; //Define latch, clock and data pins for the display int KEY_ADD =A1; //Define Switch 1 as count UP int KEY_DEC=A2;...
  • Page 9 VMA209 for(char i=0; i<=3; i++) digitalWrite(latchPin,LOW); shiftOut(dataPin,clockPin,MSBFIRST,Dis_table[disbuff[i]]); //Send value to the 4 displays shiftOut(dataPin,clockPin,MSBFIRST,Dis_buf[i] ); digitalWrite(latchPin,HIGH); delay(2); //wait 2ms before accesing the next display, please try another value (for example 100 ) to see how the multiplexing works unsigned char ScanKey() //Scan push button 1 (S1) if(Flag_up &&...
  • Page 10: Temperature Test

    Temperature Test //***********************************************************************************/ //---------------- VMA209 measuring temperature by using input A4 --------------------------------------------/ //--- ATTENTION -- The symbol on the PCB is for sensor 18B20 !! If using LM35 it has to be upside down !! -- //---------------- CHECK THE POLARITY FIRST !!! --------------------------------------------------------------/...
  • Page 11 7.10 Voltmeter //************************************************************************************* ********* //-- VMA209 Voltmeter example //-- This example reads the value of the blue potmeter on the VMA209 and shows it on the display //************************************************************************************* *********/ int potpin=A0;//declare variable potpin as connected to analog input A0 int latchPin = 4;...
  • Page 12 © COPYRIGHT NOTICE The copyright to this manual is owned by Velleman nv. All worldwide rights reserved. No part of this manual may be copied, reproduced, translated or reduced to any electronic medium or otherwise without the prior written consent of the copyright holder.
  • Page 13 • Velleman® can decide to replace an article with an equivalent article, or to refund the retail value totally or partially when the complaint is valid and a free repair or replacement of the article is impossible, or if the expenses are out of proportion.

Table of Contents