Arduino I/O with Linuxcnc

More
14 years 2 months ago #23677 by Mike_Eitel
Hi Arceye

Yes, wasn't aware that Mark has it still on his page.
None of the links is correct anymore, think I will ask him changing text....

Those days ( > 10 years ) I was happy to find a way helping Mark to make some additional money..
His compiler is one of the best pieces of sw I ever saw and he always refused to get payed for an upgrade.....

I think he is not asked anymore for my app, and so fare, if someone of this forum needs it,
fele free to give me a pm.

Mike

Please Log in or Create an account to join the conversation.

More
14 years 5 days ago #25895 by Miselph
Hi Arceye,

I have just found this thread and I am very interested indeed!
Would it be possible to add analogue data as well as just bits? I figure it should be but, although I am a seasoned arduino programmer, I have never tried writing anything for Linuxcnc beyond O-code subroutines. Could you perhaps point me in the right direction regarding the changes I would need to make to the linux source code?

Thanks,

Chris

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #25896 by andypugh

Miselph wrote: Would it be possible to add analogue data as well as just bits?

As well as Arceye's .comp userspace component, there is a Python version from Jepler
emergent.unpythonic.net/01198594294

Please Log in or Create an account to join the conversation.

More
14 years 4 days ago #25923 by ArcEye
Replied by ArcEye on topic Re:Arduino I/O with Linuxcnc
Hi

Would it be possible to add analogue data as well as just bits?

Yes of course, but how you go about it probably depends upon the value ranges you will be dealing with.

There are 4 hal_type_t data types, bit, signed long int (s32), unsigned long int (u32) and float, and pins can be any of these types.

Bits are just used a lot because they easily represent switches etc.
They also can be very tightly packed in data packets of just a few bytes as per the example on page 1.

If you give me an idea of what you are trying to do, the data size etc I will have a think on it

regards

Please Log in or Create an account to join the conversation.

More
14 years 1 day ago #26124 by Miselph
Hello,

Sorry it has taken a few days for me to reply. I have been experimenting / reading your other forum topic re Arduino pendent.

If you give me an idea of what you are trying to do, the data size etc I will have a think on it


I am working on a remote pendent very similar to the one you detail in your other post but I am intending to add either an MPG wheel or a small thumb-joystick for jogging.
I suspect that this is more relevant to the stuff in your other topic so I will head over there and ask questions.
Thanks.

Please Log in or Create an account to join the conversation.

More
14 years 1 day ago #26126 by andypugh

Miselph wrote: I am working on a remote pendent very similar to the one you detail in your other post but I am intending to add either an MPG wheel or a small thumb-joystick.

What is your other hardware?

Please Log in or Create an account to join the conversation.

Time to create page: 0.289 seconds
Powered by Kunena Forum