enfieldcat / ESP32_miniThrottle

ESP32 based JMRI WiThrottle with support for locomotives (rosters), turnouts and routes. Configurable ove serial connection. Uses Arduino IDE.
5 stars 2 forks source link

Pot issue #3

Closed ajs65 closed 12 months ago

ajs65 commented 1 year ago

When using a pot with version 0.5 speed jumps from 0 to 23%. Then gets stuck at 23%. Ok with stable version using same pin and hardware setup.

enfieldcat commented 1 year ago

OK thanks for letting me know, I'll investigate. It may be a few days before I resolved it.

enfieldcat commented 1 year ago

Can you try again? I was able to replicate being stuck at 23%, found there was an issue using the wrong semaphore when accessing some variables. In my initial testing this has come right.

ajs65 commented 1 year ago

Will do, it may take me a few days. Thanks for looking at it

ajs65 commented 1 year ago

Downloaded and compiled Dev Branch, Wi-Fi seems to have stopped working. Rolled back to Stable all OK. Detail: Won't connect to AP wifiscan shows no APs wifimode set to both Can connect to ESP32, but no IP address issued to client

enfieldcat commented 1 year ago

I've made some small adjustments to the command line interface of 0.5, hopefully that will provide mode information now.

If you run "debug 2", then "wifi" and "nvs" commands with no parameters, have you lost wifi settings? (this should work even with your existing version.) Once this issue is resolved you can set "debug 1" (default) again.

If your mode is BOTH then you should have an access point running, is the miniThrottle access point accessible? If the web interface is enabled can you access the 192.168.4.1 page using a browser?

Note the storage layout on eeprom changes between versions 0.4 and 0.5. Reverting to 0.4 you should still see any setting you had previously. Going forward to 0.5 you are using a different eeprom segment, and your 0.4 settings are not accessible. I'd suggest you "export" (command) your settings before changing versions, save a copy using notepad (or any other editor), then replay them on the up-grade. Reset the upgrade and perhaps after 30 seconds rerun "wifi" or "nvs" to check your settings.

On Thu, 2 Feb 2023 at 00:05, ajs65 @.***> wrote:

Downloaded and compiled Dev Branch, Wi-Fi seems to have stopped working. Rolled back to Stable all OK. Detail: Won't connect to AP wifiscan shows no APs wifimode set to both Can connect to ESP32, but no IP address issued to client

— Reply to this email directly, view it on GitHub https://github.com/enfieldcat/ESP32_miniThrottle/issues/3#issuecomment-1411875665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIXKLEDTYP7OIKUWJYZJ6VLWVI7PBANCNFSM6AAAAAAUKLRVDM . You are receiving this because you commented.Message ID: @.***>

ajs65 commented 1 year ago

Ok all working now, have another issue. Thanks for all your help.

enfieldcat commented 12 months ago

No further comments, so closing issue.