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. On Thu, Nov 14, 2019 at 5:58 PM Michael Brown <[email protected]> wrote: > 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: >> >> https://www.machinekit.io/docs/getting-started/u-boot-mksocfpga-altera-initial/ >> >> 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: > the humanly readable pinfile for this bitimage is here > <https://github.com/machinekit/mksocfpga/blob/master/HW/hm2/config/DExx_Nano_xxx_Cramps/PIN_3x24_cap_enc.vhd> > look below this line: > <https://github.com/machinekit/mksocfpga/blob/master/HW/hm2/config/DExx_Nano_xxx_Cramps/PIN_3x24_cap_enc.vhd> > all DExx relevant pinout files are in this folder > <https://github.com/machinekit/mksocfpga/tree/master/HW/hm2/config/DExx_Nano_xxx_Cramps> > > >> 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. >> > > Seems like your driver can accept 3.3 volts > <https://www.geckodrive.com/amfile/file/download/file_id/28/product_id/13/> > > 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. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/machinekit/c8bca87b-2ff7-4779-96bd-1f3c518d428a%40googlegroups.com > <https://groups.google.com/d/msgid/machinekit/c8bca87b-2ff7-4779-96bd-1f3c518d428a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/machinekit/CAFOJqr7ecjYcyzaq6u2N4dgFQTkKfwU5TrOk4zTuKH2rw%2BdS3w%40mail.gmail.com.
