Contact Us

Use the form on the right to contact us.

You can edit the text in this area, and change where the contact form on the right submits to, by entering edit mode using the modes on the bottom right. 

Unit 35, the IO Centre, Armstrong Rd
London, England, SE18 6RS
United Kingdom

+44(0)7779606045

We create circuits that are both beautiful and functional
 

PissOff

PissOff

an angry barking
blue-in-the-face mad
proximity sensor

Schematics 1/2 · PDF

Schematics 2/2 · PDF

Once turned on it calibrates to its environment and then detects an object approaching (well, let's face it, a cat, this is about cats). At a certain threshold it starts the mad barking.

The project is based on original brilliant work by LuckyResistor. We've collaborated to bring this project to Boldport Club members, although the highly optimised MCU codeevery bit is sacred, every bit is great — is solely the work of LuckyResistor.

The circuit

The circuit transmits infrared (IR) signals and then measures the amount of reflected energy. At a certain threshold of reflected energy it reads an audio file from the microSD card and plays it. We recommend barking. (In theory, if you insist, it could also be an enticing call for your cat Jimmy to eat the lovely roast that you just took out of the oven and planned to serve for guests from Argentina... we don't care!).

Assembly

Here is a list of components that come with the kit

Components

We recommend that you solder the components while the individual boards are still attached to the 'frame'. Pay attention to polarity: a dot or a bar that corresponds to a marking on the board. For LED D3, the arrow points to the cathode, where the bar is. For D1 and D2 make sure that you place the correct components (D1 is black, and D2 is blue) and at the correct polarity, as indicated on the board. (Note that on the printed schematics D2 was erroneously labelled as D5).

If you'd like to use solder-paste, we've arranged for OSH Stencils to sell a stencil for the board at a 15% discount! Just use this link to add the stencil to your order (the discount will already apply).

The resistors have their value printed on them (use this guide to figure out what the codes mean). Capacitors don't have their values printed on them; for this we've marked the 1uF capacitors with a black line across the strip in this kit.

Face, batteries, and speaker

The 'face' is electrically connected to the main board using three rigid wires. Cut the piece of wire in the kit to three equal segments and solder the corresponding holes in the main and face boards. Once that's done you can snap the boards out of the frame. Use a file to remove excess fragments from the break points.

The battery holder takes 3 AAA 1.5V batteries. It has two wires; the red is power (Vbatt) and the black is ground (gnd). Those wires are long so we'll cut them to about half their length and solder them to the speaker. Solder the wires to each of the two most 'external' pads of the speaker. Then solder the other end to the speaker pins on header J2. Even though there is a '+' and '-' on the board the polarity doesn't matter for this speaker.

Now solder the red and black wires from the battery pack to Vbatt and gnd, respectively, on header J7. Place the battery pack under the board so that the power switch pokes through the corresponding hole in the PCB. For both the speaker and battery pack use double-sided tape, Blu-Tack, or some other sticky stuff to hold them in place. This isn't mandatory, though.

micro-SD card sound file

The audio file is stored on a microSD card. It is loaded onto the card just like you'd load any other image, like those for a Raspberry Pi operating system, for example. Get the sound file and read more information about the process at LuckyResistor's project page.

Turning it on!

When all components are placed and speaker and batteries connected, point the 'face' to a clear area and change the switch to the 'ON' position. Wait a couple of seconds for the MCU to calibrate to its environment and then put your hand in front of the face; you should then hear the barking! Congratulations; you can now protect your food from Jimmy the cat.

If you don't hear barking then try the following:

  • Turn the potentiometer VR1 all the way counter-clockwise using a screwdriver. This sets the volume to maximum.
  • Check that the switch is indeed at 'ON' and that there is power coming through to the board (about 4.5V)

Extras: Serial interface and re-programming

The software for the MCU has been authored by LuckyResistor with a comprehensive guide here.

As a summary, one can connect the board to a serial port useful debug information — simply connect at 112500 baud through header J4 — and type 'main' after connection and then 'help' to see options. The MCU comes programmed so it should 'just work' without programming. If you wish to re-program the MCU, you'll need an SWD programmer to connect to J11.

Further information

PissOff is an open source design, as is most of our work. You can find the design files for the hardware and packaging at our GitHub repository. You can edit the design files using our own PCB design open source software, PCBmodE. The MCU code is open source software that can be found on LuckResistor's GitHub's repository.

PissOff was Project #9 of the Boldport Club. If you'd like to purchase a kit, become a member and add one to your order through the shop.

The project was a collaboration with LuckyResistor who has contributed tremendously to the fine result you see and experience in the hardware, software, and packaging design. We are very grateful for all his help.

The circuit board was lovingly manufactured by Eurocircuit.

A full gallery of the kit is here. The remarkable photos were taken by Erbsland Art, @ErbslandArt.