CONNECT ESP8266 WIFI MODULE TO PC

For general Flowcode discussion that does not belong in the other sections.
CATSTAR
Posts: 18
http://meble-kuchenne.info.pl
Joined: Tue Dec 27, 2022 12:44 pm
Has thanked: 3 times
Been thanked: 1 time

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by CATSTAR »

mobile device is used in a terrain of 40x20 m , with pc at center position...practical distance is a little more of 20 meters..because the set pic-ESP8266 must be mobile in a small PCB, with low power as possible, I'll choose wifi than rf...about ThingsGateway, is not easy to find, so please let me know how can I send you a copy to check it.

kersing
Valued Contributor
Posts: 162
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 66 times
Been thanked: 58 times

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by kersing »

WiFi is anything but low power. How much data and what update frequency are you looking for? Oh and by the way, WiFi uses Radio Frequency (RF) to function.

chipfryer27
Valued Contributor
Posts: 1164
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 287 times
Been thanked: 415 times

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by chipfryer27 »

Hi

In addition to Kersing's request re data etc, can you also tell us more about the terrain? Is it line-of-site or are there walls between PC and target? Twenty metres LoS is very different to twenty metres through multiple walls.

Any link you have for ThingsGateway can just be posted.

Regards

CATSTAR
Posts: 18
Joined: Tue Dec 27, 2022 12:44 pm
Has thanked: 3 times
Been thanked: 1 time

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by CATSTAR »

It's a hand ball terrain , no walls or barriers ...I think that RF power of ESP8266 can cover that area...I'll use 3 sensors connected in a mobile PCB with set PIC-ESP8266. sensors are a FSR (MF01A-N-221-A11), an accelerometer MMA8452, and a heart pulse/oximeter MAX30100..these are connected to PIC , FSR at ADC input, the others at 2 I2C inputs of PIC18F46K22. Update frequency is not critical , about one sample / 500ms , or more if it's possible..

kersing
Valued Contributor
Posts: 162
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 66 times
Been thanked: 58 times

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by kersing »

Update frequency is not critical , about one sample / 500ms
That is actually a very high frequency for most battery powered sensors.
What is the expected runtime between changing/charging batteries?

CATSTAR
Posts: 18
Joined: Tue Dec 27, 2022 12:44 pm
Has thanked: 3 times
Been thanked: 1 time

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by CATSTAR »

about 2 hours operation with 3.7V Li-polymer battery of 800mAH - 1200mAH.

chipfryer27
Valued Contributor
Posts: 1164
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 287 times
Been thanked: 415 times

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by chipfryer27 »

Hi

As you are only sending data from the PIC to your PC I'd probably go for a "transparent" link. My "goto"is RF Solutions and they have a wide range of modules that are suitable for battery powered projects.

If utilising such a link you simplify your project immensely as your PC can just run Excel. The receiver would connect to the PC via a USB-Serial adapter. Your PIC would use the UART component and connect to the transmitter module.

Regards

Sergejs
Posts: 143
Joined: Tue Oct 19, 2021 9:31 am
Has thanked: 73 times
Been thanked: 5 times

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by Sergejs »

By the way, is it need to connect ESP8622 to MCU or it can work as MCU itself? In other case I have a question, why not it available but only ESP32?

chipfryer27
Valued Contributor
Posts: 1164
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 287 times
Been thanked: 415 times

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by chipfryer27 »

Hi

Whilst the 8266 is quite a capable chip it is usually found as a module (ESP-01) that only offers 2 x GPIO pins. I'm guessing it's not worth the trouble to incorporate within FC when the ESP32's are so much more powerful.

Regards

CATSTAR
Posts: 18
Joined: Tue Dec 27, 2022 12:44 pm
Has thanked: 3 times
Been thanked: 1 time

Re: CONNECT ESP8266 WIFI MODULE TO PC

Post by CATSTAR »

I'll use ESP8266-12E with 9 I/O..this module is small, easy programmable and good RF power to cover my case..RF solution is better but for a more experienced user..at this time I need examples for 2 ESP8266 in flowcode... there are similar codes for same connection in other language, but is not easy for me to convert to flowcode, so any help for that will useful.also some examples on how to use flowcode components for 3 sensors will help. flowcode for me is the best tool..

Post Reply