Hello,
I would like to plott simple cartesian graphs using ESP32 board and 1.3 inch mono oled display.
Is there any suitable library similar to matplotlib in micropython?
Could anyone point me in the right direction as the information I have found so far do not work for me unfortunately.
Thank you.
Plotting graphs
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Plotting graphs
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
-
- Posts: 7
- Joined: Sat Jun 25, 2022 4:12 am
Re: Plotting graphs
Thank you, this is exactly what I need!
May I ask for your advise in order to find out which pins should I connect to which?
My display has 4 of them, VDD, GND, SCK, SDA and I am using ESP32 WROOM with 38 pins.
Thanks.
May I ask for your advise in order to find out which pins should I connect to which?
My display has 4 of them, VDD, GND, SCK, SDA and I am using ESP32 WROOM with 38 pins.
Thanks.
-
- Posts: 7
- Joined: Sat Jun 25, 2022 4:12 am
Re: Plotting graphs
Tried two different approaches found in the internet and both result display like pixels mix and I am sure I have got something wrong..
Re: Plotting graphs
Make sure you're using the right OLED driver. SSD1306 and SH1106 are quite different. There are lots of choices in Awesome MicroPython: OLED
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Plotting graphs
Those GUI's support only a subset of displays because drivers must be subclassed from FrameBuffer and meet some other simple requirements. This doc lists displays with suitable drivers.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.