Skip to the content
2 layersPCB UC2, the printed circuit board in 3D

Proiect pentru materia "Microcontrolere" - Anul 3 Semestrul 1

Copper layers
2
Thickness
1.6 mm
Parts
30
Nets
63
Pads
172
Tracks, vias
245, 16
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Mar 2026
Updated
5 Mar 2026

Overview

PCB UC2 is an open-source printed circuit board by mihaigusa, from the mihaigusa/Proiect-Microcontrolere repository on GitHub. It is a 2-layer board with 30 parts on 63 nets, routed with 245 tracks and 16 vias.

It is built around the ATMEGA32-16PU and 74AHC04D. Its parts include 7 resistors, 6 capacitors, 4 diodes and 3 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

Proiect-Microcontrolere

Descriere

Proiectul este realizat pentru doua placi EasyAVR v7 (MCU1 - emitator, MCU2 - receptor). Contine doua aplicatii pentru microcontrolere AVR, fisiere KiCAD pentru schema si PCB, plus o simulare in SimulIDE. Comunicarea intre MCU-uri se face prin UART, iar datele sunt afisate pe un LCD si prin LED-uri de prag. Schemele si simularea corespund configuratiilor specifice placii EasyAVR v7.

Structura proiectului

  • MCU1_Sender/ - proiect Atmel/Microchip Studio pentru emitator (citire senzor, calcul PPM, transmitere UART).

    • MCU1_Sender.atsln - solutia Microchip Studio.
    • MCU1_Sender/MCU1_Sender.cproj - proiectul AVR (surse, setari, build).
    • MCU1_Sender/MCU1_Sender/main.c - codul principal.
    • MCU1_Sender/MCU1_Sender/Debug/ - artefacte de build (nu se versionez).
  • MCU2_Receiver/ - proiect Atmel/Microchip Studio pentru receptor (UART, LCD, LED-uri prag).

    • MCU2_Receiver.atsln - solutia Microchip Studio.
    • MCU2_Receiver/MCU2_Receiver.cproj - proiectul AVR.
    • MCU2_Receiver/MCU2_Receiver/main.c - codul principal.
    • MCU2_Receiver/MCU2_Receiver/Debug/ - artefacte de build (nu se versionez).
  • KiCAD UC1/ si KiCAD UC2/ - fisiere de schema si PCB realizate in KiCAD 9.0.6.

    • SCH UC1.kicad_sch / SCH UC2.kicad_sch - schema electrica.
    • PCB UC2.kicad_pcb - layout PCB.
  • Simulare UC1+UC2.sim1 - fisier de simulare SimulIDE.

  • Fisiere drawio - diagrame logice si scheme bloc.

Compilare in Microchip Studio (Atmel Studio) pentru AVR

Fisierele MCU1_Sender si MCU2_Receiver sunt proiecte Microchip Studio pentru AVR. Pasii sunt similari pentru ambele:

  1. Deschide solutia:
    • MCU1_Sender/MCU1_Sender.atsln sau MCU2_Receiver/MCU2_Receiver.atsln.
  2. Verifica dispozitivul AVR (Device) in Project Properties pentru a corespunde microcontrolerului folosit.
  3. Verifica frecventa CPU (F_CPU) in cod sau in Project Properties daca este cazul (in cod este 8 MHz).
  4. Alege configuratia de build: Debug sau Release.
  5. Build: Build Solution (F7) sau Rebuild Solution.
  6. Programare pe placa: foloseste tool-ul de programare al Microchip Studio (Program and Debug), cu interfata hardware potrivita (de ex. Atmel-ICE).

Rezultatele build-ului (.elf, .hex, .eep) apar in folderul Debug/ sau Release/.

KiCAD

Proiectele KiCAD au fost create in KiCAD 9.0.6. Schemele si PCB-urile sunt desenate pentru EasyAVR v7, iar conexiunile urmeaza configuratia placii. Pentru compatibilitate, recomand deschiderea fisierelor cu aceeasi versiune sau una mai noua.

Simulare

Fisierul Simulare UC1+UC2.sim1 este un proiect SimulIDE. Simularea urmeaza schema si mapping-ul pinilor pentru EasyAVR v7. Codul este proiectat pentru senzorul MQ-7, insa in simulare se foloseste potentiometrul placii conectat pe PA6 pentru a emula semnalul analogic si a testa mai usor logica de conversie si praguri. Se poate deschide direct in SimulIDE pentru a rula simularea si a verifica fluxul de date intre MCU-uri.

LED-urile de prag sunt controlate pe MCU2 (receptor):

  • Sub 5 ppm: se aprinde LED1 (PD2).
  • Intre 5 si 10 ppm: se aprinde LED2 (PD3).
  • Peste 10 ppm: se aprinde LED3 (PD4).

Parts

30
QtyValueFootprintReferences
4100nFCapacitor_SMD:C_0201_0603MetricC3, C4, C5, C6
4220Resistor_SMD:R_0201_0603MetricR1, R5, R6, R7
4MountingHole_2.1mmMountingHole:MountingHole_2.1mmREF1, REF2, REF3, REF4
3LEDLED_SMD:LED_0201_0603MetricD2, D3, D4
222pFCapacitor_SMD:C_0201_0603MetricC1, C2
11.0KResistor_SMD:R_0201_0603MetricR4
110KResistor_SMD:R_0201_0603MetricR2
11MResistor_SMD:R_0201_0603MetricR3
174AHC04Package_DIP:DIP-14_W7.62mmU1
1ATmega32-16PPackage_DIP:DIP-40_W15.24mmUC1
1Conn_01x03Connector_AMASS:AMASS_MR30PW-FB_1x03_P3.50mm_HorizontalUART1
1CrystalCrystal:Crystal_AT310_D3.0mm_L10.0mm_HorizontalOscilator1
1LCD-016N002LDisplay:LCD-016N002LU2
1LD0186D2T50TRPackage_TO_SOT_THT:TO-220-3_VerticalU5
1R_PotentiometerPotentiometer_SMD:Potentiometer_ACP_CA6-VSMD_Vertical_HoleRV1
1SW_PushButton_Switch_SMD:SW_Push_1P1T_NO_CK_KMR2RESET1
1Transformer_1P_1STransformer_THT:Transformer_Toroid_Horizontal_D10.5mm_Amidon-T37T1
1W04GDiode_THT:Diode_Bridge_Round_D9.8mmD1

More from mihaigusa/Proiect-Microcontrolere

1
  • 2 layersPCB UC2, the printed circuit board in 3D

    PCB UC2

    mihaigusa/Proiect-Microcontrolere

    Proiect pentru materia "Microcontrolere" - Anul 3 Semestrul 1

    25 parts

Similar boards

  • 2 layers73.7 × 83.8 mmFrontcontroller, the printed circuit board in 3D

    Frontcontroller

    ASURacingTeam/Formula-17-Class-1-Front-Controller-Arduino

    26 parts
  • 2 layers119.4 × 88.9 mmUSB MidiController, the printed circuit board in 3D

    USB MidiController

    derrudi187/USB-MidiController

    MidiController based on Atmel with V-USB powered by http://www.obdev.at/vusb/

    31 partsGPL-3.0
  • 2 layers100 × 80 mmATmega32 EEPROM Storage, the printed circuit board in 3D

    ATmega32 EEPROM Storage

    DINHO365/ATmega32_EEPROM_Data_Storage

    Demonstrates internal EEPROM read/write on the ATmega32 by letting a user increment/decrement a value in RAM, save it to EEPROM, read it back, clear it, and recover it after reset or a power cycle.

    26 parts
  • 2 layers189.2 × 124.5 mmSleipner, the printed circuit board in 3D

    Sleipner

    ekdennisek/gjallarhorn-sleipner

    A Eurorack compatible step sequencer

    129 partsGPL-3.0
  • 2 layersATMEGA 32 1, the printed circuit board in 3D

    ATMEGA 32 1

    ernest-czachorowski/Flood-Sensors-KiCad-Files

    This repository contains KiCad files for my master's thesis IoT infrastructure, which includes water leak detection sensors.

    74 partsMIT
  • 2 layers89.5 × 56.5 mmATmega Project, the printed circuit board in 3D

    ATmega Project

    ExzyteTheDude/ATmega32_Output_Compare_Wavefom_Generator

    20 parts
  • 2 layers149.9 × 106.7 mmCamera Stand, the printed circuit board in 3D

    Camera Stand

    hansajayathilaka/L1-Hardware-Project

    Level 1 hardware project robot

    40 parts
  • 2 layers168.5 × 160.6 mmAUTOMATIC LIGHT SENSOR, the printed circuit board in 3D

    AUTOMATIC LIGHT SENSOR

    josbertbaingana2002-bot/ATmega32_LDR_Automatic_Lighting

    Automatic Lighting System using ATmega32, LDR, KiCad and SimulIDE

    29 parts

Questions

What parts does the PCB UC2 use?

30 parts, built around the ATMEGA32-16PU and 74AHC04D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the PCB UC2 KiCad files?

From the mihaigusa/Proiect-Microcontrolere repository on GitHub, at the commit this page was made from: the board is KiCAD UC2/PCB UC2.kicad_pcb and its schematic KiCAD UC1/SCH UC1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the PCB UC2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask mihaigusa before reusing the design.