Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
17 Jul 2023 02:29 - 17 Jul 2023 02:30 #275608 by cakeslob

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.

More
18 Jul 2023 04:37 #275714 by cakeslob
stm32f103 bluepill remora shield, so far so good

 
Attachments:

Please Log in or Create an account to join the conversation.

More
18 Jul 2023 08:20 #275723 by kzali
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

Please Log in or Create an account to join the conversation.

More
18 Jul 2023 08:23 #275724 by kzali
what is a bluepill remora shield

Please Log in or Create an account to join the conversation.

More
18 Jul 2023 10:37 #275728 by cornholio
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.

More
18 Jul 2023 10:39 #275729 by cornholio

what is a bluepill remora shield

I think Old Mate is referring to the potoo board the MCU board is on.

Please Log in or Create an account to join the conversation.

More
18 Jul 2023 12:36 #275734 by cakeslob

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

what is a bluepill remora shield

I just fit the tiny cheap dev board on to an RPI shield thing so its a small setup. I thought it was neat.
The following user(s) said Thank You: kzali

Please Log in or Create an account to join the conversation.

More
18 Jul 2023 21:42 #275769 by cornholio
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.
The following user(s) said Thank You: kzali

Please Log in or Create an account to join the conversation.

More
19 Jul 2023 07:03 #275792 by meister

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.

this will work with remora

Please Log in or Create an account to join the conversation.

More
19 Jul 2023 07:08 #275793 by cornholio

Please Log in or Create an account to join the conversation.

Time to create page: 0.189 seconds
Powered by Kunena Forum