The Project overview:
The goal is to have the car start at a predetermined time each day, with weekends needing a different time.
The car has an aftermarket remote starter installed that can be triggered by three pulses to ground.
-A relay can be used to interact with the 12volt car system by closing three times for a minimum of one second.
To have accurate timing, a Chronodot RTC has been added.
The First Phase:
Programming the relay sequence, by using the Arduino sleep code it works when triggered by a button pulled up to 5v.
Set millisecond delay for three delays to pulse pin D4. Then waits for next trigger.
Replacing the button with code to read time from Chronodot RTC, then trigger relay sequence at different times each day.
This is where I some experienced time alarm advice:
The first attempt was to use the Chronodots internal alarm to trigger the sequence through the SQW pin. I couldn’t program the registries properly and realized I wanted more flexibility in programming start times depending on the day of the week.
The second attempt is using the ‘time alarm’ library to set more alarms.
Can you please help me figure out the best code sequence to make this happen?
Thank You for reading my post; I hope to integrate more of my car with Arduino.