SparkFun DEV-11114

Buku Panduan Pangguna Papan Pengembangan SparkFun Pro Mini ATmega328-3.3V/8MHz

Modél: DEV-11114

1. Bubuka jeung Leuwihview

The SparkFun Pro Mini ATmega328-3.3V/8MHz is a compact microcontroller development board designed for projects where space is a premium. It is compatible with Arduino boards and the Arduino IDE, offering a powerful ATmega328 microcontroller in a small form factor. This board operates at 3.3V and 8MHz, making it suitable for low-power applications and direct interfacing with 3.3V peripherals without additional level shifting.

This manual provides essential information for setting up, operating, and maintaining your SparkFun Pro Mini.

SparkFun Pro Mini ATmega328-3.3V/8MHz Development Board

Gambar 1: Top view of the SparkFun Pro Mini ATmega328-3.3V/8MHz Development Board.

2. Fitur konci

  • Mikrokontroler: ATmega328 running at 8MHz with an external resonator (0.5% tolerance).
  • Operasi Voltage: 3.3V.
  • Input kakuatan: RAW pin supports 3.4V to 12V DC input; VCC pin requires regulated 3.3V.
  • régulator: On-board 3.3V regulator with a maximum 150mA output, over-current protected.
  • Konektipitas: Designed for direct connection to an FTDI Basic Breakout board (sold separately) for programming.
  • Pin analog: 8 analog input pins (A0-A7), with A4, A5, A6, A7 located off-edge.
  • Pin digital: Standard GPIO pins, including PWM capabilities.
  • Indikator: On-board Power and Status LEDs.
  • ukuran: Approximately 0.7 x 1.3 inches (18 x 33mm).
  • I2C: Footprints for optional I2C pull-up resistors.
SparkFun Pro Mini with ruler for size comparison

Figure 2: The SparkFun Pro Mini shown with a ruler, illustrating its compact dimensions.

Back of SparkFun Pro Mini showing 3.3V 8MHz marking

Figure 3: The underside of the Pro Mini, indicating its 3.3V and 8MHz operating characteristics.

3. Setup jeung Sambungan

3.1 Pinout Overview

The Pro Mini features various pins for power, communication, and general-purpose input/output (GPIO). Understanding the pinout is crucial for proper integration into your projects.

Puncak view of SparkFun Pro Mini showing pin labels

Gambar 4: Top view of the Pro Mini, highlighting the various pin labels for identification.

Detailed pinout diagram for SparkFun Pro Mini

Figure 5: Comprehensive pinout diagram detailing the functions of each pin on the SparkFun Pro Mini.

SparkFun Pro Mini power and programming pins labeled

angka 6: Tutup-up view of the Pro Mini, labeling the programming header, 3.3V regulated voltage, ground, and raw input voltage pin.

3.2 Powering the Board

The Pro Mini can be powered in two primary ways:

  • RAW Pin: Connect an unregulated DC voltage source between 3.4V and 12V to the RAW pin. The on-board regulator will convert this to 3.3V for the microcontroller.
  • VCC Pin: If you have a pre-regulated 3.3V power supply, connect it directly to the VCC pin. Do not apply more than 3.3V to this pin.

Ensure that the power source is correctly connected to avoid damage to the board. The board includes over-current protection for the regulator.

3.3 Programming the Board

The SparkFun Pro Mini does not have an on-board USB connector. To program the board, an external FTDI Basic Breakout board (or a compatible USB-to-serial converter) is required.

  1. Connect the FTDI Basic Breakout board to the programming header pins on the Pro Mini. Ensure the pins (GND, VCC, RXI, TXO, RST, BLK) align correctly.
  2. Connect the FTDI Basic Breakout board to your computer via a USB cable.
  3. Buka Arduino IDE.
  4. Select "Arduino Pro or Pro Mini" from the "Tools > Board" menu.
  5. Select "ATmega328 (3.3V, 8 MHz)" as the processor.
  6. Choose the correct COM port for your FTDI device under "Tools > Port".
  7. You can now upload your sketches to the Pro Mini.
SparkFun Pro Mini connected to FTDI Basic Breakout board

Figure 7: The SparkFun Pro Mini connected to an FTDI Basic Breakout board for programming via USB.

4. Operasi

4.1 Basic Sketch Upload

After successfully connecting and configuring the board in the Arduino IDE, you can upload any compatible Arduino sketch. A common first step is to upload the "Blink" example sketch to verify basic functionality.

4.2 Nyambungkeun périferal

The 3.3V operating voltage of this Pro Mini makes it ideal for direct interfacing with many modern sensors and modules that also operate at 3.3V. When connecting peripherals, always ensure voltage compatibility. If a peripheral requires 5V, a logic level shifter will be necessary to prevent damage to the Pro Mini.

  • Digital I/O: Use digital pins for on/off control, reading switches, or controlling LEDs.
  • Input analog: Pins A0-A7 can read analog sensor values.
  • Komunikasi serial: Use RXI/TXO pins for serial communication with other devices.
  • Komunikasi I2C: The board supports I2C communication, with optional pull-up resistor footprints available.
SparkFun Pro Mini on a breadboard with other components

Figure 8: The Pro Mini integrated into a breadboard circuit with other electronic components, demonstrating typical usage.

SparkFun Pro Mini in a compact project with battery

Figure 9: A compact project example utilizing the SparkFun Pro Mini, powered by a small battery.

5. Pangropéa

The SparkFun Pro Mini is a robust development board, but proper care ensures its longevity and reliable operation.

  • Penanganan: Always handle the board by its edges to avoid touching components, especially the microcontroller, which can be sensitive to static electricity.
  • Panyimpenan: Store the board in an anti-static bag when not in use, away from dust and moisture.
  • beberesih: If necessary, gently clean the board with isopropyl alcohol and a soft brush. Ensure the board is completely dry before applying power.
  • Sasayogian tanaga: Always verify your power supply voltage and polarity before connecting to the board. Incorrect voltage or reverse polarity can cause permanent damage.

6. Cara ngungkulan

  • Board Not Recognized by IDE:
    • Ensure your FTDI Basic Breakout board drivers are correctly installed on your computer.
    • Verify that the FTDI board is properly connected to the Pro Mini's programming header.
    • Check that the correct COM port is selected in the Arduino IDE.
    • Confirm that "Arduino Pro or Pro Mini" is selected as the board and "ATmega328 (3.3V, 8 MHz)" as the processor.
  • Sketch Upload Fails:
    • Check all connections between the FTDI board and Pro Mini.
    • Ensure the power supply to the Pro Mini is stable and within the specified range (3.3V to VCC or 3.4-12V to RAW).
    • Sometimes, pressing the reset button on the Pro Mini just before or during the upload process can help.
  • Teu Aya Daya/LED Pareum:
    • Verify your power source is active and providing the correct voltage.
    • Check the polarity of your power connections.
    • If using the RAW pin, ensure the voltage is between 3.4V and 12V. If using VCC, ensure it is a regulated 3.3V.
  • Paripolah anu teu disangka-sangka:
    • Double-check your wiring for shorts or incorrect connections.
    • Ensure all connected peripherals are compatible with 3.3V logic levels. Use level shifters if necessary for 5V components.
    • Review kode anjeun pikeun kasalahan logis.

7. Spésifikasi

FiturSpésifikasi
MikrokontrolerATmega328
Operasi Voltage3.3V
Masukan Voltage (atah)3.4V - 12V DC
Laju Jam8 MHz
Mémori Flash32 KB (ATmega328)
SRAM2 KB (ATmega328)
EEPROM1 KB (ATmega328)
Pin I/O digital14 (6 with PWM support)
Pin Input Analog8 (A0-A7)
Max Current per I/O Pin40 mA
Diménsi0.7 x 1.3 inci (18 x 33 mm)
Beurat0.32 ons
Téhnologi konektipitasI2C, Serial (UART)

8. Garansi jeung Rojongan

For technical support, warranty information, or further assistance with your SparkFun Pro Mini ATmega328-3.3V/8MHz Development Board, please refer to the official SparkFun Electronics websitus atanapi ngahubungan rojongan customer maranéhanana langsung.

Visit SparkFun Electronics

© 2023 SparkFun Electronics. All rights reserved.