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?
B) opkg list-installed | grep xdk
C) opkg list-installed | grep mraa
mraa - 0.7.2-r0
mraa-dev - 0.7.2-r0
mraa-doc - 0.7.2-r0
D) opkg list-installed | grep upm
upm - 0.3.1-r0
upm-dev - 0.3.1-r0
6. finally it is not connecting ,the picture shown (figure 4)
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:
- Download the latest image named "Galileo_Poky_SW_image_20160606.zip" from the Download Center: https://downloadcenter.intel.com/download/26418/Intel-Galileo-Board-Support-Package https://downloadcenter.intel.com/download/26418/Intel-Galileo-Board-Support-Package
- Make a bootable micro SD card. See the Instructions on this site: https://software.intel.com/en-us/get-started-galileo-windows-step1 https://software.intel.com/en-us/get-started-galileo-windows-step1
- Run the Galileo with the flashed SD card inserted. This is the image version:
- Update mraa, upm libraries following this guide: https://software.intel.com/en-us/xdk/docs/libmraa-libmraa-updates https://software.intel.com/en-us/xdk/docs/libmraa-libmraa-updates.
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.
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 .
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.
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,
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 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;
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);
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.
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)
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
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.
Thanks for your patience.
The local temperature companion simulator on the Intel XDK is working properly following the guide: https://software.intel.com/en-us/creating-a-temperature-monitoring-app https://software.intel.com/en-us/creating-a-temperature-monitoring-app
Now, we have not been able to test and duplicate the Local Temperature Companion app using the Intel App Preview mobile application since it is no longer available for download. In the link below, there are some alternative apps that are suggested by others: https://software.intel.com/en-us/forums/intel-xdk/topic/742786 https://software.intel.com/en-us/forums/intel-xdk/topic/742786.
Hope this information helps.