Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
1,187 Views

intel galileo gen 2 not connecting to thingspeak

Jump to solution

i started working on galileo a few days back and it was going well with sensors working nicely and all. but then i tried to upload the data of sensors to thingspeak using the code from the following link

https://github.com/iobridge/ThingSpeak-Arduino-Examples/blob/master/Ethernet/Arduino_to_ThingSpeak.i... ThingSpeak-Arduino-Examples/Arduino_to_ThingSpeak.ino at master · iobridge/ThingSpeak-Arduino-Examples · GitHub

as it turns out the code allows me to conect to thingspeak but for just one time ie every time i have to upload data to thingspeak i have to upload the program to board again and again. could anyone tell me what's wrong with the code or does it need to be modified to to be used with galileo as it was basically made for arduino

Tags (1)

Accepted Solutions
Highlighted
Novice
23 Views

i found the solution apart from the use of 'while' instead of 'if' the if (!client.connected() && lastConnected) should be written as if (client.connected() && lastConnected)....

no more '!'

View solution in original post

0 Kudos
3 Replies
Highlighted
Employee
23 Views

Hi abhijeetsingh,

It seems to be the same issue reported in /thread/77097 this thread. Let us know if this suggestion work for you as well.

Regards,

 

JPMontero_Intel
Highlighted
Novice
23 Views

it got the sensors working but the update to thingspeak is still not happening. i waited for about fifteen minutes but nothing. though sensors are constantly showing the values which they were not earlier so that was the plus point.

0 Kudos
Highlighted
Novice
24 Views

i found the solution apart from the use of 'while' instead of 'if' the if (!client.connected() && lastConnected) should be written as if (client.connected() && lastConnected)....

no more '!'

View solution in original post

0 Kudos