cecio / USBvalve

Expose USB activity on the fly
MIT License
1.24k stars 44 forks source link

Buzzer Support? #27

Closed LiPolymer closed 7 months ago

LiPolymer commented 7 months ago

I’d be grateful if you could add an optional feature that can notify the user with a buzzer when some suspicious behaviors (e.g. HID device attached) have been detected. I'm not an Arduino developer, and I'm sorry I can't help with this amazing project directly. (By the way, I designed a dedicated PCB for this project. Can I create a PR when I have tested it?)

cecio commented 7 months ago

Hey, thanks for your interest into the project and your feedback :-)

I think the buzzer could be a good idea, but as for another request about an RGB led, I'm a bit doubtful: I'd like to keep the design and build of the main board as simple as possible. Buzzer and additional LED can be useful, but are going to complicate the build process and even if they are not a big issue for someone experienced in building electronics, they can be difficult to manage for novices. So, for the time being, I'll keep this on-hold.

And yes, please if you have a dedicated PCB, open a PR. Thanks!

LiPolymer commented 7 months ago

Thanks! :) My PCB is in production. I'll open a PR if it works well. :D

And about the buzzer, maybe you can make it an optional feature. Users can choose whether to weld and use it. ;)

_(And I think buzzers like Screenshot_20240405-134054.jpgare pretty easy to weld, even for beginners.)_

You can control its pitch by changing the PWM signal's frequency.

I guess that a humble buzzer can make a big difference. :D

Have a nice day ;D