sum1els / circuitpy-glucose-display

Display for viewing current Freestyle Libre glucose levels
MIT License
2 stars 1 forks source link

Display stays black and device does not connect to Wi-Fi, Im a bit lost 😩 #2

Closed steinbrueckri closed 2 months ago

steinbrueckri commented 2 months ago

I have followed the instructions in the project, but the display remains blank, even though it seems to be powered on. Additionally, I do not see the device connecting to my Wi-Fi network.

Here are the details of my setup:

Hardware used:

•   Raspberry Pi Pico W
•   Waveshare Pico-LCD-2 Display

Steps I followed:

•   Copied all required files to the CIRCUITPY folder as per the instructions (see attached image).
•   Placed code.py and all necessary libraries (including adafruit_st7789.mpy) in the lib folder.
•   Connected and powered the hardware (see attached photos of the setup).

Observed behavior:

•   The display lights up but does not show any information.
•   I don’t see any device connecting to my Wi-Fi network, although all information has been correctly filled in the settings.toml file.

What I have checked:

•   The wiring and hardware connections seem correct (see photos).
•   All required libraries and files are present on the device (see the screenshot of the filesystem).
•   I currently don’t have a debug probe to check what’s happening on the device, but I have ordered one.

Images:

•   Photos of the hardware setup
•   Screenshot of the CIRCUITPY filesystem

Question:

Do you have any ideas on what could be causing this issue, or any recommended troubleshooting steps I can take before my debug probe arrives?

Thanks in advance for your help!

Bildschirmfoto 2024-08-23 um 16 41 35

IMG_9332 IMG_9331 IMG_9330

sum1els commented 2 months ago

Do you use an Thonny or something similar to upload the code/files to the Pico ?

if so, what does the console say, anything ?

steinbrueckri commented 2 months ago

I upload it via finder, im pretty new to the Pico suff.

Content of my boot_out.log

Adafruit CircuitPython 9.1.2 on 2024-08-22; Raspberry Pi Pico with rp2040
Board ID:raspberry_pi_pico

and the libs i copied from adafruit-circuitpython-bundle-9.x-mpy-20240822

sum1els commented 2 months ago

use Thonny or MU (https://codewith.mu/en/download) to upload and run the code on the Pico W, it will show output in the console and might indicate what is wrong. You will find lots of youtube videos of how to run Thonny or MU with the Pico

steinbrueckri commented 2 months ago

Stange thing, i just repeated all again and now its working. Just a small detail because my endpoint is https://api-de.libreview.io but i will come up with a PR for that. ;)

sum1els commented 2 months ago

oh yeah, makes sense, never even thought about regional URLs for the API

steinbrueckri commented 2 months ago

see https://github.com/sum1els/circuitpy-glucose-display/pull/3