47 résultats trouvés

par Micropuller
lun. 4 déc. 2023 22:22
Forum : Cartes arpschuino / arpschuino boards
Sujet : Steppermotor homing?
Réponses : 27
Vues : 15301

Re: Steppermotor homing?

It's been a while since I visited the forum and also since I've used the Arpschuino. Although I have been wanting to try out the new code for some time, as it looked really promising. Today I finally had some time to update the board and put together a setup for testing. It took some experimenting, ...
par Micropuller
lun. 6 mars 2023 22:02
Forum : Codes officiels / Official codes
Sujet : Nouveau firmware en beta test - New firmware in beta test
Réponses : 66
Vues : 30158

Re: Nouveau firmware en beta test - New firmware in beta test

Thanks! I got it working. If I'm not mistaken, the homing function hasn't been added to this version of the firmware yet? I tried to add the same code that worked for me in 1.0.1, but it threw two errors: - too few arguments in function call (referring to: "m_stepper .refresh(255, 50);") -...
par Micropuller
lun. 6 mars 2023 00:54
Forum : Codes officiels / Official codes
Sujet : Nouveau firmware en beta test - New firmware in beta test
Réponses : 66
Vues : 30158

Re: Nouveau firmware en beta test - New firmware in beta test

Hi Jacques, I just uploaded version 1.1.4, but I'm under the impression I did something wrong. I downloaded the source code from the site and used Visual Studio Code to upload it to the Arpschuino (as I still can't get the automatic update function to work). When I let PlatformIO perform an "Up...
par Micropuller
mar. 24 janv. 2023 16:02
Forum : Cartes arpschuino / arpschuino boards
Sujet : [RéSOLU] Steppermotor moves erratically when DMX value is ramped up slowly
Réponses : 33
Vues : 10087

Re: Steppermotor moves erratically when DMX value is ramped up slowly

Yes, that could be what caused it.
I'm still not sure why it happened only when the motor was rotating in one specific direction though. And why it went away after I added the delays?
par Micropuller
lun. 23 janv. 2023 20:57
Forum : Cartes arpschuino / arpschuino boards
Sujet : [RéSOLU] Steppermotor moves erratically when DMX value is ramped up slowly
Réponses : 33
Vues : 10087

Re: Steppermotor moves erratically when DMX value is ramped up slowly

I think I have found the problem (and it was completely my fault). I had pulse- and dir- connected to V+ and pulse+ and dir+ to the pulse and dir pins. This was all because I was trying to use the Arpstepper with both the A4988 and an external drive. I was using a bridge that I have been using with ...
par Micropuller
lun. 23 janv. 2023 14:00
Forum : Cartes arpschuino / arpschuino boards
Sujet : [RéSOLU] Steppermotor moves erratically when DMX value is ramped up slowly
Réponses : 33
Vues : 10087

Re: Steppermotor moves erratically when DMX value is ramped up slowly

This is what I measure when the motor takes one step forward (DMX value increases by one). Channel 1 = step pin. Channel 2 = dir pin. 400 steps/revolution number of revolutions: 27 WhatsApp Image 2023-01-23 at 20.49.32.jpeg WhatsApp Image 2023-01-23 at 20.49.32 (2).jpeg WhatsApp Image 2023-01-23 at ...
par Micropuller
ven. 20 janv. 2023 12:15
Forum : Cartes arpschuino / arpschuino boards
Sujet : Steppers start rotating after homing when DMX signal not available
Réponses : 5
Vues : 3113

Re: Steppers start rotating after homing when DMX signal not available

I already tried that (sorry, I forgot to mention it), but I get the same result. Maybe I I put it in the wrong place? Serial.println("Homing ..."); uint8_t zeroSwitch[4]{Arp8,Arp9,Arp10,Arp11}; for (int i=0; i < 4; ++i) { pinMode(zeroSwitch[i], INPUT_PULLUP); m_stepper[i].refresh(255, 50);...
par Micropuller
ven. 20 janv. 2023 12:01
Forum : Cartes arpschuino / arpschuino boards
Sujet : [RéSOLU] Steppermotor moves erratically when DMX value is ramped up slowly
Réponses : 33
Vues : 10087

Re: Steppermotor moves erratically when DMX value is ramped up slowly

I tried it and unfortunately it didn't work. As far as I can see (measure), if the motor is uninverted and the DMX value is ramped up, the dir pin is pulled high every time a step is made (when I ramp up the DMX value really slowly, you can count the individual steps). Between steps, the dir pin is ...
par Micropuller
jeu. 19 janv. 2023 19:54
Forum : Cartes arpschuino / arpschuino boards
Sujet : Steppers start rotating after homing when DMX signal not available
Réponses : 5
Vues : 3113

Re: Steppers start rotating after homing when DMX signal not available

I tried that, but when I do and I switch on the DMX signal after the motors have homed (first channel = position = @zero, second channel = speed = @max speed), this happens: - the motor with the A4988 doesn't move. - the motor with the external stepperdriver does half a rotation forward. - after tha...