- Posts: 3
- Thank you received: 0
EMC2 running on Raspberry Pi?
- michael.oosten
- Offline
- New Member
-
Please Log in to join the conversation.
Please Log in to join the conversation.
- denschmitz
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
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 to join the conversation.
Why does this make you nervous? I've been running my Bridgeport on EMC, then EMC2denschmitz wrote: 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.
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 to join the conversation.
- denschmitz
- Offline
- New Member
-
- Posts: 2
- Thank you received: 0
jmelson wrote:
Why does this make you nervous?denschmitz wrote: 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.
jmelson wrote: 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 to join the conversation.
]jmelson wrote: Why does this make you nervous?
Well, I think the reliability of the product speaks for itself. My web server is underdenschmitz wrote: Bear 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 to join the conversation.
That would be better if I could show some result migrating it to Cubieboard A20 (dual core with DDR3).
Best Regards,
Please Log in to join the conversation.

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 to join the conversation.
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 to join the conversation.
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 to join the conversation.
