Good job, Gene! I've been following with bated breath to see if it would work.
I'm sure there's a lot of people who would like to replicate your success. How
about a write up of how it's done on the wiki?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
"Anyone who believes exponential growth can go on forever in a finite world is
either a madman or an economist."
-Kenneth Boulding, economist
Corporations are NOT people and money is NOT speech!
From: Gene Heskett <[email protected]>
To: [email protected]
Sent: Wednesday, November 30, 2016 8:03 PM
Subject: Re: [Emc-users] another update, the r-pi 3b is running it all!
On Tuesday 29 November 2016 17:01:29 Gene Heskett wrote:
> Greetings all;
>
> The latest raspian kernel is a 4.4 something, so I re-downloaded the
> full image, copied off some of what was on the sd card that I would
> need later, then wrote the whole 4.3Gb image to the u-SD card. Then
> before I ever plugged it into the 3b, I went into the install and made
> myself user 1000, renamed the home dir, and made sure I had the apt
> source.list up to date. Had a minor battle with network-mangler, but
> finally made enough of the network stuff immutable so N-M couldn't
> screw it up. Biggest nuisance so far is that the PIXEL x server is
> "smoothing" the mouse motions, a fancy way of saying theres a big,
> second or so lag when you move the mouse, very distracting. But
> uspace-linuxcnc is running, gfx and all, on the R-Pi 3b, smoothly
> enough for this picky old man. So I'll have to find another place to
> use the odroid64-c2.
>
> I'm trying not to break my arm patting myself on the back. ;-)
>
> Cheers, Gene Heskett
And for anyone else with the slowly ooozing mouse problem on a raspi 3b,
its a known problem over on the xorg list, fixable by adding one more
command onto the end of /boot/cmdline.txt setting the
usbhid.mousepoll=0, the default is 8.
Reboot, mouse fixed.
I started two terminals, ran htop in one, a linuxcnc -l in the other and
carved a virtual lathe-pawn several times. htop on the pi reports each
cpu's load and the total of all 4 cpu's. At no point while executing the
lathe-pawn code (but w/o any encoder or limit switch inputs or the hal
code to track it written into the hal file yet), did the cpus total
loading exceed 144%. After carving the pawn several times I stopped it,
and the final report printed said there were zero latency over runs >10
thread times of 1.005 milliseconds.
I'm not done yet, but based on this, I think I have a new favorite
controller set, consisting of a raspi3b, a Mesa 7i90HD, a Mesa SpinX1 to
control the vfd, for a total of around $115 for a full blown controller.
And the whole thing runs on about 5 or 6 watts. A 1366x768 AOC monitor
weighs around 5 lbs, and uses 11 watts.
But I found, after I'd gotten that 1 hp motor installed, and was getting
enthusiastic about closing up the controller box so I could tunr it over
and drill a couple mounting holes in the top and bottom wall flanges,
that I lacked about 1/8" of being able to close the door, the gpio
connectors were hitting the side of the Z motors power supply. So break
the raspi loose from where it was and move it to a different place on
the door where there was clearance & everything comes to a screeching
halt while the Go-2 cures again. 3 clamps gently holding it in position
overnight. A possibility of having the spindle motor and encoder hooked
up but I've not run the 254 volts to that wall plug yet. Need another
10' stick of 1/2" EMT yet, and modify the garage doors left bearing to
space it out far enough from the osb that the cable clears the EMT
passing under it. Thats a nearly free bearing, cable nearly slack when
the door is up so a 6" square piece of 3/4 plywood slipped under it and
the lag screws re-installed should handle that nicely. But it all takes
time. And I'm going to lose some, I've some sores on my face that look
like skin cancer that need attended to by a surgeon in Morgantown
shortly.
And I never would have started on the raspi without
"W. Martinjak" <[email protected]>
proding and help.
Then he got ill, and hasn't replied in a while, so I hope he is
recovering from whatever.
In any event, thank you Sir!
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users