

Usbscope
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
1README
README.mdInstallation sur une debian existante
cd
mkdir data
mkdir install
cd install
git clone https://github.com/sbeaugrand/debinst.git
cd cicd/hosts/localhostInstallations optionnelles
./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 MoMPlayer
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 installContrôle parental
./0install.sh install-op-/install-op-parental-control.sh
./0install.sh install-op-/install-op-parental-control2.sh
bin/hotspotCréation d'une debian sur clé USB
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/sdcLa 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
Grub install error
# Recovery mode
grub-install /dev/sda
update-grubCréation d'une debian légère sur clé USB
./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-2ansibleCréation d'une debian nouvelle version sur clé USB
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/
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# 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
exitsudo apt remove openssh-serverUpdate wheels
mv ~/install/wheels-x86_64/*-cp3*-*.whl ~/tmp/
make pkgsCréation d'une debian live
cd 4livebuild
make # :Mettre à jour le mirroir local
make iso
cd 4livebuild
systemd-run -p CPUQuota=$((`nproc`*50))% --scope bash -c 'make mirror'
make httpConfigurer et créer
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/sdbPersistance et quatrième partition
/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/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/b3Exemple pour une configuration avancée
ln -s user-config-pc-b1.mk user-config-pr-symlink.mkInstallation 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 5 | R | common:R4 | R1, R2, R3, R4, R5 |
| 4 | CONN_1 | common:PIN_ARRAY_1X1 | P1, P2, P3, P5 |
| 2 | ZENER | common:D3 | D1, D2 |
| 1 | ATTINY45-20PU | common:DIP-8__300 | U1 |
| 1 | C | common:C2 | C1 |
| 1 | CONN_6 | common:PIN_ARRAY_6X1 | P4 |
| 1 | CP1 | common:CP_5x11mm | C2 |
| 1 | LED | common:LED-5MM | D3 |
| 1 | USB_2 | common:USB4 | J1 |
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 mm

- 2 layers162.6 × 101.6 mm

- 2 layers76.2 × 35.6 mm

- 2 layers48.3 × 50.8 mm

- 2 layers106.7 × 81.3 mm

- 2 layers76.2 × 38.1 mm

Similar boards
- 2 layers44.2 × 29.3 mm

- 2 layers160 × 100 mm

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 mm

Watchdog
robert-hh/ATTiny-Watchdog-for-MicroPython
ATTinyx5 based watchdog timer e.g. for MicroPython devices
8 parts10 - 2 layers104 × 73 mm

- 2 layers

C64-autofire
lutzbellmann/c64-autofire
Autofire Adapter for the Commodore 64 Control Ports
11 parts5GPL-3.0 - 2 layers80.8 × 27.7 mm

Mazda auxmod pcb
andrewandneil/mazda-auxmod
A circuit board and code for adding AUX In to Mazda Radios
33 parts3GPL-3.0 - 2 layers

Bhm
Bertruss/BatteryHealthMonitor
Battery Health Monitor for LiPo batteries in hobbyist applications
11 parts - 2 layers50 × 50 mm

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