Search found 11 matches

by paulsk
Mon Jul 25, 2022 1:00 pm
Forum: Hardware Projects
Topic: Micropython on Pimoroni Interstate 75 and 64x32 rgb led panel
Replies: 0
Views: 177402

Micropython on Pimoroni Interstate 75 and 64x32 rgb led panel

Hi, I just updated my project on Github: https://github.com/PaulskPt/MSFS2020_FSUIPC_GPRC_to_i75_RGB_LED_panel . Goals of this project: Concerns: Flight simulation. To receive, filter and display the flown true track on a rgb led panel. The script use certain data-elements of GPRMC GPS datagram mess...
by paulsk
Sat Jul 23, 2022 2:24 pm
Forum: Raspberry Pi microcontroller boards
Topic: PicoW NTP Client with Temp sensor and serLCD via I2C
Replies: 7
Views: 14402

Re: PicoW NTP Client with Temp sensor and serLCD via I2C

This is a 'work-in-progress'. I found a better way to define the .json file. Resulting in a more simple dictionary after importing the data from the .json file [["timezone","Europe/Lisbon"], ["2022","1648342800","1667095200","2022-03-29 01:00:00","2022-10-30 02:00:00"], ["2023","1679792400","1698544...
by paulsk
Sat Jul 23, 2022 11:09 am
Forum: Raspberry Pi microcontroller boards
Topic: PicoW NTP Client with Temp sensor and serLCD via I2C
Replies: 7
Views: 14402

Re: PicoW NTP Client with Temp sensor and serLCD via I2C

@karfas. Thank you for your reply. I know that what I created is not perfect. In another project, running in a Linux environment, I used the tz environment variable. I started this project using it: (tm_tmzone_dst = "WET0WEST,M3.5.0/1,M10.5.0"). I created the is_dst() function to compare the NTP dat...
by paulsk
Thu Jul 21, 2022 5:52 pm
Forum: Raspberry Pi microcontroller boards
Topic: PicoW NTP Client with Temp sensor and serLCD via I2C
Replies: 7
Views: 14402

Re: PicoW NTP Client with Temp sensor and serLCD via I2C

Thanks for sharing. How is the in-built RTC working? Is it showing accurate time? Hi @tepalia02, The built-in RTC forgets about date and time when powered off. See: "Attaching a PCF8523 Real Time Clock via I2C": https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf Where an external R...
by paulsk
Wed Jul 20, 2022 2:49 pm
Forum: Raspberry Pi microcontroller boards
Topic: PicoW NTP Client with Temp sensor and serLCD via I2C
Replies: 7
Views: 14402

PicoW NTP Client with Temp sensor and serLCD via I2C

Hi, I just finished my project: using a Raspberry Pi Pico W, setting it's built-in RTC from a NTP host. The script checks if we are in a daylight saving time (DST) period for the chosen TimeZone. The timezone defaults to: "Europe/Portugal". The dst data consists of a dictionary that spans a period o...
by paulsk
Tue Jul 19, 2022 8:12 pm
Forum: ESP8266 boards
Topic: timezone support in MicroPython ?
Replies: 23
Views: 94248

Re: How about this appoach?

This doesn't take account of the time of day at which the change occurs. The approach I'd use is to write a program on a PC which (for my own locale) calculated the time of the start and end of DST for each year of interest. The times would be in seconds since the MicroPython epoch. The output of t...
by paulsk
Fri Dec 31, 2021 3:41 pm
Forum: General Discussion and Questions
Topic: SH1107 reading ID
Replies: 2
Views: 6293

Re: SH1107 reading ID

Thank you for a rapid response. So, I did not read good! Excuse me for that!
by paulsk
Fri Dec 31, 2021 2:35 pm
Forum: General Discussion and Questions
Topic: SH1107 reading ID
Replies: 2
Views: 6293

SH1107 reading ID

Hi, I just managed to get working a micropython project for the following hardware setup: - Pimoroni Pico Breakout Garden (BG) base with; - a Raspberry Pi Pico; - a Pimoroni BG RV3028 rtc (I2C); - an Adafruit TMP117 via Qwiic to a Pimoroni BG adapter; - a Pimoroni BG OLED 1.12in 128x128 SPI LCD (SH1...