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
VMA502 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 –...
VMA502 USB interface Atmel mega2560 ICSP for 16U2 reset button digital I/O digital I/O Atmel mega16U2 7-12 VDC power input ICSP for mega2560 power and ground pins 16 MHz clock analogue input pins microcontroller ....................ATmega2560 operating voltage ....................... 5 VDC input voltage (recommended) ................
VMA502 Chips have legs that come out of both sides and fit perfectly over the ravine. Since each leg on the IC is unique, we do not want both sides to be connected to each other. That is where the separation in the middle of the board comes in handy.
Page 7
VMA502 PWM Gradational LED PWM (Pulse Width Modulation) is a technique used to encode analogue signal levels into digital ones. A computer cannot output analogue voltage but only digital voltage values. So, we will be using a high-resolution counter to encode a specific analogue signal level by modulating the duty cycle of PWM. The PWM signal is also digitalized because in any given moment, fully on DC power is either 5 V (on) of 0 V (off).
Page 9
VMA502 In this code, we are using the analogWrite (PWM interface, analogue value) function. We will read the analogue value of the potentiometer and assign the value to PWM port, so there will be corresponding change to the brightness of the LED. One final part will be displaying the analogue value on the screen. You can consider this as the analogue value reading project adding the PWM analogue value assigning part.
Page 10
VMA502 Programming Code Result After programming, the buzzer should ring. The Phototransistor A phototransistor is a transistor the resistance of which varies according to different light strengths. It is based on the photoelectric effect of a semiconductor. If the incident light is intense, the resistance reduces; if the incident light is weak, the resistant increases.
Page 12
VMA502 The Flame Sensor A flame sensor (IR receiving diode) is specifically used on robots to find the fire source. This sensor is highly sensitive to flames. A flame sensor has a specifically designed IR tube to detect fire. The brightness of the flames will then be converted to a fluctuating level signal.
Page 13
VMA502 Programming Code The LM35 Temperature Sensor The LM35 is a common and easy-to-use temperature sensor. It does not require other hardware, you just need an analogue port to make it work. The difficulty lies in compiling the code to convert the analogue value it reads to Celsius temperature.
Page 15
VMA502 The Tilt Sensor Switch A tilt sensor will detect orientation and inclination. They are small, low power and easy-to-use. If used properly, they will not wear out. Their simplicity makes them popular for toys, gadgets and other appliances. They are referred to as mercury, tilt or rolling ball switches.
Page 17
VMA502 One-Digit Seven-Segment Display LED segment displays are common for displaying numerical information. They are widely applied on displays of ovens, washing machines, etc. the LED segment display is a semiconductor light-emitting device. Its basic unit is an LED (light-emitting diode). Segment displays can be divided into 7-segment and 8-segment displays.
Page 20
• 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.
Need help?
Do you have a question about the VMA502 and is the answer not in the manual?
Questions and answers