This tutorial illustrates connecting 1Sheeld with Intel Galileo board.
If this is your first time using 1Sheeld, we recommend you to start with the getting started tutorial, and if it is your first time dealing with the intel Galileo board, we recommend you to check the Intel Galileo getting started guide.
Important! Please make sure to add this line of code (OneSheeld.processInput( )) at the end of the loop function in your sketch if you are using any input shield.
Let’s start :
As stated in the Getting Started guide of Intel Galileo board, it supports Arduino UNO R3 shields whether the 5V or the 3.3V shields. So, all you have to do is to check the jumper and put it on 5V as recommended.
Make sure that 1Sheeld is also operating on 5V.
Warning: Make sure to power up the Intel Galileo board with the first cable before plugging the USB (second) cable so the board does not get damaged.
Download the Arduino IDE supporting the Intel Galileo board from this link.
Download 1Sheeld Library
Extract the folder, copy it, and paste it in your Arduino libraries directory.
Write your sketch and make sure you choose the serial port connecting the board before uploading, by opening Tools>>Serial Port>>COMxx.
Note: It’s not necessary to switch the UART switch while uploading the sketch.
Use 1Sheeld Application
Open 1Sheeld application on your 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.
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.