Тёмный

e Paper with Arduino and Raspberry Pi 

DroneBot Workshop
Подписаться 598 тыс.
Просмотров 96 тыс.
50% 1

Let’s see how to use e-Paper displays with both Arduino and Raspberry Pi. I’ll also show you a “no-code” method of building an e-Paper information panel with PaperPi.
Article with code: dronebotworkshop.com/epaper
More articles and tutorials: dronebotworkshop.com
Join the conversation on the forum: forum.dronebotworkshop.com
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
e-Paper displays are quite different from the types of displays we are used to working with. Unlike other displays, e-paper doesn’t emit light, it reflects it. It also has the unique property of retaining the last thing written to it, even when powered down.
These ultra low-current devices are perfect for portable projects, or those that require a display that can be read in a brightly lit environment.
We will be using a very common and inexpensive display from Waveshare that can operate as both an SPI device for microcontrollers and as a Raspberry Pi HAT. I’ll show you how to use it with both an Arduino and a Raspberry Pi.
After running a couple of demos, we will see how to write Python code to customize our e-Paper display.
And we will also look at a relatively new product called PaperPi. This application lets you create cool e-Paper display panels without writing any code, instead, it uses “plugins” to configure the display to your liking. You can build a clock, weather display or even a music player.
Here is the Table of Contents for today's video.:
00:00 - Introduction
02:24 - How e-Paper Displays work
05:54 - Waveshare 2.7-inch e-Paper HAT
07:42 - e-Paper with Arduino demo
15:36 - e-paper with Raspberry Pi demo
19:14 - Coding e-Paper displays with Python
27:02 - PaperPi
36:16 - Conclusion
Now, I’ll be the first to admit that e-paper is not perfect. The displays are somewhat expensive (although the one I used was pretty cheap) and they aren’t suitable for video or full-color. But for some applications, they are just perfect.

Хобби

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 86   
@Dronebotworkshop
@Dronebotworkshop 5 месяцев назад
Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!! It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com. Thanks! Bill (The real one!)
@paulmcwhorter
@paulmcwhorter 2 года назад
As always, exceptional video. Amazing production quality, and technical content. Always a pleasure to watch and learn.
@Bob-tu9jq
@Bob-tu9jq 2 года назад
Two excellent RU-vidrs happen to have the same style of mustache.
@fahadschannel
@fahadschannel 2 года назад
Paul, nice seeing you here! Your series on Arduino got me started with electronics. Massive thanks and good wishes!
@RohanTheBT
@RohanTheBT 2 года назад
Good timing for me! I ordered a Lilygo ESP32 4.7” epaper display to build a weather station that will only need to update every 15-20 minutes. Thank you for your brilliant videos!
@theminer49erz
@theminer49erz 2 года назад
You are great man!!! I wish I had access to these videos when I was younger. Better late than never, but if I had your influence back then, I would be much more skilled by now. I spent hours hunting down Randy Fromm VHS's on ebay and watching whatever I could get my hands on. Randy's stuff is great too, but is much more of a technician perspective. That was great then since I was learning how to fix CRT monitors. Arcade Games, and their Logic boards. I actually made a living out of it for a few years, but I just couldn't deal with the others in the industry. Over the past 8 years or so I have worked up enough confidence in my abilities to create/"make" electronics. Your videos have made me say "oh yeah that's easy and cool!" in regards to stuff I wouldn't have even considered trying not long ago. I love just watching them and seeing what kind of things are out there and what they can do. There really isn't any place you could walk around and look at such things, so this is great. I'm assuming you are a teacher professionally? If not you should be!! You would do a fantastic job teaching this kind of stuff to children!!! Anyway, not sure why this video provoked this comment, but I guess I just wanted to share and say thank you. I just canceled Amazon Prime and Netflix, leaving only RU-vid and a couple Patreon donations as my monthly "entertainment" expenses. Do you have a Patreon? I haven't seen it linked or heard it mentioned. Then again I don't see you as the type to bring it up. I can tell you do this because you have a passion for the craft and sharing it with others, but that doesnt mean you should have to do all.of this fine work for free. I would like to give you some of the Money Netflix and Amazon use to get and help support your projects. I'll look into it in the meantime, but if you have a link for your Patreon or your equivalent method of receiving donations, if you (or anyone else) could share it, I would be very thankful!! Cheers!
@theprofessional8398
@theprofessional8398 2 года назад
I stumbled across this GEM of a channel, watched the Intel NUC Ubuntu Workstation build video, and have been HOOKED. So much so I went out and found a e-cycled i3 Intel NUC, upgraded the ram and rewatched your build video setting up my own Ubuntu Workstation. I love more than anything else... you're in no rush! You make FULL & DETAILED content that is very noob friendly. I say allllll of that just to say thank you!
@tubeDude48
@tubeDude48 2 года назад
Thanks BILL...I had ignored this media. With your help, I'm hooked!
@roshi98
@roshi98 Год назад
Subscribed! You're the Bob Ross of YT tech creators, and I'm here for it.
@Leroys_Stuff
@Leroys_Stuff 2 года назад
Thank you for the work you put in Bill great video as always.
@JLCPCB
@JLCPCB 2 года назад
Thank you for your amazing tutorials! 😀
@raytry69
@raytry69 2 года назад
5:00 A bit of correction for the OLED list last three element: - Can be made flexible. - Requires power for the actual lit pixels only (and of course for the driver electronics as well). - Excellent contrast ratio.
@AaronCiuffo
@AaronCiuffo 2 года назад
Thanks for featuring my project!
@D3RmahNet
@D3RmahNet 2 года назад
As always, love your work
@stal1963
@stal1963 2 года назад
I enjoyed your workshop very much. You really excel in explaining even complex technical details. Thanks for all the fish!
@vonries
@vonries 2 года назад
Another great video, thanks.
@billmckillip1561
@billmckillip1561 2 года назад
Great video again and I have been enjoying the newsletter as well - staying inside for the rest of the day here in Halifax as we have the same temperatures!
@mrcurly1147
@mrcurly1147 2 года назад
Thank you for your inspirational work.
@sinjhguddu4974
@sinjhguddu4974 2 года назад
A First class tutorial. That was quite a surprise there. Didn't know this was old tech. I can't stop wondering why such simple things cost so much. Or am I always being fleeced? Thank you for the wonderful, enjoyable presentation and stay well too.
@MrBobWareham
@MrBobWareham 8 дней назад
Thanks, Bill, very interesting video.
@suntan8655
@suntan8655 2 года назад
Great video. Sure shortens my homework to figure out this display. Thank you.
@_Dearex_
@_Dearex_ Год назад
Saw the video, bought one, this is very nice to play around!
@kevgermany
@kevgermany 2 года назад
Thanks Bill. Made me think a lot. Very informative.
@YugiohLibraryShorts
@YugiohLibraryShorts 2 года назад
I've seen these in use at the grocery store in Canada for prices in front of the products! Cool stuff!
@daveymach6941
@daveymach6941 2 года назад
Cool video, many thanks. 👍
@younisamedi
@younisamedi 2 года назад
Great video, thank you!
@donaldkormos5529
@donaldkormos5529 2 года назад
Thanks Bill ... maybe I can find a place for an e-paper display somewhere on my model railroad!!
@inlywang8157
@inlywang8157 2 года назад
Bill, informative all the time
@cometmace
@cometmace 2 года назад
Missing a trailing slash on the link to the article in the description?
@radiofry
@radiofry 2 года назад
Love it.
@wishicouldarduino8880
@wishicouldarduino8880 2 года назад
This is really neat cool video!😁👍having trouble getting this to save the module .got it on a pi zero w😁👍
@peter-guo
@peter-guo 2 года назад
Just right time for me too, I’m wondering how to set up a waveshare e-paper 2.13 with my Pi Zero and Sugar Pi battery and case. Thanks for the great detail instructions!
@electronics4fun
@electronics4fun 2 года назад
I Am new here, and I like it. Very good teacher, wow!
@braddixon3338
@braddixon3338 2 года назад
Really appreciate your detailed explanations and examples. I'm guess that because so little time was spent with an Arduino, that they don't really support much image type of data, too bad as I have Arduinos and not raspberry pi's
@mikiethebikie
@mikiethebikie 2 года назад
Thanks Bill, I will be using the PIhat.
@iranoutofnamestoo
@iranoutofnamestoo 2 года назад
Thank you, loved the tutorial, learned alot about ePaper displays. One thing to note, everytime you us the nano editor to edit code or config files you make a small mistake. You use two parameters: ~/ and / and this should be combined into one parameter without a space in between. The first one "~/" means "my home directory" (which is ignored and results in an error becasue nano tries to edit the file, which it can't because it is not a file ... also, since yuor current folder is in fact you home directory the parameter is okay to ignore ... but if you were to be in another folder then that first bit would make a meaningfull difference). The second paramer you provide is the path and filename and maybe this is all you want to do if the file is on your current folder or you specify it correctly. Either you should join the two parameters or drop the first one. Anyways, love your tutorials.
@joebashour
@joebashour 2 года назад
Awesome video as usual. Thanks for all your efforts. Quick question: I am in Montreal as well. I was curious to know....where do you purchase all your electronics from? I currently purchase mine from ABRA but was wondering if there was a different shop. Thanks
@roysigurdkarlsbakk3842
@roysigurdkarlsbakk3842 2 года назад
Just a couple questions: Why would you run git clone with sudo? ctrl+c and enter? Enter just gave you a new line - it has no effect over ctrl+c
@HelloHelloXD
@HelloHelloXD 2 года назад
Thanks for another video. Are you planning to make a video about RPI's/Arduino's + Modbus and RPI's/Arduino's + MQTT?
@theoschoorl1870
@theoschoorl1870 Год назад
Can I use two of these displays simply by connecting the second display to the same pins.? I want to put them under a 90 degree angle on my sailboat so I can read the speed from both sides
@kennykd97
@kennykd97 2 года назад
are those displays are whats used in mono lcd printer screen and if not would they be any good for that
@mohsiniqbal1724
@mohsiniqbal1724 Год назад
Thanks for your great tutorials, please also create a tutorial on M5Paper.
@epiendless1128
@epiendless1128 Год назад
I've been having a lot of trouble with this display. I almost returned it to Amazon before finally getting sign of life. After failing to get it working with ESP32, I switched to Arduino Nano IoT. So far, only the epd2in7b example from soonuse gives any signs on life, although the demo gives a different output to what's shown in the video. Examples from the Waveshare github, dated 2021, give no sign of life at all. Tried various combinations of V2, non-V2, b, non-b. Now faced with playing spot-the-difference between soonuse's and Waveshare's files. Anyone have insight into what's up? My PCB is labeled 2.7inch e-Paper HAT Rev 2.1
@giosefo
@giosefo 10 месяцев назад
If I am plannig to build a dashboard for an electric vehicle to display how much power is being consumed/power left. I would need to update quite frequently, would this be a good way I should go about doing it?
@carsonmeyers70
@carsonmeyers70 Год назад
Thanks!
@Dronebotworkshop
@Dronebotworkshop Год назад
Thank you!
@carsonmeyers70
@carsonmeyers70 Год назад
Thank you VERY MUCH! I so do appreciate your whole way of delivering the information that I (we all) need to really understand the Subject you are delivering to us!!! You are the best - I never come away from your Videos saying ‘what???’. I cannot say that I really understand after watching others on the same subject. Please keep up the excellent work, and I am happy that I just found the way to help support your work!
@whitneydesignlabs8738
@whitneydesignlabs8738 2 года назад
Brrr! Stay warm, Bill. :)
@yurkshirelad
@yurkshirelad 2 года назад
These little ePaper screens are expensive beasties. Excellent video!
@No03Kazehana
@No03Kazehana 2 года назад
Is it possible to use it as a display screen of a raspberry pi? Any e-paper with touch function so that I can make my e-paper tablet? Thanks!
@BULPIN847
@BULPIN847 2 года назад
Can you build a BMS for lifep04 batteries with Arduino. Is that possible
@KrisKasprzak
@KrisKasprzak 2 года назад
How fast can the screen update? All demos and such showing a time were static. Is the refresh rate fast enough to show seconds update?
@aaronr8684
@aaronr8684 2 года назад
Depends on the screen and method used to write an update, but it can be as fast as about 3 fps and as slow as 30+ seconds per frame. Most screens are in the 1-3 seconds for a full refresh of the screen.
@hankkim3
@hankkim3 2 года назад
Wow... just in time. I was looking for a tutorial for eink for weeks. I actually thought piminori's library looked the best. Have you looked at that one?
@aliasname5518
@aliasname5518 2 года назад
How could I combine this with grafana or influxdb?
@dejanrajcic8686
@dejanrajcic8686 Год назад
Good video! After this video I was finally able to use my e-paper display. But i could never get "DrawPixel(int x, int y, int colored);" or "DrawAbsolutePixel(int x, int y, int colored);" to do anything. I am just getting started with Arduinos so maybe I missed something.
@monaelwy
@monaelwy 2 года назад
Thank you for your amazing tutorials, I would be glad if you can make a detailed tutorial about Robot following human via GPS using Arduino & MIT App Inventor or Android Studio,Thanks a lot.
@user-iy7pm2ii8w
@user-iy7pm2ii8w 6 месяцев назад
how to use E ink display with resberry PI as external monitor ?
@andrewpope2762
@andrewpope2762 2 года назад
I've been having trouble getting any of these e-paper displays to work with either an arduino nano, or an arduino mega 2560. I tried your example with the exact same display and it did not work for me.
@sgodsellify
@sgodsellify 2 года назад
Great video, I was wondering if I wanted to check if one of those 4 buttons was pressed, then how would you check to see which button is pressed/released in python? Edit: I just found out the info P5 is Key1, P6 is Key2, P13 is Key3, and P19 is Key4. You then setup any one of those Pnn ports for INPUT, and then read from that port. If a user presses a Key, then the input from that port (Pnn) will change.
@invertedworld
@invertedworld 3 месяца назад
Thank you! I have been trying to find out how these keys are detected. What Python library do you use to read the Pnn ports?
@lardboy3901
@lardboy3901 9 месяцев назад
I’m having trouble with the 7.5 inch epaper I got it to run the demo several methods but I cannot get any code to work it say Clear() has 2 arguments but needs 1 can anyone help?
@roghibashfahani15
@roghibashfahani15 Год назад
Is it compatible with Waveshare 2.13 D
@nacs
@nacs 4 месяца назад
This is top quality content and info. Appreciate you ccovering both Arduino and Raspberry Pi.
@NishantjonyJaiswal
@NishantjonyJaiswal 2 года назад
Hi there 🖐️
@worvtube
@worvtube 2 года назад
Just a quick note - there are flexible oled displays out there.
@vladimirfrolov1440
@vladimirfrolov1440 2 года назад
I would like to share my usage of e ink display. I have 7.5 inch display. Standard library has some issuers and arduino doesn't have enough memory to store one frame. I chose raspberry pi zero w and it was a good decision for me. As a java developer I to create a java program. I installed jdk for arm, downloaded datasheet for display and I was about to write communication layer on Pi4J library. But following datasheet commands I didn't get any result and I heard some squeak from display. I went to arduino lib source code and sequence of the commands and initialization value in the commands was differ from datasheet. Definitely I rewrote communication commands as in arduino lib and everything was good. In java program I used BufferedImage class for storing displayed picture. I'm still wondering how developers from that team figured out what commands with certain values and commands sequence to use?! It is still magic for me.
@bluegizmo1983
@bluegizmo1983 2 года назад
ePaper? is that what you roll up e-cigarettes in? 🤣
@quanchyplimp
@quanchyplimp 2 года назад
0:16 wokshop ;)
@gregorymccoy6797
@gregorymccoy6797 2 года назад
Waiting for reasonably-priced raspberry pi's to get stocked. 🤔
@geneh9210
@geneh9210 2 года назад
My 2.7in display appears to be defective. Tried using it with two (actually four) different Arduino Unos, but nothing shows up on the screen. Tried a replacement with no success. My 2.7in display is revision 2.1. I followed the instructions for making the connections carefully. It doesn't appear to be rocket science. Any ideas? Thanks.
@geneh9210
@geneh9210 2 года назад
Follow-up: I finally got mine working by copying the non-soonuse folder for my 2.7in display into the arduino libraries folder. When I tried following Bill's instructions using the soonuse library, it didn't work. The code uploaded to the Arduino, but nothing was displayed on the screen. I'm still trying to figure why those files/dependencies aren't linked/working properly.
@theoschoorl1870
@theoschoorl1870 Год назад
@@geneh9210 same problem here. Several boards used with a new 2,7 waveshare display but nothing happens. Frustrating!!!!! It is not my first project. Build my own arduino based lawnmower but this is so Grrrrrrrr Cannot find the solution
@geneh9210
@geneh9210 Год назад
Did you try using the non-soonuse code? That finally worked for me.
@RichHandsome
@RichHandsome 4 месяца назад
27:01
@Dryer_Safe
@Dryer_Safe 2 года назад
Interesting device. But if you stick it on a PI it takes over all pins. There's no way to use them for something else, like a controller. It's just a PI with another screen...
@thecutefunkyhamburger4349
@thecutefunkyhamburger4349 Год назад
He’s using a Ubuntu os (linux) on his laptop 💻
@pratikaraut378
@pratikaraut378 2 года назад
First!
@whitneydesignlabs8738
@whitneydesignlabs8738 2 года назад
You guys are funny. :)
@KG4JYS
@KG4JYS 2 года назад
e-ink is a brand name of e-paper displays. Probably why there's confusion on the name.
@OsoPolarClone
@OsoPolarClone 2 года назад
The link to the article does not work
@OsoPolarClone
@OsoPolarClone 2 года назад
It does now. I posted this the same day as the video. At that time, it did not work.
@kattz753
@kattz753 Год назад
Eh, not completely wrong to call it e-Ink. It is a brand name. Most of these screens were made by them.
@Toschez
@Toschez 2 года назад
Hey, the Avenir Next fonts are retail font and you shouldn't be pirating it.
@faizalimuhammadzoda4731
@faizalimuhammadzoda4731 2 года назад
As always, exceptional video. Amazing production quality, and technical content. Always a pleasure to watch and learn.
Далее
The best low power display? E-Paper Tutorial
9:50
Просмотров 768 тыс.
GPS Modules with Arduino and Raspberry Pi
50:00
Просмотров 245 тыс.
E-paper hacking: fastest possible refresh rate
27:55
Просмотров 565 тыс.
Collin's Lab: Eink, Think Ink - the full series!
7:17
Arduino To ESP32: How to Get Started!
9:26
Просмотров 244 тыс.
Electronic Paper - See What Happens
9:21
Просмотров 317 тыс.
Looks realistic #tiktok
0:22
Просмотров 88 млн
Looks realistic #tiktok
0:22
Просмотров 88 млн