Basic I/O Shields

If this is your first time using 1Sheeld, we recommend you start with the getting started tutorial first to know how to use 1Sheeld.

Introduction

I/O shields provides simple functions that use your smartphone as on input or output to Arduino.

There are two ways of using I/O shields:

Using the library
You may upload a sketch and deal with the I/O Shields, check the examples for more information.
Directly
(Without using the library): You have the option to deal with the 1Sheeld Microcontroller and handle all inputs and outputs.

Basic I/O shields List:



In each Basic I/O shield, there is a button called CONNECT at the right side of the Screen, when you press it, a schematic of arduino board appears.

Slide your Finger over the pins of the Arduino board and choose the pin to be connected to your 1Sheeld.

When using the Seven segment shield, you may choose each segment individually and assign each segment to a single Arduino digital I/O pin by pressing on each segment. Character identifiers for each segment are shown under the Arduino board.

A similar approach works for the Keypad shield, you may assign an Arduino digital I/O pin to a single row or column. With the Game Pad shield, you may assign pins individually to the arrows and buttons.

Note:In case a pin State on 1Sheeld is set to OUTPUT using the Basic Output shields, the same Arduino pins State shouldn’t be set to OUTPUT since it will not work properly then.

For example, If you select the on/off button and connect it to pin 12, do not use pin 12 as output in your sketch.

If the pin is floating or pre-set to input may work according to your application.

Example:

Using On/Off Shield directly (without using the library or uploading sketch)

Let’s make a LED goes on and off!

  1. Get your Arduino board and place 1Sheeld on top of it (check 1Sheeld Adjustment Tutorial).
  2. Connect a LED to pin 13 on your board.
  3. Plug the Arduino board to your PC.
  4. Make sure to check if there is already an uploaded sketch on your Arduino board and the pin you will be using is not set to output in that Sketch.
  5. Open the application and connect to 1Sheeld.
  6. Choose the Toggle Button shield and press the CONNECT button on the right side of the screen.
  7. Swipe your finger on the pins and choose pin 13 (for example), then press CONNECT button again.
  8. Play with the LED using the on/off button from your smartphone screen.



Related Blogs

Arduino Robotics

Arduino Robotics Series, from a car to a robot arm

Arduino keeps standing out from the crowd of all-around development boards due too its ease of use and budget price. As a result, this has enabled almost anyone to get his own idea into life no matter how crazy or even useless to the whole world it was, except for its maker! Also, it has …

Arduino Robot Arm

How to build an Arduino Robot Arm placed on RC Car

Arduino robots are always funny and definitely more enjoyable when combined with robotic arm! And today, I will walk you through the making of a simple Arduino Robot Arm that’s made of cardboard and how you can attach it over your Arduino Bluetooth RC Car / Robot that you have made so far through this series. …

Arduino Line Following Robot

How to build an Arduino Line Following Robot using Cardboard

Arduino Line Following Robot is one of the easiest and most well-known projects that anyone can make to learn the basics of programming, electronics, and mechanics all in one project. It’s known that this project is common for most of the makers and tech students and today I am going to give it a revisit …

Arduino Obstacle Avoiding Robot

How to build an Arduino Obstacle Avoiding Robot using Cardboard

Back again with another Arduino Bluetooth RC Car tutorial but with an advanced feature that makes your car autonomous by adding ultrasonic sensors to the RC Car you have made before!. Yeah, I know that you may have seen other tutorials using ultrasonic to make the car/robot avoid obstacles ahead, but I am going to …

Arduino Bluetooth RC car

How to make an Arduino Bluetooth RC Car using Cardboard

  Cardboard crafts are one of the most popular and easy to make DIY stuff. Mixing this with the unmatchable enjoyment of RC Cars and the ease of using Arduino, I am going to show you how to make a Cardboard Arduino Bluetooth RC car that you can control via Bluetooth from your smartphone.  …

Arduino Security Camera

Arduino Security Camera System (Arduino Home Hacks #4)

Arduino Security Camera Have you ever wanted to check your home in real time? Afraid that maybe someone has stormed in, don’t remember if you shut the door or not or maybe wanna check if your Hyper-energetic dog has broken any of your dishes AGAIN!! 🙂 Then this is the perfect place for you cause today …