Skip to content

Hardware PCB Design for AVR-based Datalogger using KiCAD

Notifications You must be signed in to change notification settings

DevMajed/Dattalogger_Board

Repository files navigation

MCU Datalogger with memory and clock

Project Overview:

Project Name:
MCU Data Logger for ATmega328-AU
Author: Majed Alharbi [ Majed Dev ]
URL: https://github.com/DevMajed/Dattalogger_Board.git


07FD53B6-CE86-47E1-A673-1FB48E3DFB10


Objective :
The MCU Data Logger is designed to log data from various sensors or peripherals connected to an ATmega328-AU microcontroller.
The project incorporates features such as external EEPROM memory (24LC1025), a real-time clock (DS1337S), and essential connectors for communication and programming.

Block Diagram / Circuit Schematic :

Schematic

ATmega328-AU:
Main microcontroller responsible for data processing, sensor interfacing, and overall control of the system.

EEPROM (24LC1025):
External EEPROM memory for storing data logs, and it rovides non-volatile extended storage capacity.

Real-Time Clock (DS1337S):
Provides accurate timekeeping for timestamping data logs.

Real time Crystal Oscillator:
32.768 kHz: Connected to DS1337S for precise real-time tracking.

High speed Crystal Oscillator :
16 MHz, Connected to Pins B6 and B7 of the AVR, with capacitors for stable clock operation.

Connectors:
UART: For serial communication.
ICSP: In-Circuit Serial Programming for firmware updates.
I2C: General-purpose I2C communication.
GPIO: General-purpose input/output for additional peripherals.

Interactions between Blocks:

  • The ATmega328-AU communicates with the EEPROM over the I2C bus, storing and retrieving data logs.
  • The DS1337S sends real-time information to the ATmega328-AU, allowing accurate timestamping of data.
  • The 16 MHz crystal oscillator provides the main clock signal for the ATmega328-AU, ensuring proper execution of instructions.
  • Connectors facilitate external communication and programming, enhancing the project's versatility.

Specifications:

Microcontroller: ATmega328-AU
EEPROM: 24LC1025
Real-Time Clock: DS1337S
Crystal Oscillators:
32.768 kHz (for DS1337S)
16 MHz (for ATmega328-AU)
Connectors: UART, ICSP, I2C, GPIO
Power Supply: 5V battery "MCU 1.8V to 5.5V, EEPROM and DS1337S 2.3V to 5.5V. Oscillators 5V."
Communication Protocols: I2C, UART
Programming Language: C/C++

PCB Specifications:

Sginals Track width :
0.25 mm
VCC/GND Track width :
0.35 mm
Signal Layers:
Top F.Cu + Ln2.Cu
Power Layer :
Ln1.Cu with Copper fills
Ground Layer :
Bottom B.Cu with Copper fills

BOM : Bill of materials

image

Contact Info

If you have any questions email me : dev.majed.alharbi@gmail.com

About

Hardware PCB Design for AVR-based Datalogger using KiCAD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages