A Raspberry Pi Pico W project that tracks live currency exchange rates on a TM1637 4-digit display. Currently configured for USD/EUR pair.
- Raspberry Pi Pico W
- TM1637 4-digit 7-segment display
- 4 wires for connections
- TM1637 CLK → Pico GP1
- TM1637 DIO → Pico GP2
- TM1637 VCC → Pico 3.3V
- TM1637 GND → Pico GND
- Get your Pico W ready:
- Hold the BOOTSEL button on your Pico W
- While holding, plug the USB cable into your computer
- Release the button after connecting
- Install MicroPython:
- Your Pico should appear as a USB drive on your computer
- Download the latest MicroPython firmware (.uf2 file) from Raspberry Pi's official site
- Drag and drop the .uf2 file onto the Pico drive
- The Pico will automatically restart when the file transfer is complete
- Install tm1637 library
Edit the WiFi credentials in the code to match your network then in the Python shell/REPL, run install_TM1637.py
. This will install the library on Pico.
-
Upload the code:
- Download
main.py
from this repository - Edit the WiFi credentials in the code to match your network
- Using Thonny or your preferred editor:
- Open
main.py
- Click "Save As"
- Select "Raspberry Pi Pico"
- Save as
main.py
- Open
- Download
-
Running the project:
- After saving
main.py
, power up your Pico W - The display will show:
- '----' (test pattern)
- Then the current exchange rate
- After saving
The display will update every 5 minutes with fresh rates from Google Finance.