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

Control home lights with your voice (Arduino Home Hacks #1)

It’s now the age were the word “Hack” is a relevant word we see and hear everywhere, and i don’t mean the software cyber hacks,I am talking about DIY hacks 😀 . We made this Home Automation Hacks series to help you add fun features to your home stuff by doing it yourself 😉 . …

Control a fan with smartphone gesture (Arduino Home Hacks #2)

Welcome to our home automation hacks series #2, today I am going to show you how to hack your home outlets with Arduino and a phone gesture 😉 .This time I used Accelerometer sensor shield from 1Sheeld application. And with a simple gesture it will open\close the outlet to trigger the fan on or off …

Display traffic status on an IKEA clock with Arduino and 1Sheeld

Whenever it’s time to get off the office, I always check the traffic status to choose the best time to go home. But I couldn’t find a way to do that autonomously. So then …. I was up to make a system that shows me the current traffic status with the help of a simple tool that is used …

Log noise level on cloud using Arduino & 1Sheeld

Nowadays people started integrating stuff with the internet for their daily uses, and fortunately, it’s not hard to do so..! as there are a lot of hardware/software tools that ease the development of such applications. One of these tools is the 1Sheeld’s Internet shield, which allows your arduino board to connect to a mobile application …

Arduino’s SoftwareSerial vs AltSoftSerial: Which library to use with 1Sheeld+ ?

The newer version of 1Sheeld (1Sheeld+) built to support both iOS and Android devices,but not just that …! There’s another secret feature supported to solve the problem of using extra shield/board over 1Sheeld+, and this shield/board have the same way of communication used by 1Sheeld+ (The hardware UART serial pins pin0&pin1) with your Arduino. Exactly …

NFC Module for Arduino

Top 3 NFC modules for Arduino

We can see how much RFID applications are being used in our daily life like in the elevators, many facilities entrances or even in some supermarkets but have you ever thought of how it works? RFID stands for “Radio Frequency ID” so it’s uniquely identifying items through radio frequency and it composed out of three main …