08-Feb-2023 PDF 323_00 released Firmware 323_00 released Robert
reply "But this does not work because OptionState is always initialized as Option_pushbtn_joystick in the first static declaration." I think you misunderstand what "static" means.
When I go through the code, I find some very interesting, but also quite confusing things. Why would you use a switch-case statement when you set the values within it? The only reason I can think of is that you want to get out of the routine very quickly and process a different block each time it is called (runs in loop()). But this does not work because OptionState is always initialized as Option_pushbtn_joystick in the first static declaration. //---------------------------------------------------...
When I go through the code, I find some very interesting, but also quite confusing things. Why would you use a switch-case statement when you set the values within it? The only reason I can think of is that you want to get out of the routine very quickly and process a different block each time it is called (runs in loop()). //--------------------------------------------------- // HANDLE ALL DEVICE CHECKS AND UPDATES // void check_options(); //--------------------------------------------------- void...
this is my cntlr_focuser.json
I do not need to do this procedure again because I already wrote in my post at 2026-01-12 that the pb_en is true in the config file directly after boot. As you can see in my video it is also showed in the management server that pushbuttons are enabled. The config file was read correctly but the information it it is not parsed correctly. Please use the code you provided under Firmware This code has errors!
It that does not fix your issue then i would a lot more info and screenshots. try the above first
Hi Comfigurations are generated at boot time, and saved automatically. On subsequent boots, the saved files are loaded instead of the initial default config files that occur after a filesystem upload. So to find an issue of something not been saved then the first area to look is the configuration files. Here is steps to follow (in the PDF HOW TO VIEW/SAVE CONTROLLER CONFIG FILES pg 234 onwards) and again in PDF Controller Configuration Files pg29 Power up controller wait for "ready" start browser...
I'm not sure if I didn't express myself clearly. English is not my native language. The settings are saved, but are not loaded when the focuser is started. I created a short demo video. VIDEO I would like to point out again that the source code provided for download does not run because the ControllerData object is not started anywhere in the code. To solve this, I added “ControllerData->Start();” to line 1495 in the ino file so that something happens at all. Was the code even tested before publication?...
what versions of the libraries and boards are you using. its important to get them correct
try enableboot messages in defines.h there is no enough info to help further
You can 1. Click SAVE on the navbar before shutting down or reboot 2. any changes you make are not saved to filesystem till 120s has elapsed 3. You can use the management server to show you the focuser configuration file. it will tell you what is enabled 4. PDF clearly states how to submit a help request
I suggest that if u dont want WiFi then use the myFP2 project instead, regards Robert
Suggestion: Would it be conceivable for the Focuser to attempt to log into the Wi-Fi via Station Mode 10 times and, if unsuccessful, to open its own AP?
Hello Eric, Thanks for your reply, but this solution won't work. Explanation: We have an observatory with visitors. When we observe visually, we focus manually. When we observe with a telescope, we focus using the PC and TheSkyX. This PC is connected to the network via a LAN cable. The observatory's WiFi access point is in another building and the connection there is often quite poor, which is why it is not possible to establish a stable connection. If no connection to this AP can be established,...
Hi, one solution is to configure your Focuser in Access Point Mode, The Focuser will emit a SSID so you can connect latter to it with you phone, PC, or tablet . And if push buttons are enebled you can use them. Another one is to share a Wifi Connecton with you phone so the focuser can connect to it (and it will be happy and not reboot) And if push buttons are enebled you can use them. Project is still alive. From: discussion@myfocuserpro2-esp32.p.re.sourceforge.net discussion@myfocuserpro2-esp32.p.re.sourceforge.net...
Is there a way to use the focuser manually without WiFi connection. If no WiFi connection can be established, the Focuser continuously restarts. This continues indefinitely. However, I would also like to use the Focuser for visual observation via the push button. This is not possible as long as it keeps restarting. I also wonder whether anyone is even reading this. I have already opened three topics and have not seen any answers to my questions, nor have I seen the firmware errors I mentioned being...
Well, I had a hardware error in my Bopard. But there is another error in the firmware itself that definitely needs to be fixed. The pushbuttons are only active when I activate them via the management server. So far, so good. But even though this setting is saved in cntlr_focuser.json, it is not reloaded when the system is restarted or rebooted. After rebooting, the push buttons don't work. I first have to go back to the management server, disable the enabled push buttons there, and then enable them...
Now that I have realized that some functions must first be activated via the management server, I am wondering how I can use the buttons to manually move the focuser. I have activated them and connected a button to each of the corresponding pins to ground. Unfortunately, none of the buttons are working.
Solved! The display is disabled by default and has to be activated via managament server.
Meanwhile I checked if my display works with the demos in the library ant this weoks well. So there must be an error in the current firmware with SSH1106 Displays.
While I had my display working in 318 firmware it isn't working in 322. I have a 1.3" OLED with SSH1106 chip. in the debig log I find an ERROR message generated by line 1561 in myFP2E32Dev_322_2.ino.
Insert ControllerData->Start(); at line 1494 in controlelrdata.cpp otherwise you can compile it without errors but it won't run
I can compile the source code but it does not run. I get messages, that the LittleFS is not found.However, I cannot find the LittleFS.begin command anywhere in the source code. How is this supposed to work?
after getteing the older firmware version running I have now another problem. With the latest firmware and similar configs I get this rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:4980 load:0x40078000,len:16612 load:0x40080400,len:3500 entry 0x400805b4 START FOCUSER START ... ControllerData START ... DrvBrd ... Reboot
after getteing the older firmware version running I have now another problem. With the latest Firmware an similar configs I get this rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:4980 load:0x40078000,len:16612 load:0x40080400,len:3500 entry 0x400805b4 START FOCUSER START ... ControllerData START ... DrvBrd ... Reboot
01-01-2026 The new focuser project that replaces this one ESP32-Dev-Module is now available. The new project supports OTA and heap more. The problem with the ESP32-DEV is that because of a huge bloat of the Arduino Core for ESP32 it meant that 4MB Flash was no longer big enough. To make the point, just create a minimal program like #include <wiff.h> void setup() {} void main() {} Select an ESP32 Dev Chip and click Verify button in Arduino IDE. The % of program space reported tells you how much the...
01-01-2026 The new focuser project that replaces this one ESP32-Dev-Module is now available. The new project supports OTA and heap more. The problem with the ESP32-DEV is that because of a huge bloat of the Arduino Core for ESP32 it meant that 4MB Flash was no longer big enough. The S3 version is much better, with 16MB Flash, room for OTA and heaps more bells and whistles. Latest Arduino IDE 2.3.7 and Latest Espressif ESP32 Core 3.3.5 supported. . You cannot use the existing PCB for ESP32-Dev on...
that fixed the compile error cheeers
I have made significant progress on the next iteration of the ESP32 Focuser. The new boards are done. The firmware written for the new boards. The update to most apps is about 75% complete The documentation is about 75% complete. I have ripped out the details explanation from the main pdf, and provided links to new user guides in the main PDF as well as the links page of Management Server myFP2ESP32_ASCOMUserGuide myFP2ESP32_INDIUserGuide myFP2ESP32-LINIXUserGuide myFP2ESP32_WindowsUserGuide This...
controller_data.h line 29 change to void Start(void); driver_board.h insert a new line after line 151 byte _ledmode; the new line 152 is int _stepmode = 1;
Hi Dave There is another update soon I will take a look and post an interim fix tommorrow Any chance of sending me your config.h file? Robert
Hi Bob hope you are well? getting a few errors compiling this. first one is in Controller_Data.h typo there is an L instead of a ; // attempt to load board config file [FOCUSER] immediately // after a firmware reprogram void Start(void)l bool LoadConfiguration(void); bool LoadBoardConfig(String); void SetFocuser_Defaults(void); which I can fix ok obs second one is this below which I cant find where its supposed to be declared or if its a typo? C:\Users\Dave\Downloads\myfp2esp32DevF_322_02\myFP2E32Dev_322_02\driver_board.cpp:...
31-10-2025 New Firmware Update ESP32DEV v322_02 https://sourceforge.net/projects/myfocuserpro2-esp32/files/Firmware/myfp2esp32DevF_322_02.zip/download Fix for stepmode not changing.