Cytron WiFi Shield

Announcement of new product, new information, ROBOTICs competition, exhibition and more.....

Cytron WiFi Shield

Postby Ariff » Wed Jun 27, 2018 2:34 pm

i'm currently doing a "project on product counter " and to upload the data to the internet via the wifi shield. I'm having problem finding the right command to upload it. Is it as easy as :
client.print(sensorCounter);
and where do i place it in the body of the program which i took from the example from the WiFi shield library (CytronWiFiDemo) ?
Ariff
Freshie
 
Posts: 7
Joined: Wed Jun 27, 2018 2:23 pm

Re: Cytron WiFi Shield

Postby bengchet » Fri Jun 29, 2018 8:25 am

Hi,

If you are using CytronWiFiDemo, you can type following url into your browser, replace IP address with actual IP, you can check with serial monitor.
<your ip address>/ -> you will see hello message
<your ip address>/analog -> you will see your board analog values
<your ip address>/gpio2 -> you will see ESP8266 GPIO2 status
<your ip address>/info -> you will see AT Firmware info from WiFi Shield

Example: 192.168.1.10/analog

Then you read the code and can get the idea how to insert your data in your application.
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am

Re: Cytron WiFi Shield

Postby Ariff » Fri Jun 29, 2018 10:56 am

Ok now i have succeeded on sending data to local IP address, now i want to know if there's a way to send those data to a different url ?
Ariff
Freshie
 
Posts: 7
Joined: Wed Jun 27, 2018 2:23 pm

Re: Cytron WiFi Shield

Postby bengchet » Sun Jul 01, 2018 10:29 am

HI,

Can I know what do you mean different URL? Can explain more?
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am

Re: Cytron WiFi Shield

Postby Ariff » Tue Jul 10, 2018 11:59 am

bengchet wrote:HI,

Can I know what do you mean different URL? Can explain more?



Instead of sending those data to the local ip address, is it possible to send to different websites, or other ip addresses ?
Ariff
Freshie
 
Posts: 7
Joined: Wed Jun 27, 2018 2:23 pm

Re: Cytron WiFi Shield

Postby bengchet » Tue Jul 10, 2018 8:03 pm

Hi,

You can refer to this post.
bengchet
Moderator
 
Posts: 237
Joined: Tue Aug 25, 2015 8:29 am


Return to News and Event

Who is online

Users browsing this forum: No registered users and 3 guests