Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the purpose of the INT pin? #3

Open
Nic2012 opened this issue Jun 21, 2019 · 3 comments
Open

What is the purpose of the INT pin? #3

Nic2012 opened this issue Jun 21, 2019 · 3 comments
Labels

Comments

@Nic2012
Copy link

Nic2012 commented Jun 21, 2019

Hi,
could you give some explanation how we can use the 4th pin INT on the breakout.
Thanks and best regards,
Nic

@Nic2012 Nic2012 changed the title What is the purpose of the input pin? What is the purpose of the INT pin? Jun 21, 2019
@Gadgetoid
Copy link
Member

It's only useful if you're hooking it up to some device that can handle an external interrupt for wake-up. IE: On the Raspberry Pi it doesn't really serve much of a purpose so we don't (yet) have an example of this. Not that you couldn't use it anyway.

The rv3028 is capable of asserting the interrupt pin for things like periodic countdown timers, alarms, time update intervals and more. This is all detailed in the datasheet - https://www.microcrystal.com/fileadmin/Media/Products/RTC/App.Manual/RV-3028-C7_App-Manual.pdf - but I appreciate that's heavy reading if you're just looking for something interesting to do with the pin.

What's your application?

@Nic2012
Copy link
Author

Nic2012 commented Sep 10, 2019

My first thoughts: does it interfere with the onoff-shim when its additionally attached on pi (https://shop.pimoroni.com/products/onoff-shim) it listens on pin4 to trigger a shutdown.

Because the rv3028 has very low current consumption, to control a long term timelapse with precise time intervals would be an application.

@Gadgetoid
Copy link
Member

It should be possible to accomplish this, but not with the module alone. The interrupt pin would have to trigger the on state, and the Pi would have to execute its task and shutdown automatically.

It might be possble to wire it directly to the "BTN" header of OnOff SHIM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants