Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1,949 Views

issue connecting intel xdk with galileo gen 2 board

Hi,

1. I am unable to connect Intel xdk with Intel Galileo gen 2 board ,I am using Ethernet to connect galileo and pc .

2. I have connected manually (see below attachment figure 1).

3.After giving IP address and all ,error is coming (figure 2).

4.Trying to connect but sometimes it is asking this (figure 3).after it is downloading some daemon files ,still not connecting.

5. A) Which image version are you using?

ans) 201506210418

B) opkg list-installed | grep xdk

ans) xdk-daemon-0.0.35-r0

C) opkg list-installed | grep mraa

ans)

mraa - 0.7.2-r0

mraa-dev - 0.7.2-r0

mraa-doc - 0.7.2-r0

D) opkg list-installed | grep upm

ans)

upm - 0.3.1-r0

upm-dev - 0.3.1-r0

6. finally it is not connecting ,the picture shown (figure 4)

Tags (1)
0 Kudos
26 Replies
Highlighted
Beginner
75 Views

thsese are pictures for question i asked ,

0 Kudos
Highlighted
Community Manager
75 Views

Hi manisrinivas,

 

 

Thanks for reaching out.

 

 

I've noticed that your Galileo image as well as the xdk-daemon, mraa and upm are outdated, I recommend you to update your Galileo, please take a look at the following steps:

 

 

After it please try to connect your board to the Intel XDK again, make sure that your board is connected to the same network as your host.

 

 

Hope this information helps and let us know your results.

 

 

Regards,

 

-Yermi A.
Highlighted
Beginner
75 Views

thank you for replying me ,i will let you know after doing that .

but i want to know what is difference between yocto image and poky image ?

send me the link for yocto image also ,please

thank you

0 Kudos
Highlighted
Beginner
75 Views

hi ,

1. now i am able to connect galileo board successfully ,but i trying onboard led blinking project it is not working.

2. after clicking on upload button it is showing upload is successful and then run but led is not blinking.

3. i have posted pictures also .

4.please check (upload picture) below,tell me is that options are correct .

0 Kudos
Highlighted
Beginner
75 Views

0 Kudos
Highlighted
Community Manager
75 Views

Hi manisrinivas,

 

 

That's great to know now you are able to connect your Galileo successfully. In regards to the new issue, I have uploaded and run the LED Blink sample successfully, please take a look at the following screenshot:

 

 

 

 

Additionally, these are the options I have chosen:

 

 

 

 

You may try with these options, and also let me know what is displayed in the "Intel XDK IoT" window.

 

 

Regards,

 

-Yermi A.

 

0 Kudos
Highlighted
Beginner
75 Views

hi ,

1. thank you for that ,now i am able run led blinking and lm35 temperature sensor also .

2.now i am doing local temperature companion application to see temperature values on mobile phone also ,but can i use lm35 sensor and can i see the result in mobile phone.

3. i tried with lm35 sensor and i followed this link (https://software.intel.com/en-us/creating-a-temperature-monitoring-app# Testing_the_Local_Temperature_Companion_app_on_your_mobile_device IoT - Creating a temperature monitoring app using Intel® XDK | Intel® Software ), but it is not working it is throwing an error,picture is below,

0 Kudos
Highlighted
Beginner
75 Views

when i tried upload project command not error is coming ,this is also local temperature app template

0 Kudos
Highlighted
Community Manager
75 Views

Hi,

 

 

The Local Temperature app starts a web server on the IoT device that can be used for communication via a WebSocket interface, for more information about this example, take a look at this site: https://github.com/gomobile/iotapp-local-temperature https://github.com/gomobile/iotapp-local-temperature. Now looking at the images you provided and the errors you are getting, it seems that you don't have installed npm nor the socket.io module which is used by the app.

 

 

I'd suggest to install nodejs-npm in your Galileo, you have to download the packages from the following repository: http://iotdk.intel.com/repos/3.5/iotdk/galileo/i586/ http://iotdk.intel.com/repos/3.5/iotdk/galileo/i586/. To do this you can use opkg, so follow the next steps:

 

 

echo "src npm http://iotdk.intel.com/repos/3.5/iotdk/galileo/i586/ http://iotdk.intel.com/repos/3.5/iotdk/galileo/i586/" >> /etc/opkg/iotdk.conf

 

opkg update

 

opkg install nodejs

 

opkg install nodejs-npm

 

 

Additionally, if you want to see the data from the sensor on the console of the XDK, you can just use the code which is inside of the "startSensorWatch()" function:

var B = 3975;

 

var mraa = require("mraa");

 

var myAnalogPin = new mraa.Aio(0);

 

var a = myAnalogPin.read();

console.log("Analog Pin (A0) Output: " + a);

 

var resistance = (1023 - a) * 10000 / a; //get the resistance of the sensor;

 

//console.log("Resistance: "+resistance);

 

var celsius_temperature = 1 / (Math.log(resistance / 10000) / B + 1 / 298.15) - 273.15;//convert to temperature via datasheet ;

 

//console.log("Celsius Temperature "+celsius_temperature);

 

var fahrenheit_temperature = (celsius_temperature * (9 / 5)) + 32;

 

console.log("Fahrenheit Temperature: " + fahrenheit_temperature);

Regards,

 

-Yermi A.
0 Kudos
Highlighted
Beginner
75 Views

hi,

1. i have tried with the above approach but coming errors ,please find below attachment

2. sir ,please tell at what time should you people are available .this is talking so much time i contact you.

0 Kudos
Highlighted
Beginner
75 Views

hi, i have tried other approaches still it does not work ,

piture-1

picture-2 after opkg update

0 Kudos
Highlighted
Community Manager
75 Views

It seems to be an internet connection issue, could you check that your Galileo can access to the internet successfully? I found this information regarding that issue that may help: https://superuser.com/questions/854166/openwrt-software-update-wget-returns-network-is-unreachable https://superuser.com/questions/854166/openwrt-software-update-wget-returns-network-is-unreachable.

 

 

Regards,

 

-Yermi A.

 

0 Kudos
Highlighted
Beginner
75 Views

hi yermi,

1. i have made some changes to base-feeds.conf file and iotdk.conf (see pictures 3 ) ( picture 4 is changed files ).

2. i think my internet connection is good (see picture 1 and 2).

3. please help to fix this problem .

4. please tell me any other information you need.

5. i copied the file iotdk.conf and base-feeds from this link ( ).

6.opkg update (picture 5)

0 Kudos
Highlighted
Beginner
75 Views

hi ,

after some modifications i getting these errors ,check this out

0 Kudos
Highlighted
Beginner
75 Views

hi ,

opkg is working fine now ,after some modifications

but nodejs-npm is not worked ,check this out

0 Kudos
Highlighted
Beginner
75 Views

hi yermi,

1.After so many trials finally i can update opkg succesfully,

2.And npm also running fine,

3.How can i do Local Temperature app ? i have connected my laptop and mobile on same network but after launching the app on mobile ,it is saying cannot retrieve data,see the pic.

4.after giving ip address also ,doing nothing

0 Kudos
Highlighted
Community Manager
75 Views

Hi manisrinivas,

 

 

I have been testing the Local Temperature Companion app using the Intel XDK's built-in simulator. However, I'm also seeing an error message regarding the server. I would like to investigate a little bit more and as soon as I have useful information I'll let you know.

 

 

I'll appreciate your patience during the meantime.

 

 

Regards,

 

-Yermi A.

 

0 Kudos
Highlighted
Beginner
75 Views

hi yermi,

1.thanks for your information .

2. can i use lm35 sensor for this mobile apps or i have to use grove sensors only .

0 Kudos
Highlighted
Beginner
75 Views

hi yermi ,

1. Could see any progress in that Local temperature app, what is problem ?

2. Is any other method or way to do mobile application for temperature senor ,

0 Kudos