Skip to the content
2 layers31 × 30.5 mmChristmas tree barrier, the printed circuit board in 3D

Christmas tree barrier

Petezah/roomba_wall_v232

An AVR program for ATTiny85 to transmit a virtual wall signal for an iRobot Roomba

Size
31 × 30.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
17
Pads
59
Tracks, vias
106, 4
Pours
4
Routed
Yes
KiCad
KiCad 4
Created
12 May 2016
Updated
12 Dec 2020

Overview

Christmas tree barrier is an open-source printed circuit board by Petezah, from the Petezah/roomba_wall_v2 repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 31 × 30.5 mm with 17 parts on 17 nets, routed with 106 tracks and 4 vias.

It is built around the ATTINY45-20SU and MIC5225-3.3YM5. Its parts include 4 connectors, 3 resistors, 2 capacitors, 2 ICs and 2 diodes. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

2

README

README.md

roomba_wall_v2

An AVR device, based on ATTiny85, to transmit a virtual wall signal for an iRobot Roomba

Folder layout

  • /firmware
    • Source for the ATTiny85 firmware
  • /hardware
    • Files describing the board layout, etc
  • /christmas_tree_barrier
    • Files describing the board layout for the Christmas tree barrier variation

Building

Prerequisites for "happy path":

  • Raspberry Pi configured with BCM SPI enabled
  • AVR-GCC installed
    • Easiest way to get this is 'sudo apt-get install arduino'
  • Either:
    • A 6-position, dual-row IDC cable (recommended)
    • Or jumpers to wire SPI bus of Raspberry Pi to the ISP pads on the finished board

Steps

hardware
firmware

There are two methods to wire the board for programming:

  • Recommended way:

  • Alternate way:

    • Hook up the ISP pins on the assembled board to your Raspberry PI as follows:
      • ISP Pin 1 --> Raspberry Pi Pin 21 (MISO)
      • ISP Pin 2 --> Raspberry Pi Pin 17 (3.3V)
      • ISP Pin 3 --> Raspberry Pi Pin 23 (SCK)
      • ISP Pin 4 --> Raspberry Pi Pin 19 (MOSI)
      • ISP Pin 5 --> Raspberry Pi Pin 15 (GPIO22)
      • ISP Pin 6 --> Raspberry Pi Pin 25 (GND)

Once wiring is accomplished:

  • Execute the following on the Raspberry Pi command line
    • cd firmware
    • make fuse
    • make install

Parts

17
QtyValueFootprintReferences
210uFlib_fp:C_1206C1, C2
2560lib_fp:R_1206R1, R2
2JSTPHlib_fp:JST_PH_B2B-PH-SM4-TB_02x2.00mm_StraightJ2, J3
151lib_fp:R_1206R3
18Mhzlib_fp:Resonator_SMD_muRata_CSTCE_G-3pin_3.0x0.7mmY1
1ATTINY45-20SUlib_fp:SOIC-8_5.35x5.40mm_Pitch1.27mmU1
1AVR-ISP-6lib_fp:Pin_Header_Straight_2x03_Pitch2.54mmCON1
1IR_LEDlib_fp:LED_0603_HandSolderingD2
1LEDlib_fp:LED_1206D1
1LOGOkicad-libs:petezah-logo-tinyG***
1MIC5225-3.3lib_fp:SOT-23-5_HandSolderingIC1
1Q_NPN_BEClib_fp:SOT-23_HandsolderingQ1
1USB_OTGlib_fp:USB_Micro-B_10103594-0001LFJ1

The 16 most common of 17 parts.

Similar boards

  • 2 layers76.3 × 105.1 mmENHP eleklekha, the printed circuit board in 3D

    ENHP eleklekha

    sebmorales/ENHP

    Experiments in Networked Hardware Performance

    49 parts9
  • 2 layers28 × 20 mmTMF882xBreakout, the printed circuit board in 3D

    TMF882xBreakout

    generationmake/TMF882xBreakout

    Breakout board for the ams TMF8820, TMF8821 and TMF8828 multi-zone time-of-flight sensors

    27 parts1
  • 2 layers28 × 20 mmTMF8801Breakout, the printed circuit board in 3D

    TMF8801Breakout

    generationmake/TMF8801Breakout

    Breakout board for the ams TMF8801 1D time-of-flight sensor

    27 parts1
  • 4 layers165 × 160 mmBig Fast Switch, the printed circuit board in 3D

    Big Fast Switch

    slugrustle/electronics

    Various electronics projects.

    136 parts1
  • 2 layers133 × 60 mmMax31856, the printed circuit board in 3D

    Max31856

    FirstLinkConsutlingService/UniversalKilnController

    A Hardware/Software project to control devices of the KILN persuasion ( temperature and cooking time manager)

    23 partsMIT
  • 2 layers31.8 × 27.8 mmAdafruit 0.96in 160x80 TFT Display, the printed circuit board in 3D

    Adafruit 0.96in 160x80 TFT Display

    ihmnelson/Turn-Timer

    Turn timer file repo for Tabletop Gaming Club collab as part of Electronics Club @ UWB 2026.

    29 parts
  • 2 layers25.4 × 34.3 mmAdafruit Ultimate GPS, the printed circuit board in 3D

    Adafruit Ultimate GPS

    johnscovell/ARIS

    Click here to purchase one from the Adafruit shop Other versions: Adafruit Ultimate GPS Breakout Adafruit Ultimate GPS FeatherWing Adafruit Ultimate GPS Logger Shield Adafruit Ultimate GPS HAT for Raspberry Pi Flora…

    22 parts
  • 2 layers141.6 × 59.1 mmArgonCubeSlowControl, the printed circuit board in 3D

    ArgonCubeSlowControl

    PPKoller/ArgonCubeSlowControl

    ArgonCube slow control PCB board.

    166 parts

Questions

How big is the Christmas tree barrier PCB?

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

What parts does the Christmas tree barrier use?

17 parts, built around the ATTINY45-20SU and MIC5225-3.3YM5. 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 Christmas tree barrier KiCad files?

From the Petezah/roomba_wall_v2 repository on GitHub, at the commit this page was made from: the board is christmas_tree_barrier/christmas_tree_barrier.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Christmas tree barrier design in my own project?

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