Back

Comments 78

  • Alarm Clock over 1 year ago

    You are missing the library

  • Clock Set Date Time almost 2 years ago

    Unfortunately it cannot work because the DS1302 has an SPI interface while the DS1307 has an I2C interface.
    You have to change the layout, libraries and code.
    Ciao
    Tiziano

  • Weather Clock over 2 years ago

    if (menu==0)
    {
    if (P5 == LOW)
    {
    measure();
    delay(3000);
    }
    else {
    DisplayDateTime();
    }
    }

    //by pressing the "P5" key, "measures ()" for 3 seconds and then returns to "DisplayDateTime ();"

  • Clock Set Date Time over 2 years ago

    The day of the week changes automatically.
    RTC knows that 7 July is Sunday

  • Alarm Clock over 2 years ago

    Have you checked the electrical connections?

  • Alarm Clock over 2 years ago

    There can be various problems:
    Check the I2C address of the display, mine is 0x27, replace this value with yours, to find your I suggest you read "http://playground.arduino.cc/Main/I2cScanner".
    Check the potentiometer that adjusts the contrast (it is in the I2C module).
    Check that the display is correctly connected (SCL - A5, SDA - A4).
    Verify that the display is working.

  • Massive Seven-Segment Display over 2 years ago

    The thing that amazes me is that it is in the list of "Today on Hackster"

  • Clock Set Date Time almost 3 years ago

    You have a library problem.
    Check that the "LiquidCrystal_I2C.h" library (https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library) is well installed (read the instructions).
    Let me know

  • Alarm Clock almost 3 years ago

    I've never used an "RFID tag", but I think it can be done.
    I've seen several tutorials on the "RFID tag" and you should replace the "P4" button with the tag.
    Note that due to the "if (now.hour () == alarmHours && now.minute () == alarmMinutes)" the alarm itself turns off after 1 minute

  • Alarm Clock almost 3 years ago

    You do not need to change the wording from "RTC_DS1307 RTC;" to "RTC_DS3231 RTC;" it works very well the same.
    I can not change the code as you want, you have to work alone.
    I can give you some suggestions:
    LiquidCrystal_I2C lcd (0x27,20,4);
    0x27 is the I2c address of my display, to find yours, I suggest you read "http://playground.arduino.cc/Main/I2cScanner".
    20,4 says it is a display of 20 columns and 4 rows yours is 16,2
    To use a smaller display, you must enter less information (delete the day of the week, remove the wording "Date", "Time" and delete the seconds), doing so, put the date and time in the first line <dd/mm/yyyy hh:mm> (16 characters) and in the second the alarm.

  • Italian Word Clock almost 3 years ago

    La spaziatura di ciascun led è di 16,6 millimetri, dunque devi disegnare una griglia con queste dimensioni.
    Per creare lo schermo ho iniziato a ragionare con Excel, poi ho utilizzato Inkscape, ho disegnato una griglia con le misure che ti ho scritto, ho aggiunto le lettere.
    Unica accortezza che devi usare è separare le ore ( in alto) dai minuti (in basso) e tra i due mettere le parole "E" e "MENO", se le sposti dalle loro posizioni devi cambiare il codice.
    I nomi li ho messi in quella posizione per un ottimizzazione di spazio.
    Se mi scrivi a "tittiduino@ gmail.com" (senza spazio ) ti posso mandare i miei appunti.
    Ciao

  • Clock Set Date Time almost 3 years ago

    To help you have to write the error

  • Alarm Clock almost 3 years ago

    This code was written for a 20 x 4 display.
    To use a smaller display you need to put less information.
    I made another watch project with a 16 x 2 display (https://www.hackster.io/Tittiamo/clock-set-date-time-0d46a4) and I always used the I2c module, if you do not have one available, there are several tutorials that can explain the link.
    the RTC DS3231 and DS1307 are equivalent and both work with the same library, the DS3231 is better

  • Alarm Clock almost 3 years ago

    what do you mean with ... seconds ... hour .... day?
    Explain better

  • Clock Set Date Time almost 3 years ago

    it should work, I have not had time to try it

    [code]
    void DisplayDateTime ()
    {
    // We show the current date and time
    DateTime now = RTC.now();

    lcd.setCursor(0, 1);
    lcd.print("Hour:");
    if (now.hour()>12)
    {
    hourpm = now.hour()-12;
    if (hourpm()<=9)
    {
    lcd.print("0");

    }
    lcd.print(hourpm, DEC);
    }
    else
    {
    if (now.hour()<=9)
    {
    lcd.print("0");
    }
    lcd.print(now.hour(), DEC);
    }
    hourupg=now.hour();
    lcd.print(":");
    if (now.minute()<=9)
    {
    lcd.print("0");
    }
    lcd.print(now.minute(), DEC);
    minupg=now.minute();
    lcd.print(":");
    if (now.second()<=9)
    {
    lcd.print("0");
    }
    lcd.print(now.second(), DEC);
    if (now.hour()>12)
    {
    lcd.print("PM");
    }
    else
    {
    lcd.print("AM");
    }

    [/code]

  • Alarm Clock almost 3 years ago

    i answered your email

  • Alarm Clock almost 3 years ago
  • Alarm Clock almost 3 years ago

    Try this code that I have modified for you.
    I deleted the date display.
    I did not try the code, let me know if it's okay.
    https://github.com/tittiamo68/AlarmCloc-16x2

  • Alarm Clock almost 3 years ago

    There can be various problems:
    Check the I2C address of the display, mine is 0x27, replace this value with yours, to find your I suggest you read "http://playground.arduino.cc/Main/I2cScanner".
    Check the potentiometer that adjusts the contrast (it is in the I2C module).
    Check that the display is correctly connected (SCL - A5, SDA - A4).
    Verify that the display is working.
    The alarm clock has been created with a 16x4 display, if you want to use a smaller display, you have to change the "void DisplayDateTime ()" code

  • Clock Set Date Time almost 3 years ago

    Your problem is to let the "Time.h" library speak with the "RTClib.h" library
    https://www.pjrc.com/teensy/td_libs_TimeAlarms.html
    https://www.pjrc.com/teensy/td_libs_Time.html
    Changing the "RTClib.h" library would mean upsetting my code.
    You could try with: https://www.hackster.io/Tittiamo/alarm-clock-f61bad

  • Alarm Clock almost 3 years ago

    It was not expected.
    But I think it can be done.

  • Alarm Clock almost 3 years ago

    If I do not see all the code, I do not know where the error is.
    I did not use OLED displays, but I think it can be done.

  • Clock Set Date Time almost 3 years ago

    Hi Lucas
    I did not understand what you want to do.
    Maybe an alarm clock?

  • Alarm Clock about 3 years ago

    The code was made thinking of a single time but, changing the logic, I think we can do because RTC recognizes the day of the week

  • Weather Clock over 3 years ago

    From what you tell me, it should be a hardware problem.
    Check the button connections.
    Let me know.
    Ciao
    Tiziano

  • Laura: Emotional Compass Lamp over 3 years ago

    Unfortunately I did not make any videos.
    They are no longer in possession of the project because it was a gift.
    One piece of advice I can give you is to build the Plexiglas body first.
    For the rest put us a little imagination and inventiveness

  • Humidity Measuring Molecule over 3 years ago

    Very nice, an attractive design.

  • Alarm Clock over 3 years ago

    Did you use the library https://github.com/adafruit/RTClib?

  • Alarm Clock over 3 years ago

    The RTC card was not included in the component list, but in the description I specified the DS1307 or DS3231

  • Weather Station with Thingspeak over 3 years ago

    I've never used this type of sensor, but from what I've read it does not have to be very difficult (https://www.instructables.com/id/How-to-use-MQ2-Gas-Sensor-Arduino-Tutorial/).
    You must connect it to an analog input of arduino and read the data.
    Create a new field in "thingspeak" and transmit the data as for the temperature

  • Alarm Clock over 3 years ago

    The code was written for a 20x4 Display (20 columns, 4 rows).
    Row 1: Day
    Row 2: Dates
    Row 3: Hour
    Row 4: Alarm
    If you want to use a 16x2 you have to change the Arduino code and the visualization.

  • Alarm Clock over 3 years ago

    Unfortunately, in the material list, I did not find the standard 20x4 Display, but in the notes below, I specified "LCD Display 20x04 with I2C module"
    You can use any Display 20x4 with I2c module, without changing the code, at the exclusion of the I2C address of the display, mine is 0x27, replace this value with yours, to find your suggest to read "http://playground.arduino.cc/Main/I2cScanner ".

    https://www.aliexpress.com/item/-/32670836804.html?spm=a2g0s.8937460.0.0.e1492e0e2vJsu7

  • ArduRadio AlarmClock over 3 years ago

    Hi Chris
    The small bug is due to "delay".
    I tried to limit its use and duration to a minimum.
    The "Pul up" resistance is not needed because "pinMode (Rswitch, INPUT_PULLUP);"

  • Alarm Clock over 3 years ago

    The RTC card was not included in the component list, but in the description I specified the DS1307 or DS3231

  • Alarm Clock over 3 years ago

    There can be various problems:
    Check the I2C address of the display, mine is 0x27, replace this value with yours, to find your I suggest you read "http://playground.arduino.cc/Main/I2cScanner".
    Check the potentiometer that adjusts the contrast (it is in the I2C module).
    Check that the display is correctly connected (SCL - A5, SDA - A4).
    Verify that the display is working.
    Ciao

  • Alarm Clock over 3 years ago

    Check the I2C address of the display, mine is 0x27, replace this value with yours.
    To find your 'I suggest you read "http://playground.arduino.cc/Main/I2cScanner".

  • Alarm Clock over 3 years ago

    I'm happy with your result
    good job

  • Clock Set Date Time over 3 years ago
  • Alarm Clock over 3 years ago

    What you need is:
    "Arduino uno" or similar, Real Time Clock (DS1307 or DS3231) and an LCD display.
    Hello

  • Alarm Clock over 3 years ago

    You have to change the logic of the code.
    My logic uses 4 buttons: set, plus and minus to adjust the time and Alarm switch to activate or deactivate the alarm

  • Clock Set Date Time over 3 years ago

    Did you try adjusting the contrast pot, the square blue thing with the screwdriver slot on the back of the backpack?

  • Clock Set Date Time over 3 years ago

    The problem you're having is: LiquidCrystal_I2C LCD (0x3F, 16.2); // I2C display 16 x 2.
    I suggest you read "http://playground.arduino.cc/Main/I2cScanner".
    The address of my Display is: "0x3F", replace this value with yours

  • Bright Ball IoT almost 4 years ago

    The sphere was purchased in a brico store " https://www.leroymerlin.it/catalogo/diffusore-per-lampada-da-esterno-sfera-bianco-opale-32708704-p"
    I do not know where you live if there is this chain of shops
    However, it is a garden lamp

  • Alarm Clock almost 4 years ago

    Merci beaucoup

  • Alarm Clock almost 4 years ago

    Hello
    the error message is due to a library error.
    I used this, (https://github.com/tittiamo68/LiquidCrystal_I2C) and did not give me no problem.

  • Clock Set Date Time almost 4 years ago

    I'm happy to have been helpful

  • Clock Set Date Time almost 4 years ago
  • Clock Set Date Time almost 4 years ago

    Did you use my code?
    Have you checked that the display address "(LiquidCrystal_I2C lcd(0x3F,16,2);)" is correct?
    Let me know.

  • Clock Set Date Time almost 4 years ago

    If, in the code, change the RTC_DS1037 with RTC_DS3231, the RTC library does not work.
    I tried connecting the DS3231, without declaring it in the code, and it works.

  • Alarm Clock about 4 years ago

    Ho "giocato" un po'....
    Dai un occhiata a: https://github.com/tittiamo68/Acquario
    Non ho tempo di provarlo, ti ho messo lo schema fritzing.
    Se hai problemi, per non intasare la chat, scrivimi una mail.
    Ciao

  • ArduRadio AlarmClock about 4 years ago

    In void Alarm()
    changes RadioState = 0; in RadioState = 1;
    but to turn off the radio you must use the button 6

  • Alarm Clock about 4 years ago

    Sto lavorando sul codice...
    Alcune domande
    L'acquario deve rimanere acceso un tempo fisso di ore ? e in che fascia d'orario ?
    che sensore per la temperatura vuoi usare ?
    Mi piace questa "sfida"!

  • Alarm Clock about 4 years ago

    Per l'accensione delle lampade puoi tranquillamente usare il pin 13 che è collegato al led ed usare un relè, il problema è quanto tempo devono rimanere accese le lampade, in questo caso bisogna cambiare la logica del Void Alarm...io avevo previsto solo 1 minuto... per il set della temperatura cosa intendi ?

  • Alarm Clock about 4 years ago
  • Alarm Clock about 4 years ago

    The DS1302 is not compatible with the "Wire.h" and "RTClib.h" libraries because it does not use the I2c protocol

  • Store Your Sensitive Data Safely When Sharing a Sketch about 4 years ago

    Thanks, very helpful

  • Alarm Clock about 4 years ago

    Send me the code so I can better understand Arduino's mistakes.
    I sent you an email
    Ciao
    Tiziano

  • Alarm Clock about 4 years ago

    You have to change the logic of reasoning…
    1. Decide that buttons use to set different alarms.

    if((digitalRead(P2)== LOW)&&(digitalRead(P3)== LOW))

    {
    DisplaySetHourAll1();
    DisplaySetMinuteAll1();
    DisplaySetHourAll2();
    DisplaySetMinuteAll2();
    ecc…
    void DisplaySetHourAll1(){…
    alarmHours1

    void DisplaySetMinuteAll1(){…
    alarmMinutes1

    void DisplaySetHourAll2(){…
    alarmHours2

    void DisplaySetMinuteAll2(){…
    alarmMinutes2

    1. Decide where to view the different alarms.
      void printAllOn(){….

    2. Check each alarm cycle for an alarm to sound
      void Alarm(){….
      if ( now.hour() == alarmHours1 && now.minute() == alarmMinutes1 ){….
      else if ( now.hour() == alarmHours2 && now.minute() == alarmMinutes2 ){…
      ecc…

  • Alarm Clock about 4 years ago

    This is not a very difficult project, although there are many easier projects to start.
    You must have the basics of electronics and the programming bases of the c ++ language.
    Understand the I2c protocol, and know the Arduino card well.
    good job

  • Alarm Clock about 4 years ago

    Can you send an image of the problem you described to me?

  • Clock Set Date Time over 4 years ago

    I am happy that it was useful

  • Alarm Clock over 4 years ago

    Hi Dimitri
    Your problem is the "LiquidCrystal_I2C.h" library.
    What you have is different from what I use.
    Download and install this: https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
    Let me know.
    Always at your disposal.
    Tiziano

  • ArduRadio AlarmClock over 4 years ago

    it's a good idea
    I would use:
    int val = analogRead(0);
    frequency = map(val, 0, 1023, 88.5, 108.5);
    frequencyUpdate();

    You have to do some tests
    Let me know

  • ArduRadio AlarmClock over 4 years ago

    Thank you
    Your projects are also very beautiful

  • Alarm Clock over 4 years ago

    I think you can do
    Try searching for "arduino music player shield", should be your case.

  • Alarm Clock over 4 years ago

    I did not try, but I think it's possible.
    You have to work by adding more void DisplaySetHourAll (); void DisplaySetMinuteAll (); (All1, All2 ... etc).
    In "void Alarm ()" add the other "if" cases.
    Logically, the display of the display will also change.
    Good work and let me know.

  • Alarm Clock over 4 years ago

    Surely you can do it
    You need a special App that simulates the push of the buttons.
    If you search the internet, I think you'll find what you are looking for.

  • Pi Time - A Fabric Arduino Clock over 4 years ago

    Compliments
    Very geek clock

  • Italian Word Clock over 4 years ago

    Ciao Moreno
    Ho utilizzato 2, 5 metri di la striscia Neopixel bianca, 60 led per metro (https://www.adafruit.com/products/1138) , ed incollati con biadesivo, comunque puoi utilizzare qualunque altra striscia, l'importante che sia "ws2812b" 60 Led per metro (https://www.google.it/search?q=%22ws2812b%22+60&oq=%22ws2812b%22+60&aqs=chrome..69i57.551j0j7&sourceid=chrome&ie=UTF-8)
    Sempre a tua disposizione per qualsiasi chiarimento.
    Tiziano

  • Weather Clock over 4 years ago

    I do not have enough knowledge on the DS1302, but since it has an SPI interface and the DS1307 has an I2C interface, the code and the library will be different.
    Hello

  • Weather Clock over 4 years ago

    Thank you very much

  • Arduino, Monitoring Door-Opening via Gmail almost 5 years ago

    Excellent
    Congratulations and thank you for sharing the project

  • Clock Set Date Time almost 5 years ago

    Thank you John
    I listened to your advice and I made an alarm.
    I've published in "https://www.hackster.io/Tittiamo/alarm-clock-f61bad"
    I'd love your opinion.
    Hello Titian

  • Clock Set Date Time almost 5 years ago

    I thank you for reporting this my error.
    I corrected the code
    if(digitalRead(P3)==HIGH)
    {
    if (monthupg==1) // correction
    {
    monthupg=12;
    }
    else
    {
    monthupg=monthupg-1;

  • Clock Set Date Time almost 5 years ago

    Thanks for the suggestion, for the next project I have already eliminated the resistance and modified the pins in INPUT_PULLUP, and reversed the code logic.
    The display I used already has I2C interface, but I failed to find it in Fritzing

  • Configuring the ESP8266 Using an Arduino almost 5 years ago

    Thanks for this tutorial
    Very helpful

  • Pixie: An Arduino Based NeoPixel Wristwatch about 5 years ago

    Compliments
    Well done

  • The Complete NeoPixel Guide about 5 years ago

    Compliments!
    The guide is very well explained
    You gave me an idea for my project

Add projectSign up / Login