Open your door with a few simple taps; no keys needed!
Project tutorial by Alex Wulff
This project will remind you with auditory cues and an NFC scanning system to make sure that you have your keys on the way out the door.
Extend the functionality of your current keyboard with custom capacitive touch keys.
A prank candy bowl that senses when someone tries to reach for a piece and automatically empties before they can get one.
Project tutorial by Jonathan Tindal
Arduino 101 rover project using Mecanum wheels and Blynk.
Project in progress by Team Hackster Houston
Glad to hear everything went well and it was annoying enough to have someone call maintenance to fix it! Let me know if you decide to do anything else with the Annoy-O-Bug
Glad to hear you're helping this circuit live up to its annoying potential ;) I didn't think that magnets could affect the piezo speaker; my understanding was that they don't use magnets and instead have a piezoelectric crystal as the actuator. Perhaps you're covering the hole of the buzzer with the magnets? My recommendation would be to hot glue it by where the positive battery terminal is soldered. Anyways, let me know what your co-workers think!
Hey Scott, glad you liked it! All you need to do is replace this line PCMSK |= BV(PCINT3) and this line PCMSK &= ~_BV(PCINT3) with PCMSK |= _BV(PCINT0) and PCMSK &= ~_BV(PCINT0) for pin 0, PCMSK |= _BV(PCINT1) and PCMSK &= ~BV(PCINT1) for pin 1, etc. In addition, change the integer vibPin to whatever pin you're using.
This is just changing the pin that's used to trigger the pin change interrupt. ATtiny85 supports pin change interrupts on all of its IO pins, so if you're using a different microcontroller you may need to reconfigure the code. Also be mindful that these are not the physical pin numbers but rather the port number.
Or connect with your social account:
New here? Create an account