author
1Instructables13,951Views12CommentsJoined December 13th, 2014

Tell us about yourself!

Complete Your Profile

Achievements

10K+ Views Earned a bronze medal
  • Arduino Multiple Timer. Day Based and Alarm Based

    Using an Arduino Mega will absolutely give you more ports, but you will still have to add them to the source code. Of course, this is an open-source project and you can do that freely.

    You can add more relays only if you use an i2c bus for extension. There are only some many ports on arduino.Of course using an i2c bus would mean you would also have to make some code changes.To add hours you can multiply minutes by 60. As far as I can remember I have limited the interval to 240 (could have been a maximum of 255 because it stored as a byte). So that would be 240/60 = 4 hours. That is the maximum interval. You could however add another interval following the first so that you would end up with 8 hours. If you continue, you can get more in increments of 4 hours.HTH

    For now the time is in minutes and the intervals are limited to 240. So the maximum interval wold be 240 minutes (4 hours).To obtain 12 hours you could use three intervals one after the other each one having 240 minutes.

    Of course you can. This project would be an exact match for your requirements.

    View Instructable »
  • Arduino Multiple Timer. Day Based and Alarm Based

    This are the minimal changes you could do so that the arduino would do what you want. With only these modifications you could not safely remove any functions. Of course it is possible to make more modifications and remove functions, but this requires more code modification and verification. I am i no position now to do so, as I have no time and this would be a different project.

    And yes, the alarm would go off at 8 hours and 3 minutes.

    View Instructable »
  • Arduino Multiple Timer. Day Based and Alarm Based

    You could change these 2 functions:long valAlarmaMin(byte index){ return (alarme[index]).hour*3600L+(alarme[index]).minute*60L;}long valAlarmaMax(byte index){ byte multipl = (alarme[index]).unitAlarma?60:1; return (alarme[index]).hour*3600L+(alarme[index]).minute*60L+multipl*(alarme[index]).duration;}The first one should check for the index (0 for first alarm, 1 for the second and so on) and put an exact value for each. For example for the first alarm (min) hour 08:03 would be:long valAlarmaMin(byte index){if(index==0){return 8*3600L+3*60L;}else if(index==1){ //for the second....}... and so on}For the display, in the :checkAlarms function you would have to modify the "linia" variable to say just "on" or "off".

    View Instructable »
  • Arduino multiple timer. Day based and alarm based

    Here you have the pdf version of the schematic. It is kind of difficult to make a Fritzing schematic as the two shields are not commercially available, but ... the schematics are here

    Hello, What do you mean by simpler? This is the standard way as far as i know. Give me an example and I will try to oblige.

    View Instructable »
  • Arduino multiple timer. Day based and alarm based

    Si eu ma bucur ca sunt si alti romani care se uita peste instructables.

    View Instructable »