I’m trying to build a simple latch that can be set to release a springed lid (like a jack in the box) at a specific time everyday to feed our cat. I’m a complete newbie to Arduino and basic electronics so I’m trying to keep simple. I’ve got a spare smartplug that i’d like to connect to a 12v Solenoid latch. I’d schedule the smart plug to let power through for 1 minute to release the latch which I would then manually reset nightly. Will it work to wire the Solenoid directly to a 12 AC Adapter and then into the Smartplug (see photo)? Is there anything else I need to be thinking about.
If this forum isn’t the best place for this question, I’d appreciate any suggestions as to where I could get some advice.