Skip to main content
added 70 characters in body
Source Link

I need to send a pulse to an Arduino at every one hour. I don't need day, month, year etc. I just want a pulse from DS3231 at every 1 hour through the square wave pin.

https://github.com/NorthernWidget/DS3231
I have included this library but I can't anyhow understand how to generate an pulse at each hour using this library. Is it possible?

My requirement is simple. I need a pulse at my Arduino interrupt pin at each hour.

#include <DS3231.h>
#include <Wire.h>

void setup()
{
  Wire.begin();
  EICRA |= 0b00000011;
  EIMSK |= 0b00000001;
  sei();
 // No clue on how to setup DS3231 for getting a pulse at each hour
}
ISR(INT0_vect)
{
  // This function will be executed in each hour
}
void loop(){}

I need to send a pulse to an Arduino at every one hour. I don't need day, month, year etc. I just want a pulse from DS3231 at every 1 hour through the square wave pin.

https://github.com/NorthernWidget/DS3231
I have included this library but I can't anyhow understand how to generate an pulse at each hour using this library. Is it possible?

My requirement is simple. I need a pulse at my Arduino interrupt pin at each hour.

#include <DS3231.h>
#include <Wire.h>

void setup()
{
  Wire.begin();
 // No clue on how to setup DS3231 for getting a pulse at each hour
}
ISR(INT0_vect)
{
  // This function will be executed in each hour
}
void loop(){}

I need to send a pulse to an Arduino at every one hour. I don't need day, month, year etc. I just want a pulse from DS3231 at every 1 hour through the square wave pin.

https://github.com/NorthernWidget/DS3231
I have included this library but I can't anyhow understand how to generate an pulse at each hour using this library. Is it possible?

My requirement is simple. I need a pulse at my Arduino interrupt pin at each hour.

#include <DS3231.h>
#include <Wire.h>

void setup()
{
  Wire.begin();
  EICRA |= 0b00000011;
  EIMSK |= 0b00000001;
  sei();
 // No clue on how to setup DS3231 for getting a pulse at each hour
}
ISR(INT0_vect)
{
  // This function will be executed in each hour
}
void loop(){}
Source Link

Problem understanding how to program DS3231 RTC

I need to send a pulse to an Arduino at every one hour. I don't need day, month, year etc. I just want a pulse from DS3231 at every 1 hour through the square wave pin.

https://github.com/NorthernWidget/DS3231
I have included this library but I can't anyhow understand how to generate an pulse at each hour using this library. Is it possible?

My requirement is simple. I need a pulse at my Arduino interrupt pin at each hour.

#include <DS3231.h>
#include <Wire.h>

void setup()
{
  Wire.begin();
 // No clue on how to setup DS3231 for getting a pulse at each hour
}
ISR(INT0_vect)
{
  // This function will be executed in each hour
}
void loop(){}