Pin Definitions (DYDK)
Power Pins
- 5V-> It is capable of outputting 5V voltage and 0.5A current through a DC-DC voltage amplifier. It provides output when both (USB and Li-Po battery) power input connections are made. It can be used to supply units to be connected externally.
- 3V3-> It is capable of outputting 3.3V voltage and 1A current through a DC-DC voltage amplifier. It provides output when both (USB and Li-Po battery) power input connections are made. It can be used to supply units to be connected externally.
- VBAT-> It outputs the voltage (3.3V - 4.2V) of the externally connected Li-Po battery. It can be used to feed the units to be connected externally.
- EN-> EN -> This pin must be set to logic "1" (3.3V) to allow the ESP32-WROVER-E module to operate. This is ensured by the internally placed pull-up resistor. The "RES" button is connected to this pin and is used to reset the system. When the button is pressed, the EN pin is pulled to logic "0" (0V).
- GND->This is the common ground line of the circuit for all power and logic connection pins.
Logic Pins (Input/Output Pins)
- D0 - D15 -> It is used as a digital input-output pin. Logic "0" corresponds to 0V and logic "1" corresponds to 3.3V voltage level. All logic pins are provided with short circuit protection via PTC fuses. The pins are not 5V tolerant.
Analog Pins
- A0-A5-> It is used as an input pin for analog signals in the 0V - 3.3V range. Pins A0 - A3 are only used as input pins, while pins A4 and A5 can also be used as digital input/output pins.
-
- DAC1-DAC2-> It is used to provide analog signal output in the range of 0V - 3.3V. It can also be used as a digital input-output pin.
Communication Pins
- TX-RX-> These are serial communication (UART) pins. Loading the code (firmware) and terminal communication is provided through these pins. While TX is output, RX is input pin. Apart from UART communication, they can also be used as digital input-output pins. It is also connected to D2 and D3 pins.
- I2C-> Through the SDA and SCL pins any sensor or actuator can be controlled. SDA (both input and output) is the data line and SCL (output) is the clock synchronization pin. These pins are kept at logic "1" (3.3V) level with 10K pull-up resistors. Apart from I2C communication, they can also be used as digital input-output pins. They are also connected to D10 and D11 pins.
- SPI-> Through the MOSI, MISO and SCLK pins, any sensor or actuator can be controlled. MOSI (output) and MISO (input) are data lines and SCLK (output) is the clock synchronization pin. Apart from SPI communication, they can also be used as digital input-output pins. It is also connected to D7, D6 and D5 pins.
PWM Pins
- PWM0-PWM1-> These are pulse width modulated (PWM) square wave output pins. They are also connected to D0 and D1 pins and can be used as digital input-output pins.
Camera Pins
- CAMD2-CAMD0-> These are the pins where the image data (pixels) are transferred, used as outputs. At the same time they are connected to pins D5, D1, D0, D4, D6, DAC2, A3 and A2 respectively.
- CAMSD-CAMSC->These are serial communication pins; CAMSD is used for bidirectional data transfer and CAMSC is used as input pin for clock synchronization. At the same time they are connected to A5 and DAC1 pins.
- CAMXC-> It is the source of the basic clock signal required for the operation of the camera sensor. It is used as an input. It is also connected to pin A4 and can be used as a digital input-output.
- CAMPC->It is the clock signal of the image data derived from the camera sensor. It is used as an output. It is also connected to the D7 pin and can be used as a digital input-output.
- CAMV-> It is the output pin that indicates that the image data (frame) is ready. It is also connected to the A0 pin and can only be used as a digital input.
- CAMH-> It is the output pin that indicates that the image data (pixels) is ready. It is also connected to pin A1 and can only be used as a digital input.
Internal Sensor Pins
- 6-Axis Inertial Measurement Unit: It contains MUSD and IMUSC pins. IMUSD is used for bidirectional data transfer and IMUSC is used as the input pin for clock synchronization. This pins are also connected to the common SDA and SCL lines. The I2C address is 0x6A.
- Microphone: It contains MICD and MICC pins. MICD is used for bidirectional data transfer and MICC is used as the input pin for clock synchronization.
Capacitive Touch Pins
- T0-T5-> These are input pins used for capacitive sensing. They are also connected to A4, A5, D15, D14, D13 and D12 pins respectively and can be used as digital input-output.
RGB Pins
- LEDR-> The internal red led is connected to this pin. It is also connected to the RX line. It is also used as a status led during serial port data communication.
- LEDG->The internal green led is connected to this pin. It is also connected to the TX line. It is also used as a status led during serial port data communication.
- LEDB->The internal blue led is connected to this pin. It is also connected to the SDA line. It is also used as a status led during I2C data communication.
Button Pin
- GPKEY-> The pin to which the internal button used for general purposes is connected. It is also used to put the system into manual loading mode. It is kept at logic "1" (3.3V) level with a pull-up resistor of 10K. It is also connected to the D8 pin and can be used as a digital input and output.