Remora - Rpi Software Stepping Using External Microcontroller via SPI

More
5 years 4 months ago #211056 by Cncninja
Well, i got it but I'm not sure what 2 things made it work, I was transferring the config.txt and firmware.bin out of frustration copied everything over from the firmware folder to include the mbed os5 folder. and now it sees it and pulls out of estop. so it needed the mbed fold or it was the re-coping the txt and bin.... not sure now i need to go back a do a freash reload as i def have some things out of sorts then start working on a HAL for a milling version of the skr1.4 i.e M3 to use heat bed output fans outs for flood etc.

thanks

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

More
5 years 4 months ago #211083 by scotta
Great to hear you have things up and "running". Arroncnc has his mill running with spindle control and feedback. Let me know an overview of how you would like your setup and we can help give some configuration guidance. Now that you have the bones working, the rest should be more straight forward.

BR
Scott

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

More
5 years 4 months ago #211095 by Doogie
it's just the firmware.bin and config.txt files but if using Windows to xfer you have to be particularly careful it does not create a config.txt.txt file instead.

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

More
5 years 4 months ago - 5 years 4 months ago #211884 by cakeslob
Ok, got some packages in the mail this week, so time to try some things out. If some assistance could be provided that would be helpful and appreciated, because this setup is new to me.
Trying to set up a small BLDC/encoder with driver for axis, using aarons config as reference. The encoder is 100ppr, 2 channels. Max Rpm is 3000-6000. Im getting a little confused reading through the 2 github threads, is 100ppr/2channels going to be too much?
github.com/scottalford75/Remora/issues/12
github.com/scottalford75/Remora/issues/13


The pinout

PWN - pwn, 0v is max rpm, 5v is 0rpm
RUN/BRAKE - i/o output
CW/CCW - i/o output
EN_A - encoder count
EN_B - encoder count

, so encoder config looks straight forward, but how do I do the control pins? Am I hooking up PWM to a servo pin and then RUN to x enable pin? How can I handle the cw/ccw output io?
Last edit: 5 years 4 months ago by cakeslob.
The following user(s) said Thank You: Doogie

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

More
5 years 4 months ago #211885 by Doogie
Sorry I can't help but @Aaroncnc and @scotta are the two I know of who have encoders setup and working in Remora. I've seen Aaroncnc on IRC but don't now if he's moved to the new IRC server or not. I did see him on the old server when I stated to figure out setting up an irc client but just reconfigured for the new server, libera, and don't see him nor scotta there at the moment.

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

More
5 years 4 months ago #211888 by cakeslob
Thanks,its no rush or anything, just foolin around with some cheap motors from banggood that looked kinda neat
www.banggood.com/BUJIATE-DC-12~24V-3100-...ehouse=CN&ID=6294119

Looks like he actually just added a PWM component today, so a reinstall is needed. ok as expected, I need to use a hardware PWM pin. For my CW/CCW can I just change one of the endstops or something from input to output ? I need to figure out the hal for this as well
Code:
{ "Thread": "Servo", "Type": "Digital Pin", "Comment": "X Direction", "Pin": "1.26", "Mode": "Output", "Data Bit": 3 },

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

Time to create page: 0.577 seconds
Powered by Kunena Forum