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

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 …

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 …

Top 5 Data logger Modules for Arduino

Top 5 Data Logger Modules for Arduino

Want to store your Arduino project’s data, measurement’s or sensor readings for future analysis?  Then you are in the right place, cause today I’m gonna list here the best 5 Arduino Data logger Modules. Data logger gives you the ability to track your system statistically and check how it worked over certain intervals . You can also …

Top 5 Arduino Voice Control Modules

Ever wanted to talk to your Arduino project? Recently I watched this video of a Harry Potter magic wand that you can command to turn on lights and order food! Disclaimer: I’m not a Harry Potter fan, not a fan of Star Trek or Star Wars either! Total Game of Thrones nerd though, check out …

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 …

GPS shield

1Sheeld GPS Shield Vs. SparkFun GPS Shield

Making a tracking system is something that most of us wanted to have in our projects, and with all that modern technology offering us, it can be made very simply with our beloved board “Arduino” and a GPS shield. Today I will make a detailed comparison between our 1Sheeld GPS shield and the SparkFun GPS …