hello all
I solved.
the issue is due to the fact that we're oblige to specify the command that we want to give for all the motors in the chain even if only one is used!
motors[0]->prepare_run(StepperMotor::BWD, 400);
motors[1]->prepare_run(StepperMotor::BWD, 400);
regards
Lorenzo
Search found 7 matches
- Tue Jul 04, 2023 11:28 am
- Forum: Projects
- Topic: How to manually move stepper motor with IHM02A1?
- Replies: 1
- Views: 10432
- Tue Jul 04, 2023 5:55 am
- Forum: Projects
- Topic: How to manually move stepper motor with IHM02A1?
- Replies: 1
- Views: 10432
How to manually move stepper motor with IHM02A1?
Hello guys,
could you please help me about an issue I have?
I'd need to move a stepper motor simply through a push button, using an F401RE and the expansion board X-NUCLEO-IHM02A1
but it doesn't work and I don't know why ... :-(
The code I'm using is coming from the official demo present in the ...
could you please help me about an issue I have?
I'd need to move a stepper motor simply through a push button, using an F401RE and the expansion board X-NUCLEO-IHM02A1
but it doesn't work and I don't know why ... :-(
The code I'm using is coming from the official demo present in the ...
- Fri Aug 05, 2022 8:45 am
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 12
- Views: 9491
Re: OLED 128x64 SSD1306 sometimes doesn't work :-(
hello hobbya,
many many thanks for your help !!
so...I don't' know why but sometime my display works fine (like *in your test) sometime not, even if connectios are fine.....
Anyway...maybe I found a "good" point.... actually it seems working fine with u8g2 library !
I hope it'll be good for next ...
many many thanks for your help !!
so...I don't' know why but sometime my display works fine (like *in your test) sometime not, even if connectios are fine.....
Anyway...maybe I found a "good" point.... actually it seems working fine with u8g2 library !
I hope it'll be good for next ...
- Thu Aug 04, 2022 9:17 am
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 12
- Views: 9491
Re: OLED 128x64 SSD1306 sometimes doesn't work :-(
hello guys no news...
I reduced the pullup resistor (now 4.7 ohm) and also I added a capacitor (1um) plus a resistor (1M) to force a reset at the beginning but nothing is changed :-(
actually the other display I have, oled 128x32, suffers less from this disturbance.
I am desperate and I don't know ...
I reduced the pullup resistor (now 4.7 ohm) and also I added a capacitor (1um) plus a resistor (1M) to force a reset at the beginning but nothing is changed :-(
actually the other display I have, oled 128x32, suffers less from this disturbance.
I am desperate and I don't know ...
- Wed Aug 03, 2022 3:24 pm
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 12
- Views: 9491
Re: OLED 128x64 SSD1306 sometimes doesn't work :-(
Have not encountered your issue with Adafruit library. Since I2C scanner did not always work it implied some sort of intermittent connection. You may also try reducing the values of the pull up resistors.
Regarding the problem with u8g2 library, an user had found a fix by swapping 2 lines of code ...
- Wed Aug 03, 2022 3:09 pm
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 12
- Views: 9491
Re: OLED 128x64 SSD1306 sometimes doesn't work :-(
hello, many thanks for your suggestion!
asap I'll try it and let you know.
Thanks and regards!!!
asap I'll try it and let you know.
Thanks and regards!!!
- Wed Aug 03, 2022 1:36 pm
- Forum: General discussion
- Topic: OLED 128x64 SSD1306 sometimes doesn't work :-(
- Replies: 12
- Views: 9491
OLED 128x64 SSD1306 sometimes doesn't work :-(
Hello guys,
I'm going crazy trying to make the small 128x64 oled display go with the Adafruit library.
The connection is I2C but the strange thing is that sometimes it works sometimes when I turn on the micro no.
The code works correctly but the display remains "off".
Why it??
I've read a few pages ...
I'm going crazy trying to make the small 128x64 oled display go with the Adafruit library.
The connection is I2C but the strange thing is that sometimes it works sometimes when I turn on the micro no.
The code works correctly but the display remains "off".
Why it??
I've read a few pages ...