Arduino Mini Shields Construction

Documentos relacionados
Dropbox Quick Start. What is Dropbox? The Dropbox Folder

How to Build a Robot at Home

Projeto No. 12 Display de Led de 7 Segmentos

As 100 melhores piadas de todos os tempos (Portuguese Edition)

Guião N. Descrição das actividades

User Guide Manual de Utilizador

Primavera Risk Analysis v8.7

Aspectos Multidisciplinares das Artes Marciais: 1 (Portuguese Edition)

Addition of Fields in Line Item Display Report Output for TCode FBL1N/FBL5N

Comportamento Organizacional: O Comportamento Humano no Trabalho (Portuguese Edition)

ATLAS DE ACUPUNTURA VETERINáRIA. CãES E GATOS (EM PORTUGUESE DO BRASIL) BY CHOO HYUNG KIM

Introdução à plataforma Arduino

Lab2. Germano Maioli Penello IF-UFRJ aula 17.

GERENCIAMENTO PELAS DIRETRIZES (PORTUGUESE EDITION) BY VICENTE FALCONI

O Livro dos Espíritos - Tradução Evandro Noleto Bezerra (Portuguese Edition)

BOND-LINE DRAWINGS 1.1 HOW TO READ BOND-LINE DRAWINGS CHAPTER1

Mobile Communications Product Guide

Meditacao da Luz: O Caminho da Simplicidade

GUIÃO F. Grupo: Minho. 1º Momento. Intervenientes e Tempos. Descrição das actividades

Wi-Fi Range Extender Add-on Device Quickstart Guide

O ABC da Fisioterapia Respiratória (Portuguese Edition)

Medicina Integrativa - A Cura pelo Equilíbrio (Portuguese Edition)

ATLAS DE ACUPUNTURA VETERINáRIA. CãES E GATOS (EM PORTUGUESE DO BRASIL) BY CHOO HYUNG KIM

Projeto No. 11 Display de Leds de 7 Segmentos

DISCOVERING THE NATURE OF PERIODIC DATA: I. GENERATING DATA WITH A MOTION DETECTOR

User's Guide. Manual de Utilizador

REDAçãO PARA CONCURSOS E VESTIBULARES - PASSO A PASSO (PORTUGUESE EDITION) BY DAD SQUARISI, CéLIA CURTO

Ganhar Dinheiro Em Network Marketing (Portuguese Edition)

O PRíNCIPE FELIZ E OUTRAS HISTóRIAS (EDIçãO BILíNGUE) (PORTUGUESE EDITION) BY OSCAR WILDE

GUIÃO I. Grupo: Continente e Ilha. 1º Momento. Intervenientes e Tempos. Descrição das actividades

GERENCIAMENTO DA ROTINA DO TRABALHO DO DIA-A-DIA (EM PORTUGUESE DO BRASIL) BY VICENTE FALCONI

Units 3 and 4. 3rd Bimester Content. Future Predictions. Life events. Personality adjectives. English - Leonardo Bérenger and Aline Martins

COMO ESCREVER PARA O ENEM: ROTEIRO PARA UMA REDAçãO NOTA (PORTUGUESE EDITION) BY ARLETE SALVADOR

A ENTREVISTA COMPREENSIVA: UM GUIA PARA PESQUISA DE CAMPO (PORTUGUESE EDITION) BY JEAN-CLAUDE KAUFMANN

Adoção: guia prático doutrinário e processual com as alterações da Lei n , de 3/8/2009 (Portuguese Edition)

PODER DO ESPIRITO SANTO, O BY BILLY GRAHAM

Pesquisa de Marketing: Uma Orientação Aplicada (Portuguese Edition)

Dermatologia Clínica. Guia Colorido Para Diagnostico e Tratamento (Em Portuguese do Brasil)

Aposentadoria e INSS: Entenda como funcionam e defenda-se (Coleção Seus Direitos) (Portuguese Edition)

Bíblia do Obreiro - Almeida Revista e Atualizada: Concordância Dicionário Auxílios Cerimônias (Portuguese Edition)

Love Story # # œ œ œ œ œ œ œ œ œ œ A. œ œ œ œ œ œ. œ Œ œ œ œ œ œ œ. œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ œ. œ œ œ. œ œ œ œ. œ œ œ œ œ œ œ œ œ œ œ œ

Dinâmicas de leitura para sala de aula (Portuguese Edition)

Medicina e Meditação - Um Médico Ensina a Meditar (Portuguese Edition)

KuMax (1000 V / 1500 V)

Os 7 Hábitos das Pessoas Altamente Eficazes (Portuguese Edition)

Inglês. Guião. Teste Intermédio de Inglês. Parte III Interacção Oral. Teste Intermédio. Duração do Teste: 10 a 15 minutos De a

PL/SQL: Domine a linguagem do banco de dados Oracle (Portuguese Edition)

Conversação Para Viagem - Inglês (Michaelis Tour) (Portuguese Edition)

Iniciação à Administração Geral (Portuguese Edition)

Biossegurança: uma abordagem multidisciplinar (Portuguese Edition)

Biscuit - potes (Coleção Artesanato) (Portuguese Edition)

Descrição das actividades

Física Experimental VI

Direito Processual Civil (Coleção Sucesso Concursos Públicos e OAB) (Portuguese Edition)

Minhas lembranças de Leminski (Portuguese Edition)

Guia para Formacao de Analistas de Processos: Gestão Por Processos de Forma Simples (Portuguese Edition)

Comece Algo que Faça a Diferença (Portuguese Edition)

Farmácia Homeopática: Teoria e Prática (Portuguese Edition)

HISTOLOGIA E BIOLOGIA CELULAR. UMA INTRODUçãO À PATOLOGIA (EM PORTUGUESE DO BRASIL) BY ABRAHAM L. KIERSZENBAUM

Podem ser substituídos pelo módulo P7-Sensor de Luminosidade da GBK Robotics.

Japanese-speaking guides? guias que falam japonês? meals for vegetarian? refeições para vegetarianos?

Um olhar que cura: Terapia das doenças espirituais (Portuguese Edition)

Labrador: Guia prático ilustrado (Coleção Pet Criador) (Portuguese Edition)

Gestão da comunicação - Epistemologia e pesquisa teórica (Portuguese Edition)

Vaporpunk - A fazenda-relógio (Portuguese Edition)

PL/SQL: Domine a linguagem do banco de dados Oracle (Portuguese Edition)

TEN CATE. HISTOLOGIA ORAL (EM PORTUGUESE DO BRASIL) BY ANTONIO NANCI

Islamismo (Coleção Religiões) (Portuguese Edition)

COMPUTAÇÃO E PROGRAMAÇÃO

Direito Processual Civil (Coleção Sucesso Concursos Públicos e OAB) (Portuguese Edition)

Transformando Pessoas - Coaching, PNL e Simplicidade no processo de mudancas (Portuguese Edition)

Receitas na Pressão - Vol. 01: 50 Receitas para Panela de Pressão Elétrica (Portuguese Edition)

Relações públicas comunitárias (Portuguese Edition)

COMO ESCREVER PARA O ENEM: ROTEIRO PARA UMA REDAçãO NOTA (PORTUGUESE EDITION) BY ARLETE SALVADOR

Como testar componentes eletrônicos - volume 1 (Portuguese Edition)

CODIGOS CONTROLE RS232 Matrix HDMI 4x2 Control EDID/RS232 (GB )

Finanças pessoais: o que fazer com meu dinheiro (Portuguese Edition)

Modelagem de Processos com BPMN (2ª edição) (Portuguese Edition)

GERENCIAMENTO DA ROTINA DO TRABALHO DO DIA A DIA (PORTUGUESE EDITION) BY VICENTE FALCONI

ZECA - DEIXA O SAMBA ME LEVAR (Portuguese Edition)

Wi-Fi Camera Add-on Device Quickstart Guide

REMINISCêNCIAS DE UM ESPECULADOR FINANCEIRO: REMINISCENCES OF A STOCK OPERATOR (PORTUGUESE. EDITION) BY MR. EDWIN LEFèVRE

Valuable Tracking Sensor Add-on Device Quickstart Guide

Stick Up Cam Battery

MANUAL PRATICO DO PLANO DE PROJETO: UTILIZANDO O PMBOK GUIDE BY RICARDO VIANA VARGAS

TDD Desenvolvimento Guiado por Testes (Portuguese Edition)

MEDICINA INTERNA DE PEQUENOS ANIMAIS (EM PORTUGUESE DO BRASIL) BY RICHARD COUTO C.^NELSON

Pesquisa Qualitativa do Início ao Fim (Métodos de Pesquisa) (Portuguese Edition)

Bíblia do Obreiro - Almeida Revista e Atualizada: Concordância Dicionário Auxílios Cerimônias (Portuguese Edition)

ATLAS COLORIDO DE ANATOMIA VETERINáRIA DE EQUINOS (EM PORTUGUESE DO BRASIL) BY STANLEY H. ASHDOWN RAYMOND R. DONE

Estrelinhas Brasileiras: Como Ensinar a Tocar Piano de Modo Ludico Usando Pecas de Autores Brasileiros - Vol.2

1001 perguntas e respostas da Bíblia (Portuguese Edition)

Direito Processual Civil (Coleção Sucesso Concursos Públicos e OAB) (Portuguese Edition)

Monteiro Lobato, Livro A Livro - Obra Adulta (Portuguese Edition)

User Guide. Wiegand Reader AR-721U/ AR-721K/ AR-661U V060419

Guia prático da nova ortografia (Portuguese Edition)

Transtorno de Personalidade Borderline Mais de 30 segredos para retomar sua vida Ao lidar com TPB (Portuguese Edition)

Transcrição:

instructables Arduino Mini Shields Construction by Patel Darshil Presented Here are the Arduino Mini Shields. These Shields are very easy and fun to make. Arduino shields are very useful for the Arduino to help you out in some very common projects like IR Communication, Relay Controlling, etc. This shields are also portable. You can also make your own custom Mini Arduino Shields. It is a Great IOT Project to make. In this project, I experienced that Each Shield is like a mini electronic Project. And I think it would be nice project for Beginners in Arduino. I first of all Made the Relay Shield. I started making week ago and one by one I completed all six of them. Now, I have presented here Six Arduino Shields. 1. IR Communication Shield 3. Light Sensing Shield 4. D-Pad Shield 5. Seven Segment Display Shield 6. Relay Shield. I have also provided codes for testing your mini shields and to show that all shields are fully functional. you can also make a Custom Shield of Mini Shields I am sure you would find the instructable Interesting. PLEASE DO NOT FORGET TO FAVORITE AND VOTE THIS INSTRUCTABLE!!! 2. Debouncing A Button Shield Arduino Mini Shields Construction: Page 1

Arduino Mini Shields Construction: Page 2

Step 1: Arduino Pin Configuration Above image shows you some pin configuration which ais very useful for making arduino shields and connecting them at right place for perfect working. Arduino Mini Shields Construction: Page 3

Step 2: Components for Debouncing a Button Shield Here are the list of Components for Debouncing A Button Shield: 1. 220 ohm Resistor 2. LED 3. 10k Resistor 4. 4 pin Connector 6 5 3 4 12 1. Tactile Switch 2. Tactile Switch 3. 4 pin Connector 4. 220 ohm Resistor 5. 10k Resistor 6. LED Arduino Mini Shields Construction: Page 4

Step 3: Debouncing a Button Here is the making of the Shield "Debouncing A Button". Sometimes we press a button but it does not count in the counter. Even if you press 10 times, it can count only to 5 or 6 times. In bouncing, the contact of the switch is made only one side and not both the side and then it contacts both the side. We will study the bouncing phenomena with the help of this shield and the code provided in the next step. Circuit Diagram is also provided in the images. In the circuit we have a tactile switch connected across pin no. 2 of Arduino UNO and VCC. 10k Resistor is placed across GND and Pin no. 2 of Arduino. 220 ohm resistor is connected to pin no. 13 and it is connected to positive terminal of the LED and negative terminal of the LED is connected to GND. So, there we have a complete Debouncing A Button Shield. Now, connect the shield to Arduino and apply the code from the next step. Press the button couple of times to see how it responds.. Arduino Mini Shields Construction: Page 5

Step 4: Code for Debouncing a Button Shield Arduino Mini Shields Construction: Page 6

Download (https://cdn.instructables.com/orig/fza/6xr6/j3ypy218/fza6xr6j3ypy218.txt) http://www.instructable (https://cdn.instructables.com/orig/fza/6xr6/j3ypy218/fza6xr6j3ypy218.txt) Step 5: Components for Seven Segment Display Shield 1. Seven Segment Display 2. 8 pin Connector 3. 100 ohm Resistor Arduino Mini Shields Construction: Page 7

3 1 2 1. 100 ohm Resistor 2. 8 pin Connector 3. 7 Segment Display Step 6: Seven Segment Display Shield In Seven Segment Display Shield we would try to Interface the Seven Segment Display to the Arduino. We will then with the help of code try to make a 0-9 Display. Circuit Diagram is there in the images. You can follow it. Connections of Seven Segment Display are as follows: PIN1 to PIN 6 of ARDUINO UNO PIN2 to PIN 5 PIN4 C to PIN 4 PIN6 to PIN 3 PIN7 to PIN 2 PIN9 to PIN 7 PIN10 PIN 8 PIN3 to ground through 100 resistor. Now, our Seven Segment Shield is ready. Arduino Mini Shields Construction: Page 8

Arduino Mini Shields Construction: Page 9

Step 7: Code for Seven Segment Display Shield Arduino Mini Shields Construction: Page 10

#define sega 2//connecting segment A to PIN2 #define segb 3// connecting segment B to PIN3 #define segc 4// connecting segment C to PIN4 #define segd 5// connecting segment D to PIN5 #define sege 6// connecting segment E to PIN6 #define segf 7// connecting segment F to PIN7 #define segg 8// connecting segment G to PIN8 int COUNT=0;//count integer for 0-9 increment void setup() { for (int i=2;i<9;i++) { pinmode(i, OUTPUT);// taking all pins from 2-8 as output } } void loop() { switch (COUNT) { case 0://when count value is zero show 0 on disp digitalwrite(sega, HIGH); digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, HIGH); digitalwrite(sege, HIGH); digitalwrite(segf, HIGH); digitalwrite(segg, LOW); break; case 1:// when count value is 1 show 1 on disp digitalwrite(sega, LOW); digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, LOW); digitalwrite(sege, LOW); digitalwrite(segf, LOW); digitalwrite(segg, LOW); break; case 2:// when count value is 2 show 2 on disp digitalwrite(sega, HIGH); digitalwrite(segb, HIGH); digitalwrite(segc, LOW); digitalwrite(segd, HIGH); digitalwrite(sege, HIGH); digitalwrite(segf, LOW); digitalwrite(segg, HIGH); break; case 3:// when count value is 3 show 3 on disp digitalwrite(sega, HIGH); Arduino Mini Shields Construction: Page 11

digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, HIGH); digitalwrite(sege, LOW); digitalwrite(segf, LOW); digitalwrite(segg, HIGH); break; case 4:// when count value is 4 show 4 on disp digitalwrite(sega, LOW); digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, LOW); digitalwrite(sege, LOW); digitalwrite(segf, HIGH); digitalwrite(segg, HIGH); break; case 5:// when count value is 5 show 5 on disp digitalwrite(sega, HIGH); digitalwrite(segb, LOW); digitalwrite(segc, HIGH); digitalwrite(segd, HIGH); digitalwrite(sege, LOW); digitalwrite(segf, HIGH); digitalwrite(segg, HIGH); break; case 6:// when count value is 6 show 6 on disp digitalwrite(sega, HIGH); digitalwrite(segb, LOW); digitalwrite(segc, HIGH); digitalwrite(segd, HIGH); digitalwrite(sege, HIGH); digitalwrite(segf, HIGH); digitalwrite(segg, HIGH); break; case 7:// when count value is 7 show 7 on disp digitalwrite(sega, HIGH); digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, LOW); digitalwrite(sege, LOW); digitalwrite(segf, LOW); digitalwrite(segg, LOW); break; case 8:// when count value is 8 show 8 on disp digitalwrite(sega, HIGH); digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, HIGH); digitalwrite(sege, HIGH); digitalwrite(segf, HIGH); Arduino Mini Shields Construction: Page 12

digitalwrite(segg, HIGH); break; case 9:// when count value is 9 show 9 on disp digitalwrite(sega, HIGH); digitalwrite(segb, HIGH); digitalwrite(segc, HIGH); digitalwrite(segd, HIGH); digitalwrite(sege, LOW); digitalwrite(segf, HIGH); digitalwrite(segg, HIGH); break; break; } if (COUNT<10) { COUNT++; delay(1000);///increment count integer for every second } if (COUNT==10) { COUNT=0;// if count integer value is equal to 10, reset it to zero. delay(1000); } } Arduino Mini Shields Construction: Page 13

Step 8: Components for Relay Shield 1. 6v Relay 2. 4k7 Resistor 3. 1k Resistor 4. LED 5. 1N4148 Diode or 1N4007 Diode 6. BC 547 Transistor Arduino Mini Shields Construction: Page 14

1 4 2 3 5 1. 6v Relay 2. 4k7 Resistor 3. 1k Resistor 4. 1N4148 Diode 5. BC 547 Transistor Step 9: Relay Shield In the Relay Shield we will power or control the relay with the help of ARDUINO. You can connect the NO, NC AND C Accordingly as per the circuit Diagram. In the circuit, to the positive power supply, Positive terminal of the LED is connected through a 1k Resistor and negative terminal of 1N4148 Diode is connected and positive terminal of it is connected to negative terminal of the LED. Coil of the Relay is attached across 1N4148 Diode's Terminals. Collector the BC 547 Transistor is connected to positive terminal of the 1N4148 Diode and emitter is connected to Ground. BASE is connected to pin no. 2 of Arduino through a 4k7 Resistor. Now, our relay shield is Ready. Arduino Mini Shields Construction: Page 15

Step 10: Components of D Pad Shield 1. 4 x Tactile Switches 2. 5 pin Connector Arduino Mini Shields Construction: Page 16

1 2 1. 4 Tactile Switches 2. 5 pin Connector Step 11: D-Pad Button Sheild Here is the D-Pad Mini shield. It is the Directional input for Arduino. By applying the code and making the circuit you can get the display of the Directions you input. Make the circuit for the D-pad shield according to the circuit Diagram provide here. Here one terminal of all 4 Buttons are connected to Ground. UPPER BUTTON is connected to pin no. 2 of Arduino. RIGHT BUTTON is connected to pin no. 3 of Arduino. LEFT BUTTON is connected to pin no. 4 of Arduino. DOWN BUTTON is connected to pin no. 5 of Arduino. Now, you D-pad Shield is ready and code is available at next step. You can go through this website for complete information: http://mitchtech.net/android-arduino-usb-host-d-pad/ Arduino Mini Shields Construction: Page 17

Arduino Mini Shields Construction: Page 18

Step 12: Code for D-Pad Mini Shield http://www.instructable Download (https://cdn.instructables.com/orig/fmz/t64e/j3ypxh15/fmzt64ej3ypxh15.txt) (https://cdn.instructables.com/orig/fmz/t64e/j3ypxh15/fmzt64ej3ypxh15.txt) Step 13: Components for Light Sensing Shield 1. LDR 2. LED 3. 4k7 Resistor 4. 4 pin connector Arduino Mini Shields Construction: Page 19

2 1 3 4 1. LED 2. 4 pin Connector 3. 4k7 Resistor 4. LDR Step 14: Light Sensing Shield In this Light Sensing Shied, Light is sensed through LDR. The circuit is to be made according to the circuit Diagram and the Code is there in the next step. In the circuit Diagram, LDR is connected across A0 Pin and VCC Of teh Arduino. Negative Terminal of the LED is connected to A0 pin through a 4k7 Resistor and positive terminal is connected to pin no. 3 of Arduino. Now, Our Light Sensing Shield is ready. Arduino Mini Shields Construction: Page 20

Step 15: Code for Light Sensing Shield Arduino Mini Shields Construction: Page 21

Download (https://cdn.instructables.com/orig/f9p/m4ki/j3ypxt19/f9pm4kij3ypxt19.txt) http://www.instructable (https://cdn.instructables.com/orig/f9p/m4ki/j3ypxt19/f9pm4kij3ypxt19.txt) Step 16: Components of the IR Communication Shield 1. IR LED 2. TSOP 1738 3. 100 ohm Resistor 4. Tactile Switch 5. 5 pin Connector Arduino Mini Shields Construction: Page 22

2 3 1 4 5 1. 5 pin Connector 2. TSOP 1738 3. Tactile Switch 4. IR LED 5. 100 ohm Resistor Step 17: IR Communication Shield In the IR Communication Shield, we will interface the IR LED and TSOP to the Arduino. As you tap the switch IR LED will transmit IR Rays. TSOP does the work of Receiver. You can make the circuit by following the circuit Diagram. You can find the code here: https://learn.sparkfun.com/tutorials/ir-communicat... pin no. 3 of the Arduino through 100 ohm Resistor. A switch is connected between GND and Vin Pin of the Arduino. 3rd Pin of TSOP is connected to VCC of Arduino. 2nd Pin of TSOP is connected to -ve of Arduino. 1st pin of TSOP is connected to 11 pin of Arduino. Now,your IR Communication Shield is also Ready. Here positive terminal of the IR LED is connected to Arduino Mini Shields Construction: Page 23

Arduino Mini Shields Construction: Page 24

Step 18: Thank You I hope you found it useful and interesting. Have a Nice Day Thank You for stopping By... Arduino Mini Shields Construction: Page 25