Hi
Perhaps you could use ThingSpeak as an option?
https://thingspeak.com/
Create a channel and set your PIC to populate it. Plenty of examples out there and I've recently documented using a PIC and ESP8266 in the v8 forum.
ThingSpeak will accept, display and store your data all in real time, and you can download at your leisure.
Regards
EDIT....
Forgot to include v8 link https://www.matrixtsl.com/mmforums/view ... 83#p106883
CONNECT ESP8266 WIFI MODULE TO PC
-
- Valued Contributor
- Posts: 1533
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 352 times
- Been thanked: 550 times
Re: CONNECT ESP8266 WIFI MODULE TO PC
Hi,
the demo sequence to send data from ESP8266 to PC using WLAN_ESP8266 component
ESP8266 as WIFI Stasion (STA)
Initialise
ConnectToSSID
ClientConnect
ClientSentArray
GetByteWithTimeout
GetInValue
wifi connection ESP8266 with PC router is ok..but I receive no data...what is wrong?...is there a need a circular buffer for data store ? what are correct component macros that I must use?
the demo sequence to send data from ESP8266 to PC using WLAN_ESP8266 component
ESP8266 as WIFI Stasion (STA)
Initialise
ConnectToSSID
ClientConnect
ClientSentArray
GetByteWithTimeout
GetInValue
wifi connection ESP8266 with PC router is ok..but I receive no data...what is wrong?...is there a need a circular buffer for data store ? what are correct component macros that I must use?
Re: CONNECT ESP8266 WIFI MODULE TO PC
The flowcode is demo under test...I think that the macros after ClientConnect are wrong..I would like to use MS Excel (Data Streamer feature) to display data ...another option that I'll test is an app "ThingsGateway" , that connects serial channel to Excel and displays data..In this case I would like only to get and display sensors data to Excel in real time...what are the macros that I must use after ClientConnect to get data ? sensors are connected to PIC18F46K22, that is connected to ESP8266 with TX, RX and reset...
-
- Valued Contributor
- Posts: 192
- Joined: Wed Dec 02, 2020 7:28 pm
- Has thanked: 77 times
- Been thanked: 64 times
Re: CONNECT ESP8266 WIFI MODULE TO PC
You need to think about either running software on the PC that can receive TCP connections and save the data (no that won’t be excel without a lot of programming in VBA) or use a cloud service as suggested by chipfryer27.
Re: CONNECT ESP8266 WIFI MODULE TO PC
Another option is to use another ESP8266 that receive data from the first ESP...the second ESP is connected to PC with serial to USB converter...so, it's possible to use ThingsGateway serial to Excel ..so I need only the code for the set PIC-first ESP ,with Flowcode WLAN_ESP8266 component..
ESP8266 as Client -----send data WIFI ---->ESP8266 as Server ---serial---->PC---->ThingsGateway---->Excel.
so, I need only codes for two ESP...
ESP8266 as Client -----send data WIFI ---->ESP8266 as Server ---serial---->PC---->ThingsGateway---->Excel.
so, I need only codes for two ESP...
-
- Valued Contributor
- Posts: 1533
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 352 times
- Been thanked: 550 times
Re: CONNECT ESP8266 WIFI MODULE TO PC
Hi
What sort of distance are you trying to communicate over?
As mentioned before you may be better off using a RF serial link. If so you can just get Excel Data Streamer to capture the data directly.
When I searched for ThingsGateway I got results for a LoRa Gateway so I'm not really sure how that fits in with your intent.
Did you know that you can get local versions of "Cloud" software, therefore your data stays within your own network?
Regards
What sort of distance are you trying to communicate over?
As mentioned before you may be better off using a RF serial link. If so you can just get Excel Data Streamer to capture the data directly.
When I searched for ThingsGateway I got results for a LoRa Gateway so I'm not really sure how that fits in with your intent.
Did you know that you can get local versions of "Cloud" software, therefore your data stays within your own network?
Regards