Hello Robert, i copy the .cpp in the firmware dir. Flash again, but i am sorry, is the same. Move cw and ccw over the move Button works, without the Sensor enabled the Home Button works also, after enable sensor, no home button. The stepper make one tick, not more. Sorry. greetings Andreas
Hello Robert, i copy the .ccp in the firmeare dir. Flash again, but i am sorry, is the same. Move cw and ccw over the move Button works, without the Sensor enabled the Home Button works also, after enable sensor, no home button. Sorry. greetings Andreas
Hi The mistake is mine. really. It is.\ Attached is a replacement file for myrotator_comms.cpp I forget to strip out all the debugging statements that I put in when resolving other issues. Those debug statements write to the serial port, so the windows app, and ascom, that talk to the serial port received data that made no sense. Apologies, let me know it the problems go away (or not) Regards Robert
Hi The mistake is mine. really. It is.\ Attached is a replacement file for myrotator_comms.cpp I forget to strip out all the debugging statements that I put in when resolving other issues. Those debug statements write to the serial port, so the windows app, and ascom, that talk to the serial port received data that made no sense. Apologies, let me know it the problems go away (or not) Regards Robert
Hello Robert, I'm not sure if I made a mistake. I built the rotator according to schema 1.03 with DRV8825 and Firmware 2024-07 on astripboard. With the Windows App I can operate the rotator, move to an angle and home works. But if I set the "enable home senor", I can only do move, when I click home nothing happens, the motor don´t, the angle also. If I then approach the home sensor with a magnet, the angle jumps to zero and I can move again, the "find home on connect" doesn't do also anything. What...
Hi Klaus I cannot activate the home sensor. In the Windows application it says „true“ and „moving“ even though there is no movement at all. In the Sketch I type „:421#“ and it still tells „$0“ when I check with „:43#“. There is no change in speed no matter what I use (slow, medium or fast)..... Home Switch I think there is a typo wrong there, Looking at the protocol :41# $int# Get Stepmode :42int# Set Stepmode :43# $byte# Read Home Sensor logic state (true, false) :42x is used to se the STEPMODE....
Hi Robert! Since I’m a bloody beginner in respect to programming Arduino (honestly spoken -I have no idea 😊) I will stick with the USB-connection. I downloaded the Sketch – and it works (almost). However, there is the following issues… I cannot activate the home sensor. In the Windows application it says „true“ and „moving“ even though there is no movement at all. In the Sketch I type „:421#“ and it still tells „$0“ when I check with „:43#“. There is no change in speed no matter what I use (slow,...
Hi Why not use the Arduino PINs RX0 and TX1 with a resistor divider (1k and 2k Bridge) on TX of the HC-05 Because those pins are used by the USB connection. to read and control the focuser. I am not sure using 3v3 on those pins are a good idea. This means that with a Bluetooth connection no change/alteration of the Arduino code/Windows SW would be necessary…. The rotator code would need firmware changes to support bluetooth OR as the wiring on your dew heater controller were you used the PINs D12...
Hi Robert. Thank you for your immediate answer. This means that with a Bluetooth connection no change/alteration of the Arduino code/Windows SW would be necessary…. The rotator will work the same as with the USB cable – as discribed in your myDewController pdf (sorry I’m not that comfortable with such Topics…😊) Regarding the PINs for the HC-05….. why not use the Arduino PINs RX0 and TX1 with a resistor divider (1k and 2k Bridge) on TX of the HC-05 Hi Robert. Thank you for your immediate answer. This...
Hi Klaus Not so easy as I thought. The below is fairly long, comparing myFP2 against myRotator comparing pin usage etc. Should be simple if using UL2003 of L298N, difficult using DRV8825. I have never tried using different pins for Software Serial other than the ones for myFP2 (d10-d11) so cannot say for sure if other pins work. I seem to recall that sw uses a group of 8 pins and would not work if the pins were not in the same PCINT group, this 0-7 and 8-13 meaning you cannot have D2 and D10 as they...
Hi! I already build your MyDewController and I'm thrilled!!!! Since my USB ports are very limited I was happy to connect the dew controller by using the Bluetooth module HC-05 to connect to the PC. Can I also add the HC-05 to the myRotator layout/PCB and run the Arduino/WIN SW - ordo I have to adapt the sketch? Thanks Klaus
01-Aug-2024 New Firmware myRotator_Firmware-2024-07 https://sourceforge.net/projects/arduino-myrotator/files/Firmware/myRotator_Firmware-2024-07.zip/download Regards Robert
01-Aug-2024 New ASCOM driver Fixes issue of Reverse with NINA Thanks to Patrick for noting the error and testing of a fix https://sourceforge.net/projects/arduino-myrotator/files/ASCOM/myRotatorASCOMDriver-2024-06.exe/download Regards Robert
I discussed the windows application log file, You appear to have a corrupted firmware settings Run the program ClearEEPROM in the tests folder when the firmware zip file is unzipped wait for program to finish (writes to the serial port) takes around 1minute to complete Next, reprogram the chip with the firmware. Then run the Windows app Before connection. logging tab, check Messages, then goto the connection tab, set comport and comport speed (9600) and connect to the controller. If it fails please...
Robert, Wouldn't I need to be connected to the app to be able to set this? The error Im getting is upon connecting.
Hi Brannon myRotator-User-Guide-24-09.pdf ROTATOR SETUP pgs41 to 44 StepSize is a constant and should not be changed. It does not have the same meaning as in a focuser. In a rotator stepsize refers to (from pg 52) STEPSIZE Is the minimum movement of the rotator expressed as an angle (1 degree), as set as 1 degree The current firmware only supports 1 degree, there is no support for sub-degree resolution at this time. Regards Robert
Hey Robert, What page talks about the post config for setting stepsize?
Hey Robert! I sent you an email about test code for another issue and talked about this in it, but figured this might be better place to bring it up and with some more info. I ordered some Nano's and they are the newer USB C version. I created a stripboard with the Nano and a DRV8825. It was working fine and then all the sudden when trying to connect I get an error on the GUI of " Error invalid data", the log is showing it to be a associated with Case 25 Get StepSize. I thought that maybe my controller...
Hi Brannon From the log, 7/8/2024 6:18:59 PM: GetSettingsbtn_Click Get StepSize 7/8/2024 6:18:59 PM: SendString Sending=:25# 7/8/2024 6:18:59 PM: ReceiveResponse Controller response: $nan 7/8/2024 6:18:59 PM: Read_StepSize response = nan 7/8/2024 6:18:59 PM: Read_StepSize Error invalid data nan 7/8/2024 6:18:59 PM: GetSettingsbtn_Click Error invalid data Error reponse for get stepsize: nan returned, Did you run the post config as described in the PDF and set stepsize? Using PCB // If using a DRV8825...
I ended up figuring it out! One issue was my Nano wasn't taking new code even though IDE was showing successful for some reason. The second issue is on myrotator_config.h line 24-25 I believe Since Im using a DRV8825 driver and stripboard I had uncommented line 25, but unable to connect with that to the GUI. I tried to use line 22 "DRV8825 driver with a NEMA stepper motor" and no more errors. I was reading it as line 22 is for when you are using a PCB and line 25 is for when you are using a stri...
Hi Jean I have a revised version that addresses your issue. If you would like to test that, please send me an email to my gmail address. (pg 1 of user guide) regards Robert
Hi Brannon I have a revised version that addresses your issue. If you would like to test that, please send me an email to my gmail address. (pg 1 of user guide) regards Robert
Thanks for the report on the error. Makes my job easier. I will take a look Regards Robert.
Was having issues selecting #define DRVBRD_DRV8825_STRIPBRD 2 from the myrotator_config.h. Kept getting the error: #error "No driver board defined. You must define EITHER DRV8825 or ULN2003 or L298N in myrotator_config.h" ^~~~~ exit status 1 Compilation error: #error "No driver board defined. You must define EITHER DRV8825 or ULN2003 or L298N in myrotator_config.h" Noticed that the firmware file only had DRVBRD_DRV8825 defined and not DRVBRD_DRV8825_STRIPBRD. I made the change to the firmware file...
Yes that's it :-)
b) On the other hand, I have seen that it only rotates the degrees that I indicate in one direction, that is, if I indicate 90º it rotates those degrees, but if I indicate 45º, it does not rotate in the opposite direction, but rather it rotates in the same direction 45º. is an indication that you have a wiring issue with the stepper coils OR there is a fault with the DIRection line. When DIR is gnd then the stepper moves in one direction, and when DIR is high 5V then the stepper moves in the other...
b) On the other hand, I have seen that it only rotates the degrees that I indicate in one direction, that is, if I indicate 90º it rotates those degrees, but if I indicate 45º, it does not rotate in the opposite direction, but rather it rotates in the same direction 45º. is an indication that you have a wiring issue with the stepper coils OR there is a fault with the DIRection line. When DIR is gnd then the stepper moves in one direction, and when DIR is high 5V then the stepper moves in the other...
ok
b) On the other hand, I have seen that it only rotates the degrees that I indicate in one direction, that is, if I indicate 90º it rotates those degrees, but if I indicate 45º, it does not rotate in the opposite direction, but rather it rotates in the same direction 45º. is an indication that you have a wiring issue with the stepper coils OR there is a fault with the DIRection line. When DIR is gnd then the stepper moves in one direction, and when DIR is high 5V then the stepper moves in the other...
Hello, I mean, the center pin of 3144 is connected on the G. I will wait that you have a look at your code again. no hurry ;-) Thank's a lot. Jean
parece ser que es un problema de mi arduino nano. he cambiado el pin 2 (DIR) a otro pin y funciona el cambio de dirección. seguirmos probando el sonsor Hall
I have two doubts. a) I have installed the hall sensor, but it does nothing... what should I do? I guess spin until you find the magnet... but it doesn't spin or do anything... b) On the other hand, I have seen that it only rotates the degrees that I indicate in one direction, that is, if I indicate 90º it rotates those degrees, but if I indicate 45º, it does not rotate in the opposite direction, but rather it rotates in the same direction 45º. What can happen? Thank you
Thank you Robert for your time!!!!! I am a fan of yours and I want to continue using your inventions!
zip the files up and I will take a look
Hello, Robert. I'm trying to make the change so it works on an arduino pro micro... but I can't get it to compile. Am I getting into trouble? or is it feasible Sorry for insisting
Hi Jean The central pin is well connected to the -. Is that a typo error? You mean D0 on J5 Thanks for the information, because it does help to eliminate things. And you are correct about R3. That is my mistake. I have observed with the log that there is an issue detected. The issue is that after a Move home, it seems that the move starts but on the second read of ismoving the controller is returning 0 meaning it has stopped. That stop however occurs well before the move is meant to complete. I have...
And the "Find Home onb connect" in N.I.N.A. does nothing.
Hello, I will respond to your message in two installments, Here is my first response: I have a multimeter. I don't see an R3 resistor, so I didn't put one, Only R1 (4.7K) is in place. The sensor is only one chip, I added the 100nF capacitor between - and +. The central pin is well connected to the -. The small surface of the sensor is well directed towards the magnet. I will soon do the tests with the other firmware, but it seams that the magnet is well detected, I see it in the Windows application,...
Hi Jean Please zip up the firmware files u are using to program the controller. I do not mean the source files that you downloaded, I mean the ones you changed and loaded into the Arduino IDE to program the controller with. Looks like 1, motor can move ok - 05 and 06 2. a degree move 0330 worked fine 3. as yet home position not tested. Do you have a multi-meter that tests voltage? There are a couple of other things you can do whilst I wait for the files Run the ClearEEPROM program and reprogram the...
Hi Jean Please zip up the firmware files u are using to program the controller. I do not mean the source files that you downloaded, I mean the ones you changed and loaded into the Arduino IDE to program the controller with. Looks like 1, motor can move ok - 05 and 06 2. a degree move 0330 worked fine 3. as yet home position not tested. Do you have a multi-meter that tests voltage? There are a couple of other things you can do whilst I wait for the files Run the ClearEEPROM program and reprogram the...
Hi The :05# and :06# rotate the motor 360 degrees OK, but slowly. the :0330# command worked once, OK, but fast. I tried again thoses 3 commands, the :0330# did not worked anymore, even if I quit IDE and disconnect the arduino. Message appearing are ", CCW" and ", CW" The 05 and 06 worked, speed is not important. The 0330 moved rotator to absolute position angle 30 Then you repeated the commands but this time the 0330 resulted in no motor movement. that is expected Here us why The 05 and 06 are setup...
The motor speed delay is 5000. I tried on the app again, and I can give you precisions : The "Find home on connect" worked on the app. but after that, if I go to "rotator", move to 10 (for exemple) then click on "home" , the motor doesn't come back at home. If I try it again, (move to 20 witch works well) then press home again, a got a small move (one or two steps) then nothing, and the "Is moving" indication stays on "True". Impossible now to make a move (still thinks it's moving). I have to unplug...
Hello, Do I ha to only load in IDE the normal firmware? Iv've done it, here are the results: The :05# and :06# rotate the motor 360 degrees OK, but slowly. the :0330# command worked once, OK, but fast. I tried again thoses 3 commands, the :0330# did not worked anymore, even if I quit IDE and disconnect the arduino. Message appearing are ", CCW" and ", CW" Thank you.
Hi I have looked briefly at the log file, what is your setting for the Motor Speed Delay? on the Windows app, motor control tab you indicated that the motor moved a little then stopped Test home is in a folder when you unzip the firmware zip file: No need to run this now. Can you please try the following Load the Arduino IDE and load the firmware Open the Serial Port Monitor Configure for speed 9600, no line endings = see attched type the command :05# then click the Send The motor should rotate 360...
here is the app log
Hello, Thank you for your long answer, and sorry about my bad english. so, here are some procisions : I use the last firmware ans windows app : witch is myrotator 24-05 and firmware 2024 6. the PCB is DRV8825 PCB. the sensor is the A3144. Timer One is version 1.1.1 I can't find "TestHome" program... The state of the sensor in app is correct, when magnet is near it, it's "true" otherwise it's "false" When not using home sensor, everything works perfect. I have set nothing from arduino prog file, but...
Hi Jean First the obvious Using Firmware myRotator-Firmware-2024-06? Using ASCOM driver myRotator_2_4_0_5? Using Windows app myRotatorASCOMDriver-2024-04? If you are using older versions then you must first upgrade to these versions, otherwise every thing below is a waste of time. Do you have a Home Sensor fitted? What type is the Home Sensor? Photo? Link? What revision number for the Library TimerOne? Have you run the test program in the tests folder: TestHome Have you used the Windows app to verify...
Hello, I noticed something strange : When using the home sensor, It the motor run a very short way then stop, but the "is moving" stay on true. the motor sould continue running until the sensor is detected. but if I disconnect from USB then reconnect, the Home button works once, but at the second attemp (after moving to another value) it to the same. any idea? Is it a bug? Thank you. Jean
Hello, I noticed something strange : When using the home sensor, It the motor run a very short way then stop, but the "is moving" stay on true. the motor sould continue running until the sensor is detected. but if I disconnect from USB then reconnect, the Home button works once, but at the second attemp (after moving to another value) it to the same. any idea? Is it a bug? Thank you. Jean
Thank you very much for answering! Precisely today I was going to provide this solution, since I had the same problem with a rotator using moonlite. I solved it by activating "reverse" in the driver. It's a relief to know the solution, since I like myrotator much better. One question, can the code be adapted to use an Arduino Pro Micro? I say this because I have PCB boards for focusers and they would be useful for this. Thank you so much!!!
Hello everyone. Just some information which will not help the development of the project but which may possibly give a clue. I have been using MyRotateur with NINA for over a year without encountering the slightest problem. I have remained at version 125- 1 of the firmware with the ASCOM 108 driver and the Windows application 2.0.0.2 As it works perfectly I remain on this configuration. However, when I moved to version 3 of NINA I had to reverse the direction of rotation of the rotator to that the...
Good morning. After doing some tests, I have been able to verify that the rotator rotates and behaves perfectly if it is rotated through "equipment", but if NINA uses the rotator to make a frame, it no longer works well. The sky position box appears. For this reason, as of today, it cannot be used in NINA. At least, this has been my experience. Thanks Robert for the projects you do!
18-May-2024 ERROR Reported for myROTATOR DRV8825 PCB Connector J12 has the + denoted on the wrong pin. The + is actually on the other pin. I have corrected this and produced a v103 PCB. Reported by Jaroslaw Ryks, Regards Robert
Hi Carlos I have had a quick look at theNINA log. Can see where the rotator is started by NINA 2024-05-15T21:09:19.2543|INFO|RotatorVM.cs|Connect|386|Successfully connected Rotator. Id: ASCOM.myRotator.Rotator Name: myRotatorASCOM DisplayName: myRotatorASCOM Driver Version: 2404 However, NINA does appear to query for the Interface version number, Maye that is missing due to the logging level in NINA. I See a lot of other calls to the Rotator - like this 2024-05-15T22:01:57.4659|INFO|RotatorVM.cs|Sync|109|Syncing...
Hello, Robert Yesterday my rotator worked great. For it to work, the "sky position" part does not have to appear in NINA. What I found surprising is that before going to sleep the rotator was correctly in NINA and when I woke up, it had changed! I attach some screenshots of what I found and right after, when I disconnected and connected again. I tell you all this in case it helps improve this great project. Thank you
Hello! Thanks for responding so quickly Robert! I am using the latest version of firmware (downloaded it 2 weeks ago). Since it works very well with the application, could the problem be with the driver? (I don't understand what you told me in your answer) I send you NINA's log. The screenshot I sent you corresponds to 11 p.m. All the best PD. I just reinstalled the driver and it seems that "sky position" no longer appears, only mechanical position. Let's see how it goes tonight!!
Hello! Thanks for responding so quickly Robert! I am using the latest version of firmware (downloaded it 2 weeks ago). Since it works very well with the application, could the problem be with the driver? (I don't understand what you told me in your answer) I send you NINA's log. The screenshot I sent you corresponds to 11 p.m. All the best
Hi As far as I know, the ASCOM driver I supplied is compliant with the Rotator Interface v2 of ASCOM. Interface v2 does not support the "mechanical" / "position of sky" I have just checked the ascom driver source which returns interfave version 2 for the method InterfaceVersion public short InterfaceVersion { // set by the driver wizard get { tl.LogMessage("driver.InterfaceVersion", "2"); return Convert.ToInt16("2"); } } There is NO corresponding method in Interface 2 for mechanical position. Interface...
Good morning. Yesterday I was finally able to test the myrotator project. My configuration is the following: - 28JYB motor modified to bipolar - Driver DRV8825 Modified firmware only for the pins. I have done several tests in my living room, trying to spin it and it works perfectly. The problem arose when I used NINA's framing assistant. It has been unable to reach the desired turn, making erratic tests. I have also been unable to see the relationship between mechanical position (it matches the data...
I answer myself. I think it was a wiring problem. I will continue with the tests Thank you
Good morning. Yesterday I tried installing the rotator on the breadboard. Everything seems to work well, except that the motor remains powered continuously, although coil power is off (the driver and the motor start burning!!!) Could it be a wiring problem? Apparently it's fine.... Thanks and greetings
Hi Sebastian The Ky024/003 module is preferred. https://www.joy-it.net/en/products/SEN-KY003HMS It has appropriate components on the module board to ensure correct operation. if you intend NOT to use a module board, then you will need to look at the PDF datasheet for the component and see what extra components are required for correct operation. regards Robert
Hi, can i use any Hall Sensor or are there limits wich are to be respected? A3144 is not availbale at the moment on so i wanna use something like these: https://www.reichelt.de/index.html?ACTION=446&LA=3&nbc=1&q=hallsensor&q=hallsensor Any reservation for that? Sebastian
Thank you Robert, I don’t know how I missed that. Stephen Stephen Symons Sent from Gmail Mobile on my iPad On Thu, Apr 4, 2024 at 5:30 AM brownrb brownrb@users.sourceforge.net wrote: Hi Stephen Look in myrotator_defines.h towards the end of the file //#define USEMYFP2ULN2003 if defined(USEMYFP2ULN2003) undef IN1PIN undef IN2PIN undef IN3PIN undef IN4PIN// DRVBRD_myFP2ULN2003 define IN1PIN 4 define IN2PIN 5 define IN3PIN 6 define IN4PIN 7 endif //#define USEMYFP2L298N // with ULN2003 if defined(USEMYFP2L298N)...
Hi Stephen Look in myrotator_defines.h towards the end of the file //#define USEMYFP2ULN2003 #if defined(USEMYFP2ULN2003) #undef IN1PIN #undef IN2PIN #undef IN3PIN #undef IN4PIN // DRVBRD_myFP2ULN2003 #define IN1PIN 4 #define IN2PIN 5 #define IN3PIN 6 #define IN4PIN 7 #endif //#define USEMYFP2L298N // with ULN2003 #if defined(USEMYFP2L298N) #undef IN1PIN #undef IN2PIN #undef IN3PIN #undef IN4PIN // DRVBRD_myFP2ULN2003 #define IN1PIN 4 #define IN2PIN 5 #define IN3PIN 6 #define IN4PIN 7 #endif I often...
Hello, I am building my second myrotator... great project, thank you. I am certain that I found somewhere instructions on how to change pinouts that connect to IN1 to IN4 on the ULN2002 so I can use an existing Arduino/ULN2003 board for a myrotator. In spite of much searching I cannot find it again. I just want to change the Arduino mcode to use pins D4 to D7 instead of D5,6,9 and 10. Can you help me with this? Cheers, Stephen
Hi Robert. You did a fantastic job! My rotator is back in place after a few months in the box because of problems that started when I moved to win11. Thanks for all your interest trying to fix it. Windows app already worked but ascom was still lacking. Now works fine! Best whishes
Hi I have uploaded the new Firmware for myRotator. I stress this is a significant firmware update. Some features/additions have been held back in this release because the testing of those features has not been completed yet. But this release is good to go. The firmware version is now 2024-06 BEFORE programming your controller with 204-06, you MUST program the controller with the Clear EEPROM program found in the tests folder when the firmware is unzipped. The list of changes are at the end of this...
Hi I have uploaded the new Firmware for myRotator. I stress this is a significant firmware update. Some features/additions have been held back in this release because the testing of those features has not been completed yet. But this release is good to go. The firmware version is now 2024-06 BEFORE programming your controller with 204-06, you MUST program the controller with the Clear EEPROM program found in the tests folder when the firmware is unzipped. The list of changes are at the end of this...