epaper driver for the Pyboard

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Online
User avatar
pythoncoder
Posts: 3695
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: epaper driver for the Pyboard

Post by pythoncoder » Sat Jun 10, 2017 4:58 am

Those criticisms are correct. The driver does perform temperature compensation for higher temperatures but I don't think the displays are suitable for outdoor operation where temperature can be below 0°C. Their USP is zero power consumption for an unchanging image where there is no competition.

Given that on a moving bike power consumption is not an issue the 0°C limitation and slow response at low temperatures could be overcome with local heating to, say, 20°C. The storage temperature for the device is -20°C to +60°C which could be an issue if you live in, say, Finland.
Peter Hinch

matto
Posts: 20
Joined: Mon May 22, 2017 11:59 am

Re: epaper driver for the Pyboard

Post by matto » Tue Jun 13, 2017 8:42 pm

Ok, some good news:

I got my board today. It's not a PyBoard, but an STM32 running MicroPython.
I have to admit that it took me the entire afternoon, but I learned a lot of stuff and I managed to make the E-Paper display work using pythoncoder's driver. I'd like to thank you very much for making this code available to us.

I had to remap the pin names and make some minor changes, but it works flawlessly. I made a fork of the original repo, so if anybody happens to need the code, it's available here:
https://github.com/mattogodoy/micropython-epaper

Cheers!

EDIT: I'm still not sure if I'll be using this display for my project. It has some drawbacks, but I think the ghosting is acceptable. I'll give it a try.

User avatar
nordam
Posts: 3
Joined: Sat May 23, 2015 5:50 pm
Location: Trondheim, Norway

Re: epaper driver for the Pyboard

Post by nordam » Fri Jul 26, 2019 8:59 pm

I'm looking to use the 2.7 inch epaper display with a wipy 3.0. I guess from the last post here that I should be able to do this if I can provide the correct mapping of pins between the pyboard and the wipy 3.0. I've looked at the pinout description for the wipy here

https://docs.pycom.io/datasheets/development/wipy3/

but I can't see how to figure out what the equivalent pin on the wipy 3.0 is for any given pin on the pyboard.

Any help or suggestions would be greatly appreciated.

User avatar
jimmo
Posts: 878
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: epaper driver for the Pyboard

Post by jimmo » Mon Jul 29, 2019 1:22 am

nordam wrote:
Fri Jul 26, 2019 8:59 pm
but I can't see how to figure out what the equivalent pin on the wipy 3.0 is for any given pin on the pyboard.
Depending on which ePaper module you have, most of the pins don't matter which pin you use, other than the SPI bus. Those three are labeled MISO, MOSI, SCK (or CLK). The other pins are things like chip select, display reset, charge pump control, etc, and can be any digital i/o pin.

On the Pyboard, MISO is X7, MOSI is X8, SCK is X6 (or Y7, Y7, Y6 on the other side -- use either machine.SPI('X') or machine.SPI('Y')). On the WiPi, this looks like pins 14, 11, 10 respectively.

User avatar
nordam
Posts: 3
Joined: Sat May 23, 2015 5:50 pm
Location: Trondheim, Norway

Re: epaper driver for the Pyboard

Post by nordam » Fri Aug 02, 2019 9:06 pm

Thanks for the help. So if I just connect it to a bunch of pins that can work in general GPIO mode, and connect the SPI pins to the correct ones on the wipy, and then provide the correct pin mapping, and change the code that creates the SPI object, then it should work? I'll be sure to give it a try and see if I can make it work.

Post Reply