Hello Nerves magicians,
I am new to hardware programming but I use elixir professionally for web development.
For my horses I want to use my Raspberry Pi to build a timer that controls an electric shutter. The shutter should open every hour for 20 minutes and then close again.
I know that there are probably easier ways to reach that goal than to use nerves (so many tutorials for python), but I have been yearning to try some nerves programming. For a web developer who does not know much about using GPIOs to pass signals to a relay that powers the electric shutter engine that has four wires. One for up one for down one for phase and one for ground.
How would I control the electric shutter engine using elixir?
I am also grateful for any advice you can give me about how to connect a relay to the Raspberry Pi (as i said total beginner…).