People tell you busyloops are bad but you do busyloops anyway.
Mod edit: Nixed non-relevant image.
Search found 16 matches
- Sat Aug 03, 2019 3:07 pm
- Forum: ESP32 Arduino
- Topic: Two ESP32-CAM synchronously streaming to PI4
- Replies: 10
- Views: 17297
- Fri Aug 02, 2019 2:10 pm
- Forum: ESP32 Arduino
- Topic: Two ESP32-CAM synchronously streaming to PI4
- Replies: 10
- Views: 17297
Re: Two ESP32-CAM synchronously streaming to PI4
Lucas: while (!i_pic) { } while (!pic_done) { } Thats a big NONO. Busy wait loop. 2 times. Dont. Put a delay in there.In my understanding the delay will allow other tasks o run. Why do you grab in main loop and send in streamhandler loop? Do the grab in streamhandler too. btw with 640x480 jpg i get ...
- Thu Aug 01, 2019 9:42 pm
- Forum: ESP32 Arduino
- Topic: Two ESP32-CAM synchronously streaming to PI4
- Replies: 10
- Views: 17297
Re: Two ESP32-CAM synchronously streaming to PI4
Insert a semaphore in "stream_handler" in between while(true) { and esp_camera_fb_get(); This will delay grabbing the picture until you sync it. If you dont know semaphores a while (!newpic) delay(10); newpic = false; will do, you can set newpic = true; in main loop with appropriate timing. //------...
- Thu Aug 01, 2019 2:56 pm
- Forum: General Discussion
- Topic: ESP32 Manufacturing QC issues
- Replies: 23
- Views: 25355
Re: ESP32 Manufacturing QC issues
Not a pro like u guys, but i have similar issues with two esp32-s modules. WiFi is very bad, video streaming doesent work. https://imgur.com/a/g62cXWu IF i press my finger on the pcb antenna in the red circle it suddenly works. I guess an impedance matching problem? Are some of the rf components bad...
- Tue Jul 30, 2019 11:54 am
- Forum: ESP32 Arduino
- Topic: [SOLVED] ESP32-CAM and EspSoftwareSerial with CamerWebServer
- Replies: 8
- Views: 26790
Re: ESP32-CAM and EspSoftwareSerial with CamerWebServer
Define your own pins. https://circuits4you.com/2018/12/31/esp ... 2-example/
"Like all peripherals, the pins for the UARTs can be logically mapped to any of the available pins on the ESP32. "
"Like all peripherals, the pins for the UARTs can be logically mapped to any of the available pins on the ESP32. "
- Tue Jul 30, 2019 4:08 am
- Forum: ESP32 Arduino
- Topic: [SOLVED] ESP32-CAM and EspSoftwareSerial with CamerWebServer
- Replies: 8
- Views: 26790
Re: ESP32-CAM and EspSoftwareSerial with CamerWebServer
Why would you use softserial on a chip with 2 hardware serial? Do you understand softwareserial is a cripple going "bang" if there is a small delay in interrupt handling? Do you understand softserial wastes cpu cycles and is unreliable? Avoid that shit like tha plague. If you insist on using softser...
- Sun Jul 21, 2019 3:20 pm
- Forum: Report Bugs
- Topic: ESP32 resets on mechanical shock
- Replies: 11
- Views: 17995
Re: ESP32 resets on mechanical shock
Your 6050 data goes over an angular velocity limit and crashes the esp32? Try lowering the sensivity in the 6050 setup.
I do fly quadcopters with esp32 + mpu6050 and never have this problem, not even on "hard landings".
I do fly quadcopters with esp32 + mpu6050 and never have this problem, not even on "hard landings".
- Sun Jul 21, 2019 2:19 pm
- Forum: ESP32 Arduino
- Topic: ESP32 CAM for FPV and RC
- Replies: 4
- Views: 14490
Re: ESP32 CAM for FPV and RC
@HermannSW where did you buy the fast thing? Testing grayscale 160x120 brightness values. The idea is to detect a line with the esp32 cam and have the vehicle following it. Here the brightness of the line in-between the 2 grey lines (scanline) is displayed. Clipboard01.jpg What is a clever way of ca...
- Sat Jul 20, 2019 4:32 pm
- Forum: ESP32 Arduino
- Topic: ESP32 CAM for FPV and RC
- Replies: 4
- Views: 14490
Re: ESP32 CAM for FPV and RC
Very intresting idea. Keep us updated pls. -------------------------------------------- Better code for tracked vehicle motor control, smooth transition for proportional turning at any speed. Your robot will net it. https://www.youtube.com/watch?v=uahyMLQUDqo //gas (speed) is 0 to +1000 forward, o t...
- Sun Jul 14, 2019 6:44 pm
- Forum: ESP32 Arduino
- Topic: Pinchange interrupt during eeprom write -> crash.
- Replies: 5
- Views: 8106
Re: Pinchange interrupt during eeprom write -> crash.
I see i see. You are raspberry - cam expert. I have some serious questions. My raspberry knowledge is = 0. Sending broadcast video frames from esp32cam to raspberry? How-to? Which aliexpress raspberry as video RX to buy? Which mini raspberry with cam as video TX to buy? This stuff any good? https://...