INTEL XDK TUTORIALS PDF

Its the best way for web developers to create mobile apps. Here is a series of tutorial to learn Intel XDK from scratch. Continue Reading Intel XDK Programming Guide to Background Execution One of the most confusing and tough topics of mobile application development is executing code and accessing hardware components like Microphone, Blue Url of the website. Portrait X and Y positio

Author:Yokinos Arajar
Country:Netherlands
Language:English (Spanish)
Genre:Spiritual
Published (Last):10 September 2009
Pages:414
PDF File Size:6.95 Mb
ePub File Size:18.37 Mb
ISBN:344-5-44139-400-4
Downloads:18296
Price:Free* [*Free Regsitration Required]
Uploader:Tele



The source code used to read sensor data can be found here: iotapp-local-temperature. This example uses components from the Grove - Starter Kit with the Intel Edison board; if you use different components, your code and setup may vary slightly.

Once aligned, gently push the base shield down firmly and evenly towards your board until it is securely attached Check that the voltage toggle switch which is marked VCC and located next to the A0 socket on the base shield is set to 5V Slide the connector on one end of the Grove cable into the socket on your temperature sensor until you feel the cable snap into place Slide the other end of the cable into the A0 socket on your Grove base shield until you feel the cable snap into place Creating a New Project for Reading Temperature Sensor Data This section contains steps to use sample code to read temperature data from the sensor attached to your board.

Uploading the Temperature Sensor Code to Your Board This section contains steps to build, upload, and run the code to read data from the temperature sensor. In the bottom toolbar, click the Upload icon to upload the project to your board Click the Run icon to run your project Note: If the bottom console window displays a message about being unable to find MRAA, you must update the MRAA library on your board.

Select Local Temperature Companion App. For steps to test your app directly on a mobile device, see the Testing the Local Temperature Companion app on your mobile device section. Click the Emulate tab From the Devices drop-down list, select the mobile device that you want to test on.

The mobile device displays temperature readings from your sensor in a graph Testing the Local Temperature Companion App on Your Mobile Device This section contains steps to test the companion app on your mobile device. After completing the steps, you will be able to monitor temperature readings using your mobile device. Choose Submit. Users of this app can monitor the status of a touch sensor in a remote location with a companion app on their mobile devices.

When the sensor is touched, the companion app displays a notification on the mobile device and a buzzer connected to the board sounds. The source code used to read sensor data can be found here: iotapp-touch-notifier. It showcases how to read digital data from a Grove - Touch Sensor, start a web server, and periodically send updates to connected mobile clients using WebSockets. A buzzer alerts the user when the sensor has been touched. This sample application communicates with sensors using the MRAA sensor communication library, which is designed to make it easier for developers and sensor manufacturers to map their sensors and actuators on top of supported hardware and to allow control of low level communication protocol by high level languages and constructs.

For more information on MRAA, see mraa. It allows a user to monitor the touch sensor using a mobile device and displays notifications when the sensor is touched. This example uses components from the Grove - Starter Kit; if you use different components, your code and setup may vary slightly. Line up the male header pins on the bottom of your base shield with the female pins on the expansion board, as shown in the image below.

Once aligned, gently push the base shield down firmly and evenly towards your board until it is securely attached Check that the voltage toggle switch which is marked VCC and located next to the A0 socket on the base shield is set to 5V Slide the connector on one end of the Grove cable into the socket on your touch sensor until you feel the cable snap into place Slide the other end of the cable into the D2 socket on your base shield until you feel the cable snap into place Slide the connector on one end of the Grove cable into the socket on your buzzer until you feel the cable snap into place Slide the other end of the cable into the D6 socket on your base shield until you feel the cable snap into place Creating a New Project for Reading Touch Sensor Data This section contains steps to use sample code to read data from the touch sensor attached to your board.

When someone touches the sensor, you will receive a notification on your mobile device. Select Touch Notifier Companion App. For steps to test your app directly on a mobile device, see the Testing the Touch Notifier app on your mobile device section.

Click Submit Apply pressure to the touch sensor. The mobile device displays a notification and the buzzer sounds Testing the Touch Notification Companion App on your Mobile Device This section contains steps to test the companion app on your mobile device.

After completing the steps, you will be able to monitor touch sensor readings using your mobile device. The light sensor senses the brightness of its surroundings in lux, the reading is converted to a meaningful string or message, and the LED turns on or off depending on whether the brightness reaches a threshold value. The source code for the application that runs on the development board can be found here: iotapp-template-devkit-v1 Requirements You have installed the Intel XDK and connected it to your IoT board.

Line up the pins on the bottom of your base shield to fit the contacts on your board, as shown in the image below. When the light sensor detects different light intensities, you will receive a message on LCD device. This is a simple Node. The sample code can be found in the following location: iotapp-servrotary The Grove - Servo Motor is a fun motion control device that can be located at any position between 0 to degrees.

With 4 shafts in different shapes, this servo is ready to drive a small fan, lift an object, or mimic a clock hand. The Grove - Rotary Angle Sensor is a 10k ohm linear rotary potentiometer. It has an active range of degrees. The knob on the rotary angle sensor turns more dramatically than the servo due to its greater range of motion: degrees, compared to the degrees available to the servo motor.

For this reason, the app code needs to perform some one-on-one mapping. This ensures that when you turn the knob all the way to its maximum position, degrees, the servo will also be at its maximum extended position.

FLUKE LINKRUNNER MANUAL PDF

Developing Internet of Things Projects with the IntelĀ® XDK

.

ANTONIA FRASER MARIA ANTONIETA PDF

Intel XDK Complete Tutorial

.

Related Articles