Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ACyri1
New Contributor I
1,631 Views

IntelEdison

 

What are the advantages of inteledison over other widely availa boards in the market?
11 Replies
ACyri1
New Contributor I
127 Views

Hi,

My intention is to send some data to cloud and retrieve data from cloud using inteledison board??

Please help me ... What all things i need to do??

ACyri1
New Contributor I
127 Views

Hi,

Can anyone give me the answer. I am new with this Iot ?? Please

Matthias_H_Intel
Employee
127 Views

I'd recommend starting with e.g.

ACyri1
New Contributor I
127 Views

Hi,

Thank you for the reply.

I have gone through the links.

I would like to use Arduino IDE and an Intel-Edison board. How can i program it to send data (lets say a character) to the intel cloud??

Does it use TCP/IP or any other protocol to send the data???

Looking forward for your reply.

Matthias_H_Intel
Employee
127 Views

well, there are also tutorials and docs, e.g.:

ACyri1
New Contributor I
127 Views

Thanks.

I got sample codes while i installed arduino ide for inteledison board.

In sample code for sending and receiving data to the cloud, we need to specify server name, ip address..

How can i get an account on Intel cloud so i can specify those address in program??

Do you have any code for reference??

Looking forward for your reply.

Sergio_A_Intel
Employee
127 Views

Take a look at https://software.intel.com/en-us/intel-iot-platforms-getting-started-cloud-analytics# Setting_up_your_IoT_Analytics_account Intel® IoT Platforms: Getting Started: Cloud Analytics | Intel® Developer Zone . Section 1 describes how to set your account.

Sergio

ACyri1
New Contributor I
127 Views

Thank you.

The sample code to send data through Wi-Fi need to enter following details:

1. Network SSID (name).

2. Secret Password

How can i get all these details??

Before running this code,whether i need to setup something on this board to get those details?? The code is as follows :

/**********************************************************************Sample code***********************************************************************************************/

# include

# include

# include

int status = WL_IDLE_STATUS;

char ssid[] = "yourNetwork"; // your network SSID (name)

char pass[] = "secretPassword"; // your network password (use for WPA, or use as key for WEP)

int keyIndex = 0; // your network key Index number (needed only for WEP)

unsigned int localPort = 2390; // local port to listen on

char packetBuffer[255]; //buffer to hold incoming packet

char ReplyBuffer[] = "acknowledged"; // a string to send back

WiFiUDP Udp;

void setup() {

//Initialize serial and wait for port to open:

Serial.begin(9600);

while (!Serial) {

; // wait for serial port to connect. Needed for Leonardo only

}

// check for the presence of the shield:

if (WiFi.status() == WL_NO_SHIELD) {

Serial.println("WiFi shield not present");

// don't continue:

while(true);

}

String fv = WiFi.firmwareVersion();

if( fv != "1.1.0" )

Serial.println("Please upgrade the firmware");

// attempt to connect to Wifi network:

while ( status != WL_CONNECTED) {

Serial.print("Attempting to connect to SSID: ");

Serial.println(ssid);

// Connect to WPA/WPA2 network. Change this line if using open or WEP network:

status = WiFi.begin(ssid);

// wait 10 seconds for connection:

delay(10000);

}

Serial.println("Connected to wifi");

printWifiStatus();

Serial.println("\nStarting connection to server...");

// if you get a connection, report back via serial:

Udp.begin(localPort);

}

void loop() {

// if there's data available, read a packet

int packetSize = Udp.parsePacket();

if(packetSize)

{

Serial.print("Received packet of size ");

Serial.println(packetSize);

Serial.print("From ");

IPAddress remoteIp = Udp.remoteIP();

Serial.print(remoteIp);

Serial.print(", port ");

Serial.println(Udp.remotePort());

// read the packet into packetBufffer

int len = Udp.read(packetBuffer,255);

if (len >0) packetBuffer[len]=0;

Serial.println("Contents:");

Serial.println(packetBuffer);

// send a reply, to the IP address and port that sent us the packet we received

Udp.beginPacket(Udp.remoteIP(), Udp.remotePort());

Udp.write(ReplyBuffer);

Udp.endPacket();

}

}

void printWifiStatus() {

// print the SSID of the network you're attached to:

Serial.print("SSID: ");

Serial.println(WiFi.SSID());

// print your WiFi shield's IP address:

IPAddress ip = WiFi.localIP();

Serial.print("IP Address: ");

Serial.println(ip);

// print the received signal strength:

long rssi = WiFi.RSSI();

Serial.print("signal strength (RSSI):");

Serial.print(rssi);

Serial.println(" dBm");

}

Matthias_H_Intel
Employee
127 Views

did you read through Sergio's link? Everything's described there.

ACyri1
New Contributor I
127 Views

Yes I read it.

I have some theoretical doubts:

1. I think there are different cloud services such as google drive etc.Can we send data to any cloud service with this Intel Edison Board??? Do we need to specify anything to find our cloud??

2. What is the format to send data to cloud?? How to specify the data i send is of the particular category??

May be these are foolish questions. I am a beginner in this. it would be grateful if you help me with these doubts.

Sergio_A_Intel
Employee
127 Views

  1. You should be able to use another cloud service, however this means you'd probably have to do additional work. In the Intel Cloud you already have the functionality of the IoT agent. Look at https://github.com/enableiot/iotkit-samples enableiot/iotkit-samples · GitHub .
  2. The protocols supported for communication are UPD and TCP. You can send data through Java Script. Through JavaScript you can reach the cloud and configure the settings. In other cloud services, you may not have all the functionality you need ready to go, you'd probably need to install packages or libraries to fully interact with your board.

 

Sergio

Reply