Page 3 of 4
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Mon Jan 23, 2023 10:53 pm
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.
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 12:05 am
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.
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 8:19 am
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
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 4:20 pm
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..
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 5:38 pm
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?
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 7:08 pm
by CATSTAR
about 2 hours operation with 3.7V Li-polymer battery of 800mAH - 1200mAH.
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 8:02 pm
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
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 8:50 pm
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?
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 9:04 pm
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
Re: CONNECT ESP8266 WIFI MODULE TO PC
Posted: Tue Jan 24, 2023 10:12 pm
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..