An AVR program for ATTiny85 to transmit a virtual wall signal for an iRobot Roomba
C++ Makefile C
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
christmas_tree_barrier
firmware
hardware
misc
.gitignore
LICENSE
README.md
roomba_wall_v2.jpg

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