0

I'm a newbie and I need help designing a circuit that achieves the following functionality using a Raspberry Pi:

When GPIO 17 on the Raspberry Pi goes high, I want to keep a relay powered on.

When GPIO 17 goes low, I want the relay to remain powered on for 30 seconds and then turn off.

Regardless of the GPIO state (high or low), whenever power is applied, the relay should automatically turn on at first startup.

I would appreciate any guidance or assistance with this circuit design.

3
  • Is there a reason you can't make GPIO17 high on startup?
    – vir
    Commented Jul 12, 2023 at 22:13
  • i can make gpio high on startup
    – Dhruv Shah
    Commented Jul 12, 2023 at 22:14
  • You need to look at programming tutorials and Pi examples.
    – joan
    Commented Jul 13, 2023 at 8:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.