|
1 | 1 | # Version 1 of the Experimental AWS SDK for Arduino
|
2 | 2 |
|
3 |
| -An experimental SDK for contacting AWS Services on Arduino-compatible devices. Currently with DynamoDB support and potential Kinesis support. |
| 3 | +An experimental SDK for contacting AWS Services on Arduino-compatible devices. Currently it supports Amazon DynamoDB, Amazon Kinesis and Amazon SNS. More services coming soon. |
4 | 4 |
|
5 |
| -All DynamoDB operations are supported. The code for creating, serializing, and deserializing Kinesis input and output objects is included, but the devices that the experimental SDK has been tested on do not have readily available HTTPS support. This code has been included so it can be used by those who want to do further experimenting with Kinesis and HTTPS. |
| 5 | +All Amazon DynamoDB operations are supported. The code for creating, serializing, and deserializing Kinesis input and output objects is included, but the devices that the experimental SDK has been tested on do not have readily available HTTPS support. This code has been included so it can be used by those who want to do further experimenting with Kinesis and HTTPS. |
6 | 6 |
|
7 | 7 | The SDK is extensible to non-Arduino-compatible devices by implementing the interfaces in `DeviceIndependentInterfaces.cpp`/`.h`. See `SparkAWSImplementations.cpp`/`.h` and `GalileoAWSImplementations.cpp`/`.h` for examples of this.
|
8 | 8 |
|
| 9 | +## Folder |
| 10 | + |
| 11 | +/common contains all the common source code |
| 12 | +/sparkcore contains Spark IO Core device-specific implementations |
| 13 | +/edison contains Intel Edison device-specfic implementations |
| 14 | +/galileo contains Intel Galileo device-specific implementations |
| 15 | + |
| 16 | +Simply copy the device-specific implementations based on the device that you are working on in the Common directory so you can test out your samples using Arduino IDE. |
| 17 | + |
9 | 18 | Happy experimenting!
|
10 | 19 |
|
11 | 20 | ## Getting Started with the Samples
|
@@ -52,18 +61,18 @@ You can follow the steps below to get the tables set up with the right values, c
|
52 | 61 |
|
53 | 62 | This step is different for the Spark Core and Intel Galileo.
|
54 | 63 |
|
55 |
| -#### Intel Galileo |
| 64 | +#### Intel Galileo/Edison |
56 | 65 |
|
57 |
| -With Galileo you should be using the Arduino IDE for Galileo available [here](https://communities.intel.com/docs/DOC-22226). |
| 66 | +With Galileo or Edison, you should be using the Arduino IDE from Intel as it includes Galileo and Edison libraries. [Link to Intel-Arduino IDE](https://communities.intel.com/docs/DOC-22226). |
58 | 67 |
|
59 | 68 | Make an `AWSArduinoSDK` directory in the Arduino IDE's `libraries` directory (e.g. `~/Arduino/libraries/AWSArduinoSDK`).
|
60 | 69 |
|
61 |
| -Move all of the files from the SDK's `src/` directory into the `AWSArduinoSDK` directory, except the `SparkAWSImplementations` and `AmazonKinesisClient` files. |
| 70 | +Move all of the files from the SDK's `src/common` directory into the `AWSArduinoSDK` directory. Import the library. |
62 | 71 |
|
63 | 72 | Create a new sketch with the Arduino IDE and copy and paste the sample code into it.
|
64 | 73 |
|
65 | 74 |
|
66 |
| -#### Spark Core |
| 75 | +#### Spark IO Core |
67 | 76 |
|
68 | 77 | This assumes you already have your Spark set up and are able to program it with Spark Build. If you do not, head over to [Spark's website](http://docs.spark.io/).
|
69 | 78 |
|
@@ -124,7 +133,7 @@ Buttons:
|
124 | 133 | * Button for changing green color value should be connected to pin 8
|
125 | 134 | * Button for changing blue color value should be connected to pin 12
|
126 | 135 |
|
127 |
| -For Galileo, after the wiring is finished, you should be able to connect it to power, connect it to your computer via usb, and compile and upload the code with the Arduino IDE. Be sure to refer to the comments in the samples for help. |
| 136 | +For Galileo/Edison, after the wiring is finished, you should be able to connect it to power, connect it to your computer via usb, and compile and upload the code with the Arduino IDE. Be sure to refer to the comments in the samples for help. |
128 | 137 |
|
129 | 138 | For Spark, after the wiring is finished, you should be able to connect it to your computer via USB, and *Flash* the code. Be sure to refer to the comments in the samples for help.
|
130 | 139 |
|
|
0 commit comments