Search found 7 matches

by matt42
Wed Jul 06, 2022 12:57 pm
Forum: General Discussion and Questions
Topic: Digital Clock drift
Replies: 5
Views: 3308

Re: Digital Clock drift

Thanks all for the suggestions and comments, it helps. I ordered a DS3231 to play with so will see how that goes.
by matt42
Tue Jul 05, 2022 11:13 am
Forum: General Discussion and Questions
Topic: Digital Clock drift
Replies: 5
Views: 3308

Digital Clock drift

I have created a simple digital clock with a D1 mini and 2 x 7 segment LED displays which shows 2 different time zones and works fine. After noticing the D1 has a lot of time drift over 24 hours (10 or more mins), I changed my code to the below, checking NTP once every hour which has solved the drif...
by matt42
Tue Nov 10, 2020 2:36 pm
Forum: General Discussion and Questions
Topic: Launch ESP8266 WIFI module with Micropyton
Replies: 1
Views: 1456

Re: Launch ESP8266 WIFI module with Micropyton

You can follow these instructions and ask if there is something you do not understand.

http://docs.micropython.org/en/latest/e ... html#intro

Here you can configure wifi after Micropython is installed.

http://docs.micropython.org/en/latest/e ... asics.html
by matt42
Sat May 09, 2020 1:32 am
Forum: General Discussion and Questions
Topic: New to micro controllers and MicroPython
Replies: 13
Views: 9825

Re: New to micro controllers and MicroPython

I am also a beginner and have a couple of these ESP32 boards. Once you load MP, you can start using it right away. The "hello world" version of MP on these boards is to make the blue LED blink, try that first. If you are ordering that board, also order an LED display or Lora module or GPS or somethi...
by matt42
Fri May 08, 2020 3:02 pm
Forum: General Discussion and Questions
Topic: Lorawan TTGO board - 'no module named ttn'
Replies: 3
Views: 7280

Lorawan TTGO board - 'no module named ttn'

Hi all, I am trying to connect a TTGO board to the Lorawan network, using this code - https://github.com/lemariva/uPyLoRaWAN/tree/LoRaWAN I keep getting this error when running main.py: SX version: 18 Traceback (most recent call last): File "<stdin>", line 59, in <module> File "sx127x.py", line 207,...
by matt42
Sat Apr 25, 2020 5:08 am
Forum: General Discussion and Questions
Topic: Parsing openweathermap.org
Replies: 2
Views: 2345

Re: Parsing openweathermap.org

Thanks Jimmo, easy when you know how. Your explanation makes alot of sense and now I can access the data I need :)

cheers
Matt
by matt42
Sat Apr 25, 2020 4:33 am
Forum: General Discussion and Questions
Topic: Parsing openweathermap.org
Replies: 2
Views: 2345

Parsing openweathermap.org

Hi there, new MP user with an esp32. MicroPython v1.12-388-g388d419ba I am trying to get info from api.openweathermap.org API and parse it to get some individual values. Here is my code: import urequests, ujson def url(): r = urequests.get("https://api.openweathermap.org/data/2.5/onecall?<snipped>")...