Skip to the content
PCBKitNew board
2 layers50.8 × 27.9 mmUsbscope, the printed circuit board in 3D

Create, install, and configure a debian semi-automatically

Size
50.8 × 27.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
11
Pads
42
Tracks, vias
57, 0
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
31 Aug 2021
Updated
1 Nov 2026

Overview

Usbscope is an open-source printed circuit board by sbeaugrand, from the sbeaugrand/debinst repository on GitHub. It is a 2-layer board of 50.8 × 27.9 mm with 17 parts on 11 nets, routed with 57 tracks and 0 vias.

It is built around the ATTINY45-20PU. Its parts include 6 connectors, 5 resistors, 3 diodes, 2 capacitors and 1 IC. It belongs with the computers and single-board computers boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Installation sur une debian existante

sh
cd
mkdir data
mkdir install
cd install
git clone https://github.com/sbeaugrand/debinst.git
cd cicd/hosts/localhost

Ansible

Installations optionnelles
sh
./0install.sh
./0install.sh hardware/install-op-pc-...
./0install.sh hardware/install-op-offline-manuals.sh
./0install.sh install-op-/install-op-...
sudo apt install texlive-fonts-extra  # > 700 Mo
MPlayer
sh
systemd-run -p CPUQuota=$((`nproc`*50))% --scope bash -c './0install.sh install-op-/install-op-mplayer.sh'
# error: initialization from incompatible pointer type
cd ~/data/tmp/install-build/mplayer
vi config.mak +/CFLAGS  # -Wno-incompatible-pointer-types
make && make install
Contrôle parental
sh
./0install.sh install-op-/install-op-parental-control.sh
./0install.sh install-op-/install-op-parental-control2.sh
bin/hotspot

Création d'une debian sur clé USB

sh
make pkgs
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034771
sudo vi /usr/share/debian-cd/tools/generate_firmware_patterns +/'missing metadata file'  # comment 2 lines
# trixie
sudo vi /usr/share/simple-cdd/build-simple-cdd +/'For amd64'  # comment 3 lines
sudo vi /usr/share/debian-cd/tools/boot/trixie/boot-x86 +/'amd64 i386'  # suppr i386
sudo sed -i 's/standard)"/standard) | Package (== tasksel-data)"/' /usr/lib/python3/dist-packages/simple_cdd/tools/mirror_reprepro.py
make iso
pv ~/data/tmp/install-build/simplecdd-op-1arch64/images/debian-*-amd64-DVD-1.iso | sudo dd bs=4M oflag=dsync of=/dev/sdc

La liste des paquets debian sont dans: simplecdd-op-1arch64/list.txt

La liste des paquets créés sont dans: buildpackage-op-1/build/list.txt

No kernel modules were found

Grub install error
sh
# Recovery mode
grub-install /dev/sda
update-grub

Création d'une debian légère sur clé USB

sh
./1buildpackage.sh buildpackage-op-2ansible dist
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034771
sudo vi /usr/share/debian-cd/tools/generate_firmware_patterns +/'missing metadata file'  # comment 2 lines
# trixie
sudo vi /usr/share/simple-cdd/build-simple-cdd +/'For amd64'  # comment 3 lines
sudo vi /usr/share/debian-cd/tools/boot/trixie/boot-x86 +/'amd64 i386'  # suppr i386
sudo sed -i 's/standard)"/standard) | Package (== tasksel-data)"/' /usr/lib/python3/dist-packages/simple_cdd/tools/mirror_reprepro.py
./2simplecdd.sh simplecdd-op-2ansible buildpackage-op-2ansible

Création d'une debian nouvelle version sur clé USB

https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/

sh
gpg --keyserver hkps://keyring.debian.org:443 --recv-keys 0xDA87E80D6294BE9B
gpg --keyserver hkps://keyring.debian.org:443 --recv-keys 0x42468F4009EA8AC3
gpg --verify SHA512SUMS.sign SHA512SUMS
grep debian-live-13.1.0-amd64-lxde.iso$ SHA512SUMS >debian-live-13.1.0-amd64-lxde.sha
sha512sum -c debian-live-13.1.0-amd64-lxde.sha
sudo apt install openssh-server
make pkgs
gnome-boxes debian-live-13.1.0-amd64-lxde.iso
sh
# lxterminal
sudo apt update
sudo apt install -y sshfs
sudo mkdir /mnt/a1
sudo chown user:user /mnt/a1
user=...
sshfs $user@10.0.2.2:/ /mnt/a1
grep -A15 debinst/README /mnt/a1/home/$user/install/debinst/README.md
ln -s /mnt/a1/data /home/user/data
cd /mnt/a1/home/$user/install/debinst
rm simplecdd-op-1arch64/amd64/simple-cdd.conf
rm -fr ~/data/tmp/install-build/simplecdd-op-1arch64
sudo apt-get install -y dh-make dosfstools mtools simple-cdd xorriso distro-info-data
sudo vi /usr/share/simple-cdd/tools/build/debian-cd +/rsync  # suppr -a
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034771
sudo vi /usr/share/debian-cd/tools/generate_firmware_patterns +/'missing metadata file'  # comment 2 lines
# trixie
sudo vi /usr/share/simple-cdd/build-simple-cdd +/'For amd64'  # comment 3 lines
sudo vi /usr/share/debian-cd/tools/boot/trixie/boot-x86 +/'amd64 i386'  # suppr i386
sudo sed -i 's/standard)"/standard) | Package (== tasksel-data)"/' /usr/lib/python3/dist-packages/simple_cdd/tools/mirror_reprepro.py
make iso
cd
fusermount3 -u /mnt/a1
exit
sh
sudo apt remove openssh-server
Update wheels
sh
mv ~/install/wheels-x86_64/*-cp3*-*.whl ~/tmp/
make pkgs

Création d'une debian live

sh
cd 4livebuild
make  # :

Mettre à jour le mirroir local

sh
make iso
cd 4livebuild
systemd-run -p CPUQuota=$((`nproc`*50))% --scope bash -c 'make mirror'
make http

Configurer et créer

sh
cd 4livebuild
df .  # >28G or: mkdir ~/data/tmp/live && ln -s ~/data/tmp/live build
make config
make sync
make clean
make config
make installer
make aptsources
systemd-run -p CPUQuota=$((`nproc`*50))% --scope bash -c 'make binary'
pv build/live-image-amd64.hybrid.iso | sudo dd bs=4M oflag=dsync of=/dev/sdb
Persistance et quatrième partition
text
/sbin/fdisk /dev/sdb
n
p
3
16777216  # echo " 8 GB" | awk '{ print $1 * 1024 * 2048 }'
67108863  # echo "32 GB" | awk '{ print $1 * 1024 * 2048 }' | awk '{ print $0 - 1 }'
n
p
67108864  # echo "32 GB" | awk '{ print $1 * 1024 * 2048 }'
134217727 # echo "64 GB" | awk '{ print $1 * 1024 * 2048 }' | awk '{ print $0 - 1 }'
w
sh
/sbin/mkfs.ext2 /dev/sdb3
/sbin/mkfs.ext2 /dev/sdb4
/sbin/e2label /dev/sdb3 persistence
mount /mnt/b3
echo "/ union" >/mnt/b3/persistence.conf
umount /mnt/b3
Exemple pour une configuration avancée
sh
ln -s user-config-pc-b1.mk user-config-pr-symlink.mk

Installation sur ARM (armbian)

Installation sur Raspberry Pi (raspbian)

Installation sur PinePhone (mobian)

Création d'une machine virtuelle dans windows

Licence CeCILL 2.1

Copyright Sébastien Beaugrand

Ce logiciel est un programme informatique servant à créer, installer, et configurer une debian de manière semi-automatique.

Ce logiciel est régi par la licence CeCILL soumise au droit français et respectant les principes de diffusion des logiciels libres. Vous pouvez utiliser, modifier et/ou redistribuer ce programme sous les conditions de la licence CeCILL telle que diffusée par le CEA, le CNRS et l'INRIA sur le site "http://www.cecill.info".

En contrepartie de l'accessibilité au code source et des droits de copie, de modification et de redistribution accordés par cette licence, il n'est offert aux utilisateurs qu'une garantie limitée. Pour les mêmes raisons, seule une responsabilité restreinte pèse sur l'auteur du programme, le titulaire des droits patrimoniaux et les concédants successifs.

A cet égard l'attention de l'utilisateur est attirée sur les risques associés au chargement, à l'utilisation, à la modification et/ou au développement et à la reproduction du logiciel par l'utilisateur étant donné sa spécificité de logiciel libre, qui peut le rendre complexe à manipuler et qui le réserve donc à des développeurs et des professionnels avertis possédant des connaissances informatiques approfondies. Les utilisateurs sont donc invités à charger et tester l'adéquation du logiciel à leurs besoins dans des conditions permettant d'assurer la sécurité de leurs systèmes et ou de leurs données et, plus généralement, à l'utiliser et l'exploiter dans les mêmes conditions de sécurité.

Le fait que vous puissiez accéder à cet en-tête signifie que vous avez pris connaissance de la licence CeCILL, et que vous en avez accepté les termes.

Parts

17
QtyValueFootprintReferences
5Rcommon:R4R1, R2, R3, R4, R5
4CONN_1common:PIN_ARRAY_1X1P1, P2, P3, P5
2ZENERcommon:D3D1, D2
1ATTINY45-20PUcommon:DIP-8__300U1
1Ccommon:C2C1
1CONN_6common:PIN_ARRAY_6X1P4
1CP1common:CP_5x11mmC2
1LEDcommon:LED-5MMD3
1USB_2common:USB4J1

Questions

How big is the Usbscope PCB?

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

What parts does the Usbscope use?

17 parts, built around the ATTINY45-20PU. 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 Usbscope KiCad files?

From the sbeaugrand/debinst repository on GitHub, at the commit this page was made from: the board is projects/avr/usbscope/kicad/usbscope.kicad_pcb and its schematic cicd/mps/kicad/remoteControl.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Usbscope design in my own project?

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

More from sbeaugrand/debinst

6
  • 2 layers101.6 × 76.2 mmGeiger, the printed circuit board in 3D

    Geiger

    sbeaugrand/debinst

    Create, install, and configure a debian semi-automatically

    61 parts1
  • 2 layers162.6 × 101.6 mmRemoteControl, the printed circuit board in 3D

    RemoteControl

    sbeaugrand/debinst

    Create, install, and configure a debian semi-automatically

    31 parts1
  • 2 layers76.2 × 35.6 mmFftAlarm, the printed circuit board in 3D

    FftAlarm

    sbeaugrand/debinst

    Create, install, and configure a debian semi-automatically

    29 parts1
  • 2 layers48.3 × 50.8 mmIambic, the printed circuit board in 3D

    Iambic

    sbeaugrand/debinst

    Create, install, and configure a debian semi-automatically

    24 parts1
  • 2 layers106.7 × 81.3 mmMp3server, the printed circuit board in 3D

    Mp3server

    sbeaugrand/debinst

    Create, install, and configure a debian semi-automatically

    22 parts1
  • 2 layers76.2 × 38.1 mmUsbtinyisp, the printed circuit board in 3D

    Usbtinyisp

    sbeaugrand/debinst

    Create, install, and configure a debian semi-automatically

    19 parts1

Similar boards

  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers160 × 100 mmMPCNC Nano Estlcam Shield, the printed circuit board in 3D

    MPCNC Nano Estlcam Shield

    tnn85/MPCNC-Nano-Estlcam-Shield

    Ein CNC Shield für die MPCNC in Verwendung mit Estlcam

    96 parts70
  • 2 layers17.3 × 13.5 mmWatchdog, the printed circuit board in 3D

    Watchdog

    robert-hh/ATTiny-Watchdog-for-MicroPython

    ATTinyx5 based watchdog timer e.g. for MicroPython devices

    8 parts10
  • 2 layers104 × 73 mmArdf tx, the printed circuit board in 3D

    Ardf tx

    hmatuschek/ardf-tx

    Schematics and firmware for simple ARDF transmitter.

    55 parts5
  • 2 layersC64-autofire, the printed circuit board in 3D

    C64-autofire

    lutzbellmann/c64-autofire

    Autofire Adapter for the Commodore 64 Control Ports

    11 parts5GPL-3.0
  • 2 layers80.8 × 27.7 mmMazda auxmod pcb, the printed circuit board in 3D

    Mazda auxmod pcb

    andrewandneil/mazda-auxmod

    A circuit board and code for adding AUX In to Mazda Radios

    33 parts3GPL-3.0
  • 2 layersBhm, the printed circuit board in 3D

    Bhm

    Bertruss/BatteryHealthMonitor

    Battery Health Monitor for LiPo batteries in hobbyist applications

    11 parts
  • 2 layers50 × 50 mmSoldering Sponge Automatic Water Dispenser, the printed circuit board in 3D

    Soldering Sponge Automatic Water Dispenser

    EECSB/Soldering-Sponge-Automatic-Water-Dispenser

    ATtiny45-based device that keeps a soldering sponge moist automatically (3D-printed case + KiCad PCB + firmware).

    23 partsUnlicense