pimoroni-pico/micropython/examples/pico_explorer
phennessey7 d78fffcd54
Update noise.py
Replaced extra blank line after edit on line 112 that was mistakenly deleted!
2023-04-14 10:04:07 -07:00
..
README.md add link 2023-01-18 16:32:08 +00:00
balls_demo.py Update examples to use PicoGraphics (#428) 2022-07-07 09:37:47 +01:00
button_test.py Remove references to old picoexplorer module 2022-08-25 16:10:32 +01:00
cheerlights.py PicoW: Add common files and refactor. 2022-07-15 12:05:12 +01:00
demo.py Remove references to old picoexplorer module 2022-08-25 16:10:32 +01:00
noise.py Update noise.py 2023-04-14 10:04:07 -07:00
rainbow.py Update examples to use PicoGraphics (#428) 2022-07-07 09:37:47 +01:00
thermometer.py Update examples to use PicoGraphics (#428) 2022-07-07 09:37:47 +01:00
weatherstation_BME68X.py Update examples to use PicoGraphics (#428) 2022-07-07 09:37:47 +01:00
weatherstation_BME280.py Update examples to use PicoGraphics (#428) 2022-07-07 09:37:47 +01:00

README.md

Pico Explorer MicroPython Examples

PicoGraphics

You can draw on Pico Explorer's display using our tiny PicoGraphics display library.

Non-Wireless Examples

Balls Demo

balls_demo.py

LCD demo showing 100 bouncy balls!

Button Test

button_test.py

This example shows you a simple, non-interrupt way of reading Pico Explorer's buttons with a loop that checks to see if buttons are pressed.

Demo

demo.py

A demo of all Pico Explorer's functions. Connect analog inputs like potentiometers up to ADC0-ADC3 and motors to the motor channels for best results. Connect AUDIO to GP0 with a jumper wire to hear noise.

Noise

noise.py

This example shows you how you can use Pico Explorer's onboard buzzer as a speaker to play different notes and string them together into a bleepy tune (you'll need to connect AUDIO to GP0 with a jumper wire to hear noise).

Rainbow

rainbow.py

This example borrows a CircuitPython hsv to rgb function to cycle through some rainbows on Pico Explorer's screen.

Thermometer

thermometer.py

This example takes the temperature from the Pico's onboard temperature sensor, and displays it on Pico Explorer, along with a little pixelly graph.

Weather Station (BME280)

weatherstation_BME280.py

Plug a BME280 breakout into your Pico Explorer and make a little indoor weather station, with barometer style descriptions.

Weather Station (BME68X)

weatherstation_BME68X.py

Plug a BME680 or BME688 breakout into your Pico Explorer to make a little indoor weather station, with barometer style descriptions.

Wireless Examples

The wireless examples need network_manager.py and WIFI_CONFIG.py from the common directory to be saved to your Pico W. Open up WIFI_CONFIG.py in Thonny to add your wifi details (and save it when you're done).

You may also need to install the micropython-urllib.urequest library using Thonny's 'Tools' > 'Manage Packages'.

Cheerlights

cheerlights.py

This Pico W example sets your Pico Explorer's screen (and optionally, a RGB LED) to the current #cheerlights colour.

Other Resources

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