Search found 21 matches

by xgarbxgarb
Fri Oct 02, 2020 5:38 pm
Forum: ESP-WHO
Topic: Controlling the LED
Replies: 2
Views: 18024

Re: Controlling the LED

On the ESP32-CAM something like this should work. void setup() { pinMode(4, OUTPUT);// initialize io4 as an output for LED flash. digitalWrite(4, LOW); // flash off/ } void smile(){ digitalWrite(4, HIGH); // flash on take_photo(); digitalWrite(4, LOW); } Full code is here: https://github.com/robotze...
by xgarbxgarb
Tue May 12, 2020 4:29 pm
Forum: ESP32 Arduino
Topic: Should f_findfirst be available when the define FF_USE_FIND is set?
Replies: 1
Views: 4501

Re: Should f_findfirst be available when the define FF_USE_FIND is set?

Thought I'd have another go at this so I pasted the contents of the IDF release 3.3.2 to C:\Users\Dude\Documents\ArduinoData\packages\esp32\hardware\esp32\1.0.4\tools\sdk\include\fatfs and edited the config to allow f_find commands Now it compiles but it crashes at line fr = f_findfirst(... From the...
by xgarbxgarb
Fri Apr 10, 2020 6:27 pm
Forum: ESP-WHO
Topic: Measuring the distance to a detected face
Replies: 1
Views: 14589

Re: Measuring the distance to a detected face

OK... got confused between focal length and view angle on the lens. Focal length appears to be 3.6 on the camera so calculation code is: int eq_top = 3.6 * 200 * 240; // f(mm) x real height(mm) x image height(px) int eq_bottom = smoothed_face_height * 2.7; //object height(px) x sensor height(mm) int...
by xgarbxgarb
Tue Mar 17, 2020 6:45 pm
Forum: ESP32 Arduino
Topic: Send ESP32-CAM image to Telegram
Replies: 1
Views: 5870

Re: Send ESP32-CAM image to Telegram

You owe me a coffee! I saw this question.. thought it would be easy and... nope!

Anyway, here you go (if you still need it) - https://robotzero.one/telegram-bot-esp32cam/
by xgarbxgarb
Sun Mar 15, 2020 8:09 pm
Forum: ESP-ADF
Topic: Does ADF only work with the development boards
Replies: 3
Views: 10639

Re: Does ADF only work with the development boards

Thanks for the tip. Looking at the example I then worked out how to convert the http_mp3 example to play through an amp and speakers connected to the ESP32 pins. I sort of also got it working with Icecast and SAM cast to run something on the internal Wi-Fi. Some more questions if you have time: Is i...
by xgarbxgarb
Fri Mar 13, 2020 8:03 pm
Forum: ESP-ADF
Topic: Does ADF only work with the development boards
Replies: 3
Views: 10639

Does ADF only work with the development boards

Quick question.. does the ADF only work with the development boards mentioned in the ADF readme?

I just want to experiment with a simple stream player on a normal ESP32 board.
by xgarbxgarb
Tue Feb 18, 2020 11:53 am
Forum: ESP-WHO
Topic: Measuring the distance to a detected face
Replies: 1
Views: 14589

Measuring the distance to a detected face

I'm trying to calculate the distance to a detected face using the measurements from the net_boxes array. I found this calculation from https://photo.stackexchange.com/questions/12434/how-do-i-calculate-the-distance-of-an-object-in-a-photo https://i.stack.imgur.com/ajKph.png Using the measurements: F...
by xgarbxgarb
Fri Jan 31, 2020 5:53 pm
Forum: ESP32 Arduino
Topic: Closing a Bluetooth connection that hasn't been used.
Replies: 2
Views: 8004

Re: Closing a Bluetooth connection that hasn't been used.

Thanks for the information. I've finished the project and put the code here: https://github.com/robotzero1/esp32-bluewifi if anyone is interested
by xgarbxgarb
Fri Jan 31, 2020 5:48 pm
Forum: ESP-WHO
Topic: ESP-EYE recognization without web streaming!!!
Replies: 1
Views: 12060

Re: ESP-EYE recognization without web streaming!!!

I have a tutorial here: https://robotzero.one/esp32-face-door-entry/ that does face recognition without a web browser being connected. I'm not sure this one works with the current ESP32 hardware library for Arduino. Probably this part needs updating: mtmn_config_t init_config() {.... You might find ...
by xgarbxgarb
Mon Jan 20, 2020 6:15 pm
Forum: ESP-WHO
Topic: Cmake not working with ESP-WHO project?
Replies: 2
Views: 12990

Re: Cmake not working with ESP-WHO project?

Not sure if it's the same problem but I got the camera_web_server example to build using the following two settings in menuconfig

Partition Table > Partition Table (Single factory app, no OTA)
Partition Table > (0x10000) Offset of partition table