- Hardware & Machines
 - Computers and Hardware
 - Remora - Rpi Software Stepping Using External Microcontroller via SPI
 
Remora - Rpi Software Stepping Using External Microcontroller via SPI
- cakeslob
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 922
 - Thank you received: 275
 
			
	
						17 Jul 2023 02:29		 -  17 Jul 2023 02:30		#275608
		by cakeslob
	
	
		
			
				
I got the firmware to run on stm bluepill. It only works with the clones that have 128kb memory, so you need to check that beforehand. I dont know if I can get to small enough to add sd card, but it works with the static config. I think I wrote over the usb bootloader though, so i will have to look into it. spi pin out is PA7/6/5/4/3
github.com/cakeslob/Remora/tree/nucleo_static
					
	
	
			 		
													
	
				Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			Ok the good news is I can get the firmware down to 116kb, so thats cool
I got the firmware to run on stm bluepill. It only works with the clones that have 128kb memory, so you need to check that beforehand. I dont know if I can get to small enough to add sd card, but it works with the static config. I think I wrote over the usb bootloader though, so i will have to look into it. spi pin out is PA7/6/5/4/3
github.com/cakeslob/Remora/tree/nucleo_static
		Last edit: 17 Jul 2023 02:30  by cakeslob.			
			Please Log in or Create an account to join the conversation.
- cakeslob
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 922
 - Thank you received: 275
 
			
	
						18 Jul 2023 04:37				#275714
		by cakeslob
	
	
		
			
	
	
		
			
			 		
													
	
				Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			
					Attachments:
Please Log in or Create an account to join the conversation.
- kzali
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 35
 - Thank you received: 12
 
			
	
						18 Jul 2023 08:20				#275723
		by kzali
	
	
		
			
	
			
			 		
													
	
				Replied by kzali on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			
				Hi
Is there a wiring diagram for a 600 ppr ABZ encoder to be used on a lathe. Sorry if this is a silly question!
I will be using a Nucleo64 STM32F446RE with a cnc shield v3
					Is there a wiring diagram for a 600 ppr ABZ encoder to be used on a lathe. Sorry if this is a silly question!
I will be using a Nucleo64 STM32F446RE with a cnc shield v3
Please Log in or Create an account to join the conversation.
- kzali
 - Offline
 - Junior Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 35
 - Thank you received: 12
 
			
	
						18 Jul 2023 08:23				#275724
		by kzali
	
	
		
			
	
			
			 		
													
	
				Replied by kzali on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			
				what is a bluepill remora shield			
					Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1200
 - Thank you received: 425
 
			
	
						18 Jul 2023 10:37				#275728
		by Cant do this anymore bye all
	
	
		
			
	
			
			 		
													
	
				Replied by Cant do this anymore bye all on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			
				Will depend on the type of output the encoder has, there should be a blurb in the box...or just throw up the model number and I can advise.			
					Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1200
 - Thank you received: 425
 
			
	
						18 Jul 2023 10:39				#275729
		by Cant do this anymore bye all
	
	
		
			
				
					
	
			
			 		
													
	
				Replied by Cant do this anymore bye all on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			I think Old Mate is referring to the potoo board the MCU board is on.what is a bluepill remora shield
Please Log in or Create an account to join the conversation.
- cakeslob
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 922
 - Thank you received: 275
 
			
	
						18 Jul 2023 12:36				#275734
		by cakeslob
	
	
		
			
				
Awesome, here is the repo to get the firmware and linuxcnc component
github.com/cakeslob/Remora/tree/nucleo_static
This is the sample config for the highspeed encoder, it is not a complete lathe encoder config, I am still trying to do threading on the lathe. I have a new encoder but I still need to figure things out
github.com/cakeslob/Remora/blob/nucleo_s...q/remora-xyz.hal#L68
here is the documents
github.com/cakeslob/Remora-docs/blob/nuc...rdware/nucleo446.rst
Here is highspeed encoder pinout, it is referred to as QEI encoder, the other encoders are for lowspeed low res stepper encoders
github.com/cakeslob/Remora-docs/blob/nuc...46.rst#hardware-pins
github.com/cakeslob/Remora-docs/blob/nuc...pinout-configuration
					
	
	
			 		
													
	
				Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			Hi
Is there a wiring diagram for a 600 ppr ABZ encoder to be used on a lathe. Sorry if this is a silly question!
I will be using a Nucleo64 STM32F446RE with a cnc shield v3
Awesome, here is the repo to get the firmware and linuxcnc component
github.com/cakeslob/Remora/tree/nucleo_static
This is the sample config for the highspeed encoder, it is not a complete lathe encoder config, I am still trying to do threading on the lathe. I have a new encoder but I still need to figure things out
github.com/cakeslob/Remora/blob/nucleo_s...q/remora-xyz.hal#L68
here is the documents
github.com/cakeslob/Remora-docs/blob/nuc...rdware/nucleo446.rst
Here is highspeed encoder pinout, it is referred to as QEI encoder, the other encoders are for lowspeed low res stepper encoders
github.com/cakeslob/Remora-docs/blob/nuc...46.rst#hardware-pins
github.com/cakeslob/Remora-docs/blob/nuc...pinout-configuration
I just fit the tiny cheap dev board on to an RPI shield thing so its a small setup. I thought it was neat.what is a bluepill remora shield
		The following user(s) said Thank You: kzali 	
			Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1200
 - Thank you received: 425
 
			
	
						18 Jul 2023 21:42				#275769
		by Cant do this anymore bye all
	
	
		
			
	
	
			 		
													
	
				Replied by Cant do this anymore bye all on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			
				Would this be a simple way to get Ethernet going, basically a Ethernet to SPI bridge ?
github.com/multigcs/LinuxCNC-RIO/tree/ma...PI-Bridge/WT32-ETH01
I have one in my bag of tricks and if kzali wants to test, or anyone in Sydney I can lend it out.
					github.com/multigcs/LinuxCNC-RIO/tree/ma...PI-Bridge/WT32-ETH01
I have one in my bag of tricks and if kzali wants to test, or anyone in Sydney I can lend it out.
		The following user(s) said Thank You: kzali 	
			Please Log in or Create an account to join the conversation.
- meister
 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 659
 - Thank you received: 408
 
			
	
						19 Jul 2023 07:03				#275792
		by meister
	
	
		
			
				
					
	
			
			 		
													
	
				Replied by meister on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			this will work with remoraWould this be a simple way to get Ethernet going, basically a Ethernet to SPI bridge ?
github.com/multigcs/LinuxCNC-RIO/tree/ma...PI-Bridge/WT32-ETH01
I have one in my bag of tricks and if kzali wants to test, or anyone in Sydney I can lend it out.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
 - 
				
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1200
 - Thank you received: 425
 
			
	
						19 Jul 2023 07:08				#275793
		by Cant do this anymore bye all
	
	
		
			
	
			
			 		
													
	
				Replied by Cant do this anymore bye all on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI			
			
				Sweet !			
					Please Log in or Create an account to join the conversation.
- Hardware & Machines
 - Computers and Hardware
 - Remora - Rpi Software Stepping Using External Microcontroller via SPI
 
		Time to create page: 0.226 seconds