Search found 28 matches

by T-Wilko
Thu Sep 24, 2020 2:54 pm
Forum: ESP32 boards
Topic: Newbie with bme280 issues
Replies: 12
Views: 1212

Re: Newbie with bme280 issues

I had a bmp280 on a high altitude balloon project a little while ago that did this sort of random ENODEV occurences, so I just added Try Except statements like this (suited for your example) to make it so that it at least attempted to handle the error: while True: try: print(bme280.values) except OS...
by T-Wilko
Wed Sep 23, 2020 12:24 pm
Forum: ESP32 boards
Topic: Newbie with bme280 issues
Replies: 12
Views: 1212

Re: Newbie with bme280 issues

Your first error shows that your board couldn't detect the bme280 (ENODEV = error - no device detected). I've found from experience that the cheap bme/bmp280's often throw this error intermittently, for some unknown reason. Easiest way around this is to catch this exception every time you poll the s...
by T-Wilko
Sat Sep 12, 2020 11:36 am
Forum: ESP32 boards
Topic: TTGO T-Beam V1.0 GPS UART problems
Replies: 9
Views: 1737

Re: TTGO T-Beam V1.0 GPS UART problems

Hi Thiago, I ended up going the 'easy' route and using the loboris port of micropython instead of using pythoncoder's GPS library, since loboris implemented an easy to use GPS parser in his default flashes. For initialisation of the GPS, here's what you need to do: import axp202, machine GPS_RX_PIN ...
by T-Wilko
Mon Jul 20, 2020 2:02 pm
Forum: ESP32 boards
Topic: Problem with drive WaveShare 2.7 inch B e-Paper
Replies: 10
Views: 1237

Re: Drive WaveShare 2.7 inch e-Paper

Is your epaper actually a WaveShare epaper or is it some other brand? I've used Mccauser's drivers for waveshare epapers before and it worked flawlessly. Without delving too deep, triple checking the wiring that you've set up is probably the first action to take. Attaching your MCU's schematics is f...
by T-Wilko
Wed Jun 03, 2020 12:10 pm
Forum: General Discussion and Questions
Topic: Help Launching Myself
Replies: 5
Views: 596

Re: Help Launching Myself

Hi A, Your applications seem to not be overly time-sensitive or high frequency, so I would say the faster speed and interrupt times (thanks to the bare-metal uPy build) of a more expensive STM32 board are probably not required. Between the remaining popular platforms of ESP32 and ESP8266, I've found...
by T-Wilko
Tue Jun 02, 2020 12:37 pm
Forum: Hardware Projects
Topic: A novel clock display?
Replies: 6
Views: 1490

Re: A novel clock display?

Very cool watch face, almost looks naval and it seems a good way of countering ghosting. Might be worth mentioning that Garmin watches being made now (such as the Garmin Instinct, Fenix, Forerunner series) have a variant of Pebble's trans-reflective LCD in them with fairly similar tech behind it. I ...
by T-Wilko
Sat May 30, 2020 9:39 am
Forum: MicroPython pyboard
Topic: /sd gone
Replies: 5
Views: 628

Re: /sd gone

I now have 2 pyboard v1.1's that /sd has vanished from: rshell gives a "cannot access /sd" message and sure enough code that used to boot just fine from the /sd card no longer does (the code is still there if I look at it with a PC). Perhaps best to post your code for mounting the sd here. May also...
by T-Wilko
Wed May 27, 2020 4:42 pm
Forum: General Discussion and Questions
Topic: _thread module status/documentation?
Replies: 6
Views: 1132

Re: _thread module status/documentation?

Firstly, thanks @tve and @pythoncoder for the explanations and links, they were an interesting read. The very first sentence in that asyncio tutorial section resounded very strongly with me :D The initial reaction of beginners to the idea of cooperative multi-tasking is often one of disappointment. ...
by T-Wilko
Wed May 27, 2020 4:25 am
Forum: General Discussion and Questions
Topic: _thread module status/documentation?
Replies: 6
Views: 1132

Re: _thread module status/documentation?

The threads are supported but there's very little around them. I believe that almost everyone is focused on asyncio, which is a much better way to do most of the things threads are used for, IMHO. My experience with uasyncio is fairly limited, could you shed a light on why asyncio is better than th...
by T-Wilko
Tue May 26, 2020 4:17 pm
Forum: General Discussion and Questions
Topic: _thread module status/documentation?
Replies: 6
Views: 1132

_thread module status/documentation?

Hi all, I've been super happy using the Loboris esp32 uPy port in that so many of the extra built-in libraries work smoothly and without a hitch. Since development by Boris has stopped on the port, I'm hoping to retain alot of the functionalities of it, while reverting to the main uPy master branch....