author
2Instructables32,232Views28Comments

Tell us about yourself!

Achievements

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

    Hi, unfortunately I did not use an I2c display. There is already a I2c clock on it, but I since that has a different I2C address I doubt that has any influence on the display. I do not know the reason you have some selection in the menu, if the selection is in the days or in the alarms, it could be because you already have something in the eeprom.

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

    Those are the schematics.

    With hour = Cu oraWithout hour = Fara ora

    View Instructable »
  • Hi, I'm glad you made this project, but I am afraid I do not understand what you need. The relays have no output. The relays will just allow or not an electric connection to have place. If the relays do not work, you have to check that the transistors in front of them are wired correctly and that the diode is not installed in the wrong position. The project works and it has been already used by many, so the error can't be in the software.HTH

    View Instructable »
  • Hi thx.Cu ora = with hourFara ora = without hour.Sorry for now writing everything in english, but I never intended to share the code when I started working on it.

    View Instructable »
  • This problem appeared on only one other ocassion. The culprit was a faulty connection as the owner said when he managed to solve it. You must have short circuit somewhere.

    View Instructable »
  • yes

    yes you can

    You might be missing the battery for the DS1307

    Hi, the project does exactly that, the code is available inside the project, no need to use any premium account.The only think that you must pay attention to is that the project is written in an old Arduino IDE version, so the last version will not work. That is written in the article however

    View Instructable »
  • I do not understand the question. Sorry.

    yes

    Data (like when to start and how much time to keep each alarm) are stored inside the atmega eeprom. Date and hour are stored inside the DS1307. If you do not have a battery, or the connection to the battery is not ok, so basically if you do not have backup power for your ds1307, then your time settings will not survive a power outage.

    As far as I know Arduino Mega exposes the same ports as Arduino Uno for the first part of pins. So you should be ok.

    View Instructable »
  • clepcea's instructable Onion Omega2 and Golang's weekly stats:
    • Onion Omega2 and Golang
      442 views
      6 favorites
      0 comments
  • Of course you can. This project would be an exact match for your requirements.

    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.

    View Instructable »
  • And yes, the alarm would go off at 8 hours and 3 minutes.

    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.

    View Instructable »
  • 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 »
  • 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 »
  • Si eu ma bucur ca sunt si alti romani care se uita peste instructables.

    View Instructable »