Real-Time Clock. Keeps track of current date/time.
0
votes
1answer
17 views
DS1307 RTC not working with CC3000 WiFi shield (I2C bus hangs)
I am trying to use a DS1307 (from Sparkfun, BOB-12708) with an Arduino Leonardo. I have connected the SDA, SCL, GND, and 5V pins from the RTC to the Arduino. However, with a CC3000 WiFi shield on the ...
1
vote
0answers
31 views
RTC interrupts and coin batteries
Summary
I'm having problems with my RTC draining its coin cells quickly - fresh batteries are drained in a few months. The RTC is set to signal an interrupt every 5 minutes, and I wonder - if there ...
0
votes
1answer
25 views
Piezo connection causing RTC to go haywire
When I connect a piezo (to pin 8), it causes the output of my RTC to go haywire and throw 165 errors into the results.
2016/3/25 13:36:4
2016/3/25 13:36:4
2016/3/25 13:36:4
2016/3/25 13:36:4
...
1
vote
2answers
51 views
My RTC is returning a sporadic date/time
RTC seems to be sporadically returning bogus date/times. Here are the logs from my serial monitor:
2016/3/23 8:19:46
2017/3/23 8:19:46
2016/3/23 8:19:46
2016/3/23 8:19:46
2016/3/23 8:19:46
2016/3/23 ...
0
votes
1answer
32 views
How do I connect this to my breadboard?
I just purchased this Grove RTC. It includes a cable presumably to connect it to a breadboard and/or Arduino, but the pin holes on this cable are much smaller than those on a breadboard or Arduino.
...
0
votes
1answer
230 views
Arduino is not responding to a Tiny RTC I2C modules, How to fix?
We have an arduino due with a Tiny RTC I2C module and we're trying to print the current time to the serial monitor. However its not working, currently its printing the time as 2165/165/165 (Monday) ...
0
votes
3answers
81 views
Managing timer intervals using millis at random intervals
I am doing a project which needs to meet the following specifications.
On receiving an SMS arduino will start switching 1st relay on after some
time duration(say 30 Seconds) relay 1 will be ...
1
vote
1answer
62 views
Signal a LOW level interrupt with an RTC
I'm trying to figure out how to use an RTC to send interrupts to my arduino. I'm using a DS3232. I can get an 'edge' interrupt, with the following toy code (I know the code is silly, it's just a short ...
0
votes
5answers
65 views
Do I have to use an RTC to build a clock?
While I was researching ideas for an Arduino clock, I found several clocks that incorporated an RTC (Real Time Clock) module.
I don't know why it is used in some clocks.
So, here are my questions:
...
0
votes
3answers
359 views
Strange problem. Arduino stops working after few hours. Opinions please
I am trying to setup an automated relay for my aquarium. The Arduino should switch off the pump every 3 hours for 20 minutes, and feed at particular times during the day. The code works fine for the ...
0
votes
1answer
68 views
connecting RTC DS1307 to ethernet shield
What is the easiest way to mount DS1307 to ethernet shield?
I tried to do this:
https://learn.adafruit.com/ds1307-real-time-clock-breakout-board-kit/wiring-it-up
but my program just freezes when I ...
1
vote
2answers
317 views
Arduino RTC - getting the time from RTC after the power is cut off
I have a new DS1307 (original, not a Chinese rip off), with a new battery. It is working great, but when I turn the Arduino off (it is currently connected to laptop) and then turn it back on, it ...
0
votes
0answers
176 views
Arduino is freezing after 10-15 minutes
I am having a problem with my Arduino freezing after a small amount of time. I'm using an RTC DS1307 breakout to keep track of the time and display the time on an LCD. It displays hours, minutes and ...
1
vote
1answer
193 views
Library to correct time for DST
I am using a Uno as a data logger with a DS1307 RTC and the following libraries Time.h DS1307RTC.h
The DS1307 does not have any support for DST and neither library includes Time Zone.
Are there any ...
3
votes
1answer
435 views
The difference between “time_t” and “DateTime”
I've run into an issue trying to combine 2 different Arduino timer projects I've found online.
For both projects I'm using a DS3231 RTC, but have been able use the DS1307 library just fine in my ...
1
vote
3answers
354 views
Creating a Timer using a Real Time Clock with start and stop times
I have an Arduino Uno with a motor shield, as well as a DS1307 RTC that I am using to control 2 pumps.
Ideally I would like to set a start time (startHour + startMinute) and end time (endHour + ...
0
votes
2answers
195 views
Json gets corrupted after first HTTP request
I'm a web developer and I started building a small environment logger that will post to my website`s API. I'm really new to this kind of coding so bare with me.
Since yesterday, the whole Arduino ...
1
vote
2answers
246 views
How to count the time until the next day of the week?
I wants to do in Arduino countdown that shows how many days, hours and minutes remaining to Friday 12:00.
In my program I used a function in php strtotime('next friday') which thus could calculate ...
3
votes
0answers
56 views
RTC resets when power is off
I have a few RTC modules with a batteries. All of them have this same issue with my project.
They work fine when connected via USB. But if I disconnect the power then reconnect they reset to Jan 1 ...
1
vote
1answer
81 views
Using UART to Set RTC
I'm using an Adafruit NRF8001 Low Energy Bluetooth module and a Real Time Clock module with my Arduino board. I want to connect to the BLE module using UART to set the clock. I'll also be using UART ...
0
votes
2answers
217 views
Delay workaround needed for RTC and LCD-shield buttons
Following configuration:
Arduino UNO R3
Real Time Clock DS1307RTC
LCD1602 Shield with buttons
Photo resistor
DHT11 (Temp & Humidity Sensor)
I need the function delay(1000) to display the ...
2
votes
1answer
78 views
What will use less memory, an array or if … else?
I'm trying to make my sketch smaller. Right now I use an array for the AM/PM part of my time display. My thinking is this makes it easy to change the formatting:
char* ampms[]= {"am", "pm"};
void ...
1
vote
3answers
136 views
One free pin. Need to display output for the user?
I'm working with lightblue bean. I have a device that writes data to an SD card on a long button press and switches what will be written (from a list of 5 items) on short button press.
The output, ...
0
votes
1answer
80 views
Cannot print the first number of the date with RTC module
I am using this real-time-clock module to keep track of the time for a project:
http://www.dfrobot.com/wiki/index.php/Real_Time_Clock_Module_(DS1307)V1.1(SKU:DFR0151)
I have hooked up the respective ...
1
vote
4answers
105 views
Creating a clock using Arduino
I want to make a large clock, 16 inch x 7.5 inch, which will display dd Month yyyy.
What would be the best way to do this?
Does Arduino have a built in clock, and I'd just need logic to turn on/off ...
0
votes
1answer
188 views
Set dynamically hour - DS1307
I want keep my RTC1307 always updated with my server, so I created this code to first search the time on the server then passes to getServerTime() function to divide it and set in the RTC. I use the ...
0
votes
1answer
1k views
RTC square wave
I have a DS3231 Real Time Clock module and I'd like to use the Square Wave output.
I wonder how can I set the frequency of the pulse?
How long is the (time) length of the pulse?
UPDATED QUESTION
...
0
votes
4answers
195 views
need help for saving the millis function when arduino was rebooted
I have two questions want to ask
I'm using Arduino Uno with 16*2 LCD Blue ( also I have temp. sensor and two motors also 3 limit switches) ,, my code is working good, but sometimes my lcd stop ...
2
votes
4answers
540 views
RTC and SD works separately but not together
I am running small project. I wanted to use Arduino Mega 2560 v3, PIR sensor, microSD card module and RTC1307 module, some leds, buttons and buzzer. To enable and disable motion detection and when ...
0
votes
2answers
87 views
Error while saving data in text file
I created a function that saves the timestamp in a text file, but it saves unreadable. Full of invalid characters, example: Ÿ@ O ƒº!¥ Ÿ@ O ƒº!¥ Ÿ@ O ƒº!¥ Ÿ
#include <Wire.h>
...
-1
votes
1answer
308 views
DS3231 DTCXO and GPS
I am experimenting with this idea: keep a DTCXO in sync with some frequency standard. I have all the parts I can afford, but I cannot figure out a way to do it.
Parts I have: Arduino Leonardo, a ...
1
vote
1answer
478 views
Reading atomic radio clock
i have some data logging to do. And i want some what accurate time meaning accuracy has to be +/- 1 minute.
I have considered a RTC, but then i thought. When i was 10 i got a watch that kept time ...
1
vote
2answers
341 views
datalogging sampling frequency bottleneck
My datalogging system which consits of the Flora, RTC, SD card breakout board, LSM9DS0 sensor is shown in the picture below;
https://www.dropbox.com/s/d8pwcn59nq11lzs/2014-11-25%2012.26.56.jpg?dl=0
...