Make A YouTube Subscriber Counter Using An E-Ink Display And A Raspberry Pi Zero W
Вставка
- Опубліковано 13 лип 2024
- In this video, I’ll show you how to make your own UA-cam subscriber counter using a 7.5” Waveshare e-Ink display and a Raspberry Pi Zero W to update it. The Raspberry Pi uses a Python script to query the UA-cam API and then refreshes the e-ink display to update it. It’s really simple to make as it just uses the Waveshare hat, so there is no soldering required and the display fits into a standard size frame.
If you're going to be building your own counter, here's the step by step written guide which takes you through the installation of the libraries and setup of the Pi to get it working - www.the-diy-life.com/make-a-y...
What You Need For This Project
Raspberry Pi Zero W - amzn.to/3lmnOwh
Micro SD Card - amzn.to/2HUkJEZ
Waveshare 7.5” HD E-Ink Display (B) With Controller - amzn.to/2Swt1F7
6x8” Shadow Box Frame - amzn.to/2I0SJ2L (This is not quite the same as the one in the video, but the closest I could find on Amazon)
Keyboard, Mouse & Monitor For Setup (Or Connect Remotely Through SSH)
If you've got any suggestions for DIY, Arduino, Raspberry Pi, or other projects and tutorials which you'd like to see, let me know in the comments section. - Навчання та стиль
What an interesting project. I definitely want to do this once the UA-cam channel starts taking off. Thanks for making this video.
Very nicely done. The simplicity and design of electronic projects is usually flimsy, but that's different here. I'm going to do this project. Thanks!
Thanks for the great feedback! Good luck with your build.
It's so interesting! I'd like to have one to decorate my room!
Looks great. Hope it can work with my Dasung monitor.
Very clean !! I might build one. I think it would be cool to have sitting in my office or on a wall in my house.. Kind of helps with getting you motivated too !! 👍💪👍💪
Yeah its great for that!
Thank you 🤓
I will be doing this for sure
nice project
Great project. I've just ordered a display! Thanks for the great video. Also subscribed 👍🏽
Awesome, thanks Mike
@@MichaelKlements Hey would this work on rasberry pi 4 and I cant find any of the display in UK
@@LizzyTheLizard yes you can use a Pi 4, it's just very overpowered for what it'll be doing. For long-term use, it would be more economical to use a Pi Zero W. You can but the display from Aliexpress or Banggood and have it shipped to you in the UK.
@@MichaelKlements OK thanks 😊👌
@@MichaelKlements thanks i will look about and hopefully get one up and running I have a rasberry pi w but I don't know if its a wifi one and I tried to connect it with my windows pc and I couldn't ssh into in even tho I did the ssh file edited config file and commandline file and added wifi name and password but I don't think its the wifi pi w i have
very nice project, i just need a popular youtube channel :D
That was one CLEAN build! Do you have any process advice for esp or arduino versions?
Thank you! There are some ESP32 based ones around - ua-cam.com/video/Vnc-PjzcPHQ/v-deo.html
This is great. Nice video. Is there anyway to modify the code to make it work with the Pimoroni Impression Eink display? The script stops as it can't find the Wondershare display and then stops.
I would suggest rather trying to adapt a Pimoroni example script to include the relevant portions of this project's code - probably the portions relating to collecting information from the UA-cam API. You'd need to use the code/libraries developed for the Pimoroni display to get the text and images sent across to the display.
Thanks for a great video. I have question. Instead of a subscriber counter, I'd like to make a physical push button and make it count up a single digit per button press. It would be cool if it saved that number on sd card incase the unit powered off. Any thoughts or leads. My googling brought me here, and so far this is the coolest project so far.
You should be able to do this with far less effort than this project as you won't need any APIs or an internet connection. You just need a button to increment the counter. The Pi already boots off an SD card, so as long as each press writes the data to a file then it should be able to read this file when it is booted up again.
Another great project idea ! I wish I still received E-mail updates, Michael. - Robert
Thanks Robert!
@@MichaelKlements You made INSTRUCTABLES again !
Thanks for this great tutorial. I want to do this for Instagram too. Any ideas if that is possible or what I have to do?
I'm sure Instagram have a similar API that you can configure to give you the same sort of information.
Question. BTW, Awesome video. once you have the OS on the SD card, does it install on the Raspberry Pi? So can you put in a different SD card with a photo?
No, the SD card is the Raspberry Pi's storage, the contents are not copied from the SD card. To add a photo you'd need to use an external USB drive or copy it over your network.
@@MichaelKlements TY. This is super interesting.
Hi, thanks for your Video.
How can i write a code, and activate SPI before turning on the E-Ink display?
Should i do it first with normal monitor?
I’m not really sure what you are asking, but I’ve tried to answer a couple of things. The display won’t show anything until you run the code, so you can connect it all up without it “turning on”. Also the e-ink display only displays what is being sent to it over the SPI interface, so you can’t use it as a conventional monitor and it won’t display anything when initially plugged in. You can access the Pi using SSH over your network if you don’t want to use an external monitor.
Ist es auch möglich unterschiedliche Quellen zu verknüpfen? Zum Beispiel auch TikTok und Instagram Follower?
Awesome project👍 I'll need a couple more subs for me to actually build this though 😂
I'd like to see the alternative version of this idea with low power device e.g. Arduino
There is a similar one made using an ESP32 which claims to run quite a while on batteries, it uses a custom PCB though - ua-cam.com/video/B4L0lnCfrlI/v-deo.html
will this work with the smaller display as well?
You’ll just need to adjust the font and image size in the Python code, but the rest should work as is for a smaller display. You’ll also need to use the correct library for your display model/size.
Does the YoutTube subscriber counter also work with the non-E-Ink 7" display from Raspberry Pi?
You would need to make some adjustments to it as they work in different ways. The API to fetch the information from UA-cam is the same, but the Raspberry Pi display uses the HDMI port and displays the “desktop” while this works over SPI and only displays what you send to it. You’d just need to design your own application dashboard to run on the desktop which had the same layout as this counter but that shouldn’t be difficult to do.
Does anyone know how to make this with an LCD screen?
It's working with an raspberry pi zero 2?
Yes you can use a Pi Zero 2 W
Would love to see an example using an ESP32!!!
I got the idea from one which was done with an ESP32 - www.instructables.com/UA-cam-Subscriber-Counter/
@@MichaelKlements amazing thanks so much for sharing!
Hi echt klasse . Leider hat es bei mir nicht funktioniert. Es kommt eine Fehlermeldung wenn das Skript ausgeführt wird debug epaper bussy Hast du vielleicht ein fertiges Image für die zero W wo alles schon fertig ist und man nur noch seine Daten eingeben muss. Beste Grüße
Perhaps your controller or display type is not the same as the one I've used. Does the Waveshare example run from your Pi without any issues?
The brand Anko...? My guess is your located in Australia or New Zealand? if so please link me your sources for cheap r pis.
Yes I’m in Australia. I’ve bought most of my Pis from Seeed Studio, shipping is quite quick to Australia. I e also bought locally from Core Electronics, but they’re a bit more expensive.
How do you define redImage as Red? , as far I can see the declaration for black and red are identical except for the name?
The name is what defines the colour. You use redImage to tell the display that whatever comes after it (a picture or text) should be red and the same for blackImage
@@MichaelKlements awesome thanks, I suspected that. Although seems like a weird way to do it. Nevertheless really appreciate your prompt response !
It is a bit weird, that’s just how the manufacturer has written their library though.
nice BUT WHY you don't show an update of number increase ?????
UA-cam's API doesn't allow real-time updates, the data only changes once or twice a day. So it takes a long time to record an update which actually shows an increase. It could have been done, I just got impatient...
The question is why?
Can you make this work for tik tok