Search found 23 matches

by jeffm
Wed Jan 24, 2018 10:43 pm
Forum: Drivers for External Components
Topic: ILI9340/ILI9341 TFT Display
Replies: 34
Views: 13000

Re: ILI9340/ILI9341 TFT Display

@tuupola. The zero data length write occurs in your driver in the line: self._block(x, y, x + w - 1, y + h - 1, b"") # in fill_rectangle My version splits _block into _writeblock and _readblock which avoids the need to interpret None as a read operation and so I use None to mean no data rather than ...
by jeffm
Mon Jan 15, 2018 11:53 am
Forum: Drivers for External Components
Topic: ILI9340/ILI9341 TFT Display
Replies: 34
Views: 13000

Re: ILI9340/ILI9341 TFT Display

@on4aa. For exactly that reason, I am using a firmware build directly from loboris’s github repository :- https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/tree/master/MicroPython_BUILD/firmware I am using ftp and telnet which I find easier than the m5cloud IDE which does not give remote acces...
by jeffm
Sat Jan 13, 2018 12:28 pm
Forum: Drivers for External Components
Topic: ILI9340/ILI9341 TFT Display
Replies: 34
Views: 13000

Re: ILI9340/ILI9341 TFT Display

Thanks, in fact my driver does work with HW SPI as it avoids the zero length write. The fill rectangle function is now quite fast. Font handling, despite my optimisations, is slow because a lot of work to display a character is done in MicroPython. I am now playing with the @loboris port which has a...
by jeffm
Sat Jan 06, 2018 1:29 pm
Forum: Drivers for External Components
Topic: ILI9340/ILI9341 TFT Display
Replies: 34
Views: 13000

Re: ILI9340/ILI9341 TFT Display

I failed to get @tuupola’s version of this driver to work with HW SPI on the standard esp32 port. After a little investigation I discovered that hw spi crashes due to the driver generating a zero length data block spi write - this is not a problem for the sw version. I have put a version on github t...
by jeffm
Wed Dec 20, 2017 8:18 pm
Forum: Hardware Projects
Topic: Electrical network analyser/signal generator
Replies: 10
Views: 2323

Re: Electrical network analyser/signal generator

I completely agree - not a sensible project. I was interested as I have an inexpensive battery operated scope which uses a fairly standard TFT display which can capture waveforms up to around 1Mhz and I wondered how much additional hardware is needed on top of the processor and display.
by jeffm
Sat Dec 16, 2017 8:08 am
Forum: Hardware Projects
Topic: Electrical network analyser/signal generator
Replies: 10
Views: 2323

Re: Electrical network analyser/signal generator

A really impressive project.
Could you implement a simple oscilloscope mode with the same hardware?
by jeffm
Wed Nov 22, 2017 3:45 pm
Forum: Hardware Projects
Topic: Pyboard based GSM phone.
Replies: 7
Views: 3256

Re: Pyboard based GSM phone.

Now updated with internet access over GPRS. The sim800l now includes a urequest like interface to the SIM800L module's HTTP AT interface. This allows both http and https requests. Using these I have implemented two example applications. The first fetches and displays currency exchange rates - the co...
by jeffm
Fri Nov 17, 2017 8:01 pm
Forum: Hardware Projects
Topic: Pyboard based GSM phone.
Replies: 7
Views: 3256

Re: Pyboard based GSM phone.

Yes, I saw this quite bizarre article. The developer Alexei mentioned in the article has a Github account which has a forked version of my repository as indicated in https://github.com/AlekSi/micropython-upyphone.
by jeffm
Mon Nov 13, 2017 10:03 am
Forum: Hardware Projects
Topic: Pyboard based GSM phone.
Replies: 7
Views: 3256

Re: Pyboard based GSM phone.

@pythoncoder And that the touch overlay is sufficiently precise to support it. The accuracy is outstanding and much much better than some other cheap resistive touch screens that I have. There is occasionally some jitter on touch but it quickly settles on the pressed key. The trick is to ensure that...
by jeffm
Fri Nov 10, 2017 9:39 pm
Forum: Hardware Projects
Topic: Pyboard based GSM phone.
Replies: 7
Views: 3256

Pyboard based GSM phone.

I have implemented a basic GSM phone using a pyboard, the LCD160CR display skin and a SIM800L GSM module. The phone implements voice calls and composing, sending and receiving SMS messages. It operates from a small (800mah) Lipo battery which lasts for around a week in standby mode. I looked at usin...