Max/MSP send midi event to turn on or off a light bulb?

Max Duykers's icon

Hello - I'm a relatively new Max/MSP user. Is it possible with my Mac Pro Laptop to send a simple 1 or 0 to an external device that could have a usb light bulb attached (like a simple on or off)? The light bulb I'm speaking about might be something like this https://www.xump.com/science/usb-powered-light-bulb-with-cable.cfm?srsltid=AfmBOopOH126fyprQe6Aw5PviBmedApUhhRdmcZVOtzZLE3HwEKWBdVl

Thanks in advance

LSka's icon

No, those lights are just powered via USB, there's no way to control them.

Max Duykers's icon

But would there be some other kind of external light I could turn on or off in this manner? Maybe using a Raspberry Pi or some other hardware that would interpret the Max signal and send it to the external light?

LSka's icon

You could use an Arduino to control a relay.

Source Audio's icon

There are many options for what you want.

The key is what sort of light you want to control.

Solutions can range from arduino kind of little boards,

DMX, mqtt / zigbee - smarthome solutions to even

audio output to small electronic with only diode, resistor, capacitor & single transistor

that can switch a relay or similar.