YouTube Subscriber Counter ESP8266 + MAX7219 (Step by step, easy guide)

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

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

  • @CATips
    @CATips 4 года назад

    Hi bro, with your all support & sujection i have completed this project.
    My YT Studio live scrolling display working perfect...
    Thanks a lot.

  • @TheSwedishMaker
    @TheSwedishMaker 4 года назад +4

    Hi! I get an error on the last rows of the file saying: invalid operands of types 'double' and 'long int' to binary 'operator%' It is highlighting this row: long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L;
    Any idea what that means?

    • @CarlosVazTecnologia
      @CarlosVazTecnologia 4 года назад +2

      You need to cast the variable type, like so:
      long epoch = (long)(round(curEpoch + 3600 * utcOffset + 86400L)) % 86400L;

  • @MarcoLucifora
    @MarcoLucifora 4 года назад +1

    you are my hero, your code works perfectly, I just changed rotate value to 270 !!!!! and it still works fine at nowadays !!!!!

    • @ScottyDIY
      @ScottyDIY  4 года назад

      haha thanks. good to see people are using the video to build their own

  • @TourandExplore
    @TourandExplore 4 года назад +1

    I am getting an error Digits5X7 was not declared in this scope any help

  • @H3D_CALI
    @H3D_CALI 3 года назад

    HELLO I HAVE PREPARED THE PROJECT BUT WHEN IT COMES TO PUTTING THE ID OF THE RUclips CHANNEL IT IS NOT CONFIGURED WHICH CAN BE ? EVERYTHING COMES OUT ZERO, And y put the api and youtube channel and nothing all is zero

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

    Hello,
    I recreated your counter and I used it for a long time. Now it doesn't work anymore, the time is displayed correctly but the values from RUclips are always 0. I haven't changed anything either, does anyone have an idea?

  • @CATips
    @CATips 4 года назад +2

    you are really great man. i did successfully this project as per your help and code.
    time not correct
    i am belongs to india
    please tell me Indian long utcOffset = ? ; // for India,Kerala

    • @ScottyDIY
      @ScottyDIY  4 года назад

      Hi. That is good news. I believe the offset for India in 5:30 so try that but it may not like the : so also try 5.5 and see what happens on the screen if it is close to your local time.

  • @dulichmiendongnambo
    @dulichmiendongnambo 5 лет назад +1

    Hello, I come from VietNam .Thanks for your value information that RUclipsr need more..

    • @ScottyDIY
      @ScottyDIY  5 лет назад

      Hi, thank you. let me know if you have any questions

    • @dulichmiendongnambo
      @dulichmiendongnambo 5 лет назад

      @@ScottyDIY Thanks Sir, note your information.

  • @Preso58
    @Preso58 4 года назад

    Scotty D, I have been struggling with this code for days now. I can compile and upload it to my ESP8266. The serial monitor says it has connected to WiFi but it always fails to connect to RUclips. I have created the RUclipsAPI key as you described but no dice. On the Google Cloud Services dashboard I am not getting any data on the traffic or error charts. The max7219 display won't show the time, and all other fields are showing zero. Any help you could offer would be greatly appreciated. BTW, I am using Json V6.0 and I have edited the code accordingly. It wouldn't work with Json V5.0 either.
    Regards,
    Mark Presling

    • @ScottyDIY
      @ScottyDIY  4 года назад

      Hey sorry to hear. Just checked and I’m using json 5.2.0 not sure if it will make a difference I did try with newer version and it failed

    • @Preso58
      @Preso58 4 года назад

      @@ScottyDIY I am thinking it is something to do with the settings in Google's API environment. I noticed that in your video there is evidence of traffic in your dashboard charts but I am getting nothing. No matter what credentials I try the serial monitor always shows that I am not able to connect to RUclips. I did originally try the Json5 versions but the code would not compile. I found a video that showed how to rewrite the code for V6 and it did compile and upload. I am getting desperate enough to go back to the original code and try version 5 again.
      Regards,
      Mark

    • @RuskiWeldFab
      @RuskiWeldFab 4 года назад

      @@Preso58 did you get to the bottom of this?

  • @mrcamarium
    @mrcamarium 4 года назад

    Hi I have a problem with this code:
    void updateTime()
    {
    long curEpoch = localEpoc + ((millis() - localMillisAtUpdate) / 1000);
    long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L;
    h = ((epoch % 86400L) / 3600) % 24;
    m = (epoch % 3600) / 60;
    s = epoch % 60;
    }
    I get this error:
    invalid operands of types 'double' and 'long int' to binary 'operator%'

  • @ve2ec
    @ve2ec 3 года назад +1

    Hi excellent video. question is the code still working since youtube changed its api policy?

    • @ScottyDIY
      @ScottyDIY  3 года назад

      Thanks, yes still working at of 17-Mar-2021 only thing is, it displays abbreviated subscriber count still. now I have not found out yet if API data has changed since the last update a week ago,(showing live sub count in analytics) I need to see if live data is available yet.

  • @clippedwing-bensmith1614
    @clippedwing-bensmith1614 4 года назад

    Im having trouble with this code. It doesn't work for me. I have rolled back to json 5 so its compatible (otherwise you need to update the code so json v6 works) but still no data.
    I have RUclips API enabled and i have the v3 api code included. The time is also incorrect. for example its 21:16 but displays 21:00 and just resets back to 21:00 each time i upload the code?

  • @BluDog35
    @BluDog35 3 года назад +1

    I'm a complete beginner with this stuff and keep getting errors. "max7219 no file or directory" This video is good, but I feel some key information is left out of the actual "compiling and uploading to the board" section for us people who have never touched Arduino. And I don't have the time or intelligence to figure this out.
    Oh well. I only spent 20 bucks.

    • @ScottyDIY
      @ScottyDIY  3 года назад

      Hey, sorry your right I have not really gone into the basics of compiling and uploading code to boards, I would assume other videos out there do explain the basics but if I can I will try do a basics video on this stuff or add more detail/steps in future videos explaining this. thanks for the feedback.
      As for the error, when compiling the code it is going through until it gets to the part #include "max7219.h" it can not find the file in the library. In the description of this video their is a link to the code which also contains the file but I would suggest if you watch my other video ruclips.net/video/QvL79mF-BCY/видео.html it has a step by step on how to add the max7219 file and also links as well.

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

    hi, firstly thanks for the video. However, I done everything, The script runs fine, it uploads.... but I have a blank screen. I have an LCD screen, the lights are lit but nothing is written. Can you help? Cheers

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

      Its took me about 2 hours to realise that it was the brightness on the back!!!! FML!

  • @plusandminus5739
    @plusandminus5739 5 лет назад +1

    Very informative

  • @naafff1
    @naafff1 4 года назад

    Hey! Just uploaded the sketch .But my esp8266 just keeps resetting. What can i do?

    • @ScottyDIY
      @ScottyDIY  4 года назад

      Hey, sorry not sure what you mean by resetting. How do you know it’s resetting? It it something that you can see on the coms port.(potentially not connection to wifi) Or the led flashing like it’s not enough power. (Power supply issue)

    • @naafff1
      @naafff1 4 года назад

      @@ScottyDIY yea !the led keeps flashing .

  • @CATips
    @CATips 4 года назад

    Hai bro,
    30 minutes faster than india clock.
    How to correct it?

    • @ScottyDIY
      @ScottyDIY  4 года назад

      what what you tried in your offset so far if it it 30 minutes faster?

  • @RuskiWeldFab
    @RuskiWeldFab 4 года назад

    why am i getting this message?
    # Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Enabled, All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, SSL, All Flash Contents, 921600"
    \\IKRYLOV\Web\RUclips\TEMPLATES\ESP_LEDMatrix_YT_subs_apiv3_cleaned\ESP_LEDMatrix_YT_subs_apiv3_cleaned.ino: In function 'void updateTime()':
    ESP_LEDMatrix_YT_subs_apiv3_cleaned:341:62: error: invalid operands of types 'double' and 'long int' to binary 'operator%'
    long epoch = round(curEpoch + 3600 * utcOffset + 86400L) % 86400L;
    ^
    exit status 1
    invalid operands of types 'double' and 'long int' to binary 'operator%'
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @mrcamarium
      @mrcamarium 4 года назад

      Hi I too have the same problem, you managed to solve it?

  • @ch3m1st
    @ch3m1st 3 года назад +1

    really wanted this to work but cant get it to do so.. bummer.

    • @ScottyDIY
      @ScottyDIY  3 года назад

      If you detail out the issue I can try and tell you what what be wrong

    • @ch3m1st
      @ch3m1st 3 года назад +1

      @@ScottyDIY I had issues finding code that worked in Arduino. thanks for the offer but I eventually found another script that I was able to fine tune and get it to work.

    • @ScottyDIY
      @ScottyDIY  3 года назад

      all good, glad you sorted it out. Does your Arduino have Wi-Fi or is it serial connected for the data?

    • @ch3m1st
      @ch3m1st 3 года назад

      @@ScottyDIY Wifi. picked up one of these from amazon: ESP8266 NodeMCU CP2102 ESP-12E

  • @celilturkmen9250
    @celilturkmen9250 4 года назад

    Hey i do it how u do it but sub count is 0 and the the others to, i generated also apikey3 but nopeeee

  • @roro85bb
    @roro85bb 5 лет назад +1

    Hello, is it still working for you ? I can’t get to work even though no error during compilation. I guess it is because of the latest change from YT.

    • @ScottyDIY
      @ScottyDIY  5 лет назад

      Funny you say that i just noticed mine is playing up today as well, not sure yet what it is, will try have a look into it tomorrow

    • @ScottyDIY
      @ScottyDIY  5 лет назад

      Just Did a Recompile and upload and it fixed the problem

    • @roro85bb
      @roro85bb 5 лет назад

      Did you change something in the code ?

    • @ScottyDIY
      @ScottyDIY  5 лет назад +1

      No, just opened the file checked the COM port was correct, then hit upload

  • @봄바람이-e4j
    @봄바람이-e4j 4 года назад +1

    어머 이건 꼭 만들어야 돼

  • @TheScromp
    @TheScromp 4 года назад

    What code do I have to add if I want the time to cycle as well. Thanks

    • @ScottyDIY
      @ScottyDIY  3 года назад

      Sorry I don't understand the question, the clock is part of the code already and cycles through, you can change the offset to allow for your time zone though

  • @ErickZhaenal
    @ErickZhaenal 5 лет назад +1

    hallo sobat youtuber salam kenal dari saya serta salam ailaturrahmi

  • @MustafaAkn
    @MustafaAkn 4 года назад

    The number of subscribers says zero views. why is that?

    • @ScottyDIY
      @ScottyDIY  4 года назад

      sometimes it refreshes and goes to 0 for everything for a few minutes then comes back not sure why, is that what you are referring too?

    • @MustafaAkn
      @MustafaAkn 4 года назад

      @@ScottyDIY always showing zero. [ Subscribers, Wiews ]

    • @CATips
      @CATips 4 года назад

      @@MustafaAkn SAME LIKE ME TOO

    • @Tinker_Box
      @Tinker_Box 4 года назад

      I have the same problem

  • @ninoogigoo871
    @ninoogigoo871 5 лет назад

    Cancelled

    • @ScottyDIY
      @ScottyDIY  5 лет назад

      Not sure what you mean. What is cancelled?