Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
3 years 2 months ago #276777 by cakeslob
Hey 3dp, glad you're back. 
Ok, let me refresh myself as well. We are using the 26pin rpi header, the spi and serial is on that. I couldnt get it to work with the bootloader, but good thing you have the backup. 

Idk what repo we were using before but we can use this one now
github.com/cakeslob/Remora/tree/mbedos6/Firmware

I dont know how the arduino part will work, but yes the baud 115200

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

More
3 years 2 months ago #276785 by 3DPandME
And just to confirm the output should be some human readable text / status?

My usb to serial adapter arrived today so I can check I wasn't doing anything stupid with the Arduino.

You mention that it works without the bootloader. Do I need to load it via the DFU mode rather than via the sd card then?

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

More
3 years 2 months ago #276788 by cakeslob
yeah the serial should be readable, and say a lot of stuff. If youa rent sure about the serial stuff, you can connect it to the RPI to read serial. Double check with the picture I made also, it should be a few pages back.

For the bootloader, you may need to load it DFU, just to make sure everything works. it should have loaded fine from SD before the bootloader was overwritten, but I dont remember now. If its not working just erase the chip and reload it via DFU, that will for sure work.

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

More
3 years 2 months ago #276807 by cakeslob
viren,
add these lines to each joint in your ini/hal
github.com/cakeslob/Remora/blob/nucleo_s...c/remora-xyz.hal#L33
github.com/cakeslob/Remora/blob/nucleo_s...c/remora-xyz.ini#L96

you might need to change values, but that fixed it for me



3dp
I tested it out, just to double check. seems good

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

More
3 years 2 months ago - 3 years 2 months ago #277086 by virencq
I am fed up with RPI. Sometimes it hangs, sluggish, worst case yesterday spindle kept off Z feed advanced. Break tool.
In lathe, I have Phase A and Z index.
As Phase A only capable of reading 560. RPM.
#net spindle-velocity-feedback-rps encoder.0.velocity => spindle.0.speed-in
net spindle-velocity spindle.0.speed-out-rps => spindle.0.speed-in
Last edit: 3 years 2 months ago by virencq.

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

More
3 years 2 months ago #277188 by cakeslob

I am fed up with RPI. Sometimes it hangs, sluggish, worst case yesterday spindle kept off Z feed advanced. Break tool.
In lathe, I have Phase A and Z index.
As Phase A only capable of reading 560. RPM.
#net spindle-velocity-feedback-rps encoder.0.velocity => spindle.0.speed-in
net spindle-velocity spindle.0.speed-out-rps => spindle.0.speed-in

I dont know what you mean by hangs or slugish. i use axis without issue
If you are having issues with your overall RPI image, you can try using this one
github.com/Expatria-Technologies/remora-...l/releases/tag/V0.1B

how do you have your encoder connected? if you use the QEI highspeed encoder pins/config you should be able to get a lot more. i use a high resolution encoder at 5000 rpm without issue
If its for the nucleo,
github.com/cakeslob/Remora-docs/blob/nuc...46.rst#hardware-pins


If you are using your nucleo stuff, please be patient and report any issues so we can try to fix it

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

Time to create page: 0.111 seconds
Powered by Kunena Forum