PissOff (Project #9, November 16)
In order to purchase items from our shop you need to be a
logged-in active member of the Boldport Club.
PissOff is an angry barking blue-in-the-face mad proximity sensor. 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 circuit transmits infrared (IR) signals and then measures the amount of reflected energy. As soon as it determines that enough of the IR energy comes back, 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!).
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 code — every bit is sacred, every bit is great — is solely the work of LuckyResistor.
Further information about the kit and how to assemble it is here.
Other than what comes with the kit you'll need three AAA batteries and an microSD card for the audio files.
This item will be shipped to you together with the next scheduled shipment, normally on the 15th of every month.
- x1 Kinetis E series, ARM Cortex-M0+ SOIC20 32 bit MCU, NXP MKE04Z8VWJ4
- x1 Audio power amplifier SOIC8 IC, TI TPA301DR
- x1 microSD SMD card socket, MOLEX 1051620101
- x1 50KΩ SMD trimmer, Bourns TC33X-2-503E
- x1 29mm round speaker, Pro-signal ABS-205-RC
- x1 3xAAA battery holder with switch, TruPower SBH431-1AS
- x1 3.3V LDO voltage regulator, Diodes AP2210K-3.3TRG1
- x1 5mm IR phototransistor (black lens), Multicomp OFT-5301
- x1 5mm IR diode (blue lens), Kingbright L-7113F3BT
- x1 n-channel SOT23 SMD MOSFET transistor, ON Semiconductor 2N7002ET1G
- x2 0.1µF 0805 SMD ceramic capacitor, Multicomp MC0805B104K500CT
- x5 1µF 0805 SMD ceramic capacitor, Multicomp MC0805F105Z160CT
- x11 8.2KΩ 0805 SMD resistor, Multicomp MCWR08X8201FTL
- x5 1KΩ 0805 SMD resistor, Multicomp MCWR08X1001FTL
- x3 220Ω 0805 SMD resistor, Multicomp MCWR08X2200FTL
- x7 47KΩ 0805 SMD resistor, Multicomp MCWR08X4702FTL
- x1 33Ω through-hole resistor, Multicomp MF25 33R
- x1 Yellow 0805 SMD LED, Kingbright KPT-2012YC
- 14 cm of 20AWG wire, Belden 566-8020