Lets Make Analog Clock Arduino - OLED Clock - Arduino Programming Tutorial

Поделиться
HTML-код
  • Опубликовано: 14 окт 2024
  • Learn how to make an analog clock from scratch, using Arduino and OLED display. It is a step by step programming tutorial in which I will show you how to program an analog clock using Arduino IDE. In this tutorial, I will discuss all the programming steps from drawing a circle to display the time in analog format on different sizes of LCD displays. You can also use LED matrix of any size to draw analog clock. In this tutorial I have used C++ but you can use any other programming language with the same logic that I have implemented in this tutorial.
    Before watching this video, you must have knowledge about hardware. Because it is a pure Arduino programming tutorial with no any discussion about the hardware components.
    --------------------------------------------------------------------------------------------------------------------
    Parts Buy Links (Affiliate Links)
    --------------------------------------------------------------------------------------------------------------------
    1. Arduino UNO - amzn.to/3ZWKAz2
    2. OLED 128X64 - amzn.to/3l35Lk1
    --------------------------------------------------------------------------------------------------------------------
    Useful Video Links
    --------------------------------------------------------------------------------------------------------------------
    Arduino GPS Speedometer with Analog Gauge
    • Arduino GPS Speedomete...
    Let's Add Timezone In your GPS Projects - Arduino Speedometer
    • Let's Add Timezone In ...
    Micropython GPS Speedometer
    • Raspberry Pi Pico GPS ...
    --------------------------------------------------------------------------------------------------------------------
    Social Media Links
    --------------------------------------------------------------------------------------------------------------------
    GitHub:
    github.com/ahm...
    RUclips:
    www.youtube.co...
    --------------------------------------------------------------------------------------------------------------------
    Download Code
    --------------------------------------------------------------------------------------------------------------------
    github.com/ahm...
    --------------------------------------------------------------------------------------------------------------------
    Disclaimer
    --------------------------------------------------------------------------------------------------------------------
    Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
    #ArduinoProgramming #ArduinoProjects #Arduino

Комментарии • 78

  • @mariuspetcu7482
    @mariuspetcu7482 7 месяцев назад

    I've made it . I've made it .... THANK You . Thank You so much mate ... Bless You .... Please Don't stop here with post/videos ...

  • @elektron2kim666
    @elektron2kim666 2 месяца назад

    Made many like that. It's so rewarding to tinker with.

  • @phakalanep7241
    @phakalanep7241 7 месяцев назад

    I only have one word for you - PERFECT!

  • @ameenenterprise5869
    @ameenenterprise5869 2 года назад

    ماشاء اللہ۔ بہت خوب جناب

  • @johnmarshall2660
    @johnmarshall2660 11 месяцев назад

    Hi Ahmed, I am 3D printing a Railway Station which has a clock tower with 4 faces and I thought I would put 4 x 0.96" Oleds in this tower and your display is just what I needed, I have the space to add them so I think your sketch and ideas is very helpful, to control I already have a PCB from JLCPCB for a Nano and a TCA9548A module which I used in a signal application so I can drive the 4 Oled displays plus I want to add a DS1307 Real Time module, which I think with help from another forum I am with if I get stuck I can get help ...

  • @akydisplay
    @akydisplay Год назад

    100 % Marks...
    very Good. Keep Your Channel Up...

    • @AhmadLogs
      @AhmadLogs  Год назад +1

      thanks

    • @akydisplay
      @akydisplay Год назад

      Dear Ahmed...
      Make An RGB P10 or P5 Clock...
      With Arduino UNO...
      It Is Most Difficult For Most People

  • @mibrahim4245
    @mibrahim4245 2 года назад +1

    Very good and "detailed" and this is what makes your videos stand out ...
    and I have a question ... why did you make the digits as a pointer ? char *number[12] and not just char number[12] ? ..
    thanks Ahmad ..

    • @AhmadLogs
      @AhmadLogs  2 года назад +2

      It can be done without pointers, because array itself a pointer. there are different ways to program the same thing. I did not use it for any special purpose. others can be simple array

  • @richardevans1979
    @richardevans1979 5 месяцев назад

    Ahmad, Built the clock, loaded the sketch, but at the line "char *number[12]={"6","5","4","3","2","1","12","11","10","9","8","7"};." When I verify, I get the following error message "warning: ISO C++ forbids converting a string constant to 'char*' ". However, the program does compile and run. Should I be concerned about this message? It is way beyond my level of programming to really follow what it is doing. Thanks.

  • @samgongelectronics3761
    @samgongelectronics3761 2 года назад

    Always the best.
    I have been sharing limitlessly your posts

  • @NidhiVeereshPatil
    @NidhiVeereshPatil Год назад

    Hi, had a doubt, why is the second hand my clock moving very slow and how to fix it? Thank you

  • @manfredosthoff4112
    @manfredosthoff4112 Год назад

    Hello Ahmed. Can you explain to me where the second cycle in your circuit comes from. I would like to increase the second cycle in my circuit. Best regards

  • @abusukar
    @abusukar Год назад

    Wow .. Literally genius

  • @leohamelinck3524
    @leohamelinck3524 Год назад

    Hello,
    Very clear tutorial, thanks for that.
    Is it possible to rotate the display 90 degrees and then get the clock in😀 the top of the display?
    If so, can/will you make a video about it with code in the discription

    • @AhmadLogs
      @AhmadLogs  Год назад

      everything is possible. Please give me some more detail

  • @m.shayanshamim6351
    @m.shayanshamim6351 2 года назад +2

    When will your next video come ?

  • @ranjithshetty7078
    @ranjithshetty7078 2 года назад +1

    Mind blowing super 👌

  • @saadelm2955
    @saadelm2955 2 года назад

    Brother Ahmed..your efforts are very useful..at the top

  • @funenjoy9299
    @funenjoy9299 Год назад +1

    Sir I want a code for shock sensor gsm module and Arduino Uno for my project can you please provide it?

  • @rockfireist
    @rockfireist 2 года назад +1

    U are pro bro....

  • @mariuspetcu7482
    @mariuspetcu7482 7 месяцев назад

    How to make the clock to keep the Time after I unplug from Computer ?

  • @MrBobWareham
    @MrBobWareham 2 года назад

    Thank you for your video, the best explanation I have seen

  • @duduoyos726
    @duduoyos726 Год назад

    hi sir can you make a relay control using esp32 rainmaker and sim800l?

  • @Autospyindia
    @Autospyindia 2 года назад

    Hi Ahmad!!
    I am a enterpenur and running gps tracker business,but I don't have my own server, I want to know how can I do my own server,what is the way.....plz guide me brother. I will very thankful to you

  • @ais_robotic
    @ais_robotic Год назад

    is possibles to use RF433 module and OLED Display +servo together??
    i am trying but tired! please give a solution?

    • @AhmadLogs
      @AhmadLogs  Год назад

      give me some more detail about the idea

  • @shakerileiwat4341
    @shakerileiwat4341 2 года назад

    Great useful video 👍👍👍
    Thank you

    • @AhmadLogs
      @AhmadLogs  2 года назад

      Glad it was helpful!

  • @rubialugattimoreira1978
    @rubialugattimoreira1978 2 года назад

    Very nice! Perfect explanation

  • @masoudjafarzadeh
    @masoudjafarzadeh 2 года назад

    Great like always

  • @dabhichandresh6128
    @dabhichandresh6128 2 года назад +1

    Hi sir .. I am request to make GSM bastard motor controller 3 phase motor in farm.
    Plzz make.

    • @AhmadLogs
      @AhmadLogs  2 года назад +1

      will try if any success

  • @rampage_xdit
    @rampage_xdit 2 года назад

    Mr.Ahmad where are you? How about your new project?

  • @samiatahir5559
    @samiatahir5559 2 года назад

    When the power is off and on again so the time remains same as the current time ?

    • @AhmadLogs
      @AhmadLogs  2 года назад

      the time will reset after power on the arduino. you might use RTC module with battery to make project more useful

  • @eslimakawe7017
    @eslimakawe7017 Год назад +1

    how 2 build it with rtc

    • @AhmadLogs
      @AhmadLogs  Год назад +1

      soon I will make a video on it

  • @givenromeo306
    @givenromeo306 2 года назад

    Good day. How can I dm you I need help with gsm and arduino controlling light via sms. I tried using your code I gor unread error when I send sms. Please help

  • @m.shayanshamim6351
    @m.shayanshamim6351 2 года назад

    Please make an advanced rfid attendace system project using google sheets.

    • @AhmadLogs
      @AhmadLogs  2 года назад

      give me some suggestions

    • @m.shayanshamim6351
      @m.shayanshamim6351 2 года назад

      @@AhmadLogs Add time in and out feature ,gsm,lcd display.Thats all.

    • @AhmadLogs
      @AhmadLogs  2 года назад

      @@m.shayanshamim6351 will try

  • @MPElectronique
    @MPElectronique 2 года назад

    Bravo!!!

  • @chippiko
    @chippiko Год назад

    Thanks

  • @maihuutanmai334
    @maihuutanmai334 Год назад

    Very like

  • @yawarali4361
    @yawarali4361 2 года назад

    Friend pease help u have project need register by sms r but control relay dtmf and button please 4 relay u have?

    • @AhmadLogs
      @AhmadLogs  2 года назад

      check this ruclips.net/video/Hq1ZGWWc0e4/видео.html

    • @yawarali4361
      @yawarali4361 2 года назад

      But only sms and dtmf u can add button please

    • @AhmadLogs
      @AhmadLogs  2 года назад

      @@yawarali4361 give me some more detail

    • @yawarali4361
      @yawarali4361 2 года назад

      @@AhmadLogs i want control relay by sms and dtmf and button mean manual but need register by sms my friend

    • @AhmadLogs
      @AhmadLogs  2 года назад +1

      @@yawarali4361 OK I will try to add it soon

  • @seragomr8603
    @seragomr8603 2 года назад

    How to make clock 7 segmant

  • @TechTrendsShameer
    @TechTrendsShameer Год назад

    Bro. Why no videos ?

    • @AhmadLogs
      @AhmadLogs  Год назад +1

      Thank you for your interest in my videos! I apologize for not posting recently as I have been busy with other things, but I am working on new content and will be posting soon. Thanks

  • @saipulagung4399
    @saipulagung4399 Год назад

    Request Level Water Esp8266 / esp32 Blynk

  • @jingxianli5948
    @jingxianli5948 2 года назад

    Hi there, really love your work. If you are interested in collaborating on hardware products, please leave your contact details and I will contact you soon.

    • @AhmadLogs
      @AhmadLogs  2 года назад

      thanks for your appreciation. which platform you have used for collaboration. any website you have

  • @jameskidd7906
    @jameskidd7906 Год назад

    Please what the équivalent "u8g.nextPage() when usine adafruit GFX library thank u

  • @kzygzywygzy229
    @kzygzywygzy229 2 года назад

    Hey how can i dm you ,im stuck with project