DE10-Nano Configuration Assistance Requested..

104 views
Skip to first unread message

mike Kennedy

unread,
Nov 12, 2019, 11:31:33 PM11/12/19
to Machinekit
Hello All:

Currently working on a Large Sheet Metal Robotic Eyeball project, looking to use my DE10-Nano to move the stepper motors for the up and down & Side to side eye movement as well as Closing of the eyelids.

Looking for assistance as since machinekit (LinuxCNC) are not my area's of expertise.

I have currently followed the instructions on page:

I have successfully installed the SD card image, SSH through the serial port as well have a working HDMI display with a functioning desktop.

After several attempts of the machinekit configuration, I am confused which one to pick?
Following the above link, At the end of page, the only bitimage files for HDMI displays available are for CRAMPS 3x24.
I currently do not have CRAMPS hardware, (unless there are some available for purchase).
I would like to connect my Gecko G213V stepper motor drives to the DE10-nano.
From my understating, I should be able to connect these gecko drives directly to the output pins of the DE10 using the 5i25 driver (image file)????

At this point I am attempted to pick hm2-soc-cramps_no_fw_load, I was able to get to the machinekit (linuxcnc) axis screen.
With the software running, I did not notice any HAL logs to the dmesg command. is this normal?
Also, I noticed that the Jog speed and Max Velocity are way out of spec?

next steps...

Should I be able to run the PNCconf wizard and select the corresponding timings for the Gecko drives?
Or should I be adding these manually to the ini files??

I am confused for the next steps and apologize for being a NOOB, as any assistance would be wonderful!

Thanks!
Mike Kennedy

Michael Brown

unread,
Nov 14, 2019, 5:58:34 PM11/14/19
to Machinekit
Hi Mike


On Wednesday, 13 November 2019 05:31:33 UTC+1, mike Kennedy wrote:
Hello All:

Currently working on a Large Sheet Metal Robotic Eyeball project, looking to use my DE10-Nano to move the stepper motors for the up and down & Side to side eye movement as well as Closing of the eyelids.

Looking for assistance as since machinekit (LinuxCNC) are not my area's of expertise.

I have currently followed the instructions on page:

I have successfully installed the SD card image, SSH through the serial port as well have a working HDMI display with a functioning desktop.

After several attempts of the machinekit configuration, I am confused which one to pick?
 
The configs provided are only provided as working demos so that you quickly can test if you got 
things installed correctly.

Following the above link, At the end of page, the only bitimage files for HDMI displays available are for CRAMPS 3x24.
 
If you followed the guide correctly you should have 
DE10_Nano_FB_Cramps.3x24_cap_enc.rbf 
selected as the one that is loaded.

About I/O:
all DExx relevant pinout files are in this folder
 
I currently do not have CRAMPS hardware, (unless there are some available for purchase).
 
The DE10 I/O pins can connect/interface directly to anything that accepts 3.3 Volt logic signals.(If you are careful)

I would like to connect my Gecko G213V stepper motor drives to the DE10-nano.
From my understating, I should be able to connect these gecko drives directly to the output pins of the DE10

Yes 

using the 5i25 driver (image file)????

Hmmm ....?
 

At this point I am attempted to pick hm2-soc-cramps_no_fw_load, I was able to get to the machinekit (linuxcnc) axis screen.
 

You use that demo configs hal file as a starting point this is already setup for x,y and z axis and the 5i25 driver is setup correctly for this in that config. 

With the software running, I did not notice any HAL logs to the dmesg command. is this normal?
 
 
hal logs go to the linuxcnc.log file (I forgot the folder perhaps /var/log or something similar)

 
Also, I noticed that the Jog speed and Max Velocity are way out of spec?


Yeah the demo was tuned to demo max steprate speed possible, you fine tune that in the hal file also (by hand)

 
next steps...

Should I be able to run the PNCconf wizard and select the corresponding timings for the Gecko drives?

I have never tested that, perhaps you can create an initial file with the wizard and migrate what it outputs to your real hal file,
please report back if you try that out.
 
Or should I be adding these manually to the ini files??

I think that's what most do including me
 

I am confused for the next steps and apologize for being a NOOB, as any assistance would be wonderful!

Look at the pin file links above to see which gpio pins are connected where.
Study how the demo hal file works (plus the hal in general)

 

Thanks!
Mike Kennedy


Best Wishes
Michael B. 

mike Kennedy

unread,
Nov 19, 2019, 11:34:53 AM11/19/19
to Michael Brown, machi...@googlegroups.com
Hi Michael:

I wanted to thank you for helping me by answering my questions, I really appreciate that!
I have it working now!

Direct connection to the Gecko drives works perfectly. Had to solder on a gnd pin tho.

Thanks to everybody work on the machinekit and mksocfpga projects!

More to come!
Next for me is an interface for string pots for the feedback of the sphere positions.

Thanks again!
Mike Kennedy.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/c8bca87b-2ff7-4779-96bd-1f3c518d428a%40googlegroups.com.

Michael Brown

unread,
Nov 30, 2019, 6:54:03 AM11/30/19
to Machinekit
Great Mike
Appreciate your feedback and that you got it to work.
Best wishes
Michael Brown


On Tuesday, 19 November 2019 17:34:53 UTC+1, mike Kennedy wrote:
Hi Michael:

I wanted to thank you for helping me by answering my questions, I really appreciate that!
I have it working now!

Direct connection to the Gecko drives works perfectly. Had to solder on a gnd pin tho.

Thanks to everybody work on the machinekit and mksocfpga projects!

More to come!
Next for me is an interface for string pots for the feedback of the sphere positions.

Thanks again!
Mike Kennedy.

To unsubscribe from this group and stop receiving emails from it, send an email to machi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages