A simple micopython example of a clock which gets it's time over ntp from pool.ntp.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
peter 273b646a3b Initial commit 3 years ago
README.md Initial commit 3 years ago
lcd.jpg Initial commit 3 years ago
lcd_api.py Initial commit 3 years ago
main.py Initial commit 3 years ago
ntptime.py Initial commit 3 years ago
pico_i2c_lcd.py Initial commit 3 years ago

README.md

PICO W Network Examples

This is my first attempt at using a Raspberry PI Pico W with WiFi.

It connects to the local WiFi network then gets the current time over NTP from pool.ntp.org. It finally displays a simple basic clock on a 20x4 LCD screen with I2C.

LCD Pin connections

Here:

  • Red is Power
  • Brown Ground
  • Orange I2C0 SDA
  • Yellow I2C0 SCL

To run:

  • Edit main.py and set ssid and password to your WiFi
  • Copy the py files over to the PicoW
  • Reboot