Search found 35 matches

by Pibbotley
Thu Mar 05, 2020 11:19 am
Forum: Sample Code
Topic: ESP32 Camera enhancement using image centre of mass shift to detect movement
Replies: 0
Views: 8871

ESP32 Camera enhancement using image centre of mass shift to detect movement

Enhancement for ESP32-CAM Camera modules to detect movement start / stop using image centre of mass shift. This works on small bitmaps so allows large frame JPEGs to be captured whilst on the fly analysing for motion changes.

https://github.com/s60sc/ESP32-CAM_Motion
by Pibbotley
Tue Feb 11, 2020 7:30 pm
Forum: Sample Code
Topic: ESP32 Cam security camera video recording and playback
Replies: 2
Views: 7148

ESP32 Cam security camera video recording and playback

Enhancement to Arduino CameraWebServer sketch for ESP32-CAM Camera modules to record JPEGs to SD card as frame rate controlled MJPEG video on external interrupt eg PIR for security camera, and subsequently select videos to playback at recorded frame rate from SD card to browser. https://github.com/s...
by Pibbotley
Sun Feb 10, 2019 7:55 pm
Forum: ESP32 Arduino
Topic: Configure GPIO 33 as digital I/O
Replies: 3
Views: 5451

Re: Configure GPIO 33 as digital I/O

You cant use pinMode() in Arduino to set pins 32 & 33 to output as they are on a separate bus to 0-31 You can add the following function to your sketch however (that I created for my purposes based on someone else's work), and call as e.g. aPinMode(32, OUTPUT); void aPinMode(int pinNum, int pinDir) ...
by Pibbotley
Mon Oct 08, 2018 5:05 pm
Forum: General Discussion
Topic: Bad readings from ADC
Replies: 10
Views: 5399

Re: Bad readings from ADC

Could be induced voltage on the connection between pot and pin. Put a 100nF cap as close as possible to pin and ground and use exponential filtering in software.
by Pibbotley
Thu Jul 05, 2018 11:29 am
Forum: Hardware
Topic: Flash of ESP-WROOM-32D and ESP-WROOM-32U modules
Replies: 1
Views: 1318

Re: Flash of ESP-WROOM-32D and ESP-WROOM-32U modules

The IEEE convention is uppercase B for bytes, lower case b for bits, so 4MB = 4M bytes = 32M bits
by Pibbotley
Thu Jul 05, 2018 11:20 am
Forum: General Discussion
Topic: determining if the wifi password is wrong
Replies: 5
Views: 3790

Re: determining if the wifi password is wrong

Maybe the library you are using does not pass on that reason code so you have to use a lower level function - check the source code of the library you are using.
by Pibbotley
Thu Jul 05, 2018 10:54 am
Forum: General Discussion
Topic: ESP8266 VS ESP32 ARDUINO - Need help to find the right one for me.
Replies: 2
Views: 1261

Re: ESP8266 VS ESP32 ARDUINO - Need help to find the right one for me.

I use both esp8266 and esp32 with arduino ide, and the support has matured over time. Now that esp32 arduino can be installed from the boards manager it is straightforward, but some libraries need to be manually installed. Esp32 has more features but more expensive than esp8266. Ignore lua for now, ...
by Pibbotley
Tue Jul 03, 2018 2:29 pm
Forum: General Discussion
Topic: WiFi pulls pin 15 low
Replies: 2
Views: 1449

Re: WiFi pulls pin 15 low

Thanks, updating to latest fixed issue. I notice that a 'major WiFi overhaul' was committed on 24/06.
by Pibbotley
Sun Jul 01, 2018 2:03 pm
Forum: Hardware
Topic: [Answered]: Distinction between a pad and a pin?
Replies: 4
Views: 2101

Re: [Answered]: Distinction between a pad and a pin?

There are pads on a PCB and pads on a silicon wafer, the pins bridge the gap for the pads in use. A gpio is a service connected to a pad, which may be connected to a pin, which may be connected to a PCB.
by Pibbotley
Sun Jul 01, 2018 10:39 am
Forum: Hardware
Topic: Connecting phone to ESP32 with serial link
Replies: 7
Views: 2918

Re: Connecting phone to ESP32 with serial link

If your phone support otg you can use an otg cable and a USB terminal app. I use this on my android tablet

Go to advanced search