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

Want to sell your Arduino project?

Have you built a home automation system or a wearable device using Arduino, and wanted to sell 10, 20 or a 100 units to your friends? When building a product after a prototype, you have to go through PCB design, pass through production, testing and certification. If you buy ready modules, they are expensive, and their …

1Sheeld Music Player Vs. SparkFun MP3 Player Shield

Today I will make a detailed comparison between our Music Player Shield in 1Sheeld, and SparkFun Mp3 Player Shield. I will cover the getting started points for each one, till you can play and pause music using both of them, and I’ve summarized the points of comparison between both shields in the table below: P.O.C  …

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 …

10 Kickstarter Projects for Makers that you need to back right now!

Kickstarter has always been supporting makers to bring their ideas to life, and full of rich maker-targeting projects. I have combined a list of 10 13 Kickstarter projects that are live right now, and totally worth backing!  Eslov by Arduino That’s right, Arduino itself is announced Eslov on Kickstarter, a modular IOT kit that lets you …

codebenderesp-on-kickstarter

Codebender:ESP hits Kickstarter: 5 reasons to back it now!

Codebender has just launched a Kickstarter campaign for codebender:esp, a newly IDE that supports ESP boards. What is Codebender?  If you don’t know about Codebender, it is a cloud based IDE for Arduino, where you code your Arduino boards without the need to download an IDE, so you can share and embed your code online like …

respeaker-kickstarter

Respeaker on Kickstarter: Early birds still available, only 6 hours to go!

Voice control seems to be the next big thing, we have voice controlled alarms, voice controlled lights, and even voice controlled televisions. Now imagine being able to do this to all your devices, to command your devices and have them reply back to you. That’s what Respeaker promises, according to their Kickstarter campaign that has met almost 500% of their …