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 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 …

Arduino IoT

Arduino IoT Shield Functions Explainer

Arduino makers …. you can connect your Arduino to MQTT brokers(servers) and launch your IoT with Arduino IoT Shield! It’s the 1Sheeld IoT shield that will do the job for you. It’s one of the most important but recent Arduino shields in 1Sheeld. Simply, it turns your Arduino into MQTT client where you can publish and …

Arduino Temperature Humidity System

IoT Arduino Temperature and Humidity System

Monitor my home environmental parameters remotely is one of the most desirable things I have ever wanted to make. It’s not about purchasing such a system that can get the job done for me. But, passion to create it myself. So, today, I am going to connect the popular DHT sensor to an online MQTT …

Arduino Door Lock

IoT Arduino Door Lock using 1Sheeld and Smartphone

  “Oh God! … It seems like I have forgotten the door lock open, again” … the normal saying whenever I am in hurry to go out! Have you encountered this problem before? It always confuses me since I may even think that I have left the door lock opened, and once I go back, …

IoT Fan Control

Arduino IoT Fan Control using 1Sheeld and Smartphone

Here I am with another IoT-based home automation project; Arduino IoT Fan Control. Every day, I get back from work tired and feeling hot. No air conditioner here and the fan takes much time to start cooling the room, sadly! So, I was thinking why not controlling the fan from outside my home with my …

Arduino Light Control

IoT Arduino Light Control using 1Sheeld and Smartphone

Have you ever forgotten to turn your home lights off when you got outside? Sadly, it happens to me all the time. And this causes confusion once I get my bills! Furthermore, here is one secret about me; I am a lazy man. I always want to control my room lamp from my sweet bed. …