Search found 21 matches

by xgarbxgarb
Tue Dec 24, 2019 3:29 pm
Forum: ESP32 Arduino
Topic: Closing a Bluetooth connection that hasn't been used.
Replies: 2
Views: 7144

Closing a Bluetooth connection that hasn't been used.

I'm using serial Bluetooth so a user can set Wi-Fi details and read the IP address from a phone. I want to kill the Bluetooth connection when either: a) The details have been entered correctly (via Bluetooth) b) The device restarts and the user has viewed the IP address on their phone (via Bluetooth...
by xgarbxgarb
Sun Dec 22, 2019 7:29 pm
Forum: ESP32 Arduino
Topic: SerialBT.println failing when callback contains delay() command
Replies: 3
Views: 4885

Re: SerialBT.println failing when callback contains delay() command

Thanks for the tip. I've done this which seems to work... #include <Arduino.h> #include <BluetoothSerial.h> BluetoothSerial SerialBT; const char *bluetooth_name = "robot01"; bool bluetooth_disconnect = false; void callback(esp_spp_cb_event_t event, esp_spp_cb_param_t *param); void setup() { Serial.b...
by xgarbxgarb
Sun Dec 22, 2019 5:06 pm
Forum: ESP32 Arduino
Topic: ESP32Cam and Servo Control
Replies: 14
Views: 27757

Re: ESP32Cam and Servo Control

Hi Mad scientist, I am trying to do like you did and have the servo and cam both work at the same time. Can you explain how you got around sending servo and the cam over wireless at the same time? Thank you very much Here's how I did a pan and tilt platform with the ESP32-CAM - https://robotzero.on...
by xgarbxgarb
Sun Dec 22, 2019 4:57 pm
Forum: ESP-WHO
Topic: Using Websockets + video stream?
Replies: 1
Views: 12146

Re: Using Websockets + video stream?

Might be a bit late in the day for this but I used websockets for two-way communication here: https://robotzero.one/esp-who-recognition-with-names/
by xgarbxgarb
Wed Nov 13, 2019 10:54 am
Forum: ESP32 Arduino
Topic: SerialBT.println failing when callback contains delay() command
Replies: 3
Views: 4885

Re: SerialBT.println failing when callback contains delay() command

Still having a problem with this. I can get it to either show the message over Bluetooth or disconnect but not both. I've tried various combinations of BT commands. New code below. Using Platformio this time. #include <Arduino.h> #include <BluetoothSerial.h> const char *bluetooth_name = "projectx2";...
by xgarbxgarb
Fri Oct 11, 2019 6:23 pm
Forum: ESP32 Arduino
Topic: SerialBT.println failing when callback contains delay() command
Replies: 3
Views: 4885

SerialBT.println failing when callback contains delay() command

In the code below if I uncomment either the delay() or restart() lines I don't receive the 'Restarting...' message on my phone. I can understand why just restarting with a delay might kill the serial Bluetooth message before it's sent but why would just a delay command affect it? void callback(esp_s...
by xgarbxgarb
Thu May 30, 2019 4:03 pm
Forum: ESP32 Arduino
Topic: Should f_findfirst be available when the define FF_USE_FIND is set?
Replies: 1
Views: 3982

Should f_findfirst be available when the define FF_USE_FIND is set?

I'm trying to build a directory lister using FatFs with VFS for an SD card reader. I get an undefined reference error when I try to use f_findfirst even when I change the FF_USE_FIND define in ffconf.h Should I be able to use f_findfirst in the Arduino IDE? Basic code below: #include "Arduino.h" #in...
by xgarbxgarb
Tue May 28, 2019 7:25 pm
Forum: ESP-WHO
Topic: Face Recognition with Blynk - Need Help Testing Sketch
Replies: 0
Views: 8579

Face Recognition with Blynk - Need Help Testing Sketch

If someone has a moment - probably half an hour - could they test this tutorial to see if the video part works? https://robotzero.one/face-recognition-with-blynk/ It's an Arduino sketch that sends data to an app on a mobile phone. It uses Blynk. I can't test the video stream works because I have a 4...
by xgarbxgarb
Mon May 06, 2019 9:21 am
Forum: ESP32 Arduino
Topic: Compressing Large HTML,CSS,JS files in ESP Progmem
Replies: 3
Views: 10222

Re: Compressing Large HTML,CSS,JS files in ESP Progmem

In the end I used the CyberChef website to convert the HTML to the format I needed. I put it on my blog here: https://robotzero.one/esp32-cam-custom-html/
by xgarbxgarb
Mon Feb 04, 2019 9:42 pm
Forum: ESP32 Arduino
Topic: Add Another Command to arduino-esp32 CameraWebServer Example
Replies: 0
Views: 2830

Add Another Command to arduino-esp32 CameraWebServer Example

I've added another url to listen for to the startCameraServer function from here: https://github.com/espressif/arduino-esp32/blob/master/libraries/ESP32/examples/Camera/CameraWebServer/app_httpd.cpp The code that is called with the URL looks like this: static esp_err_t servo_handler(httpd_req_t *req...