-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Board not lighting up during config #10
Comments
Hi, did you ever resolve this? Same thing for me. I copied the (already extracted) files into the root dir, but the display is just blank. |
I had the same issue and was able to resolve by using an older version of CircuitPython (link here) |
Yep, same with me. After a month of use, I have a separate problem: sometimes the board gets stuck on the yellow light (pinging the server), and it stays stuck unless I reboot it. Have either of you experienced that, or would you know how to fix that? Looks like it might be same issue described here: #3. |
Thanks for the info! I figured that that was likely the case once I figured out how to debug the code and saw the library errors. I updated the library files and made some other minimal code changes and it is mostly working (I need to figure out how to push the headers down, they are cut off for some reason). And I am also trying to figure out how to switch TRAIN_GROUP back and forth so that it shows trains in both directions on an interval. Once I have everything working I will post here again (maybe the updated files will also resolve the other issues?). |
OK, I figured out my issues and everything is working. I forked the code here: https://github.com/ScottKekoaShay/dc-metro You can see it working in the new gif in the README. I updated the libraries to be compatible with CiruitPython 8.0.4 and updated the code accordingly (there were a lot of little things to change, especially for getting it to display properly). I also added the capability of switching between 2 different destinations (as someone had also requested in an issue here). It will work that way by default (switching between train_group 1 and 2 (I also tested with a 3, but did not get anything for that...). You can keep it as one destination just by using the same train_group for both train_group_1 and train_group_2. Since I just completed this now, I can't attest to it being any more or less stable than the original version, but will update here if I run into any issues (and hopefully with how to resolve them). I am hoping the CircuitPython version and lib updates resolved those issues. |
Scott, how do I download the SCR files? When i drag and drop them into CIRCUITPY it just shows up as regular google chrome hyperlinks and not executable PY files? I must be doing something wrong |
You should be able to click the green <> Code button on the main page, then click Download ZIP to download all the files to your local drive, then extract them locally and copy them onto your CIRCUITPY drive. Is that what you already tried? |
I'm having the same issue with the the display remaining blank. I've gone through the solutions noted here with no luck so I'm kind of stuck. Any advice? Thanks! |
Hey man, so I found out I was downloading the files incorrectly. You have to click the green <> to download the SCR files. After I did that it worked. |
Hey @ScottKekoaShay, your edits are great -- I love that it shows both directions. The program is crashing and showing this error every hour or so; are you seeing a similar problem? I wonder if it's the same problem that caused the original version to occasionally freeze (which I tried to remedy by connecting the board to a smart plug that resets the board every hour)> |
I had this issue until I purchased a better power cable. I bought this one and now I have zero issues. |
I haven't actually been running mine non-stop (I made it as a gift and have not yet given it). I will try running it all day some time this week and see if I get any errors. If I do, I will see if I can debug. And thanks for the tip, @kyleplantholt I see that one is 15.3 W. I think the minimum was 15 and bought a 20 W power supply. I'll let you all know if I encounter the same issue or not. |
Thanks for the tip, Scott. I plugged it into a higher-wattage power supply
and will also report back.
…On Tue, Apr 4, 2023, 08:39 Scott Kekoa Shay ***@***.***> wrote:
I haven't actually been running mine non-stop (I made it as a gift and
have not yet given it). I will try running it all day some time this week
and see if I get any errors. If I do, I will see if I can debug. And thanks
for the tip, @kyleplantholt <https://github.com/kyleplantholt> I see that
one is 15.3 W. I think the minimum was 15 and bought a 20 W power supply.
I'll let you all know if I encounter the same issue or not.
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACB5M3462T67AAUIQHW3JDW7QI6PANCNFSM6AAAAAAUYJBQWI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Unfortunately, I'm still getting the error. I wonder if it's related to how
my WiFi is configured. I'll try using a different network to see if the
error persists.
…On Tue, Apr 4, 2023 at 8:46 AM Max Kozlov ***@***.***> wrote:
Thanks for the tip, Scott. I plugged it into a higher-wattage power supply
and will also report back.
On Tue, Apr 4, 2023, 08:39 Scott Kekoa Shay ***@***.***>
wrote:
> I haven't actually been running mine non-stop (I made it as a gift and
> have not yet given it). I will try running it all day some time this week
> and see if I get any errors. If I do, I will see if I can debug. And thanks
> for the tip, @kyleplantholt <https://github.com/kyleplantholt> I see
> that one is 15.3 W. I think the minimum was 15 and bought a 20 W power
> supply. I'll let you all know if I encounter the same issue or not.
>
> —
> Reply to this email directly, view it on GitHub
> <#10 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AACB5M3462T67AAUIQHW3JDW7QI6PANCNFSM6AAAAAAUYJBQWI>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Looks like the same crash error I'm getting. I still haven't been able to figure out the cause — I've tried fiddling with the WiFi configuration and power supply and neither seem to be the culprit. It also appears to crash at irregular intervals, but on average every 30-45 minutes for me. |
In my troubleshooting it's issues with (or triggered in) the CircuitPython libraries; if you run the board connected to your computer you can see the traceback on the serial-via-USB console when it crashes. The Mu editor will automatically pick the right serial device if you click the Serial button, and when it crashes the traceback will be the last thing printed on console. For example, here is my most recent crash:
I've been playing with the try/except pair in the _fetch_train_predictions method of the MetroApi class to add additional except'ed error types; you can get it to ignore errors, but I don't have a good grasp yet on which errors are short-term and ignorable and which should probably trigger a reset rather than a crash. |
Novice here using a macbook pro running Ventura. When I add the CircuitPython 6.2 file to MATRIXBOOT it changes the name to CIRCUITPY as described - but the files are already unzipped and configured as described above. But the board does not light up. I've tried using different versions of the Uf2 file and resetting the board but its the same thing each time. Any advice? EDIT - I used the 8.0.4 file and pulled over @ScottKekoaShay files and the damn thing works. Thanks all! |
I am having this issue as well. I went back and diligently followed the fork that ScottKekoaShay generated, edited the config file, signed up for my API developer account, made the edits, and saw the board refresh, but it got stuck at loading and then pulls up the flamingo screen. Edited to include the error number on my board is 394. Not sure if this is meaningful or not because I could not find information about it through research. |
Below is my config file shared by ScottKekoaShay. I'm still not getting any response on my RGB and flashing red on the matrix portal. Does anyone see anything obvious I'm missing? (Network credentials and API edited for posting) from adafruit_bitmap_font import bitmap_font config = {
} |
I've tried every suggestion in this thread and am still having this issue. I followed the instructions of the original post and all I got was the status indicator flashing red twice every couple of seconds. Tried using the newer version, fixing the syntax error in the config.py file, and used CircuitPython 8.0.4 but got the same results. The only time something different happened was when I used the code from the original post with CircuitPython 6.2.0 which made the status indicator light up green for a few seconds and then quickly flash white 4 times, but still the display didn't turn on. If someone could please give me suggestions on how I can get this to work I would really appreciate it. I've been trying to do this for a couple hours now and I'm getting close to just giving up. |
I still haven't been able to get my board to work properly. I'm stuck with it not lighting up at all and I'd like to take a look again. Any suggestions are greatly appreciated. |
Has anyone decided to revisit their project? I'm still not getting the board to function... even with ChatGPT's help. lol |
I was able to get my sign functioning! I went back and re-reviewed and
re-attempted the process and it worked. I'm not sure what I did
differently, so I can't provide any insights.
…On Tue, May 7, 2024 at 3:09 PM enemes1 ***@***.***> wrote:
Has anyone decided to revisit their project? I'm still not getting the
board to function... even with ChatGPT's help. lol
—
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7LVXLZ3K6WBGLOEQUW5RBTZBERIPAVCNFSM6AAAAAAUYJBQWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGEZDEOJYGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hello,
I was following your instructions and having success until I copied the src Python files into the CIRCUITPY root. The instructions said the board would light up with a loading screen, but my board stays totally black, even if I edit the config file. I tried resetting and following the instructions again to no avail. Would you have any suggestions?
Thanks!
The text was updated successfully, but these errors were encountered: