Skip to the content
PCBKitNew board
2 layersTest project with uC, the printed circuit board in 3D

Test project with uC

DeshmukhMalhar/sch2header

Scripts to auto-generate pin defination header from schematics

Copper layers
2
Thickness
1.6 mm
Parts
5
Nets
42
Pads
73
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 5 (file 20171130)
Created
20 May 2019
Updated
6 Dec 2019

Overview

Test project with uC is an open-source printed circuit board by DeshmukhMalhar, from the DeshmukhMalhar/sch2header repository on GitHub. It is a 2-layer board with 5 parts on 42 nets.

It is built around the ATMEGA328-MU, ATTINY2313-20SU and IRF540N. Its parts include 2 ICs, 2 crystals and 1 transistor. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

readme.md

Generate pin definition header file form KiCAD schematic

The firmware of microcontroller used has to have the correct pins connected to the peripherals in it. This project tries to automatically generate a pindefinitions.h file. This file can be included to your firmware project directly. The net names assigned to the pins in the schematic are #defined with actual pin names in the symbol library. So you can assign sensible names to pins and automagically use those in you code. Generally, this is done manually, which might introduce errors. Thus, this effort of automating it.

SCOPE:

  • Try to generate pindefs.h completely automatically
  • try to integrate it in CI, i.e. when pushed, trigger build to generate pindefs.h
  • maybe, in KiCAD 6, this can be run on exit of the sch editor, or on run of netlist generator.
  • Currently in KiCAD 5.1.x , if possible I will try to make it a BOM script.(it might be possible more than I think)

Parts

5
QtyValueFootprintReferences
112MCrystal:Crystal_SMD_0603-4Pin_6.0x3.5mmY1
116MCrystal:Crystal_SMD_0603-4Pin_6.0x3.5mmY2
1ATmega328-MUPackage_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mmU2
1ATtiny2313-20SUPackage_SO:SOIC-20W_7.5x12.8mm_P1.27mmU1
1IRF540NPackage_TO_SOT_THT:TO-220-3_VerticalQ1

Questions

What parts does the Test project with uC use?

5 parts, built around the ATMEGA328-MU, ATTINY2313-20SU and IRF540N. 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 Test project with uC KiCad files?

From the DeshmukhMalhar/sch2header repository on GitHub, at the commit this page was made from: the board is kicad-project/test_project_with_uC/test_project_with_uC.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Test project with uC design in my own project?

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

Similar boards

  • 2 layersJvc, the printed circuit board in 3D

    Jvc

    ags-tubs/jvc-remote

    JVC Camera Remote Protocol

    34 parts4GPL-3.0
  • 2 layers100 × 71 mmWelding controler, the printed circuit board in 3D

    Welding controler

    RZ3DDD/Spot_Welding_Controler

    Development of a PCB for Spot_Welding_Controler

    38 parts2
  • 2 layers99 × 57.5 mmClock, the printed circuit board in 3D

    Clock

    dunkelstern/NightClock

    Small SMD based night clock with RTC and battery/supercap backup

    42 parts1BSD-3-Clause
  • 2 layers29.6 × 49.3 mmFlashmultiplexer, the printed circuit board in 3D

    Flashmultiplexer

    pruttelherrie/Ehx9-All

    Modifications for the Electro Harmonix '9' line of pedals.

    19 parts23
  • 2 layers100 × 50 mmMains timer, the printed circuit board in 3D

    Mains timer

    reivax-boucoi/PCB_Kicad

    Repo for all my home projects involving PCBs developped with Kicad

    37 parts1
  • 2 layers29.5 × 41.5 mmGameboyLinkMini, the printed circuit board in 3D

    GameboyLinkMini

    AlanFromJapan/pcb-design

    My PCBs designs

    14 partsMIT
  • 4 layers51 × 19 mmArd nano2, the printed circuit board in 3D

    Ard nano2

    Amalthekkat/PCB-Portfolio

    PCB works

    35 parts