In this project i draw a countdown timer on 1sheeld GLCD shield ,the user of this project can Determines the duration of the timer using drawn button on the GLCD, when the timer reach 0 there will buzzer sound and vibration.
Step 1: Step 1: About 1Sheeld and Arduino
Arduino is an open-source platform based on flexible, easy-to-use hardware and software. It is intended for anyone who has an idea for a project and wants to bring it to the real life. To make a project with Arduino you need to buy some accessories to connect your Arduino to the real world, these accessories are called shields. 1Sheeld is a shield that allows you to use your smartphone as an Arduino shield like GSM, WIFI, Gyroscope, etc. The main advantage of 1Sheeld is that it replaces all other shields with just your smartphone and saves you a fortune. It connects the Arduino to your smartphone using the Bluetooth and it gives you the ability to use more than shield at a time like GSM, WIFI, Accelerometer, Gyroscope etc.
Step 2: Step 2: Adjust 1Sheeld
If you use an Arduino that works with 3.3 V like Arduino Due you must switch your 1Sheeld to operate on 3.3V since it may damage your board. If you use an Arduino that works with 5 V like Arduino Uno then switch your 1Sheeld to operate on 5V.
Place your 1Sheeld on your Arduino board then plug the Arduino to your laptop or PC.
If you use an Arduino Mega then connect your 1Sheeld to the Mega as shown in the image:
Step 3: Step 3: Download the 1Sheeld Application
Step 4: Step 4: Download 1Sheeld Library to Your Compute
Download the library from here.
Then, after you successfully downloaded the library, add the library .ZIP file to your Arduino program.
Step 5: Step 5: Write Your Code Inside Arduino Sketch
Step 6: Step 6: Compile and Upload Your Sketch to Your Arduino Board
Switch 1Sheeld to the uploading-mode before you upload your sketch to the Arduino board to avoid serial conflicts between 1Sheeld and Arduino.
Upload mode is turned on when the UART switch is pushed away from the 1Sheeld logo.
And then press the Upload button in the IDE, and upload your code to Arduino.
After you completed your upload you need to switch 1Sheeld back to the operating mode.
Step 7: Step 7: Connect 1Sheeld to Your Smartphone Using 1Sheeld Application
You will be required to enter the pairing code (the default pairing code is 1234) and connect to 1Sheeld via Bluetooth.
Step 8: Step 8: Access Shields
- GLCD shield
- buzzer shield
- vibration shield
Press on the multiple shields icon at the top right of the app.
push the reset button of the Arduino to start drawing.