2.1.8 GPIO2 header
This is another header which is also a group of pins of ATmega2560 that can be used as
General Purpose Input Output (GPIO)
to connect any input or output peripheral de-
vices. Apart from using these pins as GPIO, they also have certain alternative functions,
the details of the same is shown in Figure
. This header also has two pins of VCC i.e. 5V
and GND each.
2.1.9 INTx header
This header is a group of pins of ATmega2560 that can be used as External Hardware
Interrupt (INT) sources. There are
eight
External Interrupt sources from
INT7
to
INT0
in ATmega2560. The Interrupt sources
INT7:4
are present on this header. The other
four Interrupt sources
INT3:0
are also available on the board but are not present on
this header, since they have other alternate functions which are given more priority.
These pins
INT3:0
can be found in Figure
. The
x
in the header name
INTx
stands for
Interrupt source number and ranges from
7
to
4
for this board. Apart from using these
pins as External Interrupts, they also have certain alternative functions, the details of
the same is shown in Figure
. This header also has two pins of VCC i.e. 5V and GND
each.
2.1.10 ADCx header
This header is a group of pins of ATmega2560 that can be used as analog inputs or chan-
nels for the
Analog to Digital Converter (ADC)
inside the micro-controller. There are
sixteen
ADC channels from
ADC15
to
ADC0
in ATmega2560. All ADC channels are
present on this header. The
x
in the header name
ADCx
stands for ADC channel and
ranges from
16
to
0
. Apart from using these pins as ADC channels, they also have cer-
tain alternative functions, the details of the same is shown in Figure
. This header also
has two pins of VCC i.e. 5V and GND each.
2.1.11 I2C header
This header is a group of pins of ATmega2560 that can be used as 2-wire Serial Inter-
face Data and Clock for
Inter-Integrated Circuit (I2C or I
2
C)
protocol in the micro-
controller. The
SDA
or
PD1
are two names of the same pin of micro-controller. Simi-
larly,
SCL
or
PD0
are two names of the same pin of micro-controller. Apart from using
these pins as I
2
C serial data and clock, they also have certain alternative functions, the
details of the same is shown in Figure
. This header also has two pins of VCC i.e. 5V and
GND each.
2.1.12 UART header
This header is a group of pins of ATmega2560 that can be used as Transmit (TX) and
Receive (RX) Data pins for
Universal Asynchronous Receiver and Transmitter (UART)
15
Содержание eYFi-Mega
Страница 4: ...C Flashing Boot loader on ESP32 25 3...
Страница 15: ...Figure 4 eYFi Mega Pinout Diagram for ATmega2560 14...
Страница 19: ...Figure 5 eYFi Mega Pinout Diagram for ESP32 18...