- Posts: 109
- Thank you received: 2
LinuxCNC + Orange Pi (allwincnc)
- Cncninja
- Offline
- Premium Member
-
Less
More
5 years 2 months ago #216822
by Cncninja
Replied by Cncninja on topic LinuxCNC + Orange Pi (allwincnc)
Hey Bari,
is there a post to show how to lock speed?
is there a post to show how to lock speed?
- envyvan
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 3
5 years 2 months ago #216823
by envyvan
Replied by envyvan on topic LinuxCNC + Orange Pi (allwincnc)
Hi Forks,
Good day.
I have playaround the encoder function today and there is one issue I found with the input pin function.
I can't use the "setp arisc.gpio.PG6-pull -1" to pull the pin to ground, It mean the encoder number keeping counting, still has 0.6V on the pin.
And also seem like the encoder only likes to counting at HIGH, I need to use the pull down resistor with input pins.
But If I check the pin which is sign to the Stepper Enable pin or the DIR pin, they can set to low correctly.
I wonder If MX Master have some luck to look on it, But I realize they talk about the encoder function before, I wonder how they set there hardware and parameter.
Good day.
I have playaround the encoder function today and there is one issue I found with the input pin function.
I can't use the "setp arisc.gpio.PG6-pull -1" to pull the pin to ground, It mean the encoder number keeping counting, still has 0.6V on the pin.
And also seem like the encoder only likes to counting at HIGH, I need to use the pull down resistor with input pins.
But If I check the pin which is sign to the Stepper Enable pin or the DIR pin, they can set to low correctly.
I wonder If MX Master have some luck to look on it, But I realize they talk about the encoder function before, I wonder how they set there hardware and parameter.
- Cncninja
- Offline
- Premium Member
-
Less
More
- Posts: 109
- Thank you received: 2
5 years 2 months ago #216824
by Cncninja
Replied by Cncninja on topic LinuxCNC + Orange Pi (allwincnc)
Should I use this to install from that page, or do I need a variant for ARM?
apt install mali-t76x-x11-driver
apt install mali-t76x-wayland-driver
apt install mali-t76x-fbdev-driver
apt install mali-t76x-x11-driver
apt install mali-t76x-wayland-driver
apt install mali-t76x-fbdev-driver
- Cncninja
- Offline
- Premium Member
-
Less
More
- Posts: 109
- Thank you received: 2
5 years 2 months ago #216825
by Cncninja
Replied by Cncninja on topic LinuxCNC + Orange Pi (allwincnc)
is this for real encoders or the virtual feedback encoder?
- Dolence
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 0
5 years 2 months ago #216826
by Dolence
Replied by Dolence on topic LinuxCNC + Orange Pi (allwincnc)
Hey Ninja!
The CPU can be locked on the armbian-config tool. Select the same clock for min and max and the governor as performance.
Also, edit your /boot/armbianEnv.txt and add this to the end of it:
On your INI file, you have to add the option to ignore if the machine was homed or not, since you don't have the switches/sensors wired yet. It can be done by adding this to the TRAJ section:
I'm still having some issues. So please, report your test results here! Thanks.
The CPU can be locked on the armbian-config tool. Select the same clock for min and max and the governor as performance.
Also, edit your /boot/armbianEnv.txt and add this to the end of it:
Code:
extraargs=isolcpus=1,2,3 idle=poll
On your INI file, you have to add the option to ignore if the machine was homed or not, since you don't have the switches/sensors wired yet. It can be done by adding this to the TRAJ section:
Code:
NO_FORCE_HOMING = 1
I'm still having some issues. So please, report your test results here! Thanks.
- envyvan
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 3
5 years 2 months ago #216827
by envyvan
Replied by envyvan on topic LinuxCNC + Orange Pi (allwincnc)
I use the encoder funtion to connect the MPG Jog wheel.
Not the one for feedback.
I'm not sure the SOC board have enough CPU power to do the real encoder close loop stuff.
Not the one for feedback.
I'm not sure the SOC board have enough CPU power to do the real encoder close loop stuff.
Time to create page: 0.498 seconds