Hello guys,
I have a habitat for parrot in a sealed warehouse.
The light inside is only from lamp, there is no access to the sun to inside the warehouse.
So, I’ve decided to start a project that will simulate “Sunrise” and “Sunset”.
I Want the Arduino to detect Sunrise/Sunset and will power on/off the light gradually.
For example:
If sun is rise on 05:30, I want the light to turn on, but gradually which mean it’s take for example 30minutes(each minute the voltage will increase about 3.33%) for the light to be fully turned on.
Same for sunset, just for turning off the light slowly when Arduino defected is start to be dark.
I would like to get guidance, Which part should I buy, and if there any improvement for the idea, it will be great.
Google for:
Arduino timelord library
for software to determine sunrise/sunset times.
You’ll need a real time clock module also.
What sort of lights do you intend to use ?
PaulRB:
Please assure us that you do not intend to keep a parrot in that environment. It does not sound suitable at all.
Please do not worry it is only for the winter.
6v6gt:
Google for:
Arduino timelord library
for software to determine sunrise/sunset times.
You’ll need a real time clock module also.
What sort of lights do you intend to use ?
From a quick search it's seem that "Arduino timelord library" give sunset and sunrise time is it true?
for the clock module how about: "DS3231", is it ok?
and i guess i'll fit the light to the demand of the project, I guess i'll need to use dimmable light but its gonna be 220V.
I need to light something like 100M^2 area.
So according to your message we have covered hardware that can help me detect Sunset\Sunrise time.
And time module to Know when to on\off the light.
If you want to get anywhere near true sunlight brightness in that room you will need a few kW worth of LED lighting. That's a helluvalot of power. You won't need heating, either. Cooling maybe.
By the way, as it's indoors, why do you even care about actual sunrise/sunset times? Parrots are from tropical areas, 12 hours light, 12 hours dark, give or take an hour. Arduino's internal time keeping can do this, the parrot won't notice the few minutes a day its day is too short or too long (it's just that its feeding times slowly shift :-)), an RTC (or NTP over a WiFi connection) will keep it in sync with the wall clock.
Eshk12:
. . .
From a quick search it's seem that "Arduino timelord library" give sunset and sunrise time is it true?
for the clock module how about: "DS3231", is it ok?
. . .
Yes, the timelord library gives the sunrise and sunset times (and other times) for your location (latitude/longitude) and the DS3231 is good choice.
If you are controlling AC mains lighting, you may need a triac and opto coupled diac and some ancillary components. Look for some example circuits.
6v6gt:
If you are controlling AC mains lighting, you may need a triac and opto coupled diac and some ancillary components. Look for some example circuits.
That kind of dimming may not work with modern LED lighting...
wvmarle:
If you want to get anywhere near true sunlight brightness in that room you will need a few kW worth of LED lighting. That's a helluvalot of power. You won't need heating, either. Cooling maybe.
By the way, as it's indoors, why do you even care about actual sunrise/sunset times? Parrots are from tropical areas, 12 hours light, 12 hours dark, give or take an hour. Arduino's internal time keeping can do this, the parrot won't notice the few minutes a day its day is too short or too long (it's just that its feeding times slowly shift :-)), an RTC (or NTP over a WiFi connection) will keep it in sync with the wall clock.
I know there is a problem with dimming LED, so maybe i'll use day light Halogen that can be dimmed.
as you said right now i give my parrot 12H Light and 12H dark, but the quick transition from light to dark cause stress to the bird, and I want to simulate the sunrise/sunset effect by gradually lower the light's power.
6v6gt:
Yes, the timelord library gives the sunrise and sunset times (and other times) for your location (latitude/longitude) and the DS3231 is good choice.
If you are controlling AC mains lighting, you may need a triac and opto coupled diac and some ancillary components. Look for some example circuits.
I'll buy DS3231, Aliexpress is a good choise for buying it or there is another preffered site.
I havn't understand the sentence that i've bold inside your comment.
If there is a components that you suggest me to buy can you please tell me model or something?
Full Disclosure: I am a programmer, I want to plan this project and give it to my friend who is electronics engineer to deal with the electrical power.
Eshk12:
I know there is a problem with dimming LED, so maybe i'll use day light Halogen that can be dimmed.
It totally depends on the LED light and its controller - there are many dimmable options out there. Not as cheap as a traditional dimmer, but the power savings over an incandescent light (including halogen based) make up for that quickly.
By the way which arduino should I use?
I have in my home arduino UNO, I've seen arduino Mega that fit to the RTC module, I can use UNO or should I buy MEGA version.
wvmarle:
It totally depends on the LED light and its controller - there are many dimmable options out there. Not as cheap as a traditional dimmer, but the power savings over an incandescent light (including halogen based) make up for that quickly.
Yes, I know that, but for atleast for the code and for the pentesting I'll use halogen light, when the project will be working, i'll try to improve it with LED instand halogen
Eshk12:
I know there is a problem with dimming LED, so maybe i'll use day light Halogen that can be dimmed.
. . .
6v6gt:
Yes, the timelord library gives the sunrise and sunset times (and other times) for your location (latitude/longitude) and the DS3231 is good choice.
If you are controlling AC mains lighting, you may need a triac and opto coupled diac and some ancillary components. Look for some example circuits.
I havn't understand the sentence that i've bold inside your comment.
If there is a components that you suggest me to buy can you please tell me model or something?
. . .
As has been pointed out, these circuits may not be suitable for all types of lighting, although OK for halogen lighting assuming the correct choice of components.
Eshk12:
Please do not worry it is only for the winter.
Parrots are highly intelligent and social birds. They need the company of other parrots, or at least humans, for long periods every day, to give them stimulation and companionship. Without that they can become sick and depressed.