pimoroni-pico/micropython/examples/badger2040w
Philip Howard 9f71c04ea8
Merge pull request #731 from pimoroni/patch-wifi-examples
MicroPython: Various networking fixes to code & examples.
2023-03-27 11:16:44 +01:00
..
badges Badger2040: Add image path to badge.txt. 2023-02-10 22:15:09 +00:00
books Badger2040W: Port ebook example. 2023-02-10 22:12:02 +00:00
examples update qrcode.py with badger w details 2023-02-14 15:21:46 +00:00
icons Badger2040W: Move weather icons from examples dir to icons/. 2023-02-10 22:15:09 +00:00
images Badger2040: Port more examples. 2023-02-10 22:12:02 +00:00
lib MicroPython: Various networking fixes to code & examples. 2023-03-27 11:06:36 +01:00
WIFI_CONFIG.py MicroPython: Various networking fixes to code & examples. 2023-03-27 11:06:36 +01:00
launcher.py Badger2040W: Fix wakeup and quit to launcher button handling. 2023-02-10 22:15:09 +00:00
main.py Badger2040W: Fixes to launcher and badger libs. 2023-02-10 22:12:02 +00:00
readme.md Badger 2040: Add deprecation warnings and firmware links. 2023-03-27 10:30:19 +01:00
uf2-manifest.txt Badger2040W: Move weather icons from examples dir to icons/. 2023-02-10 22:15:09 +00:00

readme.md

Badger 2040 W MicroPython Examples

⚠️ This code has been deprecated in favour of a dedicated Badger 2040 project: https://github.com/pimoroni/badger2040

About Badger 2040 W

Badger 2040 W is a programmable E Paper/eInk/EPD badge with 2.4GHz wireless connectivity, powered by Raspberry Pi Pico W. It can go into a deep sleep mode between updates to preserve battery.

Badger 2040 W ships with MicroPython firmware pre-loaded, but you can download the most recent version at the link below (you'll want the pimoroni-badger2040w .uf2). If you download the -with-examples file, it will come with examples built in.

Badger 2040 W and PicoGraphics

The easiest way to start displaying cool stuff on Badger is by using our badger2040w module (which contains helpful functions for interacting with the board hardware) and our PicoGraphics library (which contains a bunch of functions for drawing on the E Ink display).

Examples

Find out more about how to use these examples in our Learn guide:

Badge

badge.py

Customisable name badge example.

Clock

clock.py

Clock example with (optional) NTP synchronization and partial screen updates.

Ebook

ebook.py

View text files on Badger.

Fonts

fonts.py

View all the built in fonts.

Help

help.py

How to navigate the launcher.

Image

image.py

Display .jpegs on Badger.

Info

info.py

Info about Badger 2040 W.

List

list.py

A checklist to keep track of to-dos or shopping.

Net Info

net_info.py

Show IP address and other wireless connection details.

News

news.py

View BBC news headlines.

Qrgen

qrgen.py

Display QR codes and associated text.

Weather

weather.py

Display current weather data from the Open-Meteo weather API

Other Resources

Here are some cool Badger 2040 W community projects and resources that you might find useful / inspirational! Note that code at the links below has not been tested by us and we're not able to offer support with it.