VMA405
V. 02 – 01/08/2018
4
©Velleman nv
WARNING
The VCC of your VMA405 must be connected to 3.3 V on your controller board.
Do not connect to 5 V as your VMA405 will be destroyed!
7.
The example drawing shows an LED. You can also use a buzzer (VMA319), a relay module (VMA400 or
VMA406)… In the example drawing, only pin 8 controls the LED. Pin 7 can be used to control a relay when a
valid card is applied.
8.
Check all connections and switch on your controller. Your VMA405 can now be tested.
9.
In your Arduino
®
IDE, start the serial monitor (Ctrl + Shift + M).
10.
Bring the card or tag in front of the VMA405. The card code will appear on the serial monitor, together with
a “Not Allowed” message.
11.
Copy this code, check line 31 in the sketch and replace this card code by the one you copied.
* This integer should be the code of your card/tag.
*/
int cards [][5] = {{117,222,140,171,140}};
12.
Recompile the sketch and load it into your controller. Now, your card will be recognized.
7.
More Information
Please go to the VMA405 product page on
Use this device with original accessories only. Velleman nv cannot be held responsible in the event
of damage or injury resulting from (incorrect) use of this device. For more info concerning this
product and the latest version of this manual, please visit our website www.velleman.eu. The
information in this manual is subject to change without prior notice.
© 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.