Skip to the content
2 layers80 × 80 mmProjeto grupo, the printed circuit board in 3D

Design files and documentation for PBLE02 - Board bring-up and electronic prototype validation, a university project developed at UNIFEI

Size
80 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
78
Nets
85
Pads
277
Tracks, vias
580, 62
Pours
1
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
8 Jun 2025
Updated
27 Jul 2025

Overview

Projeto grupo is an open-source printed circuit board by gabrieldelmonte, from the gabrieldelmonte/Board_Bring-Up repository on GitHub, published under the MIT licence. It is a 2-layer board of 80 × 80 mm with 78 parts on 85 nets, routed with 580 tracks and 62 vias.

It is built around the LM358. Its parts include 22 resistors, 21 capacitors, 9 connectors, 6 ICs and 6 diodes. It belongs with the PIC boards of this library.

Main components

1

README

README.md

Board Bring-Up Project

A microcontroller-based embedded system project featuring real-time monitoring, alarm management, and multi-language support using the PIC18F4550 microcontroller.

Project Overview

This project implements a comprehensive board bring-up system that combines multiple peripherals and sensors to create a monitoring and control system. The system features a state machine-based architecture with real-time clock functionality, analog sensor monitoring, alarm management, and a user-friendly LCD interface.

Features

Core Functionality

  • Real-Time Clock (RTC): DS1307-based timekeeping with hour, minute, and second setting
  • Analog Monitoring: ADC-based sensor reading with configurable alarm thresholds
  • Alarm System: Dual-level alarm monitoring (high/low thresholds) with visual indicators
  • Multi-Language Support: Interface available in 6 different languages
  • State Machine Architecture: Robust navigation system between different operational modes

Hardware Peripherals

  • LCD Display: 16-character display for system information and menus
  • LED Control: Visual feedback and alarm indication system
  • Button Interface: Navigation and parameter adjustment controls
  • I2C Communication: For RTC and DAC communication
  • PWM Output: Pulse width modulation for analog output control
  • Serial Communication: UART interface for debugging and external communication
  • DAC Output: MCP4725-based digital-to-analog conversion

System States

  • Menu: Main navigation interface
  • Alarm Configuration: Set high and low alarm thresholds
  • Language Selection: Choose from 6 available languages
  • Time Setting: Configure hours, minutes, and seconds
  • Warning Mode: Alert state when alarm conditions are triggered

Hardware Requirements

Microcontroller

  • PIC18F4550 microcontroller
  • 20 MHz crystal oscillator
  • Power supply and basic support components

Peripherals

  • DS1307 Real-Time Clock module
  • MCP4725 Digital-to-Analog Converter
  • 16x2 LCD Display with HD44780 controller
  • LEDs for status indication
  • Push buttons for user interface
  • Analog sensor (connected to ADC channel 0)

Development Tools

  • MPLAB X IDE or compatible PIC development environment
  • XC8 compiler for PIC18 family
  • Programmer/debugger (PICkit, ICD, etc.)

Project Structure

text
Board_Bring-Up/
├── src/
│   ├── main.c              # Main application entry point
│   └── code/
│       ├── ADC.c           # Analog-to-Digital Converter functions
│       ├── button.c        # Button handling and debouncing
│       ├── DAC_MCP4725.c   # MCP4725 DAC communication
│       ├── delay.c         # Timing and delay functions
│       ├── event.c         # Event handling and system events
│       ├── I2C.c           # I2C communication protocol
│       ├── LCD.c           # LCD display control functions
│       ├── LED.c           # LED control and patterns
│       ├── output.c        # Output formatting and display
│       ├── PWM.c           # Pulse Width Modulation control
│       ├── RTC_DS1307.c    # Real-Time Clock functions
│       ├── serial.c        # UART serial communication
│       ├── stateMachine.c  # Main state machine implementation
│       ├── variables.c     # Global variable management
│       └── headers/        # Header files for all modules
├── hardware/               # KiCad PCB design files
├── diagrams/               # System architecture diagrams
└── docs/                   # Project documentation

Getting Started

Prerequisites

  1. MPLAB X IDE installed
  2. XC8 compiler for PIC18 family
  3. PIC programmer/debugger
  4. Assembled hardware board or prototyping setup

Building the Project

  1. Clone this repository:

    bash
    git clone https://github.com/your-username/Board_Bring-Up.git
    cd Board_Bring-Up
  2. Open the project in MPLAB X IDE

  3. Configure the project settings:

    • Select PIC18F4550 as target device
    • Set XC8 as the compiler
    • Configure programmer/debugger
  4. Build the project:

    • Click "Build" or use Ctrl+F11
    • Resolve any compilation errors
  5. Program the microcontroller:

    • Connect your programmer
    • Click "Make and Program Device"

Hardware Setup

  1. Connect the LCD display to PORTD and control pins (RA2, RA3)
  2. Wire the DS1307 RTC to the I2C bus (RC3/SCL, RC4/SDA)
  3. Connect analog sensor to AN0 (RA0)
  4. Wire push buttons for navigation
  5. Connect LEDs for status indication
  6. Ensure proper power supply (5V for PIC18F4550)

Usage

Navigation

  • Base Button: Return to main menu from any state
  • Left/Right Buttons: Navigate between menu options
  • Up/Down Buttons: Adjust values in configuration modes

Setting Alarms

  1. Navigate to alarm configuration states
  2. Use up/down buttons to adjust high and low thresholds
  3. System will trigger warnings when sensor readings exceed limits

Time Configuration

  1. Access time setting modes through menu navigation
  2. Adjust hours, minutes, and seconds individually
  3. Changes are automatically saved to RTC

Language Selection

  • Navigate to language menu
  • Choose from 6 available language options
  • Interface will update to selected language

Configuration

System Parameters

Key configuration options in defines.h:

  • FREQ: System frequency (20 MHz)
  • NUMBER_LANGUAGES: Available languages (6)
  • MAX_ADC_VALUE: Maximum ADC reading (1000)
  • MIN_ADC_VALUE: Minimum ADC reading (0)

Pin Assignments

  • LCD Data: PORTD (RD0-RD7)
  • LCD Control: RA2 (RS), RA3 (EN)
  • I2C: RC3 (SCL), RC4 (SDA)
  • ADC Input: RA0 (AN0)
  • LED Outputs: Configurable in LED.c

Additional Resources

License

This project is licensed under the terms specified in the LICENSE file.

Parts

78
QtyValueFootprintReferences
12100nFCapacitor_SMD:C_0805_2012MetricC1, C3, C4, C5, C8, C9, C11, C16, C18, C19, C20, C21
8100Resistor_SMD:R_0805_2012MetricR1, R2, R5, R6, R7, R8, R15, R24
622pFCapacitor_SMD:C_0805_2012MetricC6, C7, C12, C13, C14, C15
6SW_PushButton_Switch_THT:SW_PUSH_6mmMCLR, SW0, SW1, SW2, SW3, SW4
510KResistor_SMD:R_0805_2012MetricR3, R4, R9, R16, R17
51KResistor_SMD:R_0805_2012MetricR10, R11, R12, R13, R14
5LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2, D3, D4, D5, D6
210uFCapacitor_Tantalum_SMD:CP_EIA-3216-12_Kemet-SC2, C17
21kResistor_SMD:R_0805_2012MetricR20, R21
2330RResistor_SMD:R_0805_2012MetricR22, R23
2Conn_01x04_FemaleConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ6, J9
110KPotentiometer_THT:Potentiometer_Bourns_3296W_VerticalRV1
112MHzCrystal:Crystal_HC49-4H_VerticalY1
120MHzCrystal:Crystal_HC49-4H_VerticalY3
1220nFCapacitor_SMD:C_0805_2012MetricC10
132,768KHzCrystal_32KHZ_e_conector footprint:AB38T32768KHZY2
1Barrel_Jack_SwitchConnector_BarrelJack:BarrelJack_HorizontalJ1
1Conn_01x06_FemaleConnector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_VerticalJ7
1Conn_01x06_MaleConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ2
1Conn_01x16_FemaleConnector_PinSocket_2.54mm:PinSocket_1x16_P2.54mm_VerticalJ3
1D_SchottkyDiode_SMD:D_SOD-123D1
1Dif_InCrystal_32KHZ_e_conector footprint:On_Shore_Technology-OSTTA024163-0-0-MFGJ8
1LD1117DT50TRPackage_TO_SOT_SMD:ATPAK-2U1
1LM358Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU6
1MCP2200-I-SOPackage_SO:SOIC-20W_7.5x12.8mm_P1.27mmU3
1MCP4725A0T-E/CHPackage_TO_SOT_SMD:SOT-23-6U5
1MCP7940N-xSNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU4
1PIC18F4550-IPTPackage_QFP:TQFP-44_10x10mm_P0.8mmU2
1USB_AConnector_USB:USB_B_Lumberg_2411_02_HorizontalJ4
1dacoutCrystal_32KHZ_e_conector footprint:On_Shore_Technology-OSTTA024163-0-0-MFGJ5

The 74 most common of 78 parts.

Similar boards

  • 2 layers132.1 × 45.7 mmIPoS, the printed circuit board in 3D

    IPoS

    peterheinrich/InternetOverSpaghetti

    Transmitting IP packages over a pair of spaghetti thus demonstrating how media independent IP really is.

    42 parts342
  • 2 layers68.8 × 53.6 mmZArduino, the printed circuit board in 3D

    ZArduino

    zmaker/arduino_cookbook

    gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube

    46 parts269
  • 2 layers152 × 88 mmRFBitBangSMT, the printed circuit board in 3D

    RFBitBangSMT

    profdc9/RFBitBanger

    A QRP digital transceiver created from readily available parts for off-the-grid maintenance

    271 parts222
  • 2 layers118 × 103.5 mmEV Charger2, the printed circuit board in 3D

    EV Charger2

    fotherja/EV_Charger

    Arduino Uno Code for EV Charger

    62 parts167MIT
  • 2 layers113 × 62.2 mmFullScope, the printed circuit board in 3D

    FullScope

    tvlad1234/pillScopePlus

    Oscilloscope based around the STM32F401 Black Pill and a color LCD screen

    15 parts165Apache-2.0
  • 2 layers75.2 × 61.1 mmHelios, the printed circuit board in 3D

    Helios

    Grix/helios_dac

    Helios Laser DAC

    102 parts132
  • 2 layers144.1 × 182.2 mmSHVC CPU-01, the printed circuit board in 3D

    SHVC CPU-01

    starlightk7/OpenSFC

    OSHW Reproduction Parts related to the Super Famicom / Super Nintendo game console

    498 parts114CERN-OHL-S-2.0
  • 2 layers100 × 85 mmVNA, the printed circuit board in 3D

    VNA

    profdc9/VNA

    Vector Network Analyzer based on the STM32F103C8T6 bluepill

    178 parts93

Questions

How big is the Projeto grupo PCB?

It measures 80 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Projeto grupo use?

78 parts, built around the LM358. 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 Projeto grupo KiCad files?

From the gabrieldelmonte/Board_Bring-Up repository on GitHub, at the commit this page was made from: the board is hardware/Projeto Grupo PCI completo/Projeto grupo.kicad_pcb and its schematic hardware/Projeto Grupo PCI completo/12bADC_sch.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Projeto grupo design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).