Книга: Best Arduino Automation Project: Arduino Project Ideas for Automated System
Назад: Step 1- wire Up the complete gadget
Дальше: Step 3: Installing Drivers in Arduino Yun

the following step in this task is to create and set up an account at the web carrier Temboo, so you can use the wide range of offerings supplied by Temboo. To achieve this, step one is to really visit the Temboo internet site at http://temboo.com/. On the main page, sincerely input your 1ec5f5ec77c51a968271b2ca9862907d deal with to register and click on sign on. you will then be asked to enter some simple statistics approximately your account, inclusive of your account call. Then, you will be triggered to create your first app.

Make certain which you store the details of your account, such as the call of your first app and the important thing a good way to receive to you.if you need to get these values once more or create a new application, you may always get entry to this records in the My Account segment of the Temboo website by way of clicking on the manipulate button beneath packages.

Now, on the software side, you may need a bit extra than simply the Arduino IDE. we are going to set up the specified software for the camera without delay at the Yún board when we connect to it thru SSH, however you will want the Temboo Python SDK to upload photographs on to Dropbox. you can locate the SDK at https://temboo.com/python. it's time to unpack it and region it at the foundation of the SD card as properly.

Just make certain that it seems with the call temboo inside the root of the SD card, so the Python document we just created can get entry to it successfully Then, you furthermore may need to have a Dropbox account, so you can add pics directly to it. you may simply create an account with the aid of going to https://www.dropbox.com/domestic. once your account is created, you want to create an app with a view to be utilized by your venture. This basically way that you have to authorize the project you are going to construct in this chapter to robotically send snap shots on your Dropbox account while not having to enter your login and password every time. you'll also accept all the required records (consisting of an API key) that we can enter later inside the Python script on Yún.

1)    To create an app, first visit https://www.dropbox.com/builders/apps.

2)    Then, click on on Create app within the pinnacle-right nook of the window. you can now pick the kind of app you need to create. In our case, we need to use the Dropbox API at once.

3)    you may then be triggered to select the sort of information your app desires to store. We want to add pix, so pick out documents and datastores.

4)    you can then end the manner of creating your Dropbox app.

5)    at the confirmation page that describes the app, you'll want to write down down the App key and App secret, which we will want for the relaxation of the challenge.

6)    also, ensure that the Permission type discipline is ready to App folder. this could make certain that the images are uploaded to the folder committed to the app and that the Yún might not have get admission to to the rest of your Dropbox folder.

7)    What you need to get now could be the Token key and Token mystery relative on your Dropbox app, so that you can enter them later in the software of our task. To get them, the first step is to visit the InitialiseOAuth Choreo at the Temboo internet site at https://temboo.com/library/Library/Dropbox/OAuth/InitializeOAuth/. right here, you may want to enter the App key and App mystery. this could generate a few additional statistics which includes a callback identity and a brief token mystery. you'll also be asked to visit a hyperlink to Dropbox to confirm the authentication.

 

8)    in the end, visit the FinalizeOAuth web page to complete the process. you may be requested to go into your App key, App mystery, callback identity, and transient token mystery at https://temboo.com/library/Library/Dropbox/OAuth/FinalizeOAuth/. After this step, you'll be given your final Token key and Token secret. Write them down as you will want them later.

Назад: Step 1- wire Up the complete gadget
Дальше: Step 3: Installing Drivers in Arduino Yun