Close
0%
0%

Grab detection

A proof of concept for grab detection. A simple beam break circuit which, when activated, plays a random audio file.

Similar projects worth following
0 followers
This project has no polish as it is only a proof of concept. It will be integrated into a larger final project. The MCU is programmed in C and the random audio player is programmed in Python using the Playsound and Random modules. An object is, by design, supposed to block the IR receiver and transmitter (in this case an Apple USB power adapter). When the object is grabbed and the transmitter can successfully send a signal, a random audio file is played.

run_aud.py

Python script which randomly runs one of three audio files in the local directory. Uses Random and Playsound modules.

x-python - 506.00 bytes - 11/29/2020 at 02:55

Download

USART.h

Written by Elliot Williams, the author of the book "Make: AVR Programming."

plain - 1.72 kB - 11/29/2020 at 02:44

Download

USART.c

Written by Elliot Williams, the author of the book "Make: AVR Programming."

plain - 4.36 kB - 11/29/2020 at 02:44

Download

infrared.c

A simple script to send a command to a running python file to play an audio file when the IR receiver receives any input.

plain - 1.37 kB - 11/29/2020 at 02:44

Download

  • 1 × Atmega m168p
  • 1 × USBtinyISP AVR Programmer
  • 1 × FTDI cable
  • 1 × Infrared receiver
  • 1 × Infrared Transmitter LED

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates