Search found 36 matches

by catotonic
Mon Oct 24, 2022 6:10 pm
Forum: General Discussion
Topic: ESP-NOW using multiple hubs
Replies: 6
Views: 3729

Re: ESP-NOW using multiple hubs

Thanks wuyuanyi,
I think my plan will be to use different channels for networks that are close to one another and to broadcast to everyone on a network using software ID to control which one responds.
by catotonic
Sun Oct 23, 2022 10:21 pm
Forum: General Discussion
Topic: ESP-NOW using multiple hubs
Replies: 6
Views: 3729

Re: ESP-NOW using multiple hubs

I have read that ESP-NOW uses both MAC and IP addressing but I have not found a good article about when or if to use either or both. I will have a CPU sending out one request at a time directed to a single endpoint which could be on either network. Would it be best to set fixed IP's on everything, u...
by catotonic
Sun Oct 23, 2022 6:35 pm
Forum: General Discussion
Topic: ESP-NOW using multiple hubs
Replies: 6
Views: 3729

Re: ESP-NOW using multiple hubs

In a one to many topology, I am using the term hub to describe the esp32 that originates a request or message and acts as an AP communicating to many ESP32 nodes. For example: One AP to, say, 10 nodes or endpoints would constitute network A. If I had another similar network called B, what mechanism ...
by catotonic
Fri Oct 21, 2022 11:43 am
Forum: General Discussion
Topic: ESP-NOW using multiple hubs
Replies: 6
Views: 3729

ESP-NOW using multiple hubs

I am trying to develop a plantwide network of sensor that might have dozens of nodes. If limited to 10 or 20 nodes I would need the ability to set up multiple hubs in close proximity to one another. There would be only one communication session going on at a time. Is it possible to set up two or mor...
by catotonic
Thu Aug 29, 2019 4:23 pm
Forum: ESP32 Arduino
Topic: getString in Preference not working
Replies: 1
Views: 4905

getString in Preference not working

I am trying to interact between ArduinoJson and Preferences.h and ESP32WebServer. For reasons too long to go into for this question, I would like to use the getString method in Preferences.h with the following signature: size_t getString(const char* key, char* value, size_t maxLen); I have tried man...
by catotonic
Tue Aug 13, 2019 6:29 pm
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer Fails When Serving Large Files
Replies: 9
Views: 21600

Re: ESPAsyncWebServer Fails When Serving Large Files

@rsavage
Thank you for the suggestions. Sounds promising. I plan on specifying Chrome. Hopefully Chrome for Apple does not have the same issues a Safari.
by catotonic
Tue Aug 13, 2019 10:46 am
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer Fails When Serving Large Files
Replies: 9
Views: 21600

Re: ESPAsyncWebServer Fails When Serving Large Files

@Ibernstone Thanks for the input. It is something to try, although the Vue JS application being served is no more than four large files served once and there is only one person using it at at time. Without trying it, it doesn't sound like it would explain why it crashed serving four files, except fo...
by catotonic
Mon Aug 12, 2019 4:40 pm
Forum: ESP32 Arduino
Topic: ESPAsyncWebServer Fails When Serving Large Files
Replies: 9
Views: 21600

Re: ESPAsyncWebServer Fails When Serving Large Files

Hello Igor, Yes, I did find a solution. I just went with the ESP32WebServer and WebSocketServer. They are not as elegant as the the ESPAsyncWebServer and I liked the ESPAsync socket server better, but the ESP32WebServer can chunk and server files up to 500KB without timing out or crashing. Slow, but...
by catotonic
Wed Jul 17, 2019 4:31 am
Forum: Hardware
Topic: Cannot control the default CS0 pin on VSPI.
Replies: 2
Views: 4299

Re: Cannot control the default CS0 pin on VSPI.

@Mikemoy Thanks for responding. If only I had been that stupid, I would be embarrassed, but happy that you found the problem. But no, I was just tired and not paying attention. I was just copying and pasting code to avoid typing, before I ran out the door. I have pinMode in two different functions, ...
by catotonic
Tue Jul 16, 2019 9:58 pm
Forum: Hardware
Topic: Cannot control the default CS0 pin on VSPI.
Replies: 2
Views: 4299

Cannot control the default CS0 pin on VSPI.

I am trying to interface with an external 16bit ADC. I need to enable CS0 pin 5, 12 uSec before transferring data. So I need the pin to stay default low, go high to start the conversion, and then go low to acquire data. The default operation is to stay high until ~1uSec before a transfer starts. The...