e Paper with Arduino and Raspberry Pi

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 มิ.ย. 2024
  • 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  4 หลายเดือนก่อน

    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 ปีที่แล้ว +38

    As always, exceptional video. Amazing production quality, and technical content. Always a pleasure to watch and learn.

    • @Bob-tu9jq
      @Bob-tu9jq 2 ปีที่แล้ว

      Two excellent TH-camrs 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 ปีที่แล้ว +12

    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!

  • @roshi98
    @roshi98 ปีที่แล้ว

    Subscribed! You're the Bob Ross of YT tech creators, and I'm here for it.

  • @tubeDude48
    @tubeDude48 2 ปีที่แล้ว +1

    Thanks BILL...I had ignored this media. With your help, I'm hooked!

  • @theminer49erz
    @theminer49erz 2 ปีที่แล้ว +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 TH-cam 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!

  • @raytry69
    @raytry69 2 ปีที่แล้ว +5

    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!

  • @theprofessional8398
    @theprofessional8398 2 ปีที่แล้ว +1

    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!

  • @Leroys_Stuff
    @Leroys_Stuff 2 ปีที่แล้ว +4

    Thank you for the work you put in Bill great video as always.

  • @stal1963
    @stal1963 2 ปีที่แล้ว

    I enjoyed your workshop very much. You really excel in explaining even complex technical details. Thanks for all the fish!

  • @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!

  • @JLCPCB
    @JLCPCB 2 ปีที่แล้ว +2

    Thank you for your amazing tutorials! 😀

  • @sinjhguddu4974
    @sinjhguddu4974 2 ปีที่แล้ว +1

    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.

  • @donaldkormos5529
    @donaldkormos5529 2 ปีที่แล้ว +2

    Thanks Bill ... maybe I can find a place for an e-paper display somewhere on my model railroad!!

  • @vonries
    @vonries 2 ปีที่แล้ว +2

    Another great video, thanks.

  • @suntan8655
    @suntan8655 ปีที่แล้ว

    Great video. Sure shortens my homework to figure out this display. Thank you.

  • @mrcurly1147
    @mrcurly1147 2 ปีที่แล้ว

    Thank you for your inspirational work.

  • @D3RmahNet
    @D3RmahNet 2 ปีที่แล้ว

    As always, love your work

  • @_Dearex_
    @_Dearex_ ปีที่แล้ว

    Saw the video, bought one, this is very nice to play around!

  • @YugiohLibraryShorts
    @YugiohLibraryShorts 2 ปีที่แล้ว

    I've seen these in use at the grocery store in Canada for prices in front of the products! Cool stuff!

  • @kevgermany
    @kevgermany 2 ปีที่แล้ว

    Thanks Bill. Made me think a lot. Very informative.

  • @daveymach6941
    @daveymach6941 2 ปีที่แล้ว +1

    Cool video, many thanks. 👍

  • @inlywang8157
    @inlywang8157 2 ปีที่แล้ว

    Bill, informative all the time

  • @younisamedi
    @younisamedi 2 ปีที่แล้ว

    Great video, thank you!

  • @cometmace
    @cometmace 2 ปีที่แล้ว +2

    Missing a trailing slash on the link to the article in the description?

  • @mikiethebikie
    @mikiethebikie 2 ปีที่แล้ว

    Thanks Bill, I will be using the PIhat.

  • @nacs
    @nacs 3 หลายเดือนก่อน

    This is top quality content and info. Appreciate you ccovering both Arduino and Raspberry Pi.

  • @braddixon3338
    @braddixon3338 2 ปีที่แล้ว +1

    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

  • @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.

  • @electronics4fun
    @electronics4fun 2 ปีที่แล้ว

    I Am new here, and I like it. Very good teacher, wow!

  • @wishicouldarduino8880
    @wishicouldarduino8880 2 ปีที่แล้ว +1

    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!

  • @HelloHelloXD
    @HelloHelloXD 2 ปีที่แล้ว +2

    Thanks for another video. Are you planning to make a video about RPI's/Arduino's + Modbus and RPI's/Arduino's + MQTT?

  • @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

  • @radiofry
    @radiofry 2 ปีที่แล้ว

    Love it.

  • @yurkshirelad
    @yurkshirelad 2 ปีที่แล้ว +1

    These little ePaper screens are expensive beasties. Excellent video!

  • @mohsiniqbal1724
    @mohsiniqbal1724 ปีที่แล้ว

    Thanks for your great tutorials, please also create a tutorial on M5Paper.

  • @roysigurdkarlsbakk3842
    @roysigurdkarlsbakk3842 2 ปีที่แล้ว +1

    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

  • @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?

  • @NishantjonyJaiswal
    @NishantjonyJaiswal 2 ปีที่แล้ว +2

    Hi there 🖐️

  • @carsonmeyers70
    @carsonmeyers70 ปีที่แล้ว

    Thanks!

    • @Dronebotworkshop
      @Dronebotworkshop  ปีที่แล้ว +1

      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. :)

  • @kennykd97
    @kennykd97 2 ปีที่แล้ว

    are those displays are whats used in mono lcd printer screen and if not would they be any good for that

  • @sgodsellify
    @sgodsellify 2 ปีที่แล้ว +1

    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 2 หลายเดือนก่อน

      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?

  • @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.

  • @epiendless1128
    @epiendless1128 ปีที่แล้ว +1

    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

  • @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!

  • @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.

  • @giosefo
    @giosefo 9 หลายเดือนก่อน

    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?

  • @worvtube
    @worvtube 2 ปีที่แล้ว

    Just a quick note - there are flexible oled displays out there.

  • @aliasname5518
    @aliasname5518 2 ปีที่แล้ว

    How could I combine this with grafana or influxdb?

  • @BULPIN847
    @BULPIN847 2 ปีที่แล้ว +1

    Can you build a BMS for lifep04 batteries with Arduino. Is that possible

  • @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.

  • @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.

  • @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 ปีที่แล้ว +1

      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.

  • @roghibashfahani15
    @roghibashfahani15 ปีที่แล้ว

    Is it compatible with Waveshare 2.13 D

  • @user-iy7pm2ii8w
    @user-iy7pm2ii8w 5 หลายเดือนก่อน

    how to use E ink display with resberry PI as external monitor ?

  • @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?

  • @bluegizmo1983
    @bluegizmo1983 ปีที่แล้ว

    ePaper? is that what you roll up e-cigarettes in? 🤣

  • @quanchyplimp
    @quanchyplimp ปีที่แล้ว

    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.

  • @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

  • @KG4JYS
    @KG4JYS 2 ปีที่แล้ว

    e-ink is a brand name of e-paper displays. Probably why there's confusion on the name.

  • @OsoPolarClone
    @OsoPolarClone 2 ปีที่แล้ว +1

    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.

  • @thecutefunkyhamburger4349
    @thecutefunkyhamburger4349 ปีที่แล้ว

    He’s using a Ubuntu os (linux) on his laptop 💻

  • @pratikaraut378
    @pratikaraut378 2 ปีที่แล้ว +1

    First!

  • @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.