EMC2 running on Raspberry Pi?
- michael.oosten
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 1
16 Feb 2014 05:15 #43889
by michael.oosten
Replied by michael.oosten on topic EMC2 running on Raspberry Pi?
And both pre built image files at the bottom of this page wiki.linuxcnc.org/cgi-bin/wiki.pl?RaspbianXenomaiBuild don't exist anymore. Does anyone still have a proper prebuilt image?
Please Log in or Create an account to join the conversation.
17 Feb 2014 05:05 #43905
by ADBensi
Replied by ADBensi on topic EMC2 running on Raspberry Pi?
I have one it is working over GPIO and SPI (Picnc Jr). I can put it in my Google Drive and share with you, or upload in your server if have one. Tell me in Private mode.
The following user(s) said Thank You: michael.oosten
Please Log in or Create an account to join the conversation.
- denschmitz
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
20 Feb 2014 08:35 #43993
by denschmitz
Replied by denschmitz on topic EMC2 running on Raspberry Pi?
I've spent a very interesting span of time reading this thread last week, especially since I just ran across an unexpected need to replace a blown out controller and drive. The implementation is very interesting with the spi port expander, however this whole using linux for real-time ish stuff makes me nervous.
So I ran across some hardware yesterday which looks like it's almost gettable:
www.kickstarter.com/projects/1575992013/...r-raspberry-pi-beagl
A spartan 6 plugged into a rpi could could do all the heavy lifting. All the lifting even.
There are some points about open-source simulators and stuff, but you can use free Xilinx webpack software to synthesize your VHDL, which works for me.
Interesting story about that kickstarter project. I think there are something like a million engineering students that want to run their robots with the rpi. Their target was $6,000 and they got $114,000.
So I ran across some hardware yesterday which looks like it's almost gettable:
www.kickstarter.com/projects/1575992013/...r-raspberry-pi-beagl
A spartan 6 plugged into a rpi could could do all the heavy lifting. All the lifting even.
There are some points about open-source simulators and stuff, but you can use free Xilinx webpack software to synthesize your VHDL, which works for me.
Interesting story about that kickstarter project. I think there are something like a million engineering students that want to run their robots with the rpi. Their target was $6,000 and they got $114,000.
Please Log in or Create an account to join the conversation.
20 Feb 2014 09:58 #43994
by jmelson
and now LinuxCNC since 1998! So, that is over 14 years! I've never had a system
crash while I was machining in all that time.
But, if you need a controller NOW, I might recommend something more mature.
Pico Systems (that's me) makes FPGA controller boards for analog servo control,
digital (PWM) servo control or step/direction drives. Mesa also makes products
that do the same thing. I've been making my analog servo interface since 2001,
and the stepper and PWM servo controller since about 2003.
Jon
Replied by jmelson on topic EMC2 running on Raspberry Pi?
Why does this make you nervous? I've been running my Bridgeport on EMC, then EMC2I've spent a very interesting span of time reading this thread last week, especially since I just ran across an unexpected need to replace a blown out controller and drive. The implementation is very interesting with the spi port expander, however this whole using linux for real-time ish stuff makes me nervous.
and now LinuxCNC since 1998! So, that is over 14 years! I've never had a system
crash while I was machining in all that time.
But, if you need a controller NOW, I might recommend something more mature.
Pico Systems (that's me) makes FPGA controller boards for analog servo control,
digital (PWM) servo control or step/direction drives. Mesa also makes products
that do the same thing. I've been making my analog servo interface since 2001,
and the stepper and PWM servo controller since about 2003.
Jon
Please Log in or Create an account to join the conversation.
- denschmitz
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
20 Feb 2014 10:51 #43995
by denschmitz
Bear with me; I come from a world of validated compilers (greenhills) and hardware control logic. Linux seems all loose and floppy to me.
It seems that the kickstarter project is aimed at a broader market. Anything built with it would need way better I/O protection, but it's cheap and I can write VHDL in my sleep. I've been looking through the other two companies you mentioned and will follow up off forum.
Replied by denschmitz on topic EMC2 running on Raspberry Pi?
Why does this make you nervous?I've spent a very interesting span of time reading this thread last week, especially since I just ran across an unexpected need to replace a blown out controller and drive. The implementation is very interesting with the spi port expander, however this whole using linux for real-time ish stuff makes me nervous.
Bear with me; I come from a world of validated compilers (greenhills) and hardware control logic. Linux seems all loose and floppy to me.
But, if you need a controller NOW, I might recommend something more mature.
Pico Systems (that's me) makes FPGA controller boards for analog servo control,
digital (PWM) servo control or step/direction drives. Mesa also makes products
that do the same thing. I've been making my analog servo interface since 2001,
and the stepper and PWM servo controller since about 2003.
It seems that the kickstarter project is aimed at a broader market. Anything built with it would need way better I/O protection, but it's cheap and I can write VHDL in my sleep. I've been looking through the other two companies you mentioned and will follow up off forum.
Please Log in or Create an account to join the conversation.
20 Feb 2014 12:26 #43998
by jmelson
constant attack from hackers, yet it has been up for 235 days straight, now.
I've been using various versions of LinuxCNC and its EMC predecessors
for 14 years, and NEVER, ONCE, had an actual failure of the CNC software
or the OS in that entire time! (Before 1998, there was a hard to track bug
that caused the Linux kernel to occasionally hang, but the CNC motion
control kept running, and finished the part anyway.) I'm astonished with
how reliable it has been. Before my first use of EMC, I used an Allen-Bradley
CNC control, and it broke down 3 times in 9 months or so, and I got
very tired of fixing it. I'm an old minicomputer guy, so i could fix it, but
I preferred to make parts rather than tinkering with the control.
Jon
Replied by jmelson on topic EMC2 running on Raspberry Pi?
]Why does this make you nervous?
Well, I think the reliability of the product speaks for itself. My web server is underBear with me; I come from a world of validated compilers (greenhills) and hardware control logic. Linux seems all loose and floppy to me.
constant attack from hackers, yet it has been up for 235 days straight, now.
I've been using various versions of LinuxCNC and its EMC predecessors
for 14 years, and NEVER, ONCE, had an actual failure of the CNC software
or the OS in that entire time! (Before 1998, there was a hard to track bug
that caused the Linux kernel to occasionally hang, but the CNC motion
control kept running, and finished the part anyway.) I'm astonished with
how reliable it has been. Before my first use of EMC, I used an Allen-Bradley
CNC control, and it broke down 3 times in 9 months or so, and I got
very tired of fixing it. I'm an old minicomputer guy, so i could fix it, but
I preferred to make parts rather than tinkering with the control.
Jon
Please Log in or Create an account to join the conversation.
21 Feb 2014 06:49 #44029
by ADBensi
Replied by ADBensi on topic EMC2 running on Raspberry Pi?
With respect, I know FPGA, however, I ran the application with Picnc Jr on DMA and it leaves nothing to be desired. In fact, directly by GPIO had a poor guarantee the regularity of the pulses and the same does not occur with SPI + DMA;
That would be better if I could show some result migrating it to Cubieboard A20 (dual core with DDR3).
Best Regards,
That would be better if I could show some result migrating it to Cubieboard A20 (dual core with DDR3).
Best Regards,
Please Log in or Create an account to join the conversation.
27 Feb 2014 10:18 #44221
by ADBensi
Replied by ADBensi on topic EMC2 running on Raspberry Pi?
Today is a great day
First result with Xenomai in A10 All Winner
RTT| 00:14:01 (periodic user-mode task, 100 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst
RTD| 0.124| 0.999| 9.624| 0| 0| 0.041| 15.999
RTD| 0.083| 1.041| 10.624| 0| 0| 0.041| 15.999
RTD| 0.124| 1.083| 13.791| 0| 0| 0.041| 15.999
RTD| 0.124| 1.041| 9.999| 0| 0| 0.041| 15.999
RTD| 0.124| 0.999| 9.791| 0| 0| 0.041| 15.999
RTD| 0.124| 0.999| 9.708| 0| 0| 0.041| 15.999
RTD| 0.124| 0.999| 9.583| 0| 0| 0.041| 15.999
Linux cubie 3.4.12-xenomai #2 PREEMPT Tue Feb 25 01:22:02 BRT 2014 armv7l GNU/Linux
A10 @ 1.01 GHz
total used free shared buffers cached
Mem: 815M 143M 671M 0B 20M 66M
-/+ buffers/cache: 56M 758M
Next: get SPI code from Raspberry and put on A10
First result with Xenomai in A10 All Winner
RTT| 00:14:01 (periodic user-mode task, 100 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst
RTD| 0.124| 0.999| 9.624| 0| 0| 0.041| 15.999
RTD| 0.083| 1.041| 10.624| 0| 0| 0.041| 15.999
RTD| 0.124| 1.083| 13.791| 0| 0| 0.041| 15.999
RTD| 0.124| 1.041| 9.999| 0| 0| 0.041| 15.999
RTD| 0.124| 0.999| 9.791| 0| 0| 0.041| 15.999
RTD| 0.124| 0.999| 9.708| 0| 0| 0.041| 15.999
RTD| 0.124| 0.999| 9.583| 0| 0| 0.041| 15.999
Linux cubie 3.4.12-xenomai #2 PREEMPT Tue Feb 25 01:22:02 BRT 2014 armv7l GNU/Linux
A10 @ 1.01 GHz
total used free shared buffers cached
Mem: 815M 143M 671M 0B 20M 66M
-/+ buffers/cache: 56M 758M
Next: get SPI code from Raspberry and put on A10
Please Log in or Create an account to join the conversation.
28 Feb 2014 20:54 #44260
by kinsa
Replied by kinsa on topic EMC2 running on Raspberry Pi?
Just an update guys,
I have ported the picnc board to run on a hacked A13 tablet . The camera interface has to be disabled to get access to the spi pins.
A portable touchscreen based LCNC controller is now possible.
Cheers!
I have ported the picnc board to run on a hacked A13 tablet . The camera interface has to be disabled to get access to the spi pins.
A portable touchscreen based LCNC controller is now possible.
Cheers!
Please Log in or Create an account to join the conversation.
01 Mar 2014 09:05 #44277
by ADBensi
Replied by ADBensi on topic EMC2 running on Raspberry Pi?
Hello,
Very interesting, congratulations!
Kinsa, A13 is very similar to the A10. : D
I'm with RT kernel in A10, and this weekend I would port the code SPI / GPIO from raspberry. Apparently you did it, can you help me?
If you can show me the settings you made ...
Best Regards
Very interesting, congratulations!
Kinsa, A13 is very similar to the A10. : D
I'm with RT kernel in A10, and this weekend I would port the code SPI / GPIO from raspberry. Apparently you did it, can you help me?
If you can show me the settings you made ...
Best Regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.262 seconds