e Paper with Arduino and Raspberry Pi

  Переглядів 93,746

DroneBot Workshop

DroneBot Workshop

День тому

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.

КОМЕНТАРІ: 85
@Dronebotworkshop
@Dronebotworkshop 3 місяці тому
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 UKpostsrs 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!
@Leroys_Stuff
@Leroys_Stuff 2 роки тому
Thank you for the work you put in Bill great video as always.
@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!
@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 UKposts 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!
@stal1963
@stal1963 2 роки тому
I enjoyed your workshop very much. You really excel in explaining even complex technical details. Thanks for all the fish!
@JLCPCB
@JLCPCB 2 роки тому
Thank you for your amazing tutorials! 😀
@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!
@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.
@suntan8655
@suntan8655 Рік тому
Great video. Sure shortens my homework to figure out this display. Thank you.
@mrcurly1147
@mrcurly1147 2 роки тому
Thank you for your inspirational work.
@kevgermany
@kevgermany 2 роки тому
Thanks Bill. Made me think a lot. Very informative.
@_Dearex_
@_Dearex_ Рік тому
Saw the video, bought one, this is very nice to play around!
@roshi98
@roshi98 Рік тому
Subscribed! You're the Bob Ross of YT tech creators, and I'm here for it.
@YugiohLibraryShorts
@YugiohLibraryShorts 2 роки тому
I've seen these in use at the grocery store in Canada for prices in front of the products! Cool stuff!
@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.
@D3RmahNet
@D3RmahNet 2 роки тому
As always, love your work
@vonries
@vonries 2 роки тому
Another great video, thanks.
@AaronCiuffo
@AaronCiuffo 2 роки тому
Thanks for featuring my project!
@donaldkormos5529
@donaldkormos5529 2 роки тому
Thanks Bill ... maybe I can find a place for an e-paper display somewhere on my model railroad!!
@daveymach6941
@daveymach6941 2 роки тому
Cool video, many thanks. 👍
@inlywang8157
@inlywang8157 2 роки тому
Bill, informative all the time
@younisamedi
@younisamedi 2 роки тому
Great video, thank you!
@wishicouldarduino8880
@wishicouldarduino8880 2 роки тому
This is really neat cool video!😁👍having trouble getting this to save the module .got it on a pi zero w😁👍
@mikiethebikie
@mikiethebikie 2 роки тому
Thanks Bill, I will be using the PIhat.
@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!
@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.
@yurkshirelad
@yurkshirelad 2 роки тому
These little ePaper screens are expensive beasties. Excellent video!
@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
@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?
@mohsiniqbal1724
@mohsiniqbal1724 Рік тому
Thanks for your great tutorials, please also create a tutorial on M5Paper.
@radiofry
@radiofry 2 роки тому
Love it.
@cometmace
@cometmace 2 роки тому
Missing a trailing slash on the link to the article in the description?
@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
@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?
@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!
@giosefo
@giosefo 8 місяців тому
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?
@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.
@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
@kennykd97
@kennykd97 2 роки тому
are those displays are whats used in mono lcd printer screen and if not would they be any good for that
@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
@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!
@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.
@whitneydesignlabs8738
@whitneydesignlabs8738 2 роки тому
Brrr! Stay warm, Bill. :)
@worvtube
@worvtube 2 роки тому
Just a quick note - there are flexible oled displays out there.
@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 Місяць тому
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?
@nacs
@nacs 2 місяці тому
This is top quality content and info. Appreciate you ccovering both Arduino and Raspberry Pi.
@NishantjonyJaiswal
@NishantjonyJaiswal 2 роки тому
Hi there 🖐️
@BULPIN847
@BULPIN847 2 роки тому
Can you build a BMS for lifep04 batteries with Arduino. Is that possible
@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.
@aliasname5518
@aliasname5518 2 роки тому
How could I combine this with grafana or influxdb?
@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
@roghibashfahani15
@roghibashfahani15 Рік тому
Is it compatible with Waveshare 2.13 D
@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.
@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.
@user-iy7pm2ii8w
@user-iy7pm2ii8w 4 місяці тому
how to use E ink display with resberry PI as external monitor ?
@bluegizmo1983
@bluegizmo1983 Рік тому
ePaper? is that what you roll up e-cigarettes in? 🤣
@lardboy3901
@lardboy3901 7 місяців тому
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?
@gregorymccoy6797
@gregorymccoy6797 2 роки тому
Waiting for reasonably-priced raspberry pi's to get stocked. 🤔
@quanchyplimp
@quanchyplimp Рік тому
0:16 wokshop ;)
@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...
@RichHandsome
@RichHandsome 2 місяці тому
27:01
@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.
@KG4JYS
@KG4JYS 2 роки тому
e-ink is a brand name of e-paper displays. Probably why there's confusion on the name.
@thecutefunkyhamburger4349
@thecutefunkyhamburger4349 Рік тому
He’s using a Ubuntu os (linux) on his laptop 💻
@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.
@pratikaraut378
@pratikaraut378 2 роки тому
First!
@whitneydesignlabs8738
@whitneydesignlabs8738 2 роки тому
You guys are funny. :)
@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
GreatScott!
Переглядів 765 тис.
E-paper hacking: fastest possible refresh rate
27:55
Applied Science
Переглядів 563 тис.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Переглядів 6 млн
Collin's Lab: Eink, Think Ink - the full series!
7:17
Adafruit Industries
Переглядів 61 тис.
LoRa - Long-Range Radio for IoT | Arduino, ESP32, RPI Pico
1:07:58
DroneBot Workshop
Переглядів 280 тис.
Raspberry Pi and Spotify Powered E-Ink Display (Tutorial)
10:14
Ryan Ward
Переглядів 373 тис.
MyoWare Muscle Sensor - Electromyography (EMG) & Robot Arm (failed attempt)!
43:51
Making an E-paper Dashboard with ESPHome
22:59
Tech Dregs
Переглядів 121 тис.
Trolling My Mom With an E-Paper Picture
11:05
CNLohr
Переглядів 748 тис.
XIAO ESP32S3 Sense - Tiny ESP32 Camera
45:28
DroneBot Workshop
Переглядів 66 тис.
Have You Ever Seen an E Ink Display Update This Quickly?
13:20
GSeph Electronics
Переглядів 220 тис.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Переглядів 3,2 млн
Макияж МАМЫ и ДОЧКИ
0:45
BELORDESIGN
Переглядів 3,9 млн
Никто не жмёт ему руку 😮
0:28
RenkO
Переглядів 12 млн
РЕЗУЛЬТАТ!!!😍😍😍😱
0:20
Софья Земляная
Переглядів 2,6 млн
This Baby To Become Gymnast In Future #cutebabyvideos #funnybaby #babyshorts
0:10
Zhang Mei's Quadruplets
Переглядів 4,1 млн