Search found 14 matches

by Cool Javelin
Sun Feb 02, 2025 9:29 am
Forum: General Discussion
Topic: ESP-WIFI-MESH example
Replies: 1
Views: 425

ESP-WIFI-MESH example

I have searched and searched but cannot find an example using ESP-WIFI-MESH. The only example I have found is in Random Nerd Tutorials but it is using PainlessMesh and I do not want that. The documentation on the Espressif site is really too much into the weeds for getting started, and I really coul...
by Cool Javelin
Sun Jan 26, 2025 7:08 am
Forum: General Discussion
Topic: Good Bluetooth serial monitor for android
Replies: 0
Views: 912

Good Bluetooth serial monitor for android

Hello: Does anyone have any recommendations for a good Android Bluetooth serial monitor? I have a project I need to take on the road (EAS8266) and don't want to take my laptop, so I got an HC05 Bluetooth device and it connects to my phone and works fine. The problem, I have found no good serial moni...
by Cool Javelin
Wed Oct 18, 2023 8:41 pm
Forum: General Discussion
Topic: Philosophy: Instantiating inside vs outside loop
Replies: 3
Views: 4889

Re: Philosophy: Instantiating inside vs outside loop

Thank you MicroController, I sometimes forget about the "structured" programming practices. I really do like the structured approach, I grew up back when the Z80 or 6800 was popular, using assembly a lot, and I tend to worry about every byte of memory and unnecessary clock cycle. Of course "spaghett...
by Cool Javelin
Wed Oct 18, 2023 6:17 pm
Forum: General Discussion
Topic: Philosophy: Instantiating inside vs outside loop
Replies: 3
Views: 4889

Philosophy: Instantiating inside vs outside loop

Hello IoT experts: I see this in a lot of sample code: #include <ESP8266WiFi.h> loop { WiFiClient client; // WiFiClient inside loop if (client.connect(host, 80)) { ... } } vs... #include <ESP8266WiFi.h> WiFiClient client; // WiFiClient outside loop loop { if (client.connect(host, 80)) { ... } } Why ...
by Cool Javelin
Sun Feb 19, 2023 2:32 am
Forum: General Discussion
Topic: Assign com port (windows)
Replies: 4
Views: 4246

Re: Assign com port (windows)

I tried an experiment, I plugged one of the devices into a USB port (sans hub), and got COM15. I swapped out devices, and got the same COM port. I went into Windows device manager and assigned a different COM port number (COM16) Then I swapped them back, and got COM16. Apparently, the serial to USB ...
by Cool Javelin
Sat Feb 18, 2023 8:56 am
Forum: General Discussion
Topic: Assign com port (windows)
Replies: 4
Views: 4246

Assign com port (windows)

I have several ESP32 projects going on simultaneously, (also ESP8266's) and have 2 or 3 plugged into a powered USB hub at the same time. Windows is happy enough to assign COM numbers to the devices and all is good. However, each time I disconnect and connect the devices from the hub, Windows may ass...
by Cool Javelin
Sat Jan 14, 2023 9:33 am
Forum: General Discussion
Topic: Power off peripherals reduce power
Replies: 1
Views: 1719

Power off peripherals reduce power

Hi. Is there a tutorial to teach me how to turn off various peripherals? My ESP32 seems to get hot, in fact, I think one failed due to overheat. I'd like to completely power down the Bluetooth module, and maybe run the WiFi at a lower duty cycle. Also, if there is a way to turn off the SCI or the se...
by Cool Javelin
Sat Oct 22, 2022 6:23 pm
Forum: General Discussion
Topic: Simultaionus bidirectional TCP communication
Replies: 3
Views: 2657

Re: Simultaionus bidirectional TCP communication

Hello Craige: Thanks for taking the time to chat with me about this. While I had not thought about making an HTTP server (on the 8266 server side,) I think it might be a bit much. Rather, on the Arduino forum, someone said I can make a "WiFiClient" on both machines, then after "server.available," us...
by Cool Javelin
Wed Oct 19, 2022 6:09 pm
Forum: General Discussion
Topic: ESP32 vs ESP8266 library compatibity
Replies: 0
Views: 1121

ESP32 vs ESP8266 library compatibity

Hello: Are all libraries for either the ESP32 or the ESP8266 freely interchangeable? Since the Arduino will compile the library routines into the appropriate machine code for the machine, and from what I have seen, all the code in the libraries is in C (or C++,) can I use any library with either dev...
by Cool Javelin
Tue Oct 18, 2022 6:02 am
Forum: General Discussion
Topic: Simultaionus bidirectional TCP communication
Replies: 3
Views: 2657

Simultaionus bidirectional TCP communication

Hello: I am connecting one ESP32 and a few ESP8266 boards in a WiFi network, and I need bidirectional communication between the 32 and each of the 8266's. I can find several examples on creating a client on the 32, and servers on the 8266's. I have only tried one pair so far, but it seems straight f...