Sie sind auf Seite 1von 7

1

Email : admin@robomart.com
Contact : +91 - 8744000555

USER MANUAL FOR ARDUINO MULIT-


FUNCTIONALITY SHIELD

-------------------------------------------------------------------------------------------------------------------------------
Note: This tutorial is for the novice user. It shows how to set up Arduino IDE so that C/C++ Source files will be
compiled using GCC. For further information on Arduino IDE, AVR Libc, GCC, AVR ISP, AVR JTAG ICE, and other tools
please refer to the documentation which is also installed on the installation. Procedure described here is followed.
-------------------------------------------------------------------------------------------------------------------------------
2

Email : admin@robomart.com
Contact : +91 - 8744000555

Table of Contents
1. Introduction to ROBOMART Arduino Multi-functionality Shield ................................................... 3
2. Block Description of ROBOMART Multi-functionality Shield ......................................................... 3
3. How to Interface the Multi-functionality Shield on ROBOMART Arduino Board .......................... 4
4. Detailed Connection Settings of Arduino Multi-functionality Shield ............................................. 5
5. Study of some C program using for Arduino Multi-Functionality Shield ....................................... 6
5.1.Blinking of LEDs ........................................................................................................................ 6
3

Email : admin@robomart.com
Contact : +91 - 8744000555

1. Introduction to ROBOMART Arduino Multi-functionality


Shield
ROBOMART Arduino Multi-functionality Shield is manufactured taking with proper care to
include many protocols which includes I/O peripherals like 4bit LED Display, 4bit Keypad,
2Digit Seven Segment Display and Buzzer Module. The shield also includes ADC interface
and Serial Interface. The shield can be interfaced on any of the Arduino board to get the
desired output.

2. Block Description of ROBOMART Multi-functionality Shield


4

Email : admin@robomart.com
Contact : +91 - 8744000555

3. How to Interface the Multi-functionality Shield on


ROBOMART Arduino Board
Mount the ROBOMART Arduino Multi-functionality Shield on the top of ROBOMART
Arduino Board as shown on the figure-
5

Email : admin@robomart.com
Contact : +91 - 8744000555

4. Detailed Connection Settings of Arduino Multi-functionality


Shield
SL. NO. NAME OF THE PERIPHERALS DIGITAL PORT ANALOG PORT PORT NAME
1. 4 Bit LED Display (L0 - L3) Lo = 13 PORTB – PB5 (L0)
L1 = 12 NA PB4 (L1)
L2 = 11 PB3 (L2)
L3 = 10 PB2 (L3)
2. 4 Bit Keypad SW0 = 2 PORTC – PC2 (SW0)
NA SW1 = 3 PC3 (SW1)
SW2 = 4 PC4 (SW2)
SW3 = 5 PC5 (SW3)
3. Buzzer NA BZ1 = 1 PORTC - PC1
4. Seven Segment Display DP = 0 PORTB – PD0 (DP)
A=1 PD1 (A)
B=2 PD2 (B)
C=3 NA PD3 (C)
D=4 PD4 (D)
E=5 PD5 (E)
F =6 PD6 (F)
G=7 PD7 (G)
Enable1 = 8 PB0 (Enable1)
Enable0 = 9 PB1 (Enable0)
5. Analog Sensor NA 0 PORTC – PC0
6

Email : admin@robomart.com
Contact : +91 - 8744000555

5. Study of some C program using for Arduino Multi-


Functionality Shield

5.1. Blinking of LEDs


/*********Blinking of LEDs with Buzzer as indicator using Arduino Library*********/

/*
Turn 4 Bit LED and Buzzer ON for one second, then OFF for one second, repeatedly.
*/

// 4 Bit LEDs (L0 – L3) connected to Pin 13, 12, 11, 10 respectively and Buzzer BZ1
// connected to analog pin A1.
// give them a name:
int L0 = 13;
int L1 = 12;
int L2 = 11;
int L3 = 10;
int BZ1 = A1;

// the setup routine runs once when you press reset:


void setup()
{
// initialize the digital pins as an output.
pinMode(L0, OUTPUT);
pinMode(L1, OUTPUT);
pinMode(L2, OUTPUT);
pinMode(L3, OUTPUT);
pinMode(BZ1, OUTPUT);

// the loop routine runs over and over again forever:


void loop()
{
digitalWrite(L0, HIGH); // turn the LED L0 ON (HIGH is the voltage level)
digitalWrite(L1, HIGH); // turn the LED L1 ON (HIGH is the voltage level)
digitalWrite(L2, HIGH); // turn the LED L2 ON (HIGH is the voltage level)
digitalWrite(L3, HIGH); // turn the LED L3 ON (HIGH is the voltage level)
digitalWrite(BZ1, HIGH); // turn the Buzzer BZ1 ON (HIGH is the voltage level)
delay(1000); // wait for a second

digitalWrite(L0, LOW); // turn the LED L0 OFF by making the voltage LOW
digitalWrite(L1, LOW); // turn the LED L1 OFF by making the voltage LOW
digitalWrite(L2, LOW); // turn the LED L2 OFF by making the voltage LOW
digitalWrite(L3, LOW); // turn the LED L3 OFF by making the voltage LOW
digitalWrite(BZ1, LOW); // turn the Buzzer BZ1 OFF by making the voltage LOW
delay(1000); // wait for a second
}
/*************end of the program*************/
7

Email : admin@robomart.com
Contact : +91 - 8744000555

Thanks for purchasing


ROBOMART
Multi-Functionality Shield
from

Das könnte Ihnen auch gefallen