velleman LED module User Manual
- June 7, 2024
- Velleman
Table of Contents
- Introduction
- Safety Instructions
- General Guidelines
- What is Arduino®
- Overview
- Specifications
- Connection VMA451 to a VMA100/Arduino® UNO
- Software
- Example Sketch
- define IIC_SCL A5
- define IIC_SDA A4
- Velleman® Service and Quality Warranty
- General Warranty Conditions Concerning Consumer Products (for EU):
- References
- Read User Manual Online (PDF format)
- Download This Manual (PDF format)
velleman LED module User Manual
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 life cycle 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.
Safety Instructions
Read and understand this manual and all safety signs before using this
appliance.
Indoor use only.
- 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.
General Guidelines
-
Refer to the Velleman® Service and Quality Warranty on the last pages of this manual.
-
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. -
Keep this manual for future reference.
What is Arduino®
Arduino® is an open-source prototyping platform based in easy-to-use hardware
and software. Arduino® 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 www.arduino.cc and
www.arduino.org for more information.
Overview
General The VMA451 LED matrix module uses an AIP1640 I²C chip to communicate with a controller, such as the UNO, ESP series or Raspberry Pi.
Specifications
operating voltage. | 3.3 to 5 VDC |
---|---|
operating current | max. 200 mA |
LED pitch | 4 mm |
number of LEDs | 128 |
communication | I²C |
chipset | AIP1640 |
oscillation frequency | 450 kH |
working temperature. | . -40 °C to 80 °C |
panel weight | 12 g |
dimensions | 72 x 32 x 8 mm (2.83 x 1.16 x 0.32 “) |
Connection VMA451 to a VMA100/Arduino® UNO
VMA100/Arduino® UNO | VMA451 |
---|---|
5V | VCC |
GND | GND |
A4 | SDA |
A5 | SCL |
Software
Download the file sketch_VMA451.zip from our website and unzip it into sketch_VMA451.ino. Load this sketch into the Arduino® IDE, compile and upload. You can also copy/paste the text below into the IDE.
Example Sketch
//data display from right to left, from bottom to top, HIGH level display.
define IIC_SCL A5
define IIC_SDA A4
unsigned char data_line = 0;
unsigned char delay_count = 0;
unsigned char data_display1 = 0;
unsigned char data_display2 = 0;
unsigned char data_display3 = 0;
unsigned char data_display4 = 0;
unsigned char data_display5 = 0;
unsigned char data_display6 = 0;
unsigned char data_display7 = 0;
unsigned char data_display8 = 0;
unsigned char data_display9 = 0;
unsigned char data_display10 = 0;
unsigned char data_display11 = 0;
unsigned char data_display12 = 0;
unsigned char data_display13 = 0;
unsigned char data_display14 = 0;
unsigned char data_display15 = 0;
unsigned char data_display16 = 0;
void IIC_start();
void IIC_send(unsigned char send_data);
void IIC_end();
//unsigned char table[] = {0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x80,0x40,0x20,0x10,0x08,0x04,0x02,0x01}; unsigned char table[4][16] = { {0x00,0x00,0x00,0x00,0x26,0x41,0x86,0x80,0x80,0x80,0x86,0x41,0x26,0x00,0x00,0x00}, {0x00,0x00,0x00,0x00,0x00,0x1C,0x22,0x42,0x84,0x42,0x22,0x1C,0x00,0x00,0x00,0x00}, {0x00,0x00,0x00,0x00,0x20,0x44,0x42,0x84,0x80,0x84,0x42,0x44,0x20,0x00,0x00,0x00}, {0x00,0x00,0x00,0x00,0xC0,0x40,0xF8,0xD8,0x7E,0xFF,0xC0,0x00,0x00,0x00,0x00,0x00}};
void setup() {
pinMode(IIC_SCL,OUTPUT);
pinMode(IIC_SDA,OUTPUT);
digitalWrite(IIC_SCL,LOW);
digitalWrite(IIC_SDA,LOW); }
/—————————————————————-/
void loop() { /**set the address plus
1***/ IIC_start(); IIC_send(0x40);// set the address plus 1 automatically IIC_end(); /****end the process of address
plus 1 */ /****set the data display*/ IIC_start(); IIC_send(0xc0);// set the initial address as 0 for(char i = 0;i < 16;i++)
IIC_send(table[data_line][i]);// send the display data } if(++delay_count >= 10) { delay_count = 0; data_line++; if(data_line >= 4) { data_line = 0; } } IIC_end(); /****end the data display****/ /set the brightness display**/ IIC_start(); IIC_send(0x8B);// set the brightness display (value between 0x88 and 0x8C) IIC_end(); /end the brightness display***/ delay(100); } /—————————————————————-/ void IIC_start() { digitalWrite(IIC_SCL,LOW); delayMicroseconds(3); digitalWrite(IIC_SDA,HIGH); delayMicroseconds(3); digitalWrite(IIC_SCL,HIGH); delayMicroseconds(3); digitalWrite(IIC_SDA,LOW); delayMicroseconds(3);
} void IIC_send(unsigned char send_data) { for(char i = 0;i < 8;i++) { digitalWrite(IIC_SCL,LOW); delayMicroseconds(3); if(send_data & 0x01) { digitalWrite(IIC_SDA,HIGH); } else { digitalWrite(IIC_SDA,LOW); } delayMicroseconds(3); digitalWrite(IIC_SCL,HIGH); delayMicroseconds(3); send_data = send_data >> 1; } } void IIC_end()
{ digitalWrite(IIC_SCL,LOW); delayMicroseconds(3); digitalWrite(IIC_SDA,LOW); delayMicroseconds(3); digitalWrite(IIC_SCL,HIGH); delayMicroseconds(3); digitalWrite(IIC_SDA,HIGH); delayMicroseconds(3); }
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.
Velleman® Service and Quality Warranty
Since its foundation in 1972, Velleman® acquired extensive experience in the electronics world and currently distributes its products in over 85 countries. All our products fulfil strict quality requirements and legal stipulations in the EU. In order to ensure the quality, our products regularly go through an extra quality check, both by an internal quality department and by specialized external organisations. If, all precautionary measures notwithstanding, problems should occur, please make appeal to our warranty (see guarantee conditions).
General Warranty Conditions Concerning Consumer Products (for EU):
- All consumer products are subject to a 24-month warranty on production flaws and defective material as from the original date of purchase.
- 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. You will be delivered a replacing article or a refund at the value of 100% of the purchase price in case of a flaw occurred in the first year after the date of purchase and delivery, or a replacing article at 50% of the purchase price or a refund at the value of 50% of the retail value in case of a flaw occurred in the second year after the date of purchase and delivery.
Not covered by warranty:
– all direct or indirect damage caused after delivery to the article (e.g. by
oxidation, shocks, falls, dust, dirt, humidity…), and by the article, as well
as its contents (e.g. data loss), compensation for loss of profits;
– consumable goods, parts or accessories that are subject to an aging process
during normal use, such as batteries (rechargeable, non-rechargeable, built-in
or replaceable), lamps, rubber parts, drive belts… (unlimited list);
– flaws resulting from fire, water damage, lightning, accident, natural
disaster, etc….;
– flaws caused deliberately, negligently or resulting from improper handling,
negligent maintenance, abusive use or use contrary to the manufacturer’s
instructions;
– damage caused by a commercial, professional or collective use of the article
(the warranty validity will be reduced to six (6) months when the article is
used professionally);
– damage resulting from an inappropriate packing and shipping of the article;
– all damage caused by modification, repair or alteration performed by a third
party without written permission by Velleman®.
- Articles to be repaired must be delivered to your Velleman® dealer, solidly packed (preferably in the original packaging), and be completed with the original receipt of purchase and a clear flaw description.
- Hint: In order to save on cost and time, please reread the manual and check if the flaw is caused by obvious causes prior to presenting the article for repair. Note that returning a non-defective article can also involve handling costs.
- Repairs occurring after warranty expiration are subject to shipping costs.
- The above conditions are without prejudice to all commercial warranties.
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>