Breazile / MandoPuter

Electronics to drive a Mandalorian gauntlet
MIT License
41 stars 9 forks source link

Wrong Board #16

Open SebSam96 opened 1 year ago

SebSam96 commented 1 year ago

Hello, first of all congratulations for the work done. Everything very detailed and very clear. However I have to ask you something. I mistakenly bought the wrong board, didn't read "(get the 2MB PSRAM version)" and bought the "Feather ESP32S3 No PSRAM" version. I tried to load it anyway, everything ok but when I try to power the board it makes 2 screens and then total darkness. Is there a way to fix it somehow or did I just throw away the board?

BOOT_OUT: Adafruit CircuitPython 8.2.3 on 2023-08-11; Adafruit Feather ESP32S3 No PSRAM with ESP32S3 Board ID:adafruit_feather_esp32s3_nopsram UID:CD45570D0D8D

Thank you

Breazile commented 1 year ago

Can you download the Mu editor (instructions here - https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor ) and then open code.py from your board while it is attached to your computer? It takes a while to launch the first time.

Once you have it open click on the Serial icon (at the top) and then click Save. This will run the code on your board and give you any error messages in the serial window at the bottom. Copy/paste that error, and we should have a better idea of what is going on. Sorry, I do not have one of those boards to try it myself.

image

SebSam96 commented 1 year ago

image

Breazile commented 1 year ago

Seems like it should be working. What display are you using?

SebSam96 commented 1 year ago

77E634C9-0613-491F-845B-556A7D700463

Breazile commented 1 year ago

Can you show me how the wiring looks? We should check that next.

Breazile commented 1 year ago

Your board still has 512K of regular RAM, and it seems to be working fine (other boards do not have PSRAM), so let's troubleshoot your display connection next

SebSam96 commented 1 year ago

I connected the cables as in the first photo "beskar" or lcd - esp32s3. I checked the Troubleshooting section where you say to delete battery and upload the original code (I used your zip without changing anything). I put the board back in boot and reloaded phyton latest downloadable version. I do not know what to do.. The two screens that I see initial, then disappear look like this. Also after a few seconds the black screen flashes with a lighter black as if it was still going on with the images in a loop image

Breazile commented 1 year ago

Can you send me the code.py that is on your board? I'll try that on my board

SebSam96 commented 1 year ago

I unzipped your file (ESP32-S3Beskar.zip). I have not modified the code.py file in any way. Can we hear each other on instagram or whatsapp to be a little faster? Thank you very much for your patience and availability

Breazile commented 1 year ago

I can do Whatsapp if that helps. What time zone are you in? I'm in GMT-7 (Pacific Time) near Seattle, Washington

Breazile commented 1 year ago

We just have to go through the troubleshooting steps. Turns out I'm not using the PSRAM at all, so the board you are using should be working just fine. I can try the CircuitPython version you have on my board to see if there's a problem with that newer version

SebSam96 commented 1 year ago

I wrote you on instagram

SebSam96 commented 1 year ago

if you prefer I can write you on whatsapp, if you send me the number. I sent you a video of the error on instagram

Breazile commented 1 year ago

Left a message on Instagram. If you need another display here are some alternates that work in case Adafruit ones are hard to get

https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/1.54inch-lcd-module.htm https://www.waveshare.com/product/displays/lcd-oled/lcd-oled-3/1.3inch-lcd-module.htm

SebSam96 commented 12 months ago

I wrote you on instagram

Breazile commented 12 months ago

There are 2 settings you can change (that display might need it to be different). Polarity and phase. Look in the code for this line:

display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, baudrate=SPI_SPEED, reset=lcd_rst, polarity=0, phase=0)

Try polarity=1, and if that does not work, try phase=1. In total, there are 4 configurations for you to try:

Polarity=0, phase=0 (not working) Polarity=1, phase=0 Polarity=0, phase=1 Polarity=1, phase=1

SebSam96 commented 12 months ago

Thanks a lot, I fixed it. I entered "Polarity=1, phase=1" and it works perfectly. You have been super nice and very helpful. Thank you so very much

Breazile commented 12 months ago

Glad it worked!