Arduino and DS1307 RTC with PWM sketch

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Other - Software Development Posted 2 years ago

Fixed Price

Delivery by May 1, 2014




Overview : I have a working, LED backlit sign that needs to be turned on and off, during the morning and evening open hours, IF it is dark enough. Also, when the lights are running, I will power them through a power transistor via a PWM pin which smoothly cycles between 50-70% when the pin is HIGH.

I have an Arduino Mega 2560,
a Tiny RTC IC2 DS1307 module (from ebay- no temp sensor)
and an Photo Diode Sensor Module 1-Channel Adjustable Digital Output 3.3V~5V Arduino (from ebay)

I would like the code to be written to cycle a digital output when all of the following is true:

The time is between 5-8AM or 3:30-7pm Monday - Saturday; and 6-8AM or 3:30 - 4PM Sunday
the light sensor indicates a dark enough condition.

The sketch needs to allow for daylight savings time. (I am currently -7 UTC, or US PDT)

I can handle all the wiring and circuit building, but don't understand the logical interfacing of the RTC at the program level.

You will need to provide the working sketch, and point me to the exact RTC library I need to install

The code should have adequate comments, as I may have to change the hours later.

This job is behind schedule, and I will select a freelancer who can provide the results quickly. A bonus will be paid for very quick work.

About the Client

(5.00) 1 review

United States
Newport 07:15 AM

3 Jobs Posted
67% Hire Rate, 1 Open Job

$6,015 Total Spent
2 Hires, 0 Active

$15.00/hr Avg Hourly Rate Paid
391 Hours

Member Since Apr 1, 2013