Arduino Assignment Complete
Arduino Assignment Complete
• CPU – The ATmega328P contains an 8-bit RISC CPU that executes instructions and
controls peripheral operations.
• Flash Memory – 32 KB non-volatile memory where user programs are stored (0.5 KB
reserved for bootloader).
• SRAM – 2 KB used for storing variables and executing functions during runtime.
• EEPROM – 1 KB of memory used to retain data even when the board is powered off.
• Digital I/O Pins – 14 configurable digital pins (D0–D13) for reading or sending HIGH/LOW
signals.
• Timers – Two 8-bit timers and one 16-bit timer for time-dependent tasks and PWM
generation.
• Communication Interfaces – UART for serial, SPI, and I2C for peripheral communication.
• Interrupts – Used to pause main operations and handle critical tasks immediately.
• Power Supply – Includes a voltage regulator to supply stable 5V and 3.3V from input
sources.
Communication Pins:
ESP-32 Pins
Analog Pins: IO36, IO39, IO32, IO33, IO34, IO35 (ADC channels for sensor input)
Communication Pins:
VIN: This pin is used to supply voltage to the Arduino board when using an external power
source (7–12V).
5V: Provides a regulated 5V output. This can be used to power other components connected
to the Arduino.
3.3V: Provides a 3.3V supply generated by the onboard voltage regulator for low-power
devices.
GND: Ground pins used to complete electrical circuits. Multiple ground connections are
provided.
RESET: Can be used to reset the microcontroller manually when connected to ground.
IOREF: Provides the reference voltage for the microcontroller's I/O. Typically used by
shields.
AREF: Analog Reference pin used for setting an external reference voltage for analog inputs.
A0–A5: Analog input pins. These read voltages and convert them to a digital value (0–1023).
A4 and A5 also serve as I2C SDA and SCL.
D0 (RX): Used to receive data via serial communication from another device (e.g.,
computer).
D3, D5, D6, D9, D10, D11: These digital pins support PWM (Pulse Width Modulation) for
analog output simulation.
D8: Digital I/O pin. Can be used for basic HIGH/LOW operations.
D10: Also acts as the SS (Slave Select) pin for SPI communication.
D11: Functions as the MOSI (Master Out Slave In) pin in SPI mode and also supports PWM.
D13: SCK (Serial Clock) pin in SPI mode. Also connected to the onboard LED.
Power Pins:
o 5V – Regulated 5V output.
Control Pins:
o Used for reading variable voltage levels and converting them to digital
values (0-1023).
Communication Pins:
Power Pins:
Control Pins:
Analog Pins:
o IO36, IO39, IO32, IO33, IO34, IO35 – ADC channels for reading sensor
data.
Communication Pins:
Power Pins:
Communication Pins:
o SPI: GPIO10 (MOSI), GPIO9 (MISO), GPIO11 (SCLK), GPIO8 (CE0), GPIO7
(CE1).