Tri-Color USB Controlled Hemisphere Alarm Light with Buzzer

via Adafruit
$202.95
SKU AF-5126

With this Tri-Color USB Controlled Hemisphere Alarm Light with Buzzer, you can easily monitor and alert humanoids as to the status of a project, machine, or even if the bathroom is occupied!

Unlike our "12V" style tower lights, no wiring or microcontroller programming is required. It's completely plug-and-play for use with any computer that has a USB port, even a Raspberry Pi SBC - so we recommend it when you just want to get something running and don't want to noodle around with 12V power plugs and transistors. 

The buzzer light is powered and controlled over USB, so just plug it right in. Inside is a microcontroller connected over a CH43x USB-to-UART chip, so you'll need to install a CH43x driver for the COM/Serial port to show up.

Once the serial port is created, connect to it over 9600 baud and send command codes to turn on and off the LEDs and enable/disable the buzzer. There's also a blink command, so you don't have to continuously turn on/off the LED to have a pulsing/blinking effect. See below for an example Python script that will toggle everything on/off to test.

https://www.youtube.com/embed/wbxF0NGbibs?start=378