Search found 5956 matches

by pythoncoder
Mon Nov 30, 2020 8:09 am
Forum: Development of MicroPython
Topic: Tensorflow and about contributing
Replies: 18
Views: 13910

Goertzel algorithm

... I'd definitely like to see your MicroPython implementation, thanks! I'm not sure it will work because I want to create a smart lock that can open based on a short spoken phrase and/or a short melody... Here it is. Note that it includes a Pyboard-only tone generator so that it can self-test. # T...
by pythoncoder
Sun Nov 29, 2020 4:52 pm
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 26073

ili9341: possible GUI support

I am currently actively considering supporting the ili9341, but there are issues. These displays are too large for use with framebuf.FrameBuffer because of the size of the necessary buffer. The chip needs a dedicated GUI like my touch GUI for the official LCD160CR display. That is more involved than...
by pythoncoder
Sun Nov 29, 2020 10:05 am
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 26073

Re: Best driver for ili9341 display

It's hard for me to comment in detail as I haven't used the ili9341. However I have written drivers and a GUI for various other SPI connected displays. This is aimed at smaller displays than those supported by the ili9341. The drivers work by maintaining a frame buffer using the framebuf.FrameBuffer...
by pythoncoder
Sat Nov 28, 2020 6:05 pm
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 26073

Re: Best driver for ili9341 display

The Loboris port was abandoned long ago. It's probably best ignored. Have you considered the SPI baudrate? The ili9341 can handle up to 10MHz for writes, and up to 6.66MHz for reads. If you choose one of the hardware buses the ESP32 can support these rates easily. You may find that speeds things up.
by pythoncoder
Fri Nov 27, 2020 9:42 am
Forum: General Discussion and Questions
Topic: Threads in xbee 3
Replies: 16
Views: 7507

Re: Threads in xbee 3

I would only consider threads after studying uasyncio and having a good reason for rejecting it. This is for reasons discussed here and here.
by pythoncoder
Fri Nov 27, 2020 9:38 am
Forum: General Discussion and Questions
Topic: How to read LED state?
Replies: 3
Views: 1527

Re: How to read LED state?

The Pyboard 1.1 schematic shows the red LED on pin A13 / P5. This is adjacent to pin X21.
by pythoncoder
Fri Nov 27, 2020 9:30 am
Forum: Development of MicroPython
Topic: Tensorflow and about contributing
Replies: 18
Views: 13910

Re: Tensorflow and about contributing

rdagger wrote:
Tue Nov 24, 2020 6:27 pm
...I’m currently interested in voice and tone recognition...
AI might be overkill for tone detection. Have you investigated the Goertzel algorithm? I have a MicroPython implementation if that's of any interest.
by pythoncoder
Mon Nov 23, 2020 9:23 am
Forum: General Discussion and Questions
Topic: Connecting to an MS5541-CM Pressure sensor
Replies: 2
Views: 1321

Re: Connecting to an MS5541-CM Pressure sensor

It does appear to use an SPI interface, with SCK connected to device sclk , MOSI to device din , and MISO to dout . The SPI bus can run up to 500KHz. You will also need to source a 32.768KHz square wave to mclk : this is a standard watch crystal oscillator frequency, but the pressure sensor will acc...
by pythoncoder
Sat Nov 21, 2020 10:27 am
Forum: Development of MicroPython
Topic: micropython origins?
Replies: 4
Views: 2659

Re: micropython origins?

dhylands wrote:
Fri Nov 20, 2020 7:55 pm
...
This page: http://docs.micropython.org/en/latest/genrst/index.html says that if currently "implements Python 3.4 and some select features of Python 3.5".
That ref is slightly out of date. MicroPython now includes some features from 3.8 including the "walrus operator" and elements of uasyncio.