Search found 27 matches

by russ_h
Fri Jan 15, 2021 1:47 am
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 2023

Re: Best driver for ili9341 display

I pushed an incomplete repo and broke the build. It should build correctly if you pull or download a new copy.

Russ
by russ_h
Fri Dec 18, 2020 2:44 am
Forum: General Discussion and Questions
Topic: Switching from phpBB to discourse?
Replies: 4
Views: 209

Re: Switching from phpBB to discourse?

I do not care for the Discourse UI at all.
by russ_h
Tue Dec 15, 2020 8:01 pm
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 2023

Re: Best driver for ili9341 display

I tried writing a native module a while ago and I was not able to make it work. Time constraints caused me to switch back to an embedded driver. I'm working on a series of IoT classes and in my case having all the important modules embedded keeps them from going missing due to error or malicious int...
by russ_h
Sat Dec 12, 2020 6:23 am
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 2023

Re: Best driver for ili9341 display

I modified the devbis st7789_mpy driver to run the ILI9342C display in the M5Stack Core. Like the st7789 driver, it writes directly to the display and is not framebuffer based. The driver is largely untested but it works. I'll be working with it this weekend. https://github.com/russhughes/ili9342c_mpy
by russ_h
Sat Aug 15, 2020 5:02 pm
Forum: Hardware Projects
Topic: omni directional dead reckoning
Replies: 1
Views: 563

Re: omni directional dead reckoning

Excellent work.
by russ_h
Sat Aug 01, 2020 7:22 am
Forum: ESP32 boards
Topic: touch driver for ttgo watch 2020
Replies: 2
Views: 567

Re: touch driver for ttgo watch 2020

Grab the focaltouch driver from Franz Schaefers' repo at https://gitlab.com/mooond/t-watch2020-e ... altouch.py and copy it to your watch.

See https://github.com/russhughes/st7789_mp ... ch_draw.py for a simple drawing program example.
by russ_h
Tue Jul 28, 2020 7:01 pm
Forum: ESP32 boards
Topic: Brightness control on ST7789C/ AXP202
Replies: 3
Views: 513

Re: Brightness control on ST7789C/ AXP202

The docs I read say the blacklight is driven off the axp202c LDO2 and it's voltage is configurable between 1800mv (1.8v) and 3300mv (3.3v). I have not tried this but you could try using setLDO2Voltage to change the voltage driving the backlight. axp = axp202c.PMU() axp.enablePower(axp202c.AXP202_LDO...
by russ_h
Sat Jul 25, 2020 7:46 am
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 79
Views: 12568

Re: TTGO T-WATCH-2020

My watch arrived and I was able to get a modified devbis driver to run on it.
by russ_h
Sun Jun 14, 2020 8:54 pm
Forum: Programs, Libraries and Tools
Topic: Control dc motor speed - PID controller
Replies: 3
Views: 774

Re: Control dc motor speed - PID controller

I'm fairly new to PID controllers myself, if you are new to PID controllers as well, play with this PID Simulator to get a feel for how the different terms will affect performance. It helped me get a better feel for PID tuning. I was working on something similar using an Arduino and saw the same kin...
by russ_h
Mon Jun 08, 2020 9:32 pm
Forum: General Discussion and Questions
Topic: Generating autodocs for upython
Replies: 6
Views: 999

Re: Generating autodocs for upython

I used the Sphinx sphinx.ext.autodoc extension to document my last MicroPython project. In my conf.py file I added the projects lib directory using sys.path.insert and autodoc_mock_imports for the rest of the modules. sys.path.insert(0, os.path.abspath('../../lib')) # add my lib modules autodoc_mock...