ATmega328P MPU6050 KiCad

I’m blocked from directly wiring the TP4056 BAT pin to the ATmega +5V rail because the board currently uses a 16 MHz ATmega328P, which requires 4.5–5.5 V at 16 MHz; a 3.7 V LiPo would fall below that.
Recommended safe path:
  • TP4056 charges the 1-cell LiPo.
  • Battery output feeds a 5 V boost regulator.
  • Boost output powers the existing +5V rail for the ATmega and headers.
Alternative low-power path:
  • Run the ATmega from the raw LiPo/3.3 V rail.
  • Change the clock from 16 MHz to 8 MHz or lower.
  • Verify all connected parts are 3.3 V-compatible.
Want me to add the 5 V boost stage and wire the TP4056 + battery path into the existing +5V rail?
i currently bypass vin and wire the + to 5v pins
That works only if the “+” source is already regulated 5 V.
For a single 3.7 V LiPo:
  • Do not wire battery + directly to the board’s 5V pins while keeping the 16 MHz ATmega clock.
  • A LiPo is about 4.2 V full, ~3.7 V nominal, and can fall near 3.0 V discharged.
  • The ATmega328P at 16 MHz requires 4.5–5.5 V, so raw LiPo power will be out of spec most of the discharge curve.
Safe options:
  1. Best match to your current wiring: LiPo → TP4056 charger → 5 V boost converter → board +5V pins.
  2. Lower-power option: LiPo/raw battery → board rail, but change ATmega clock to 8 MHz or lower and make the MPU/I/O voltage-compatible.
Also note: a TP4056 is a charger only, not a 5 V regulator. Its BAT pin should go to the battery/boost input, not directly to a 16 MHz +5V rail.
Add boost stage
Use 8 MHz
Fix power issues
Pick boost part
Check battery current
Y1
U1
Not Recommended for New Designs
U3
Manufacturer Part Number
MPU-6050
J_LED_MAIN Pin_1 - J_LED_STATUS Pin_1
U1 PB1_PCINT1_OC1A - Q_SPK G
J_UART 5 - C15 P1
U1 AVCC - C7 P1
R_BOARD_LED P2 - D_BOARD A
U1 AVCC - C7 P1
R_LED P2 - J_LED_MAIN Pin_2
U1 AREF - C9 P1
U1 AREF - C9 P1
U1 PC5_ADC5_SCL_PCINT13 - J_MPU Pin_3
U1 PB3_PCINT3_OC2A_MOSI - J1 4
U1 PC0_ADC0_PCINT8 - TP_A0 P1
J_SPK 2 - Q_SPK D
J_UART 5 - C15 P1
U1 PB3_PCINT3_OC2A_MOSI - J1 4
U1 PB1_PCINT1_OC1A - Q_SPK G
R_LED P2 - J_LED_MAIN Pin_2
R_STATUS_LED P2 - J_LED_STATUS Pin_2
U1 AVCC - C7 P1
U1 PB4_PCINT4_MISO - J1 1
U1 PB7_PCINT7_XTAL2_TOSC2 - Y1 3
U1 PD0_RXD_PCINT16 - J_UART 4
U1 AVCC - C7 P1
U1 AVCC - C7 P1
U1 PD5_PCINT21_OC0B_T1 - J_BUTTONS Pin_1
R_BOARD_LED P2 - D_BOARD A
U1 PC6_RESET_PCINT14 - R5 P2
U1 PD2_INT0_PCINT18 - R_LED P1
U1 AVCC - C7 P1
U1 PC4_ADC4_SDA_PCINT12 - J_MPU Pin_4
U1 AVCC - C7 P1
U1 PC4_ADC4_SDA_PCINT12 - J_MPU Pin_4
U1 PD2_INT0_PCINT18 - R_LED P1
U1 PD6_PCINT22_OC0A_AIN0 - J_BUTTONS Pin_3
U1 PD0_RXD_PCINT16 - J_UART 4
J_LED_MAIN Pin_1 - J_LED_STATUS Pin_1
U1 PB5_PCINT5_SCK - J1 3
U1 PB5_PCINT5_SCK - J1 3
U1 PC6_RESET_PCINT14 - R5 P2
U1 PC5_ADC5_SCL_PCINT13 - J_MPU Pin_3
J_LED_MAIN Pin_1 - J_LED_STATUS Pin_1
U1 PB7_PCINT7_XTAL2_TOSC2 - Y1 3
U1 PD6_PCINT22_OC0A_AIN0 - J_BUTTONS Pin_3
R_STATUS_LED P2 - J_LED_STATUS Pin_2
U1 PC6_RESET_PCINT14 - R5 P2
U1 AVCC - C7 P1
U1 PC0_ADC0_PCINT8 - TP_A0 P1
U1 PB6_PCINT6_XTAL1_TOSC1 - Y1 1
U1 PD1_TXD_PCINT17 - J_UART 3
U1 PB6_PCINT6_XTAL1_TOSC1 - Y1 1
U1 PC6_RESET_PCINT14 - R5 P2
U1 PB3_PCINT3_OC2A_MOSI - J1 4
U1 AVCC - C7 P1
U1 PB4_PCINT4_MISO - J1 1
U1 PD1_TXD_PCINT17 - J_UART 3
U1 PD5_PCINT21_OC0B_T1 - J_BUTTONS Pin_1
U1 PB7_PCINT7_XTAL2_TOSC2 - Y1 3
J_SPK 2 - Q_SPK D
U1 PB6_PCINT6_XTAL1_TOSC1 - Y1 1
U1 PB5_PCINT5_SCK - J1 3
C8
Capacitance
100nF
U1 GND - C7 P2
J_BUTTONS Pin_4 - J_UART 1
C9
Capacitance
100nF
GND
J_BUTTONS
J_SPK
C12
Capacitance
22pF
U1 GND - C7 P2
C7
Capacitance
100nF
J_BUTTONS Pin_4 - J_UART 1
U2
Manufacturer Part Number
TP4056
J_MPU Pin_7 - J_BUTTONS Pin_2
C14
Capacitance
100nF
GND
J_BUTTONS Pin_4 - J_UART 1
U1 GND - C7 P2
J_MPU
R_LED
Resistance
330Ω
J_LED_MAIN
J_BUTTONS Pin_4 - J_UART 1
J1
C_LED
Capacitance
1000uF
U1 GND - C7 P2
J_BUTTONS Pin_4 - J_UART 1
J_LED_STATUS
D_BOARD
R_BOARD_LED
Resistance
1kΩ
Q_SPK
R_STATUS_LED
Resistance
330Ω
J_BUTTONS Pin_4 - J_UART 1
U1 GND - C7 P2
J_BUTTONS Pin_4 - J_UART 1
C11
Capacitance
22pF
GND
R5
Resistance
10kΩ
U1 GND - C7 P2
U1 GND - C7 P2
C15
Capacitance
100nF
J_BUTTONS Pin_4 - J_UART 1
U1 GND - C7 P2
J_UART
TP_A0

Refine this doc
Ask about this doc
Project Specification
Overview
Reconstruct/import an ATmega328P-class Nano-style controller combined with an MPU6050 6-axis IMU over I2C.
Functional Blocks
  • ATmega328P-class AVR microcontroller
  • MPU6050 IMU module on I2C
  • 16 MHz crystal clock for Nano/Arduino compatibility
  • Reset circuit and ISP/UART programming headers
  • 5 V and GND rails with decoupling and I2C pull-ups
Notes
The uploaded KiCad ZIP could not be enumerated by the file reader, so this project is being reconstructed from standard ATmega328P + MPU6050 wiring patterns rather than an exact source-file import.
  • Overview

  • Functional Blocks

  • Notes

ATmega328P MPU6050 Nano

ATmega328P MPU6050 Nano thumbnail
ATmega328P-based Nano-style board combined with an MPU6050 6-axis IMU sensor, imported from the uploaded KiCad archive for cleanup and verification in Flux.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$3.17–$4.03

Digi-Key

$1.15

HQonline

$12.55–$12.70

LCSC

$15.79–$16.42

Mouser

$4.44–$4.73

TME

$3.18

Verical

$2.58–$54.44

Controls