Go to advanced search

by kinsa
Tue Oct 04, 2016 12:02 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

I would suggest that you try linuxcnc running on a PC first. I don't know what hardware you have, maybe it can be directly used under linuxcnc. Otherwise, if you want to make use of all the axis then you'll need to use the fpga based cards such as those provided by Mesa. Another thing to consider is...
by kinsa
Thu Aug 11, 2016 1:25 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Here's the BOM that bob had used: picnc_parts.txt

Note that this is for the LPT board.
by kinsa
Tue Jul 05, 2016 10:17 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Can't see your pic ;-)

The instructions to enable the PWM on the output pins can be found here.

For an active high enable output, disconnect pin 4 of U2 and connect it to v+. If you're using an IC socket, just lift pin 4 and solder a jumper wire directly to the pin.
by kinsa
Mon Jul 04, 2016 12:25 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Hi,

Please try the sd image at 0ptr.link to rule out issues with the OS. Also post a picture of your setup.

Most of the problems are due to the spi wiring. The wiring have to be kept short as it is sensitive to electrical noise.

Cheers
by kinsa
Sat Jun 04, 2016 9:31 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Is the old image using the updated mk debs?

If not, try updating it using the official mk repository and test again.

For RPi3, I don't have the hardware and I'm not sure preempt-rt kernel works on it.
by kinsa
Sat May 07, 2016 11:48 pm
Forum: Advanced users
Topic: CONFIG_PREEMPT_RT on Raspberry Pi
Replies: 88
Views: 48215

Re: CONFIG_PREEMPT_RT on Raspberry Pi

Can you post your config.txt?
by kinsa
Thu Apr 28, 2016 7:38 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

I'm not sure anyone here has a lathe setup.

You'll get better response if you post here: https://groups.google.com/forum/#!forum/machinekit

Make sure you include all info about your setup.
by kinsa
Wed Apr 27, 2016 1:33 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

PICnc is a hardware implementation of the hal software stepgen component.

You can read the description here: http://linuxcnc.org/docs/html/hal/rtcomps.html#_stepgen

We're using the Step Type 0 mode.

Regards
by kinsa
Tue Apr 19, 2016 1:06 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

You can use the not component to invert a hal signal.

See here: http://linuxcnc.org/docs/2.5/html/hal/b ... .html#_not
by kinsa
Mon Mar 28, 2016 2:54 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

There's a known working 4.1 xenomai kernel for RPi 1. I just need to test it first before packaging ;-)
by kinsa
Sun Mar 27, 2016 12:15 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

I think the first gen RPi will only be useful with the xenomai kernel. Unfortunately machinekit hasn't been ported to the latest xenomai version, 3.0, so we'll be stuck with the old kernel. I'll try to update the xenomai kernel to include all the drivers but I don't have an old RPi at the moment so ...
by kinsa
Thu Mar 24, 2016 11:17 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Thanks for the feedback.

Looks like rt-preempt is not useable for older boards unless you slow down the usb speed by setting dwg_otg.speed=1.

I'll try to find an updated xenomai kernel and will post it soon.

Cheers.
by kinsa
Fri Mar 18, 2016 12:27 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Fixed the instructions, thanks!

Here's the example hal for driving the gpios: https://github.com/machinekit/machineki ... o_demo.hal
by kinsa
Fri Mar 18, 2016 10:32 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Are you using the latest bootloader?

I have not used the gpio directly. Maybe you can ask jam1 for his hal file as he was able to control steppers using gpio only.
by kinsa
Sat Mar 12, 2016 11:31 am
Forum: Advanced users
Topic: CONFIG_PREEMPT_RT on Raspberry Pi
Replies: 88
Views: 48215

Re: CONFIG_PREEMPT_RT on Raspberry Pi

BTW, linux 4.4 needs an updated bootloader, do:

Code: Select all

sudo apt-get update
sudo apt-get install -y raspberrypi-bootloader
by kinsa
Mon Mar 07, 2016 3:10 pm
Forum: Advanced users
Topic: CONFIG_PREEMPT_RT on Raspberry Pi
Replies: 88
Views: 48215

Re: CONFIG_PREEMPT_RT on Raspberry Pi

I have patched 4.4 kernels for RPi1/2 available here. To install for RPi2: apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 43DDF224 echo "deb http://deb.machinekit.io/debian raspbian main" > /etc/apt/sources.list.d/machinekit.list apt-get update apt-get install -y linux-image-rpi2-rt cd /boo...
by kinsa
Mon Mar 07, 2016 3:05 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Updated instructions for RPi2.

Cheers
by kinsa
Sun Mar 06, 2016 5:15 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Unless someone ports xenomai to run on the latest kernels, there will be none ;)

64 bit is too new. If someone has an developed an RT kernel for it I'll be glad to host it.

Cheers
by kinsa
Sat Mar 05, 2016 2:07 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

Hi, I found an article about experimental hardware accelerated OpenGL driver for Raspberry Pi. http://hexus.net/tech/news/graphics/90491-raspberry-pi-2-gets-hardware-accelerated-opengl-support/ I want to ask, now I using image RPi2-machinekit-1.0 and there is low performance of LinuxCNC GUI on RasP...
by kinsa
Sat Mar 05, 2016 2:02 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Machinekit Raspbian Jessie for RPi1 and RPi2

Here are the preliminary steps to create an updated Machinekit installation based on Raspbian Jessie for RPi v1 and v2: Download and install MINIBIAN The default un/pw is root/raspberry Install raspi-config apt-get update apt-get install -y raspi-config raspberrypi-bootloader Configure RPi raspi-con...
by kinsa
Sun Feb 07, 2016 11:26 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

No drivers.

But I will be upgrading all the images soon.

Requests are welcome ;-)
by kinsa
Sun Jan 10, 2016 8:43 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

are you compiling the firmware using RPi?

Code: Select all

/usr/local/pic32-tools/bin/pic32-gcc: 1: /usr/local/pic32-tools/bin/pic32-gcc: Syntax error: "(" unexpected
make: *** [main.o] Error 2
this error is due to wrong pic32-gcc architecture.
by kinsa
Sat Jan 09, 2016 11:33 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

What OS and compiler version are you using?

You can use the pre-compiled to flash your board.
by kinsa
Wed Jan 06, 2016 2:47 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

I don't sell boards, please check with bfree if he will supply just the completed board only.

His page is here.
by kinsa
Tue Dec 29, 2015 5:29 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 310587

Re: LinuxCNC

candangelen wrote: Thank you for your response. I understand that.
Do you know? Can I connect the motor driver unit to Raspberry pi + linux cnc?
If that is possible, what do I need? Regards.
The information you need is on the first post.

Go to advanced search