Skip to the content
2 layers55 × 25.4 mmPCB BerryWatt, the printed circuit board in 3D

Voici une version intégrée directement dans le texte :

Size
55 × 25.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
14
Nets
18
Pads
52
Tracks, vias
28, 0
Pours
2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
16 Oct 2025
Updated
16 Oct 2025

Overview

PCB BerryWatt is an open-source printed circuit board by EmbeddedFrime, from the EmbeddedFrime/berryWatt repository on GitHub. It is a 2-layer board of 55 × 25.4 mm with 14 parts on 18 nets, routed with 28 tracks and 0 vias.

It is built around the LM358APE4. Its parts include 3 capacitors, 3 resistors, 3 connectors, 1 IC and 1 transistor.

Main components

1

README

README.md

🔋 BerryWatt

Voici une version intégrée directement dans le texte :

BerryWatt est un système d’alimentation de secours intelligent, développé dans le cadre d’un projet de 2ᵉ année de BUT, conçu pour protéger un Raspberry Pi lors de coupures de courant. Le système détecte automatiquement les interruptions d’alimentation et fournit une autonomie d’environ 5 minutes, permettant au Raspberry Pi de s’éteindre proprement et d’éviter toute corruption de données.

📋 Table des matières

🎯 Vue d'ensemble

BerryWatt est né d'un besoin de protéger les systèmes embarqués Raspberry Pi contre les coupures de courant. Le projet regroupe :

  • Un circuit électronique basé sur un convertisseur boost LT3479 et des supercondensateurs
  • Un écran OLED pour l'affichage des statuts en temps réel
  • Une connexion 4G pour les notifications d'urgence
  • Un boîtier 3D personnalisé pour une intégration élégante

Caractéristiques techniques

  • Tension d'entrée : 5V régulée
  • Autonomie : ~5 minutes sur supercondensateurs
  • Convertisseur : LT3479 (boost de 2.7V à 5V)
  • Affichage : OLED 128x64 pixels I2C
  • Communication : Module 4G pour alertes SMS
  • Dimensions boîtier : Compatible Raspberry Pi 4 Model B

✨ Fonctionnalités

1. Détection de coupure de courant ⚡

Le système surveille en permanence l'alimentation secteur et détecte instantanément toute interruption via le GPIO17.

2. Alimentation de secours 🔋

En cas de coupure, les supercondensateurs prennent automatiquement le relais via le convertisseur boost LT3479.

3. Affichage visuel 📺

Un écran OLED affiche en temps réel :

  • Le statut du système (normal/secours)
  • Les alertes de coupure
  • L'état de la batterie

4. Notifications 4G 📱

Le module 4G envoie automatiquement un SMS d'alerte en cas de coupure de courant.

5. Arrêt propre 🛑

Grâce aux condensateurs le Raspberry Pi dispose de 5 minutes pour sauvegarder les données et s'éteindre proprement.

💻 Logiciels

L'ensemble des fonctionnalités ont été développées en Python, les programmes sont disponibles dans le dossier software/.

Programme principal

  • programFinale.py - Programme complet intégrant toutes les fonctionnalités :
    • Détection de coupure de courant
    • Affichage sur écran OLED
    • Envoi de SMS via module 4G
    • Gestion de l'arrêt du système

Programmes de test individuels

  • detect_coupure.py - Détection des fronts montants/descendants sur GPIO17 pour identifier les coupures et retours de courant

  • display_text.py - Gestion de l'affichage OLED avec deux modes :

    • Mode normal : affichage du logo et statut normal
    • Mode secours : affichage d'avertissement et icône batterie
  • msgSend4G.py - Envoi de SMS via le module 4G en utilisant des commandes AT

🔧 Matériel

Conception PCB

Le matériel est documenté dans le dossier hardware/.

PCB Principal
Composants principaux
  • Convertisseur boost : LT3479EFE
  • Supercondensateurs : Stockage d'énergie pour l'autonomie
  • Diode Schottky : CD214C-B320R pour la protection
  • Inductance : 2.8µH pour le boost

Datasheets

Simulations

Boîtier 3D

Les modèles STL sont dans le dossier 3D Case/.

Boîtier final

📚 Livrables

Tous les documents sont disponibles dans le dossier delivrables/.

Rapports

  1. Livrable 1 - Cahier des charges

    • Analyse fonctionnelle (diagramme pieuvre)
    • Spécifications techniques
    • KPI et protocoles d'évaluation
  2. Livrable 2 - Rapport intermédiaire

    • Avancement du projet
    • Choix techniques et justifications
    • Tests et validation
  3. Compte rendu final - Rapport final complet

    • Bilan du projet
    • Résultats et performances
    • Perspectives d'amélioration

Planning

Vidéo de démonstration

👥 Auteurs

  • Tom ETIENNE - Conception matérielle, programmation Python, modélisation 3D
  • Noah PERRET - Conception PCB, routage, prototypage, intégration système

Projet SAE 4 - IUT

📜 Historique du projet

Le développement complet du projet est documenté dans historique.md, incluant :

  • Semaine 1 (17-23 mars) : Prise en main et cahier des charges
  • Semaine 2 (05-09 mai) : Conception du circuit et choix du convertisseur boost
  • Semaine 3 (26-28 mai) : Réception PCB, soudure, développement logiciel
  • Semaine 4 (10-13 juin) : Boîtier 3D, intégration finale, vidéo de présentation

📝 License

Ce projet académique réalisé dans le cadre de la SAE 4 à l'IUT de Nantes. Il est mis à disposition sous licence Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).


⚡ BerryWatt - Protégez votre Raspberry Pi contre les coupures de courant !

Parts

14
QtyValueFootprintReferences
10.25Resistor_SMD:R_0805_2012MetricRense1
11.1KResistor_SMD:R_0805_2012MetricR4
1100nCapacitor_SMD:C_0805_2012MetricC6
110KResistor_SMD:R_0805_2012MetricR1
110uCapacitor_SMD:C_0805_2012MetricC7
15.1KResistor_SMD:R_0805_2012MetricR5
1Alim_RaspberryConnector_PinSocket_2.54mm:PinSocket_1x02_P2.54mm_HorizontalJ3
1C_Polarized_USCapacitor_THT:CP_Radial_D10.0mm_P5.00mmC4
1Conn_01x01_PinConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ2
1GNDTestPoint:TestPoint_Keystone_5019_MinatureTP1
1LM358APE4footprints:P8U1
1Q_NPN_CBEPEIPD_2023_lib:TO92-CBEQ2
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ1
1VcTestPoint:TestPoint_Keystone_5015_Micro-MinatureTP2

More from EmbeddedFrime/berryWatt

1
  • 2 layers55 × 35 mmPCB BerryWatt, the printed circuit board in 3D

    PCB BerryWatt

    EmbeddedFrime/berryWatt

    Voici une version intégrée directement dans le texte :

    19 parts1

Similar boards

  • 2 layers35.6 × 20.3 mmVoltage mapper, the printed circuit board in 3D

    Voltage mapper

    stephen010x/turbo-regatta

    The Turbo Regatta is a collaborative project for engineers at Utah Tech University, which involves designing and building a custom built electric motor, and user interface dashboard, attached to a repurposed pedal boat…

    8 partsUnlicense
  • 2 layers116.8 × 30 mmType d, the printed circuit board in 3D

    Type d

    google/mozc-devices

    Circuit diagrams and firmware source code for Gboard DIY keyboards

    14 parts3kApache-2.0
  • 2 layers32 × 22 mmDiff driver, the printed circuit board in 3D

    Diff driver

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    14 parts990GPL-3.0
  • 2 layers34 × 45 mm2032Charger, the printed circuit board in 3D

    2032Charger

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    14 parts915
  • 2 layers34 × 109.9 mmTdisplay s3, the printed circuit board in 3D

    Tdisplay s3

    landonr/homeThing

    Wifi Smart Home Remotes that run on ESPHome

    14 parts551GPL-3.0
  • 2 layers45.3 × 42.7 mmMainPcb, the printed circuit board in 3D

    MainPcb

    adamb314/ServoProject

    Getting the most out of your hobby servo

    14 parts545
  • 2 layers42.5 × 28.8 mmC5VRX JACK DIY, the printed circuit board in 3D

    C5VRX JACK DIY

    Twotoz/C5VRX

    Ultra-minimal, zero-CPU 5.8 GHz analog FPV video receiver using ESP32-C5 Wi-Fi 6 PHY MODEM_DIAG, BitScrambler WBFM demodulation & resistor DAC CVBS

    14 parts515GPL-3.0

Questions

How big is the PCB BerryWatt PCB?

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

What parts does the PCB BerryWatt use?

14 parts, built around the LM358APE4. 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 BerryWatt KiCad files?

From the EmbeddedFrime/berryWatt repository on GitHub, at the commit this page was made from: the board is hardware/KiCad/PCB_BerryWatt_alim/PCB_BerryWatt.kicad_pcb and its schematic hardware/KiCad/PCB_BerryWatt_Boost/PCB_BerryWatt.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

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

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