BitMaker-hub / NerdMiner_v2

Improved version of first ESP32 NerdMiner
Other
1.37k stars 249 forks source link

Bad graphics using ESP32-24325028 #306

Closed fcknzs-love closed 4 days ago

fcknzs-love commented 5 months ago

After the first set up flawlessly, I got a second CYD. Unfortunately, with this one I have some display/graphics issues. The colors seem to be inverted, meaning black is white, white is black, yellow is blue and blue is orange. I also believe the image is slightly blurred.

IMG_20240129_222247433~2 IMG_20240129_222323079~2 IMG_20240129_222338370~2 IMG_20240129_222351262~3

And after all, this one doesn't start mining... CYD is from AliExpress (the cheepest, I could find...). Flashing only worked with https://flasher.bitronics.store . With ESP tool I got an MD5 mismatch..

IMG_20240129_215623770 IMG_20240129_215534954~2

paelzer commented 5 months ago

Hello

Regarding the messed up colors...

Seems the firmware on https://flasher.bitronics.store/ is not optimized for the ESP32 2432S028 with two USB connectors. I have that one as well.

Try flashing with Platformio and select "ESP32_2432S028_2USB" as env.

image

Boris

pedromfa commented 4 months ago

ESP32_2432S028_2USB

Hello. I have no idea how to work with Platformio.... Is there anyway to have the BIN file for this board and upload the firmware easier for a newbie here? Thank you. :)

sany3001 commented 4 months ago

It should be pretty easy to work with PlatformIO. Follow this guide: https://platformio.org/install/ide?install=vscode

Then install Git command line tool. Not sure which one to advice. I am using https://git-scm.com/download/win under Windows.

Clone NerdMiner project git clone https://github.com/BitMaker-hub/NerdMiner_v2.git

Open cloned folder in VScode.

Build with "button" at the bottom of page (choose target first - also on bottom of the page).

pedromfa commented 4 months ago

Thank you so much, i think i got it. :)

pedromfa commented 4 months ago

Btw, do you kwon how to turn off the screen without turning off the Miner?

19201003080114 commented 4 months ago

Btw, do you kwon how to turn off the screen without turning off the Miner?

image

sany3001 commented 4 months ago

Btw, do you kwon how to turn off the screen without turning off the Miner?

image

This guide is not applicable to this specific device. RST button does reset of the device.

BOOT button works like on one button device: image

(I have tried just single, double and tripple click)

More to this: you can somehow press screen to switch screens (if you have touch version). Not sure how exactly shall this work. It is not very reliable to me.

djcasper1975 commented 3 months ago

thx i have now got a full colour screen if anybody wants the 2 usb screen ill give you the bins

djcasper1975 commented 3 months ago

esp-2432S028_2USB.zip here is the fix i had no idea what im doing but follows 2 reply advice in here to dload software and clone etc and it worked! thankyou heres the final bins. if somebopdy can teach me how to get screen working on the other that would be epic ill do it right away and share it...

djcasper1975 commented 3 months ago

ESP32_2432S028_2USB

Hello. I have no idea how to work with Platformio.... Is there anyway to have the BIN file for this board and upload the firmware easier for a newbie here? Thank you. :)

@ yes i did what was said and made the files. esp-2432S028_2USB.zip

fluxres commented 2 months ago

@djcasper1975 Thanks, the files fixed my screen issues. What is the AP password ?
MineYourCoins does not work.

Russty123 commented 2 months ago

What board did you choose when flashing? Mine is a single usb. I chose the one ending in ‘R’ but screen doesnt work.

fluxres commented 2 months ago

I ended up programming through platform IO. I have the two USB variant and chose that in the build environment. It worked a treat, have programmed 4 now with no issues.

Russty123 commented 2 months ago

Yeah im on the platformio. Ive tried the 2 usb build and the and the one ending in ‘r’ mine is just single usb and the board is esp32-2432s028. When i load the 2usb build colour is pale and the image is off (see pic) and when i load the ‘r’ build screen is small. So which one build was the first one you tried before platformio? i might have to start another thread as another issue? IMG_4352

Russty123 commented 2 months ago

Screen alignment is good when mining but colours are off. Or is yours still white? Blue and orange like this? I have other miners that look better than this.

image

fluxres commented 2 months ago

First time I used the "r" variant. I had the same issues that are shown in your images. The first time I used the online microminers flash tool as per git. It's super easy. Have you tried using that ? It has worked fine for my "r" variant boards.

Russty123 commented 2 months ago

Ok i’ll give that a flash tool ago. If it fails i found this edit of the code that i will try, its inverted colours. Thanks for your time and help IMG_4355

IAmSixNine commented 2 months ago

Thank You. I have the 2 usb one and had off colors. the zip file allowed me to fix this issue. Im not a programmer but trying to learn. So thank you for posting the files I needed.

mrijkhals commented 1 month ago

I had this problem with some Arduino oled projects to, nothing to do with nerdminer. The screens were not RGB but RBG so i had to change the library in order to get it work. Maybe this fixed the issue over here to.... Anyway the new flash file worked fine thank you

BitMaker-hub commented 4 days ago

Hi, this is solved on last version 1.7.0