Artik cloud's basic websocket implementation for data interchange with Intel Edison and android client application. The repo consist's of nodejs code for intel Edison and build files for android application. The android app and javascript files work as client for the artik cloud and exchange data using Websocket.
-----------------------------------------------------------------
Hardware Requirements
1) Intel Edison Board
2) Edison Arduino Breakout Board
3) Power supply
4) Grove Starter Kit Plus :
- Sound Sensor
- Temperature Sensor
- Piezo-vibration Sensor
- Light Sensor
- Base Shield
- Buzzer
- Accelerometer Sensor
- RGB Lcd
- Touch Sensor
-----------------------------------------------------------------
Hardware Connection
Plug the Grove base shield on to the intel edison board. Using the shield now connect the sensors according to the table given below.
Grove shield Sensor
Pin A0 Piezo-vibration sensor
Pin A1 Light sensor
Pin A2 Temperature sensor
Pin A3 Sound sensor
Pin 4 Touch sensor
Pin 8 Button sensor
Pin 7 Buzzer sensor
Pin I2C RGB LCD
Pin I2C Accelerometer
-----------------------------------------------------------------
How to use the repository
Artik Cloud Steps :
1) Create a new Device Type (under developer.artik.cloud)
2) Create a new manifest for the New Device type(under developer.artik.cloud)
3) Activate the manifest and device (under developer.artik.cloud)
4) Create a new application (under developer.artik.cloud)
5) Set the premissions for the application (under developer.artik.cloud)
Note : Note down the client ID and the client Secret
6) Create a new Device (under artik.cloud/my)
7) give the device a new name (under artik.cloud/my)
Note : Note down the Device ID and the Device Secret.
Repo Steps :1) Change the device ID and Device Secret in the /Edison_client/Edison_client.js file
2) Change the device ID and client ID in the /Android Client/android-simple-controller/app/src/main/java/cloud/artik/example/simplecontroller/ArtikCloudSession.java file
3) Run the nodejs Code on edison using "node Edison_client.js"
4) build the android project in android sutdio and install the app on your phone
-----------------------------------------------------------------
https://github.com/artikcloud/tutorial-iot-control-light
https://developer.artik.cloud/documentation/tutorials/your-first-android-app.html
https://developer.artik.cloud/documentation/tutorials/your-first-iot-device.html
https://developer.artik.cloud/documentation/tutorials/an-iot-remote-control.html
-----------------------------------------------------------------
Comments