Search found 35 matches
- Fri May 25, 2018 5:09 pm
- Forum: ESP32 Arduino
- Topic: 8 second stalls when TCP running, less than 10k/sec throughput
- Replies: 4
- Views: 8119
Re: 8 second stalls when TCP running, less than 10k/sec throughput
Here's a bit of test code, I chopped it down as much as possible and still have it outputting the same text in the same way. There is no I2C anymore. I just updated to the latest ESP32 arduino stuff this morning. In my case the AP/router is only 6 feet away from the computers and ESP32 and no other ...
- Fri May 25, 2018 2:55 pm
- Forum: ESP32 Arduino
- Topic: 8 second stalls when TCP running, less than 10k/sec throughput
- Replies: 4
- Views: 8119
Re: 8 second stalls when TCP running, less than 10k/sec throughput
Forgot to mention, what I am doing is reading an I2C sensor at 100hz and then writing the values it returns to a TCP stream at 100hz. This works fine all day long if I leave WiFi enabled but write the data to serial instead of TCP. Just wanted to add that because I saw a problem mentioned elsewhere ...
- Thu May 24, 2018 8:50 pm
- Forum: General Discussion
- Topic: Controlling BRUSHED dc motors with quadrature encoders?
- Replies: 3
- Views: 7855
Re: Controlling BRUSHED dc motors with quadrature encoders?
did your PID controller run the PID in the MCPWM somehow? Or was it external code with the MCPWM just counting pulses and PWMing the motor?
- Thu May 24, 2018 8:49 pm
- Forum: ESP32 Arduino
- Topic: 8 second stalls when TCP running, less than 10k/sec throughput
- Replies: 4
- Views: 8119
8 second stalls when TCP running, less than 10k/sec throughput
So I just ported over a small arduino program to ESP32. This program creates a single WiFiServer and WiFiClient object. A remote program on a PC connects to this server and then the ESP32 sends a 100byte message 100 times per second. The message is sent as a single client.write(buffer, length) call ...
- Sun May 20, 2018 9:46 pm
- Forum: General Discussion
- Topic: Controlling BRUSHED dc motors with quadrature encoders?
- Replies: 3
- Views: 7855
Controlling BRUSHED dc motors with quadrature encoders?
I'm working on a self balancing robot (ie: like a minature segway) which has two brushed DC gearmotors with hall effect quadrature encoders on them. I'm using DRV8871 https://www.adafruit.com/product/3190 as the motor driver. The first robot I built was using an Adafruit feather m0 board and I contr...