MAKERFACTORY MAKEVMA502 User guide

MAKEVMA502
BASIC DIY KIT WITH ATMEGA2560 FOR ARDUI NO®
USER MANUAL
MAKEVMA502
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.
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.
The dealers cannot 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.
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.
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
3. General Guidelines
V. 01 – 08/11/2017 2
MAKEVMA502
MAKEVMA101
The MAKEVMA101 (Arduino® compatible) Mega 2560 is a microcontroller board based on the ATmega2560. It has 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analogue inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller. Connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started. The Mega is compatible with most shields designed for the Arduino® Duemilanove or Diecimila.
4. 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.
®
5. Contents
1 x ATmega2560 Mega development board (MAKEVMA101) 15 x LED (different colors) 8 x 220 resistor (RA220E0) 5 x 1K resistor (RA1K0) 5 x 10K resistor (RA10K0) 1 x 830-hole breadboard 4 x 4-pin key switch 1 x active buzzer (MAKEVMA319) 1 x passive buzzer 1 x infrared sensor diode 1 x LM35 temperature sensor (LM35DZ) 2 x ball tilt switch (similar to MERS4 and MERS5) 3 x photosensitive resistor LDR (similar to LDR04) 1 x single-digit 7-segment LED display 30 x breadboard jumper wire 1 x USB cable
6. The ATmega2560 Mega
V. 01 – 08/11/2017 3
MAKEVMA502
1
USB interface
7 Atmel mega2560
2
ICSP for 16U2
8 reset button
3
digital I/O
9 digital I/O
4
Atmel mega16U2
10
7-12 VDC power input
5
ICSP for mega2560
11
power and ground pins
6
16 MHz clock
12
analogue input pins
microcontroller ................................................................................................ ATmega2560
operating voltage ....................................................................................................... 5 VDC
input voltage (recommended) ................................................................................ 7-12 VDC
input voltage (limits) ............................................................................................. 6-20 VDC
digital I/O pins .............................................................. 54 (of which 15 provide PWM output)
analogue input pins ......................................................................................................... 16
DC current per I/O pin ............................................................................................... 40 mA
DC current for 3.3 V pin ............................................................................................. 50 mA
flash memory ........................................................... 256 kB of which 8 kB used by bootloader
SRAM ........................................................................................................................ 8 kB
EEPROM...................................................................................................................... 4 kB
clock speed ............................................................................................................. 16 MHz
dimensions
length ............................................................................................................... 112 mm
width ................................................................................................................. 55 mm
weight ................................................................................................................... 62 g
Power rails.
7. Operation
7.1 The Breadboard
Breadboards are one of the most fundamental pieces when learning how to build circuits. In this tutorial, we will introduce you to what breadboards are and how they work.
Let us look at a larger, more typical breadboard. Aside from the horizontal rows, breadboards have what are called power rails that run vertically along the sides.
V. 01 – 08/11/2017 4
MAKEVMA502
Ravine.
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. Thus, we can connect components to each side of the IC without interfering with the functionality of the leg on the opposite side.
7.2 A Blinking LED
Let’s start with a simple experiment. We are going to connect an LED to one of the digital pins rather than using LED13, which is soldered to the board.
Required Hardware
1 x red M5 LED 1 x 220 resistor 1 x breadboard jumper wires as needed
Follow the diagram below. We are using digital pin 10, and connecting the LED to a 220 resistor to avoid high-current damaging the LED.
V. 01 – 08/11/2017 5
MAKEVMA502
Connection
Programming Code
Result
After programming, you will see the LED connected to pin 10 blinking, with an interval of approximately one second. Congratulations, the experiment is now successfully completed!
V. 01 – 08/11/2017 6
Loading...
+ 13 hidden pages