I am quite new to electrical engineering but I am trying to help out a local fire department with a project. Here's the goal: whenever the sirens go off, turn on the lights in their bunk room. In the room, they have a device with a 6-pin DIN output that is energized only when an alert is received.
I found some socket adapters on Amazon for the 6-pin DIN, but would love a little bit more understanding of how I can use that to possibly activate a relay (or something) to turn on a full-sized light.
I know I am new so I really do appreciate the help! Please dumb things down if possible... I am still learning.
Project specifications: the room is pretty small, so they are hoping for one (maybe two) red light bulbs to activate whenever an alert comes in. They do not need the main lights in the room, as this would be a little to intense to wake them up. I really just need help figuring out how to connect the 6-pin DIN to a relay to activate these lights. I watched a YouTube tutorial on relays with Arduinos, and am wondering if this would be similar. The desired result would be a small box, with a light bulb or two on top that plugs into the DIN port on their pager system and lights up whenever the port is activated. My biggest question is: would there be an easy way for a Raspberry Pi to detect the change in state from the 6-pin DIN? I can figure it out from there.