Search found 57 matches

by russ_h
Wed Jul 21, 2021 2:21 am
Forum: General Discussion and Questions
Topic: Baffled by Bluetooth - Help
Replies: 18
Views: 514

Re: Baffled by Bluetooth - Help

dougconran wrote:
Tue Jul 20, 2021 9:23 pm
A bit cheeky, I know, but is there any chance you could upgrade your M5 Core 2 firmware as well? 8-)
No problem, just updated the firmware files in the repo to v1.16.
by russ_h
Tue Jul 20, 2021 8:02 pm
Forum: General Discussion and Questions
Topic: Baffled by Bluetooth - Help
Replies: 18
Views: 514

Re: Baffled by Bluetooth - Help

I'm not sure how that happened but the link is live again: https://penfold.owt.com/tdisplay/v1.16- ... rmware.bin
by russ_h
Mon Jul 19, 2021 12:02 am
Forum: General Discussion and Questions
Topic: Baffled by Bluetooth - Help
Replies: 18
Views: 514

Re: Baffled by Bluetooth - Help

Here is a firmware.bin file for the T-Display with MicroPython v1.16-107-g9f71a11d3 and the st7789 driver compiled with esp-idf42.

Russ
by russ_h
Thu Jun 10, 2021 7:38 pm
Forum: ESP32 boards
Topic: TFT display SPI
Replies: 7
Views: 546

Re: TFT display SPI

If there is no CS pin in the display, I assume it is internally tied low ?
Yes, they are usually tied low, so they are always selected.
by russ_h
Wed Jun 09, 2021 4:48 pm
Forum: ESP32 boards
Topic: TFT display SPI
Replies: 7
Views: 546

Re: TFT display SPI

I'm working on the next update of the driver as well as the documentation. This discussion should be helpful.
by russ_h
Tue May 11, 2021 6:09 pm
Forum: General Discussion and Questions
Topic: Cannot calibrate servo
Replies: 5
Views: 709

Re: Cannot calibrate servo

The servo object is written in C and is here servo.c and here servo.h the documentation is here This is roughly the same as my example using the native servo driver setting the min, max and center freq's using the calibration method. The default calibration is pulse_min = 64; pulse_max = 242; pulse_...
by russ_h
Tue May 11, 2021 6:33 am
Forum: ESP32 boards
Topic: porting function for IP5306 chip to micropython
Replies: 1
Views: 378

Re: porting function for IP5306 chip to micropython

I wont guarantee it, but something like: from machine import Pin, SoftI2C IP5306_ADDR = const(117) # 0x75 IP5306_REG_SYS_CTL0 = const(0x00) BOOST_OUT_BIT = const (0x02) def setPowerBoostKeepOn(i2c, en): data_in = i2c.readfrom_mem(IP5306_ADDR, IP5306_REG_SYS_CTL0, 1) data_out = bytes([data_in[0] | BO...
by russ_h
Tue May 11, 2021 5:22 am
Forum: General Discussion and Questions
Topic: Cannot calibrate servo
Replies: 5
Views: 709

Re: Cannot calibrate servo

I used this library to control the pen lift servo on my drawbots. It worked well on an ESP32 since it was easy to tweak the min/max frequencies. I used trial and error until I got the response I needed. Take a look at Here at lines 108-116 to see the values that worked for cheap MG-90 servos. Someth...
by russ_h
Fri May 07, 2021 3:17 pm
Forum: Raspberry Pi microcontroller boards
Topic: Windows fail to recognize Pi Pico when running this code
Replies: 7
Views: 1628

Re: Windows fail to recognize Pi Pico when running this code

I’ve seen this issue on Windows 10, a reboot seems to clear the problem for a while. I have not seen the problem while using a Mac or Linux.
by russ_h
Thu May 06, 2021 4:11 pm
Forum: General Discussion and Questions
Topic: BLE : gattc_write cannot write more than 20 bytes ?
Replies: 2
Views: 491

Re: How to go betyond 20 char payload in a characteristic ?

The 'MTU' (max transmission unit) defaults to 20. Have you tried changing it using BLE.config as described https://docs.micropython.org/en/latest/ ... tooth.html?