Re: [Machinekit] Bamboo cnc/limit switch errors

2020-07-25 Thread Jeff Pollard
Hi, You should not make a loop of wire for the ground (gnd from switch to switch to switch is not good). You should have one wire for the switch input, and one wire for the signal ground in your switch cabling. All of the grounds from the various switches should meet at one point on the I

Re: [Machinekit] Bamboo cnc/limit switch errors

2020-07-21 Thread Jeff Pollard
Hi, The limit switch wiring may be picking up electrical noise. You can try adding a bypass capacitor from the input to GND or additionally add a resistor in the path right before entry to the input. https://hackaday.com/2015/12/09/embed-with-elliot-debounce-your-noisy-buttons-part-i/ the

[Machinekit] Re: BeagleBone local setup - Black screen with cursor after graphical login

2020-05-04 Thread Jeff Pollard
Hi, Some versions of MachineKit do not come with the desktop environment installed. I'm not sure if that is the problem you are encountering, but I had a similar problem before. I installed lxde as a desktop (remotely) then rebooted, and I got a desktop display after logging in. Jeff O

[Machinekit] Re: Setting up Cape for BB Black

2020-02-01 Thread Jeff Pollard
Hi, I can't say for sure, but it may be PRU pins that are being described? If you take a look at the following file: https://github.com/beagleboard/bb.org-overlays/blob/master/tools/beaglebone-universal-io/config-pin you can find some of these pins. For example: P9_27_PRU="147" P9

[Machinekit] Re: BBB full tutorial for newbies

2019-12-23 Thread Jeff Pollard
Hi, If you want to use Axis instead of QT, you can do this remotely through the micro USB on the BBB. The address is : 192.168.7.2 The username:password is machinekit:machinekit. The following is for a windows machine (not test on a Mac). Start by downloading "putty" networking term

[Machinekit] Re: Latest Image from elinux nonfunctional?

2019-12-21 Thread Jeff Pollard
Hi, The newest version does not include a desktop (if that is what you were looking for). If your right click on the screen after entering the username and password, you should be able to get a small menu. From there you should be able to find a spot to get to a terminal window. Finally f

[Machinekit] Re: PocketBeagle with MachineKit hal configuration question

2019-12-19 Thread Jeff Pollard
download (although I'm pretty sure I followed the same procedure as before). In any case I got it to work. Jeff On Thursday, December 19, 2019 at 5:30:52 AM UTC-8, fishy wrote: > > MD5? > > On Tuesday, 17 December 2019 23:06:22 UTC, Jeff Pollard wrote: >> >> Hi

[Machinekit] Re: PocketBeagle with MachineKit hal configuration question

2019-12-17 Thread Jeff Pollard
Hi, An update: I downloaded the image file again, and it now works. I'm not sure what was going on... Jeff On Saturday, December 14, 2019 at 7:30:49 PM UTC-8, Jeff Pollard wrote: > > Hi, > > I am using a recent machinekit image: > > bone-debian-9.11-mach

[Machinekit] PocketBeagle with MachineKit hal configuration question

2019-12-14 Thread Jeff Pollard
Hi, I am using a recent machinekit image: bone-debian-9.11-machinekit-armhf-2019-12-02-4gb.img.xz I have it running on my PocketBeagle, but I can't seem to communicate with the I/O through hal. I've done: config-pin -f Sample.bbio *(a listing of this file is below)* realtime start halcmd lo

[Machinekit] Re: can CRAMPS X_STEP/X_DIR,... drive 4N26 optoIsolator

2019-07-01 Thread Jeff Pollard
Hi, I have an a simple interface board that outputs signals on a DB25 connector that plugs in to the BBB header. They are buffered by LVC series chips and work well for driving optos such as 6N137. If interested, you can get more info here: http://xylotex.netfirms.com/OSCommerce/catalog/

[Machinekit] Re: help for a newbie please

2019-06-27 Thread Jeff Pollard
Hi, The setup file should get automatically run when the HAL file is run. You should only have to go through the configuration chooser, select CRAMPS, then run it. The INI and HAL files will do the rest, including run the setup files. This assumes you use an older version of Machinekit

[Machinekit] Re: help for a newbie please

2019-06-25 Thread Jeff Pollard
Hi, The CRAMPS has space for built-in drivers, and it not itself a breakout board, so really would not be useful for your system as a hardware option. The reason I mention it is that it is a complete software setup that would be ready to run and has schematic available to see how the INI and

[Machinekit] Re: help for a newbie please

2019-06-24 Thread Jeff Pollard
Hi, The BBB outputs 3.3V for its digital I/O. This may, or may not be enough to drive your motor drives. You do not *have* to have a cape if you wired the BBB pins to the parallel port BOB and from there to your motor drive. Different version of the MachineKit software act differently on

Re: [Machinekit] packages for PRU assembler (pasm)

2019-04-23 Thread Jeff Pollard
Hi Jon, Below are *old* notes I made for myself on how to get/compile machinekit for a BBB. I have never done PASM with it, but I have compiled the entire Machinekit source code. The notes should get you further along with getting a compilable Machinekit source. A lot of it you will alrea

Re: [Machinekit] Re: config-pin setting for Mode 0 (gpmc) question

2019-04-20 Thread Jeff Pollard
ig-pin and cape-univ-gpmc.dts up to the machinekit code base. Thanks, Jeff On Friday, April 19, 2019 at 7:24:11 PM UTC-7, Jeff Pollard wrote: > > > Hi, > > One of the reasons I'm trying to update is the uSD card I was using > stopped working(booting). I can access

Re: [Machinekit] Re: config-pin setting for Mode 0 (gpmc) question

2019-04-19 Thread Jeff Pollard
e too hard to migrate your existing device tree (or > overlay) to work on modern kernels. Do you have a link to the source > for what you're currently running? > > On 4/19/2019 7:40 PM, Jeff Pollard wrote: > > > > Hi, > > > > Not taken the wrong way.

Re: [Machinekit] Re: config-pin setting for Mode 0 (gpmc) question

2019-04-19 Thread Jeff Pollard
allow me to access the gpmc. Jeff On Friday, April 19, 2019 at 4:51:17 PM UTC-7, Charles Steinkuehler wrote: > > On 4/19/2019 6:39 PM, Jeff Pollard wrote: > > > > Hi, > > > > Thanks Robert and Charles. > > I've taken this: > > > htt

Re: [Machinekit] Re: config-pin setting for Mode 0 (gpmc) question

2019-04-19 Thread Jeff Pollard
L1562 > > > You can either request an update to the universal overlay, patch it > and send a PR, or migrate to using a "real" device-tree overlay. > > When I created the "Universal" overlay, I didn't expect many people to > be trying to use the General P

[Machinekit] Re: config-pin setting for Mode 0 (gpmc) question

2019-04-19 Thread Jeff Pollard
> Seth > > P.S. If you know how to do this instead, this may work for you. So, use: > config-pin P8.14 <--- this would be your mode, i.e. GPIO, UART, and > etc. > > So, if you wanted to put in gpio in , you could if this is what you > want. Does this sort of make sens

[Machinekit] config-pin setting for Mode 0 (gpmc) question

2019-04-19 Thread Jeff Pollard
Hi, I'm using:* Linux beaglebone 4.14.106-bone-rt-r19 #1 PREEMPT RT Tue Mar 26 19:02:06 UTC 2019 armv7l GNU/Linux* I started by disabling the emmc in uEnv.txt I then tried to modify the config-pin script for P8_14 (which would be gpmc_AD14 as a starting example), but I get *Cannot writ

[Machinekit] Re: testing machine-client & anddemo

2019-04-04 Thread Jeff Pollard
; network. > > On Windows 10 computer try running dns-sd -B _machinekit._tcp in command > line and see if it can find anything. > > C. > > Dne čtvrtek 4. dubna 2019 0:15:53 UTC+2 Jeff Pollard napsal(a): >> >> >> Hi, >> >> I am trying to get mach

[Machinekit] testing machine-client & anddemo

2019-04-03 Thread Jeff Pollard
Hi, I am trying to get machine-client to run with Cetus, but with no luck, so I've backed up to trying with anddemo. Also no luck. I'm using: bone-debian-8.11-machinekit-armhf-2019-04-01-4gb.img.xz on a BBB After downloading that to uSD I follow up with sudo apt-get update sudo apt-

[Machinekit] Re: BBB servo motor control signal

2018-11-27 Thread Jeff Pollard
Hi, I would recommend using a stepper motor drive chip rather than trying to use a transistor. The motor drive chips provide all sorts of benefits, many of them able to accept 3.3V logic levels. They come in many packages including ZIP and DIP which make it relatively easy to connect up wi

[Machinekit] Re: Need help on pin mapping (BBB)

2018-08-09 Thread Jeff Pollard
nd the schematic to your email (*sup...@xylotex.com > )* ? > > 在 2018年8月7日星期二 UTC+8下午11:57:57,Jeff Pollard写道: >> >> Hi, >> >> There is a table here: >> >> >> https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.od

[Machinekit] Re: Need help on pin mapping (BBB)

2018-08-07 Thread Jeff Pollard
Hi, There is a table here: https://github.com/cdsteinkuehler/beaglebone-black-pinmux/blob/hal_pru_generic/pinmux.ods that shows how various pins can be assigned. The pin's drive capability seems to vary from pin to pin on the BBB, so you should probably check that to make sure it can dr

[Machinekit] Re: Guidance on 3 axis retrofit

2018-05-21 Thread Jeff Pollard
Hi, Although I don't sell the BBB_DB25/26 any more I think it should be noted that I have run MachineKit with limit/home switches on all three axes (actually 4 since I had the Y and A axes slaved, and each had their own limit/home switch). I'm not sure of your specific configuration, but th

[Machinekit] Re: Compiling Machinekit on BBB

2018-04-09 Thread Jeff Pollard
gt;>> git clone https://github.com/machinekit/machinekit.git >>>> cd machinekit >>>> # to add RT-PREEMPT support, add a 'r' >>>> # to add Xenomai support, add an 'x' >>>> # this builds for Posix, RT-PREEMPT, Xenomai: >>&

[Machinekit] Re: Is there any interest in a turnkey solution?

2017-12-15 Thread Jeff Pollard
Hi, Do you have an expected price point per unit? By turnkey, I'm guessing you mean a single application program interface running on Linux/MachineKit rather than using an editor to modify the ini, modify the hal, run 'axis', test the setup, exit axis and repeat as necessary.(?) Could

Re: [Machinekit] Re: Strange pulse waves on X,Y,Z direction outputs when axis are static

2017-05-12 Thread Jeff Pollard
an do, depending on the actual hardware, is change the way the drive handles recirculating current in the transistors. This can end up making a frequency that can be heard as a ticking or buzzing noise. Jeff On Thursday, May 11, 2017 at 11:11:19 AM UTC-7, Nick Collier wrote: > > @Jeff Pol

Re: [Machinekit] Re: Strange pulse waves on X,Y,Z direction outputs when axis are static

2017-05-11 Thread Jeff Pollard
Hi Nick, As the current system stands, if you want to get rid of the hunting on the DIR lines then it seems you need the PID loop. or... If you want to get rid of the necessity to use the PID code, you can modify the PRU code that generates the step pulses. The original EMC system

Re: [Machinekit] Re: Strange pulse waves on X,Y,Z direction outputs when axis are static

2017-05-10 Thread Jeff Pollard
Hi, A PID loop has been added to the Xylotex HAL file in the ARM/BeagleBone/Xylotex configs section. Take a look there for a way to set up the axes with a PID loop that gets rid of the hunting problem. Jeff On Wednesday, May 10, 2017 at 7:15:44 AM UTC-7, Alexander Rössler wrote: > > This

Re: [Machinekit] Re: MachineKit on BBB running Hostmot2 with Xilinx FPGA

2017-05-04 Thread Jeff Pollard
want. Jeff On Thursday, May 4, 2017 at 12:20:03 PM UTC-7, Timm Eversmeyer wrote: > > > > Am Dienstag, 2. Februar 2016 04:25:51 UTC+1 schrieb Jeff Pollard: >> >> >> I started with the TopEPPSHostMot2 version of the FPGA code from >> mesanet.com and modifie

[Machinekit] Re: Advice for BBB breakout for Taig Micromill

2017-04-21 Thread Jeff Pollard
Hi, If you want to use a BBB as the main CNC processor (including video/keyboard/mouse I/O), then you might want to take a look at one of the boards I sell: http://xylotex.netfirms.com/OSCommerce/catalog/product_info.php?products_id=114 It has two DB25 ports, with one made for PC CNC cont

[Machinekit] Re: Compiling Machinekit on BBB

2017-03-31 Thread Jeff Pollard
add a 'r' >> # to add Xenomai support, add an 'x' >> # this builds for Posix, RT-PREEMPT, Xenomai: >> debian/configure -prx >> sudo mk-build-deps -ir >> cd src >> ./autogen.sh >> # for the Beaglebone, add --with-platform-beaglebone to ./c

[Machinekit] Compiling Machinekit on BBB

2017-03-30 Thread Jeff Pollard
Hi, I'm trying to build machinekit from the 2017-02-12 version. I've gone through the steps below, and at step 24 I encounter an error while compiling emctask.cc. I read somewhere that adding a swap space might help, so I tried to add one, and it either didn't help, or I did it wrong. In

[Machinekit] Re: Machinekit interface to DAC

2017-01-23 Thread Jeff Pollard
Hi, If you are looking for a simple microcontroller with built-in quadrature encoder interface as well as analog in and motor control features (like PWM out), you might want to look at the Microchip dsPIC line. Microchip has examples on how to use these chips to control motors. The microcon

[Machinekit] Re: axis, configuration

2017-01-04 Thread Jeff Pollard
Hi, I think you are looking for what is described in section 1.11.7 here: http://linuxcnc.org/docs/2.4/html/gui_axis.html Jeff On Wednesday, January 4, 2017 at 8:50:15 AM UTC-8, Marco Negrini wrote: > > Hi everyone, > > i was looking in the ini file, and i was wondering if i can set axis to d

Re: [Machinekit] Re: how to add toolchanger funtion to BBB with Xylotex cape

2016-12-01 Thread Jeff Pollard
Hi, The PID in the Xylotex.hal file is to eliminate 'hunting' by the low level stepper code that runs in background to maintain position (sort of like a servo). While the position is actually stable and no STEP pulse is actually generated, the DIR line can end up toggling. This can cause no

Re: [Machinekit] Pulsing on the DIR signal.

2016-11-05 Thread Jeff Pollard
Hi, Check the Xylotex hal file in the ARM/BeagleBone directory for an example of using PID to get rid of the hunting problem on the DIR line. Jeff On Saturday, November 5, 2016 at 7:01:30 AM UTC-7, Charles Steinkuehler wrote: > > On 11/5/2016 8:11 AM, Johan Jensen wrote: > > > > _4. Afte

[Machinekit] Re: using machinekit with bbb and polulu driver to drive stepper motor without any cape

2016-09-02 Thread Jeff Pollard
Hi, You don't need an eeprom (you don't need a cape) to be able to use the signals from P8 and P9. If your config is running a program that needs a eeprom, then I'd suggest trying another config that doesn't require an eeprom be programmed and present. Jeff On Thursday, September 1, 2016

[Machinekit] Re: Help: new setup, motors not moving

2016-08-27 Thread Jeff Pollard
t > output and got nothing. Should I be checking on the bbb then? what pins > should i be checking on there? Thanks again. > > > On Friday, August 26, 2016 at 12:24:40 PM UTC-4, Jeff Pollard wrote: >> >> >> Hi, >> >>When you jog, look at the voltage on

[Machinekit] Re: Help: new setup, motors not moving

2016-08-26 Thread Jeff Pollard
Hi, When you jog, look at the voltage on pin3 of the DB25 connector and note its level. Then jog the other direction, and note the voltage while jogging. The voltage should swing from a low level of less than 1.0 volts to a high voltage of greater than 3.0 volts (or the other way around