Giter Site home page Giter Site logo

Comments (19)

paelzer avatar paelzer commented on June 20, 2024 1

@ChicoCybergoth
Did you check on a schematic if your button is connected to a regular GPIO pin? If it is a one button device and the button is connected to a pin labled EN or RESET you can't use it as it will trigger a reset. In this case you need to connect a separate button to any of the available GPIO pins. The header file for your device in the src/drivers folder must be changed as well with the GPIO you selected accordingly. If you are working with the bin files I don't know what GPIO is selected for the one you use. But in the original header file of the source for esp32 devkit it's GPIO 0.

from nerdminer_v2.

ChicoCybergoth avatar ChicoCybergoth commented on June 20, 2024 1

@paelzer I dont have the schematic, but I will explain my experience.
It has 2 buttons, EN and Boot.
With EN button I simply cant get any function.
With Boot button pressed for 5 seconds I can get the device full resetted.

@sany3001 the button function I can get is the above.
What I was trying was change the wallet without fully resetting the device.
It is a minor issue, but, would be a very good function.

from nerdminer_v2.

paelzer avatar paelzer commented on June 20, 2024 1

@sany3001
Thanks a lot for your test. I will prepare the code to check as well how it behaves with a different pin and come back to you when done. Guess somewhat around Saturday.

Boris

from nerdminer_v2.

paelzer avatar paelzer commented on June 20, 2024 1

Hello... Took longer than I promised...

By defining pin 0 as "button pin 1" in the source code and then, after compiling and flashing the board (with PLATFORMIO) the Boot labeled button works for me as it described in the readme.md.
It can switch through the different screens by single press, rotate screen by double press and clear configuration by long pressing >5 sec.

Also defining another button, I tested with GPIO 26, worked fine of course.

The board I used was the above mentioned ESP32 c3 Devkit.

With the bin files I wasn't successful, maybe they were created with different pin defines, I don't know, I didn't bother with them, platformio is more suitable and offers more flexibility for me.

Boris

from nerdminer_v2.

ChicoCybergoth avatar ChicoCybergoth commented on June 20, 2024 1

A small update.
I have got a LILYGO T-Display S3.
I could use the configuration mode normally by pressing the top button then powering the board (need to hold about 4 seconds after powering it up, the screen changes confirming), also, using the reset button instead of powering it works too (with device powered, hold the top button, click reset, wait about 4 seconds, then release the top button).

Maybe the problem is only with the ESP32-WROOM-32 firmware.

from nerdminer_v2.

19201003080114 avatar 19201003080114 commented on June 20, 2024

I'm trying to use this function: "Hold and power up > enter configuration mode and edit current config via Wifi. You could change your settings or verify them."

But without success, I've tried every possible way, NerdMiner always boots in normal function. Board ESP32-WROOM-32. V1.6.3 (bin ESP32-devKit)

You need to disconnect power, then hold the button while inserting power again.

from nerdminer_v2.

ChicoCybergoth avatar ChicoCybergoth commented on June 20, 2024

@19201003080114 yes, I have tried several times in several ways, always boots in normal mode.
I believe it is not working.

from nerdminer_v2.

sany3001 avatar sany3001 commented on June 20, 2024

Could it be there is no solution for one button device (I consider wroom to be such a device - reset button is not regular button, if I am right)?

image

My solution for similar situation was reset configuration / reflash device.

from nerdminer_v2.

19201003080114 avatar 19201003080114 commented on June 20, 2024

Could it be that your EN button is not working?

from nerdminer_v2.

ChicoCybergoth avatar ChicoCybergoth commented on June 20, 2024

@19201003080114
I have tested with 10 different modules, all behave the same.

from nerdminer_v2.

sany3001 avatar sany3001 commented on June 20, 2024

Just for info: On my board I have button RST and BOOT.

from nerdminer_v2.

paelzer avatar paelzer commented on June 20, 2024

@ChicoCybergoth
Is it this board we're talking about?
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/hw-reference/esp32/get-started-devkitc.html

from nerdminer_v2.

paelzer avatar paelzer commented on June 20, 2024

@sany3001
How does it behave for you?
I found one of these ESP32 boards with EN and Boot button. For me it also makes full reset if I hold boot button long and power up. So I need to configure everything again not just wallet.
Is it different for you, and if so, which bin do you use?

Boris

from nerdminer_v2.

sany3001 avatar sany3001 commented on June 20, 2024

from nerdminer_v2.

sany3001 avatar sany3001 commented on June 20, 2024

My board name is ESP32-S3-DevKitC-1 v1.0.
As I have mentioned I have buttons BOOT and RESET. If I keep pressed BOOT it inters boot mode when powered up. What happens with RESET hold when powered up I do not know, but in any of cases AP doesn't start so I cannot change configuration.

I believe that solution would be to add either button or just wire to ground some free pin - it needs to be either configured in firmware or maybe there is such a pin already. I would like to have a look on that. However I am not familiar with code base and I cannot promise some short term solution. But I would like to try. Hope I will find some time for that.

from nerdminer_v2.

ChicoCybergoth avatar ChicoCybergoth commented on June 20, 2024

@paelzer It looks the same as your link.
I bought the exact one in the "Build Tutorial" list.
Thank you.

from nerdminer_v2.

sany3001 avatar sany3001 commented on June 20, 2024

Will you create PR? Will you add small circuit diagram?

from nerdminer_v2.

paelzer avatar paelzer commented on June 20, 2024

Will you create PR? Will you add small circuit diagram?

Hi Sany, good evening

Do you know which of the files from platformio after compiling are the needed bin files to flash to the device with the web tool?

I will make some schematic draft next days and post here.

Boris

from nerdminer_v2.

sany3001 avatar sany3001 commented on June 20, 2024

Hi Boris,
I am sorry, I am not Nerd Miner developer, I cannot help now really.

from nerdminer_v2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.