Activity Forums Questions & Troubleshooting Hardware Using RTC INT

  • Using RTC INT

     Jarda updated 4 years, 3 months ago 3 Members · 6 Posts
  • duandv

    Member
    May 6, 2020 at 4:19 pm

    Dear Mrs/Mr

    I want to use the RTC’s interrupt function ( minute timer interrupt) of my Maxi Automation. I find on the Maxi Automation pin-out datasheet that RTC INT is connected to port PJ7 ( AVR pin 79). But the PJ7 is a pure input/output ( not INTx or PCINTx). So how to catch the RTC interrupt ?

    I also check on the AVR board and find one pad ( for soldering) named RTC/INT but it is not really connected to PJ7. Can I solder this pad to port PD3 ( controlino pin header INT0) in order to catch the RTC Interrup ? If yes which side of this pad is correct?

    Expect your soon reply

    Regards

    D.V.Duan

  • Jarda

    Member
    May 18, 2020 at 11:11 am

    Hello,

    yes, you can use this pad marked RTC/INT. Pad close the the part of the text “RTC” (upper one when text is readable) is going to RTC output.

    But there is also internal pull-up connected to +5V is on the board on the RTC output and with Internal pull down of the Interrupt input it will make divider so there will be maximum 2,8V on the processor pin. So it will be not proper LOG HIGH there, but shall work ;) .

    BUT signal from RTC is also at CONTROLLINO MAXI connected to PJ4 – PCINT13 (in parallel with PJ7), which is not Arduino supported interrupt, but if you are able write your code in the way that it is interrupt (see for example https://playground.arduino.cc/Main/PinChangeInterrupt/” class=”bbcode_url”>https://playground.arduino.cc/Main/PinChangeInterrupt/ ) you can also use this without HW modification.

    Regards

    Jarda

  • duandv

    Member
    July 13, 2020 at 3:16 pm

    Dear Jarda

    PJ4 – PCINT13 works well for RTC INT. Thank you very much :D

    Regards

    Duandv

  • Jarda

    Member
    July 20, 2020 at 2:27 pm

    Dear Duandv,

    thank you for feedback. Enjoy the CONTROLLINO ! ;)

    BR

    Jarda

  • richiestine

    Member
    July 27, 2020 at 5:50 pm

    Hello.. I am trying to interface AT89c51 with DS 1307( a real time clock) which uses I2C Communication protocol. The problem is that Real Time Clock could’nt be triggered(started) after setting up the initial register values.I can read the same Data which i’ve sended to DS 1307 Registers again & again.

    rigid flex pcb design for assembly guidelines

  • Jarda

    Member
    July 29, 2020 at 12:52 pm

    Hello,

    Could you please be more specific about your problem? How it is connected to CONTROLLINO please?

    Could you share your code with us?

    BR

    Jarda

Viewing 1 - 6 of 6 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now