All;
Any ideas on the following hookup:
ESP32 Thing plus OPEN PIR
GND GND
VCC3.3 VCC
GPOI12 out
ADC2_7 A
The header from the example was changed to
//////////////////////////
// Hardware Definitions //
//////////////////////////
#define PIR_AOUT A7 // PIR analog output on A0
#define PIR_DOUT 12 // PIR digital output on D2
#define LED_PIN 13 // LED to illuminate on motion
I get the following dump:
Sketch uses 201396 bytes (15%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13492 bytes (4%) of dynamic memory, leaving 314188 bytes for local variables. Maximum is 327680 bytes.
esptool.py v2.6
Serial port /dev/cu.SLAB_USBtoUART
Connecting…___
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: b4:e6:2d:da:c3:c9
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
Changed.
Configuring flash size…
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Compressed 8192 bytes to 47…
A fatal error occurred: Timed out waiting for packet content
A fatal error occurred: Timed out waiting for packet content
any ideas?