> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Tri-Color USB Controlled Hemisphere Alarm Light with Buzzer

**Type:** Product page · **SKU:** ADA5126 · **Brand:** [Adafruit](https://core-electronics.com.au/brands/adafruit-australia)
**Page:** https://core-electronics.com.au/tri-color-usb-controlled-hemisphere-alarm-light-with-buzzer.html ([markdown](https://core-electronics.com.au/tri-color-usb-controlled-hemisphere-alarm-light-with-buzzer.html.md))

With this USB Controlled Round Lamp with Buzzer, you can easily monitor and alert humanoids as to the status of a project, machine, or even if...

## Pricing

- **Price:** $179.95 (inc GST) — $163.59 AUD, exc GST
- **Quantity discounts:** 10+ $158.68 (exc GST) · 50+ $155.41 (exc GST)

## Availability & dispatch

- Out of stock — the product page offers email notification when it returns.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=ADA5126:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/ADA5126:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

With this **USB Controlled Round Lamp 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 Adafruit's ["12V" style tower lights](https://core-electronics.com.au/search/?q=tower+light&sort=BestMatch), 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 they 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.

## Technical Details

![](https://core-electronics.com.au/attachments/localcontent/5126_diagram_17635311e9f.png)

**Python code example to control the lamp over USB:**

 ```
"""Example for Adafruit USB tower light w/alarmdon't forget to `pip install pyserial` or `pip3 install pyserial`"""<br></br><br></br>import serial<br></br>import time<br></br><br></br>serialPort = 'COM57'  # Change to the serial/COM port of the tower light<br></br>baudRate = 9600<br></br><br></br>RED_ON = 0x11<br></br>RED_OFF = 0x21<br></br>RED_BLINK = 0x41<br></br><br></br>YELLOW_ON= 0x12<br></br>YELLOW_OFF = 0x22<br></br>YELLOW_BLINK = 0x42<br></br><br></br>GREEN_ON = 0x14<br></br>GREEN_OFF = 0x24<br></br>GREEN_BLINK = 0x44<br></br><br></br>BUZZER_ON = 0x18<br></br>BUZZER_OFF = 0x28<br></br>BUZZER_BLINK = 0x48<br></br><br></br>def sendCommand(serialport, cmd):    <br></br>    serialport.write(bytes([cmd]))<br></br><br></br>if __name__ == '__main__':<br></br>    mSerial = serial.Serial(serialPort, baudRate)<br></br><br></br>    # Clean up any old state<br></br>    sendCommand(mSerial, BUZZER_OFF)<br></br>    sendCommand(mSerial, RED_OFF)<br></br>    sendCommand(mSerial, YELLOW_OFF)<br></br>    sendCommand(mSerial, GREEN_OFF)<br></br><br></br>    # Turn on each LED set in order<br></br>    sendCommand(mSerial, RED_ON)<br></br>    time.sleep(0.5)<br></br><br></br>    sendCommand(mSerial, RED_OFF)<br></br>    sendCommand(mSerial, YELLOW_ON)<br></br>    time.sleep(0.5)<br></br>    <br></br>    sendCommand(mSerial, YELLOW_OFF)<br></br>    sendCommand(mSerial, GREEN_ON)<br></br>    time.sleep(0.5)<br></br><br></br>    sendCommand(mSerial, GREEN_OFF)<br></br><br></br>    # Beep!<br></br>    sendCommand(mSerial, BUZZER_ON)<br></br>    time.sleep(0.1)<br></br>    sendCommand(mSerial, BUZZER_OFF)<br></br><br></br>    # Use the built-in blink modes<br></br>    sendCommand(mSerial, RED_BLINK)<br></br>    time.sleep(3)<br></br>    sendCommand(mSerial, RED_OFF)<br></br><br></br>    sendCommand(mSerial, YELLOW_BLINK)<br></br>    time.sleep(3)<br></br>    sendCommand(mSerial, YELLOW_OFF)<br></br><br></br>    sendCommand(mSerial, GREEN_BLINK)<br></br>    time.sleep(3)<br></br>    sendCommand(mSerial, GREEN_OFF)<br></br><br></br>    # Please be kind, rewind!<br></br>    sendCommand(mSerial, BUZZER_OFF)<br></br>    sendCommand(mSerial, RED_OFF)<br></br>    sendCommand(mSerial, YELLOW_OFF)<br></br>    sendCommand(mSerial, GREEN_OFF)<br></br><br></br>    mSerial.close()
```

Product Weight: 128.0g / 4.5oz

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/i/m/image_3059.jpg)
