- 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: 919
- Thank you received: 274
22 Jul 2025 00:02 #332150
by cakeslob
well, maybe you dont need to use the preassigned index, you will find out i guess
i dont think you are connecting your spindle pins correctly thought. its waiting for the index enable probably
compare to this one
github.com/cakeslob/RRW_LAB/blob/inc/Lin.../remora-xyz.hal#L128
Replied by cakeslob on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
{
"Thread": "Servo",
"Type": "Digital Pin",
"Comment": "Index",
"Pin": "1.28",
"Mode": "Input",
"Invert": "True",
"Data Bit": 6
},
{
"Thread": "Servo",
"Type": "QEI",
"Comment": "spindle-encoder",
"Modifier": "Pull Up",
"PV[i]": 0,
"Data Bit": 2,
"Enable Index": "True"
},
# Spindle QEI encoder
setp encoder.0.position-scale 800.000000
net encoder-count <= remora.PV.0 => encoder.0.raw_count
net encoder-phaseZ <= remora.input.6 => encoder.0.phase-Z
# setp encoder.0.index-enable true
i dont think you are connecting your spindle pins correctly thought. its waiting for the index enable probably
compare to this one
github.com/cakeslob/RRW_LAB/blob/inc/Lin.../remora-xyz.hal#L128
The following user(s) said Thank You: Ac1dburn
Please Log in or Create an account to join the conversation.
- Ac1dburn
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 1
23 Jul 2025 20:15 - 23 Jul 2025 20:21 #332240
by Ac1dburn
Awesome, yeah my hal was a mess. I ended up just grabbing that example and tweaking what I need to to have things make sense for my machine and I'm happy to say, everything is working now. Exactly how it should, and we have threads! Thanks again!
https://imgur.com/a/dP7VYhM
Replied by Ac1dburn on topic Remora - Rpi Software Stepping Using External Microcontroller via SPI
[/i][/code]{ "Thread": "Servo", "Type": "Digital Pin", "Comment": "Index", "Pin": "1.28", "Mode": "Input", "Invert": "True", "Data Bit": 6 }, { "Thread": "Servo", "Type": "QEI", "Comment": "spindle-encoder", "Modifier": "Pull Up", "PV[i]": 0, "Data Bit": 2, "Enable Index": "True" }, well, maybe you dont need to use the preassigned index, you will find out i guess [code]# Spindle QEI encoder setp encoder.0.position-scale 800.000000 net encoder-count <= remora.PV.0 => encoder.0.raw_count net encoder-phaseZ <= remora.input.6 => encoder.0.phase-Z # setp encoder.0.index-enable true i dont think you are connecting your spindle pins correctly thought. its waiting for the index enable probably compare to this one https://github.com/cakeslob/RRW_LAB/blob/inc/LinuxCNC/ConfigSamples/remora-RRW_LAB_latheng/remora-xyz.hal#L128
Awesome, yeah my hal was a mess. I ended up just grabbing that example and tweaking what I need to to have things make sense for my machine and I'm happy to say, everything is working now. Exactly how it should, and we have threads! Thanks again!
https://imgur.com/a/dP7VYhM
Last edit: 23 Jul 2025 20:21 by Ac1dburn. Reason: I don't know how to use forums
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.056 seconds