Stufin
Home Quick Cart Profile

Arduino Pro Mini 3.3V 8M ATMEGA328P compatible board

Buy Now on Stufin

Microcontroller

ATMEGA328P

Operating Voltage

3.3V

Input Voltage

3.3V to 12V

Clock Speed

8 MHz

Flash Memory

32 KB

SRAM

2 KB

EEPROM

1 KB

GPIO Pins

14 digital, 6 analog

Communication

UART, SPI, I2C

Dimensions

33.5 mm x 17.5 mm

Weight

5 grams

Applications

The Arduino Pro Mini 3.3V 8M ATMEGA328P compatible board is suitable for a wide range of applications, including

IoT devices

Robotics

Automation

Wearables

Prototyping

Embedded systems

Battery-powered devices

Conclusion

The Arduino Pro Mini 3.3V 8M ATMEGA328P compatible board is a compact, low-power microcontroller board that is ideal for IoT and embedded systems applications. Its small form factor, low power consumption, and ease of use make it a popular choice among hobbyists and professionals alike.

Pin Configuration

  • Arduino Pro Mini 3.3V 8M ATMEGA328P Compatible Board Pinout
  • The Arduino Pro Mini 3.3V 8M ATMEGA328P compatible board is a miniature microcontroller board based on the ATMEGA328P chip. It has 14 digital input/output pins, 6 analog input pins, and 16KB of flash memory. Here's a breakdown of each pin on the board:
  • Digital Pins (14)
  • 1. RX (0): Serial communication receive pin. Used for serial communication, such as with a serial monitor or another serial device.
  • 2. TX (1): Serial communication transmit pin. Used for serial communication, such as with a serial monitor or another serial device.
  • 3. D2: Digital input/output pin. Can be used as an input or output, and can be configured as an interrupt pin.
  • 4. D3: Digital input/output pin. Can be used as an input or output, and can be configured as an interrupt pin.
  • 5. D4: Digital input/output pin. Can be used as an input or output.
  • 6. D5: Digital input/output pin. Can be used as an input or output.
  • 7. D6: Digital input/output pin. Can be used as an input or output.
  • 8. D7: Digital input/output pin. Can be used as an input or output.
  • 9. D8: Digital input/output pin. Can be used as an input or output.
  • 10. D9: Digital input/output pin. Can be used as an input or output.
  • 11. D10: Digital input/output pin. Can be used as an input or output. Used as the SPI SS (slave select) pin.
  • 12. D11: Digital input/output pin. Can be used as an input or output. Used as the SPI MOSI (master out slave in) pin.
  • 13. D12: Digital input/output pin. Can be used as an input or output. Used as the SPI MISO (master in slave out) pin.
  • 14. D13: Digital input/output pin. Can be used as an input or output. Used as the built-in LED pin.
  • Analog Pins (6)
  • 1. A0: Analog input pin. Can be used to read analog signals from sensors or other devices.
  • 2. A1: Analog input pin. Can be used to read analog signals from sensors or other devices.
  • 3. A2: Analog input pin. Can be used to read analog signals from sensors or other devices.
  • 4. A3: Analog input pin. Can be used to read analog signals from sensors or other devices.
  • 5. A4: Analog input pin. Can be used to read analog signals from sensors or other devices.
  • 6. A5: Analog input pin. Can be used to read analog signals from sensors or other devices.
  • Power Pins
  • 1. VIN: Input voltage pin. Provides power to the board.
  • 2. 3V3: 3.3V output pin. Can be used to power external devices that require a 3.3V supply.
  • 3. GND: Ground pin. Provides a ground reference for the board.
  • Other Pins
  • 1. RST: Reset pin. Can be used to reset the board.
  • Connecting Pins
  • When connecting pins, make sure to use the correct voltage levels and follow proper connection protocols to avoid damaging the board or other devices.
  • Digital pins can be connected to digital devices, such as buttons, LEDs, or sensors, using a 3.3V logic level.
  • Analog pins can be connected to analog devices, such as potentiometers or sensors, using an analog signal.
  • Power pins should be connected to a power source, such as a battery or a power adapter, using a suitable connector and following proper power management practices.
  • Ground pins should be connected to a ground reference, such as the negative terminal of a power source or a ground plane, to provide a common ground reference.
  • Remember to always check the datasheet for specific devices and follow proper connection guidelines to ensure proper operation and avoid damage to the board or other devices.

Code Examples

Arduino Pro Mini 3.3V 8M ATMEGA328P Compatible Board Documentation
Overview
The Arduino Pro Mini 3.3V 8M ATMEGA328P compatible board is a compact, low-power microcontroller board based on the popular Arduino platform. It features the ATMEGA328P microcontroller, 8MHz clock speed, and 3.3V operating voltage. This board is suitable for a wide range of IoT applications, including robotics, automation, and wearable electronics.
Technical Specifications
Microcontroller: ATMEGA328P
 Clock Speed: 8MHz
 Operating Voltage: 3.3V
 Digital I/O Pins: 14
 Analog Input Pins: 6
 Flash Memory: 32KB
 SRAM: 2KB
 EEPROM: 1KB
USART: 1
 I2C: 1
 SPI: 1
Code Examples
### Example 1: Blinking LED
This example demonstrates how to use the Arduino Pro Mini to control an LED. Connect an LED to digital pin 13 and a 220 resistor to ground.
```c
const int ledPin = 13;  // Pin 13 for the LED
void setup() {
  pinMode(ledPin, OUTPUT);  // Set pin 13 as an output
}
void loop() {
  digitalWrite(ledPin, HIGH);  // Turn the LED on
  delay(1000);  // Wait for 1 second
  digitalWrite(ledPin, LOW);  // Turn the LED off
  delay(1000);  // Wait for 1 second
}
```
### Example 2: Reading Analog Sensor Values
This example demonstrates how to use the Arduino Pro Mini to read analog sensor values. Connect a potentiometer or a light sensor to analog pin A0.
```c
const int sensorPin = A0;  // Pin A0 for the sensor
void setup() {
  Serial.begin(9600);  // Initialize serial communication
}
void loop() {
  int sensorValue = analogRead(sensorPin);  // Read the sensor value
  Serial.print("Sensor value: ");
  Serial.println(sensorValue);  // Print the sensor value to the serial monitor
  delay(500);  // Wait for 0.5 seconds
}
```
### Example 3: I2C Communication with a Sensor Module
This example demonstrates how to use the Arduino Pro Mini to communicate with an I2C sensor module, such as a temperature and humidity sensor. Connect the sensor module to the I2C pins (SDA and SCL) on the board.
```c
#include <Wire.h>
const int sensorAddress = 0x40;  // Address of the sensor module
void setup() {
  Wire.begin();  // Initialize I2C communication
  Serial.begin(9600);  // Initialize serial communication
}
void loop() {
  Wire.beginTransmission(sensorAddress);
  Wire.write(0x00);  // Send a request for temperature and humidity data
  Wire.endTransmission();
  Wire.requestFrom(sensorAddress, 4);  // Receive 4 bytes of data
  int temperature = Wire.read() << 8 | Wire.read();
  int humidity = Wire.read() << 8 | Wire.read();
  Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println(" C");
  Serial.print("Humidity: ");
  Serial.print(humidity);
  Serial.println(" %");
  delay(1000);  // Wait for 1 second
}
```
Note: These examples assume that you have the Arduino IDE installed and have selected the correct board and serial port in the IDE.