Search found 163 matches

by MostlyHarmless
Wed Jan 15, 2020 1:16 am
Forum: Drivers for External Components
Topic: Large color LCD?
Replies: 10
Views: 2497

Re: Large color LCD?

Your idea could work. You may find someone has written a VT100 emulator for the Pi, and you can access it from the Pyboard via a UART. You'd need to deal with the VT100 editing commands. Oh ... you are thinking of emulating a full VT100 via UART? With all of the functionality described in termcap? ...
by MostlyHarmless
Tue Jan 14, 2020 9:40 pm
Forum: ESP32 boards
Topic: asynycio as_GPS
Replies: 56
Views: 8220

Re: asynycio as_GPS

KeyboardInterrupt is a standard Python exception class.

In your case a construct like this should work:

Code: Select all

while True:
    try:
        do_your_gps_stuff_here
    except KeyboardInterrupt:
        break
by MostlyHarmless
Sat Jan 11, 2020 4:22 pm
Forum: Programs, Libraries and Tools
Topic: ntpclient - uasyncio based NTP synchronization
Replies: 14
Views: 2571

Re: ntpclient - uasyncio based NTP synchronization

I'm puzzled by the need to recalibrate every few seconds... Isn't the variation primarily due to temperature fluctuations? I'm going to test with longer intervals, but keep in mind that we are talking about an R/C oscillator in an environment of unknown cleanliness. Any amount of flux residue on th...
by MostlyHarmless
Sat Jan 11, 2020 1:35 pm
Forum: ESP32 boards
Topic: Got "Malformed Mach-o file" on Mac Catilina when make firmware
Replies: 11
Views: 1694

Re: Got "Malformed Mach-o file" on Mac Catilina when make firmware

Not a Mac user, so I can only go by what I find, but ...

That problem looks similar to this one. The bottom line in that case was that the MacOS linker didn't like deep dependency trees. Could that be the same here with the lengthy list of input files?
by MostlyHarmless
Sat Jan 11, 2020 1:14 pm
Forum: General Discussion and Questions
Topic: How to know the IP address
Replies: 8
Views: 1657

Re: How to know the IP address

A different try at answering... It's a messy problem, unfortunately. The industry answer (WPS) is insecure... "Messy" and "expensive". By the time we are done with the AP portion of the setup process we needed a small DHCP server (so the phone or PC gets an IP address), a rudimentary DNS server (to...
by MostlyHarmless
Fri Jan 10, 2020 10:19 pm
Forum: General Discussion and Questions
Topic: How to know the IP address
Replies: 8
Views: 1657

Re: How to know the IP address

These are really two separate questions. How to control the IP address of a device in your own environment? How to create an initial WiFi config (SSID and PassPhrase) in an unknown environment? The answer to 1) can be straight forward. Don't use the DHCP functionality of a consumer grade router. Tur...
by MostlyHarmless
Fri Jan 10, 2020 9:28 pm
Forum: Programs, Libraries and Tools
Topic: ntpclient - uasyncio based NTP synchronization
Replies: 14
Views: 2571

Re: ntpclient - uasyncio based NTP synchronization

I'm puzzled by the need to recalibrate every few seconds... Isn't the variation primarily due to temperature fluctuations? I'm going to test with longer intervals, but keep in mind that we are talking about an R/C oscillator in an environment of unknown cleanliness. Any amount of flux residue on th...
by MostlyHarmless
Fri Jan 10, 2020 7:32 pm
Forum: ESP32 boards
Topic: asynycio as_GPS
Replies: 56
Views: 8220

Re: asynycio as_GPS

10Hz is 100ms ... but anyhow, I agree, that is a heck of a log frequency for GPS tracking. And definitely yes on the KML format. It is not only used by Google Earth, but also supported by many other track/route editors. Then again, since it is based on XML it is prone to corruption when writing cont...
by MostlyHarmless
Fri Jan 10, 2020 6:48 pm
Forum: Programs, Libraries and Tools
Topic: ntpclient - uasyncio based NTP synchronization
Replies: 14
Views: 2571

Re: ntpclient - uasyncio based NTP synchronization

WRT clock sync, does the 8266 RTC always run off the RC? Can't be changed to run off the xtal when not in sleep mode? I think it can run on a dedicated 32kHz XTAL while not in sleep, but not on the hight speed CPU XTAL, like the esp32 does. Like you said most boards lack that 32kHz source, includin...
by MostlyHarmless
Thu Jan 09, 2020 7:58 pm
Forum: Programs, Libraries and Tools
Topic: ntpclient - uasyncio based NTP synchronization
Replies: 14
Views: 2571

Re: ntpclient - uasyncio based NTP synchronization

@MostlyHarmless: nice work! Now good luck getting a PR reviewed ;-) That is the part that I haven't figured out in this community yet. For example I have a PR open for the async-friendly improvements to the DHT driver, but so far it is more or less ignored. Do I have to open an issue in parallel to...