Skip to the content
PCBKitNew board
2 layers35.6 × 32.4 mmUSB Oscilloscope, the printed circuit board in 3D

Simple USB Oscilloscope using ATTiny85

Size
35.6 × 32.4 mm
Copper layers
2
Thickness
1.6 mm
Parts
11
Nets
20
Pads
43
Tracks, vias
59, 0
Pours
2
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
13 Feb 2022
Updated
15 Feb 2022

Overview

USB Oscilloscope is an open-source printed circuit board by Computroniks, from the Computroniks/USB-Oscilloscope repository on GitHub. It is a 2-layer board of 35.6 × 32.4 mm with 11 parts on 20 nets, routed with 59 tracks and 0 vias.

It is built around the ATTINY85-20PU. Its parts include 3 resistors, 2 capacitors, 2 ICs, 2 connectors and 1 diode. It belongs with the sensors and measurement boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

USB-Oscilloscope

Simple USB Oscilloscope using ATTiny85

Building

To build this project, you must have downloaded the AVR toolchain. You can get the toolchain in a number of ways. See https://www.microchip.com/en-us/tools-resources/develop/microchip-studio/gcc-compilers for toolchain downloads. The toolchain should also be added to path.

Requirements

CMake Parameters

Here are some important parameters than can be configured when running CMake.

ParameterValueDescription
CMAKE_BUILD_TYPEOne of Debug or Release (default Debug)Sets the build type for CMake
F_CPUInteger (default 16000000ULClock speed in MHz
MCUString (default attiny85)The MCU being used.
PROG_TYPEString (default usbtiny)ISP Programmer used by AVRDUDE. See avrdude -c ? for list of valid values
E_FUSEInteger (default 0xFF)Value for extra fuse
H_FUSEInteger (default 0xD9)Value for high fuse
L_FUSEInteger (default 0xDF)Value for low fuse
LOCK_BITInteger (default 0xFF)Value for lock bit
BAUDInteger (default 9600)Baud rate for programmer

To set an option add -D\<option>=\<value> to the CMake command. E.g To set the MCU use -DMCU=attiny45.

Compiling

To compile you should run the following. Note: This assumes that you are using the Unix Makefiles generator with CMake. If you are using another generator like Ninja your commands may be diffrent.

text
mkdir build
cd build
cmake ..
make

To upload the compiled firmware to the board, ensure that your programmer is correctly connected and then run:

text
make upload

To set the board fuses you should run:

text
make fuse

Source lists

A list of all files that the compiler will compile is contained in cmake/sourcelist.cmake. If a new file is added or an old one deleted, this list must be updated.

Licence

This project uses the REUSE standard in order to communicate the correct licence for the file. For those unfamiliar with the standard the licence for each file can be found in one of three places. The licence will either be in a comment block at the top of the file, in a .license file with the same name as the file, or in the dep5 file located in the .reuse directory.

Parts

11
QtyValueFootprintReferences
227pFCapacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mmC1, C2
1100KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
110KResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR3
116MHzCrystal:Resonator-2Pin_W8.0mm_H3.5mmY1
1330Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1ATtiny85-20PPackage_DIP:DIP-8_W7.62mmU1
1LEDLED_THT:LED_D5.0mmD1
1MCP2221AxPPackage_DIP:DIP-14_W7.62mmU2
1Screw_Terminal_01x02TerminalBlock:TerminalBlock_bornier-2_P5.08mmJ2
1USB_B_MicroConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_HorizontalJ1

Questions

How big is the USB Oscilloscope PCB?

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

What parts does the USB Oscilloscope use?

11 parts, built around the ATTINY85-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 USB Oscilloscope KiCad files?

From the Computroniks/USB-Oscilloscope repository on GitHub, at the commit this page was made from: the board is USB-Oscilloscope/USB-Oscilloscope.kicad_pcb and its schematic USB-Oscilloscope/USB-Oscilloscope.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the USB Oscilloscope design in my own project?

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

Similar boards

  • 2 layers30.7 × 76.1 mmRepeater v2, the printed circuit board in 3D

    Repeater v2

    plusvic/simplebus2-intercom

    General description of the Simplebus2 protocol used by some Comelit's intercoms. Hardware for retransmitting Simplebus2 messages over UART.

    17 parts95CC0-1.0
  • 2 layers101.5 × 54 mmSimkarte, the printed circuit board in 3D

    Simkarte

    osmocom/osmocom-analog

    Software Implementation of analog cellular telephony systems like NMT, TACS, IMTS, A/B/C-Netz; mirror of https://gitea.osmocom.org/cellular-infrastructure/osmocom-analog

    15 parts32GPL-3.0
  • 2 layers76.2 × 50.8 mmJerboa-8, the printed circuit board in 3D

    Jerboa-8

    strickyak/jerboa-attiny85-mod-synth

    Modular Synthesizer using an ATtiny85 chip for each module.

    23 parts31MIT
  • 2 layersCastVolumeKnob, the printed circuit board in 3D

    CastVolumeKnob

    WebmasterTD/CastVolumeKnob

    Hardware Volume Knob for Google Cast devices

    18 parts25
  • 2 layers55.9 × 55.9 mmPrintplaat, the printed circuit board in 3D

    Printplaat

    floriaanpost/wonderfoon

    Een nieuwe implementatie van de wonderfoon

    14 parts24
  • 2 layers71.1 × 40.6 mmTiny blinky, the printed circuit board in 3D

    Tiny blinky

    Hack-a-Day/Remoticon_KiCad_Blender

    support files for the 2020 Remoticon KiCad to Blender > PCB renders workshop

    21 parts22
  • 2 layers242 × 60 mmRoothubs, the printed circuit board in 3D

    Roothubs

    gkiefer/home2l

    The Home2Ls - Smart Tools for a Private Home

    178 parts21