Hi,
I'm controlling a stepper motor with the Core2 with a Stepper motor driver V1.1 attached to it.
I'm managing to control the motor using Uiflow2 V2.3.8, but couldn't find a way to move the motor a predefined number of steps. It is only possible to start or stop it.
Is there a way to move it number of steps with Uiflow2, or adding some python code manually?
Or perhaps it is possible to move the motor by sending pulses on it's Step pin?
Thanks
Posts made by BR123456
-
Moving stepper motor a predefined number of steps using "Stepper motor driver V1.1"posted in Modules
-
RE: I2C issues on the TAB5posted in UiFlow 2.0
@felmue Hi Felix,
I will try your suggestion, thanks!Boaz
-
I2C issues on the TAB5posted in UiFlow 2.0
Hi,
I'm trying to handle some stepper motors using the "stepmotor driver module V1.1" on the UIflow 2.3.8 IDE.
I'm connecting the module to the M-Bus at the back of the TAB5, but the TAB5 won't recognize it and won't show it on the I2C list using the default scanner that comes with the official TAB5 UIflow2 firmware.
It does recognize an 8Servo unit when connected to the I2C Port.A at the side of the TAB5.
I've tried also connecting a 4in8out module on the TAB5 M-Bus, but it is not recognized as well.
The 2 modules (stepmotoer driver and 4in8out ) do work when connected to a Core2 M-Bus, so these units are OK.
It's either my TAB5 arrived faulty, or there is an issue with the I2C on the M-Bus of the TAB5, at least when using UIFlow2 IDE.
Any suggestions? -
TAB5 I2C issues using UIflow2posted in Cores
Hi,
I'm trying to handle some stepper motors using the "stepmotor driver module V1.1" on the UIflow 2.3.8 IDE.
I'm connecting the module to the M-Bus at the back of the TAB5, but the TAB5 won't recognize it and won't show it on the I2C list using the default scanner that comes with the official TAB5 UIflow2 firmware.
It does recognize an 8Servo unit when connected to the I2C Port.A at the side of the TAB5.
I've tried also connecting a 4in8out module on the TAB5 M-Bus, but it is not recognized as well.
The 2 modules (stepmotoer driver and 4in8out ) do work when connected to a Core2 M-Bus, so these units are OK.
It's either my TAB5 arrived faulty, or there is an issue with the I2C on the M-Bus of the TAB5, at least when using UIFlow2 IDE.
Any suggestions? -
RE: Custom blocks and Remote+posted in UiFlow 2.0
@dlhawley I never tried making custom blocks, but i assume that after saving them you have to add them to your custom block library using the big + button.

You can ask one of the AI chats, I use Gemini, in most cases it knows UiFlow2 pretty well.
-
Controlling built-in USB ports in TAB5posted in UiFlow 2.0
Hi,
I have tried using the USB-A port on the TAB5 as a host for sending serial commands to a 3D printer, but it seems there are no supporting blocks in UiFlow2 for accessing the USB ports.
Did I miss something?
Will there be support for this in the future?
Thanks. -
RE: Custom blocks and Remote+posted in UiFlow 2.0
@DaveAstator If you're still interested in this topic, you now have the "Custom" Block designer.

-
RE: Option to compile the UIFlow2 codeposted in Features Wish List
@ajb2k3 I'm not so sure. It is a fairly large request, and probably needs funding. It needs to be initiated by the suppliers, only then it will be directed to the micropython writers.
-
RE: Display not refreshing within loopsposted in UiFlow 2.0
@felmue Thanks.
I thought of doing this, but it is a kind of a patch, not a fix. The whole advantage of having callbacks functions that perform distinct operations outside of the main loop is almost eliminated by doing this. The main loop need to be as clean as possible, otherwise very quickly it becomes very long and messy.
Functions outside the main loop should be working properly, unless there is a fundamental reason why they cant access the display libraries properly.
It looks like a fundamental bug in how the firmware on the TAB5 treats the external functions. -
Option to compile the UIFlow2 codeposted in Features Wish List
This is a big one, but will make lot's of users very happy.
Add the option to compile the micropython code generated by the UIFlow2 IDE and load it to the controller (like in the Arduino IDE).
Development will be done using the current mode of using the firmware on the controller to run the micropython code (as an interpreter). This makes the development very convenient, user friendly and quick.
After the development is done, the user can compile the code to binary code and load it on the controller for best performance. -
Code acceleration optionsposted in Features Wish List
Code acceleration options such as add a @micropython.native decorator before critical functions in order to boost their performance.
Perhaps add a simple "Real Time" library of blocks including some low level blocks. -
Display not refreshing within loopsposted in UiFlow 2.0
Hi,
On UIFlow 2.3.5, TAB5:
The display is not refreshing during a loop that changes a label text.
It only refreshes to the last operation of the loop by the end of the loop.
I have a callback function for a simple push button that counts from 1 to 100 and displays the count with a label. It only shows the last number by the end of the loop.
When this exact loop is placed in the main loop it works well.
I tried the following without success:- Add manual command to the python code: M5.update() within the loop: no refresh
- Tried a bar to display the count: bar length not refreshing
- Added in the loop a sleep command up to a full second: no refresh
It seems that an external loops (to the main loop) don't get the attention of the display library, only when this loop is in the main loop.
-
Running binary files from UIFLOW2posted in UiFlow 2.0
Hi,
Is there a possibility to run compiled files (binary executables) from a micro python code when a controller (Core2 or Tab5) is running a UIFlow2 firmware?Thanks