Change LEDs Between LEDs Using OneShield

by Ahmed SolimanE in Circuits > LEDs

523 Views, 2 Favorites, 0 Comments

Change LEDs Between LEDs Using OneShield

٢٠١٦٠٥٠٥_٠١٠٦٢٤.jpg

when you press on a key green led turn on

and when you press to another

key red led turn on and other will be off

and so on


Buy OneShield

٢٠١٦٠٥٠٥_٠١٠٧٢٩.jpg

*one-Shield

you can buy from this web

http://1sheeld.com/

LEDs

٢٠١٦٠٥٠٥_٠١٠٧١١.jpg

get LEDs different colors

RED

GREEN

YELLOW

WHITE

Get Wires

٢٠١٦٠٥٠٥_٠١٠٧٢١.jpg

jumper wires

Connection

٢٠١٦٠٥٠٥_٠١٠٥٤٤.jpg

connect LEDs with

Pins 8, 9, 10, 11 in arduino

SCHEMATICS

Untitled Sketch_schem.jpg

connect LEDs as shown

Install One-shield App From Store and Connect to Board

phone.png

install one-shield App from Store and connect to Board

for more info go to

link: http://1sheeld.com/tutorials/getting-started/

upload code on board Choose Keypad

٢٠١٦٠٥٠٥_٠١٠٥٤٤.jpg
٢٠١٦٠٥٠٥_٠١٠٥٤٩.jpg

When you press button A yellow LED will on

When you press button B green LED will on

When you press button C White LED will on

When you press button D Red LED will on

Upload Code

one shield   keypad

go to code here >>>

code of project