LinuxCNC on RPI
- scotta
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 954
- Thank you received: 486
			
	
						26 Jul 2019 23:32				#140699
		by scotta
	
	
		
			
	
			
			 		
													
	
				LinuxCNC on RPI was created by scotta			
			
				I have started to post details on how I have been getting LinuxCNC up and running on Raspberry Pi.
scottalford75.github.io/LinuxCNC-on-RPi/
I started with Raspbian but soon moved to Arch Linux due to the out of date OpenGL libraries. I will also start to put up details on my development of spiPRU that turns a cheap 32bit 3D Printer control board into a PRU (programmable real-time unit) connected to the RPi via the SPI bus. This then gives hard real-time step generators for the RPi similar to the Beaglebone inbuilt RPU’s.
For <$150 it’s now possible to have a LinuxCNC system!
Scott
					scottalford75.github.io/LinuxCNC-on-RPi/
I started with Raspbian but soon moved to Arch Linux due to the out of date OpenGL libraries. I will also start to put up details on my development of spiPRU that turns a cheap 32bit 3D Printer control board into a PRU (programmable real-time unit) connected to the RPi via the SPI bus. This then gives hard real-time step generators for the RPi similar to the Beaglebone inbuilt RPU’s.
For <$150 it’s now possible to have a LinuxCNC system!
Scott
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 4686
- Thank you received: 1433
			
	
						27 Jul 2019 03:13				#140712
		by Todd Zuercher
	
	
		
			
	
			
			 		
													
	
				Replied by Todd Zuercher on topic LinuxCNC on RPI			
			
				If making swarf for the least amount of money is your goal, dumpster dived PC is usually cheaper.
 
			
					 
			Please Log in or Create an account to join the conversation.
- scotta
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 954
- Thank you received: 486
			
	
						27 Jul 2019 06:12				#140719
		by scotta
	
	
		
			
	
			
			 		
													
	
				Replied by scotta on topic LinuxCNC on RPI			
			
				Dollars not the main driver. Size and the challenge to get it to work.  Always need a challenge to keep the interest going.
 Always need a challenge to keep the interest going.			
					 Always need a challenge to keep the interest going.
 Always need a challenge to keep the interest going.			Please Log in or Create an account to join the conversation.
- pl7i92
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1872
- Thank you received: 358
			
	
						27 Jul 2019 06:16				#140720
		by pl7i92
	
	
		
			
	
			
			 		
													
	
				Replied by pl7i92 on topic LinuxCNC on RPI			
			
				what rasperian did you choose			
					Please Log in or Create an account to join the conversation.
- tommylight
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 20843
- Thank you received: 7106
			
	
						27 Jul 2019 09:11				#140729
		by tommylight
	
	
		
			
				 
			
					
	
			
			 		
													
	
				Replied by tommylight on topic LinuxCNC on RPI			
			Arch linux !what rasperian did you choose
 
			Please Log in or Create an account to join the conversation.
- pl7i92
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1872
- Thank you received: 358
			
	
						27 Jul 2019 11:13				#140739
		by pl7i92
	
	
		
			
	
	
			 		
													
	
				Replied by pl7i92 on topic LinuxCNC on RPI			
			
				my fault language problem the version of the hardware as there are many pi versions			
					
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- scotta
- 
				 Topic Author Topic Author
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 954
- Thank you received: 486
			
	
						27 Jul 2019 21:16				#140771
		by scotta
	
	
		
			
	
			
			 		
													
	
				Replied by scotta on topic LinuxCNC on RPI			
			
				Hardware currently is RPi 3B and 3B+. Would love to get my hands on a 4 as well to test the LinuxCNC component. spiPRU is based 100% on the BCM2835 driver library by Mike McCauley. Only using the SPI portion but in theory would also give GPIO access to rtapi. The RPi 4 might have a suitable base thread... maybe not..			
					Please Log in or Create an account to join the conversation.
- pl7i92
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 1872
- Thank you received: 358
			
	
						28 Jul 2019 15:53				#140807
		by pl7i92
	
	
		
			
	
			
			 		
													
	
				Replied by pl7i92 on topic LinuxCNC on RPI			
			
				the rapberryCNc club saying it is significant slower then the 3B version on printer setup			
					Please Log in or Create an account to join the conversation.
- Bari
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 631
- Thank you received: 232
			
	
						03 Aug 2019 18:21				#141280
		by Bari
	
	
		
			
	
			
			 		
													
	
				Replied by Bari on topic LinuxCNC on RPI			
			
				Are they building a preemp_rt kernel? Which kernel version?
How much space can i save by using a Rpi to control this vs a PC?
imgur.com/ey5VtXu
Just kidding. The Rpi4 has an integrated Ethernet controller so you should be able to use Mesa Ethernet cards to control stepper, servos and galvos.
					How much space can i save by using a Rpi to control this vs a PC?
imgur.com/ey5VtXu
Just kidding. The Rpi4 has an integrated Ethernet controller so you should be able to use Mesa Ethernet cards to control stepper, servos and galvos.
Please Log in or Create an account to join the conversation.
- Hakan
- Away
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 975
- Thank you received: 332
			
	
						03 Aug 2019 21:13				#141297
		by Hakan
	
	
		
			
	
	
			 		
													
	
				Replied by Hakan on topic LinuxCNC on RPI			
			
				I have tested that. Works fine.
			
					
		The following user(s) said Thank You: Mike_Eitel 	
			Please Log in or Create an account to join the conversation.
		Time to create page: 0.078 seconds	
