Search found 507 matches

by mcauser
Wed Sep 26, 2018 5:35 am
Forum: General Discussion and Questions
Topic: [SOLVED] urequests + redirects
Replies: 20
Views: 17902

Re: urequests + redirects

It works! Thanks @pfalcon + @SpotlightKid

I'm able to get/post data to/from Google sheets and display on a Nokia 5110 + ESP8266.
I'll polish the code and share a tutorial soon.
by mcauser
Tue Sep 25, 2018 2:59 am
Forum: Drivers for External Components
Topic: 64x32 led matrix driver
Replies: 5
Views: 11021

Re: 64x32 led matrix driver

The 64x32 one you linked to uses a HUB08 interface. I couldn't find much information on it. Alternatively, you could chain a bunch of MAX7219 (SPI) based 8x8 LED matrices to form a 64x32 panel (32x individual 8x8 modules) Here's a library I wrote for them, which I've combined to form a 32x32 panel (...
by mcauser
Mon Sep 24, 2018 1:16 am
Forum: General Discussion and Questions
Topic: [SOLVED] urequests + redirects
Replies: 20
Views: 17902

Re: urequests + redirects

Make a get request using urequests.py from micropython-lib Copied this file to my board: https://github.com/micropython/micropython-lib/blob/master/urequests/urequests.py import urequests r = urequests.get('https://script.google.com/macros/s/(token)/exec') which redirects to: https://script.googleus...
by mcauser
Mon Sep 24, 2018 12:38 am
Forum: General Discussion and Questions
Topic: [SOLVED] urequests + redirects
Replies: 20
Views: 17902

[SOLVED] urequests + redirects

I've been experimenting with integrating with Google Sheets and hit the exception: NotImplementedError("Redirects not yet supported"). To get data out of Google, you need to make a GET request to their /exec page, which performs a Location: redirect to the target page. The /exec page always returns ...
by mcauser
Tue Sep 04, 2018 9:43 pm
Forum: ESP8266 boards
Topic: ssd1306 oled: scroll repeats edge pixels
Replies: 6
Views: 4684

Re: ssd1306 oled: scroll repeats edge pixels

The frame buffer scroll is like a copy-n-paste, resulting in artefacts like you described. Try scrolling 5px or 10px and it should make the effect more obvious. The hardware scroll methods shifts the pointer to the display memory, resulting in pixel wrap around. You don’t have to scroll the entire d...
by mcauser
Thu Aug 23, 2018 11:28 pm
Forum: Drivers for External Components
Topic: Displays with driver subclassed from framebuf
Replies: 30
Views: 20321

Re: Seeking display with driver subclassed from framebuf

Another set of display drivers in my collection are the Waveshare epaper displays. https://github.com/mcauser/micropython-waveshare-epaper/blob/master/examples/2in9-hello-world/test.py https://github.com/mcauser/micropython-waveshare-epaper/blob/master/examples/4in2-hello-world/test.py I'm not subcl...
by mcauser
Thu Aug 23, 2018 6:41 am
Forum: Drivers for External Components
Topic: Displays with driver subclassed from framebuf
Replies: 30
Views: 20321

Re: Seeking display with driver subclassed from framebuf

Have you seen @deshipu 's driver for the SSD1331 display?
It doesn't extend the framebuf, but may provide some inspiration.
https://bitbucket.org/thesheep/micropyt ... c/default/
by mcauser
Sat Aug 18, 2018 6:58 pm
Forum: Drivers for External Components
Topic: SSD1306 OLED display: enhanced driver
Replies: 6
Views: 13414

Re: SSD1306 OLED display: enhanced driver

Added subclassed version of my Nokia 5110 / PCD8544 driver: https://github.com/mcauser/micropython-pcd8544/blob/master/pcd8544_fb.py It uses the MONO_VLSB format, as there is currently no compatible Framebuf format for the vertical addressing supported by the display. More details on the display add...
by mcauser
Sat Aug 18, 2018 6:53 pm
Forum: Drivers for External Components
Topic: Displays with driver subclassed from framebuf
Replies: 30
Views: 20321

Re: Seeking display with driver subclassed from framebuf

I updated my Nokia 5110 / PCD8544 driver with examples of both inheriting and extending the Framebuffer. Inheriting / subclassed https://github.com/mcauser/micropython-pcd8544/blob/master/examples/framebuf_inherit.py https://github.com/mcauser/micropython-pcd8544/blob/master/pcd8544_fb.py Extending ...
by mcauser
Wed Aug 15, 2018 11:44 am
Forum: ESP8266 boards
Topic: IR 38Khz frequency out
Replies: 6
Views: 4638

Re: IR 38Khz frequency out

I haven’t tried it but hotplot on github says you can generate a 38 kHz signal in hardware by configuring the MTMS pin as the I2S clock signal and setting the frequency appropriately.

Platformio code example here:
https://github.com/hotplot/BlastIR/blob ... r_send.cpp