Building a clock with Arduino and less than 40 lines of code!

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

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

  • @pelaajahacks8358
    @pelaajahacks8358 3 дня назад

    this reminds me of the time a kid got arrested for bringing a homemade clock to school

  • @johnh10000
    @johnh10000 3 дня назад

    Do you have any esp32's ? I have the modules you used, but I belive the esp32 only has 3.5v

    • @crappiecoding
      @crappiecoding  3 дня назад +1

      Hi! I do but i haven't used it for a build yet. That said, I hashed this one out on Wokwi with the help of google. The code is mostly the same, SDA is GPIO21 and SCL is GPIO22. This model uses VIN as a 5 volt source, provided that the board itself is plugged into a 5 volt source, such as a usb port on a computer. Keep in mind that this is just a model and that real world parts may not behave the same way and damage/failure could happen to the board. I guess I'm saying this is my disclaimer: follow at your own risk lol. When I get some more ESP32s, I will sacrifice one for a physical build. Here's the link to esp32 clock build wokwi.com/projects/419383304232809473

    • @johnh10000
      @johnh10000 3 дня назад

      @@crappiecoding cheers, I have 3 so I may sacrifice one!

    • @crappiecoding
      @crappiecoding  3 дня назад +1

      @@johnh10000 let me know how it goes!

    • @johnh10000
      @johnh10000 3 дня назад

      @@crappiecoding it half 2 in the morning here in the Uk so will knock it together in the morn. and of course let you know if it works

    • @johnh10000
      @johnh10000 День назад

      Ater checking out your Wokwi code and the datasheet for my wroom esp32, I can confirm the 5v line (on mine it says in, wich I assume stands for voltage in) is indeed 4.75ish and your code works just fine. Thanks for the idea!