thanks I will take a look at that tommorrow my time.
If you want to take a closer look then the firmware can inform you as to what is going on. Enable debugging in driver_board.cpp #define DRIVERBOARD_PRINT 1 2, Reprogram the controller In the Management Server, go to the SERVERS page Enable and Start DEBUG SERVER Set the debug output as SERIAL Then open the Arduino Serial Monitor You should see messages from driver_board.cpp each time a move happens, and when a push button is pressed. Just be aware that later on after all your testing is complete,...
Hi I would need to know what you have set Focuser in config.h The Halt button on the Motor page Yes. It doesn't work, It works on the Move page. Thats an easy fix. I'll do that once I have the information requested below, Push button test routine Is a standlone test program in the /tests folder. So no, there is no data to upload. It tests the buttons, nothing else. It proves that the buttons are wired correctly and the pushbutton states are set correctly. Movement commands are randomly sent to the...
Hi Gery Attached is firmware_322_10_1, list of changes, and a test for pushbuttons. Robert
Hi Gery Attached is firmware_322_10_1, list of changes, and a test for pushbuttons. Robert
Hi Gery Putting aside the Push Buttons for now, I have now progressed this much further today, and for now will end coding for the day and tackle the push buttons tommorrow my time, All other issues I believe I have addressed, I will include a summary of the changes when the new version is posted. Robert
Hi Gery I will add the PushButtons to the list of things to verify (again). It is taking much longer than expected. Have found a number of other issues not listed so far. Pushbuttons Only supported on the PCB CDLSU. The pin is set up as an input. The pin mode is INPUT_PULLUP making the esp32s3 pin float high. This means no pullup resistor is required. bool DRIVER_BOARD::init_pushbuttons(void) pinMode(_Focuser.pushbtn1, INPUT_PULLUP); pinMode(_Focuser.pushbtn2, INPUT_PULLUP); The other side of the...
Hi Gery I will add the PushButtons to the list of things to verify (again). It is taking much longer than expected. Have found a number of other issues not listed so far. Pushbuttons Only supported on the PCB CDLSU. The pin is set up as an input. The pin mode is INPUT_PULLUP making the esp32s3 pin float high. This means no pullup resistor is required. bool DRIVER_BOARD::init_pushbuttons(void) pinMode(_Focuser.pushbtn1, INPUT_PULLUP); pinMode(_Focuser.pushbtn2, INPUT_PULLUP); The other side of the...