- On sale!
1Sheeld+ for iOS and Android
40 shields on smartphone?
- Supports iOS version from 9.0 to latest.
- Supports Android version from 4.3 up to latest.
- Take advantage of all the sensors and interface you have on your smartphone and have them available on your Arduino!
If you have any questions on this product please feel free to contact us. *Disclaimer: The images are merely illustrative.
- 1Sheeld+ uses a standard HM-10 Bluetooth low energy adapter (BLE 4.0)
- Range up to 30 feet
- Communicates with Arduino using UART
- 7.37 MHz operating frequency
This tutorial explains how to get started with your 1Sheeld, if you don’t have a general working knowledge of Arduino and Arduino programming, we recommend you check out the instructions and tutorials on the Arduino website.
– 1Sheeld Library works on Arduino IDE 1.0.5+
– 1Sheeld+ based on a BLE “Bluetooth Low Energy” technology which is supported only by devices that has bluetooth 4 , So please check if your device has the technology specially in old android/Iphone devices.
Step 1: Gather your materials
- Arduino board (UNO-DUE-MEGA or any board with a similar form factor for Arduino shields)
- USB cable
- Android Smartphone
- Jumper wires (Male to Male)
- Resistors (1kohm)
P.S: you don’t need to buy any sensors because you already have them in your smartphone.
Step 2: Adjust 1Sheeld
Warning! If you have the Arduino Due or any board that works on 3.3V, you must switch your 1Sheeld to operate on 3.3V since it may damage your board. To switch 1Sheeld to 3.3V locate the toggle switch on the top of the board and switch it to the 3.3V position.
Place your 1Sheeld on your Arduino board then plug the Arduino to your laptop or PC.
1Sheeld works on Arduino (Uno/MegaADK/Mega2560/Leonardo/Due).
Please refer to (using 1Sheeld with different Arduino boards tutorial) for more information on adjusting 1Sheeld on your Arduino board.
Step 3: Download 1Sheeld Application onto your smart phone
Step 4: Download 1Sheeld library
For users having Arduino IDE prior 1.6.2, download 1Sheeld library.
Then, after you successfully downloaded the library, extract the files in Arudino’s library directory “Path\UserName\Documents\Arduino\libraries”.
Step 5: Write your Sketch
Open Arduino IDE on your computer, write your sketch according to your project and the shields you will use in that project, or you can choose an example from our library’s examples.
Let’s try a simple example of the mic shield, we will use the mic to turn an LED on if the noise in the room exceeds a certain level.
You can open the mic shield example from the examples tab as shown above.
Note: there’s a forced delay inserted in sending any frames from 1Sheeld Library “about 200 msec between each frame sent” to sustain sending/receiving frames between the application and the Arduino.
Or use create.arduino.cc
Step 6: Upload your sketch
Here comes the most important part of the whole tutorial, switch 1Sheeld to the Uploading-mode (this is the switch labeled UART Switch on the board) before you upload your sketch to the Arduino board to avoid serial conflicts between 1Sheeld and Arduino, then press the Upload button in the IDE.
Upload mode is turned on when the UART switch is pushed away from the 1Sheeld logo. Or if you have 1Sheeld+ switch it to the SWS “Software serial” sign that appears on the board.
Step 7: Once you have completed your upload you need to switch 1Sheeld back to the operating mode
Don’t forget! If you don’t switch the UART Switch back to the operating mode your project will not work properly as you will have no communication between 1Sheeld and the Arduino board.
Operating mode is turned on when the UART switch is pushed closest to the 1Sheeld logo. Or if you have 1Sheeld+ switch it to the HWS “Hardware Serial” sign that appears on the board.
Step 8: Use 1Sheeld Application
Open 1Sheeld application on your iOS or Android smart phone. The application will first scan over bluetooth for your 1Sheeld, it will take a few seconds and the phone will find it. Once it appears on your screen as 1Sheeld #xxxx, you will be required to enter the pairing code (the default pairing code is 1234) and connect to 1Sheeld via bluetooth.
Note: If you are having trouble please make sure the bluetooth is turned on for your Android phone and that the Android phone is close to your 1Sheeld.
If you get an error message as shown below that your phone cannot find 1Sheeld, press the reset button on 1Sheeld and try again.
Note: Make sure that the UART switch is on the operating mode.
Step 9: Access Shields
Select the shields you would like to use in your Arduino sketch (project) and press on the multiple shields icon at the top right of the app.
In this case, use the Mic shield and have fun prototyping!
Refer to the documentation pageto know how to use each shield.
Rarely the first time playing with 1Sheeld may not work properly so please make sure to upgrade the firmware by pressing the Logo on the application while connected “Blue led on board is steady” and then choose upgrade firmware then press upgrade. “You may also need to check your internet connection before the trial or it will state upgrade error”
Shields act as Arduino Shields via 1Sheeld
Basic I/O shields List:
- Buzzer shield
- GamePad shield
- Keypad shield
- LED shield
- Toggle-Button shield
- Push-Button shield
- Seven Segment shield
- Slider shield
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.
Using On/Off Shield directly (without using the library or uploading sketch)
Let’s make a LED goes on and off!
- Get your Arduino board and place 1Sheeld on top of it (check 1Sheeld Adjustment Tutorial).
- Connect a LED to pin 13 on your board.
- Plug the Arduino board to your PC.
- 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.
- Open the application and connect to 1Sheeld.
- Choose the Toggle Button shield and press the CONNECT button on the right side of the screen.
- Swipe your finger on the pins and choose pin 13 (for example), then press CONNECT button again.
- Play with the LED using the on/off button from your smartphone screen.
You might also like