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

2018-08-09 Thread Lang Gu
Hi Jeff,

I read the pinmux.ods file ,it's very useful for me, but i find input GPIO 
pin it's not enough.
If I disable EMMC and use that pin ?
I have drawn 2 versions  breakout board schematic for BBB:
(1)outputs use  74ls244,  inputs use OPTO,(22  outputs  22 inputs)
(2)outputs use 6N137&pc817(tlp521)   inputs use OPTO  ( 14 high-speed 
outputs & 8 normal outputs   22 inputs)

I want to sent to you.. help me check it。When it's practical,I will open 
source in the future。
Can I send the schematic to your email (*supp...@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.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 drive your led in the 
> opto.  Or just use a logic buffer to drive the opto.
>
> Jeff
>
>
> On Tuesday, August 7, 2018 at 1:45:43 AM UTC-7, Lang Gu wrote:
>>
>>
>> 
>> Hello machinekit team and everyone 
>>
>> I come from China,my english is very poor.So try to say as simple as 
>> possible. 
>> In China  It's no cnc cape available.So i try to make a 5 axis cnc cape 
>> for BBB.
>>
>> Someone can tell me if this pin assignment is possible, or if there are 
>> any problems?
>>
>> P8 SIGNAL 
>> 1 GND 
>> 2 GND 
>> 3 A_ 
>> 4 B_ 
>> 5 X_1 
>> 6 X_10 
>> 7 X_100 
>> 8 X-AXIS 
>> 9 Y-AXIS 
>> 10 Z-AXIS 
>> 11 4-AXIS 
>> 12 5-AXIS 
>> 13 PWM-0 
>> 14 X-MIN 
>> 15 X-MAX 
>> 16 Y-MIN 
>> 17 Y-MAX 
>> 18 Z-MIN 
>> 19 Z-MAX 
>> 20 A-MIN 
>> 21 A-HOME 
>> 22 B-HOME 
>> 23 E-STOP 
>> 24 SPINDLE-SPEED 
>> 25 Z-PROBE 
>> 26 TOOL-SENSOR 
>> 27 HDMI 
>> 28 HDMI 
>> 29 HDMI 
>> 30 HDMI 
>> 31 HDMI 
>> 32 HDMI 
>> 33 HDMI 
>> 34 HDMI 
>> 35 HDMI 
>> 36 HDMI 
>> 37 HDMI 
>> 38 HDMI 
>> 39 HDMI 
>> 40 HDMI 
>> 41 HDMI 
>> 42 HDMI 
>> 43 HDMI 
>> 44 HDMI 
>> 45 HDMI 
>> 46 HDMI 
>>
>>
>>
>> P9 SIGNAL 
>> 1 GND 
>> 2 GND 
>> 3 3.3V 
>> 4 3.3V 
>> 5 5V 
>> 6 5V 
>> 7 SYS-5V 
>> 8 SYS-5V 
>> 9 PWR_BUT 
>> 10 SYS_RESETn 
>> 11 X-STEP 
>> 12 X-DIR 
>> 13 Y-STEP 
>> 14 PWM-2 
>> 15 Y-DIR 
>> 16 Z-STEP 
>> 17 Z-DIR 
>> 18 A-STEP 
>> 19 I2C2_SCL 
>> 20 I2C2_SDA 
>> 21 A-DIR 
>> 22 B-STEP 
>> 23 B-DIR 
>> 24 6-STEP 
>> 25 6-DIR 
>> 26 SPINDLE-ON 
>> 27 COOLANT 
>> 28 OUT3 
>> 29 OUT4 
>> 30 OUT5 
>> 31 OUT6 
>> 32 
>> 33 
>> 34 
>> 35 
>> 36 
>> 37 
>> 38 
>> 39 
>> 40 
>> 41 OUT7 
>> 42 OUT8 
>> 43 GND 
>> 44 GND 
>> 45 GND 
>> 46 GND 
>> INPUT & OUTPUT SCH 
>>
>>
>>

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Re: RPI gipo help

2018-08-09 Thread Timothy March
You are correct should be 38, 15, 40, 16 my mistakes 

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Re: RPI gipo help

2018-08-09 Thread Timothy March
Maybe someone who has a machine setup with this could would reply

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Re: RPI gipo help

2018-08-09 Thread Timothy March
Thank you KL Chin

Tim

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


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

2018-08-09 Thread Jeff Pollard

Hi,

  If you need someone that knows the the specifics of the BBB, I would 
recommend the BBB user group here:

https://groups.google.com/forum/#!categories/beagleboard/beaglebone-black

  They could give better advice on your schematic.

Jeff



On Thursday, August 9, 2018 at 12:50:40 AM UTC-7, Lang Gu wrote:
>
> Hi Jeff,
>
> I read the pinmux.ods file ,it's very useful for me, but i find input GPIO 
> pin it's not enough.
> If I disable EMMC and use that pin ?
> I have drawn 2 versions  breakout board schematic for BBB:
> (1)outputs use  74ls244,  inputs use OPTO,(22  outputs  22 inputs)
> (2)outputs use 6N137&pc817(tlp521)   inputs use OPTO  ( 14 high-speed 
> outputs & 8 normal outputs   22 inputs)
>
> I want to sent to you.. help me check it。When it's practical,I will open 
> source in the future。
> Can I send 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.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 drive your led in the 
>> opto.  Or just use a logic buffer to drive the opto.
>>
>> Jeff
>>
>>
>> On Tuesday, August 7, 2018 at 1:45:43 AM UTC-7, Lang Gu wrote:
>>>
>>>
>>> 
>>> Hello machinekit team and everyone 
>>>
>>> I come from China,my english is very poor.So try to say as simple as 
>>> possible. 
>>> In China  It's no cnc cape available.So i try to make a 5 axis cnc cape 
>>> for BBB.
>>>
>>> Someone can tell me if this pin assignment is possible, or if there are 
>>> any problems?
>>>
>>> P8 SIGNAL 
>>> 1 GND 
>>> 2 GND 
>>> 3 A_ 
>>> 4 B_ 
>>> 5 X_1 
>>> 6 X_10 
>>> 7 X_100 
>>> 8 X-AXIS 
>>> 9 Y-AXIS 
>>> 10 Z-AXIS 
>>> 11 4-AXIS 
>>> 12 5-AXIS 
>>> 13 PWM-0 
>>> 14 X-MIN 
>>> 15 X-MAX 
>>> 16 Y-MIN 
>>> 17 Y-MAX 
>>> 18 Z-MIN 
>>> 19 Z-MAX 
>>> 20 A-MIN 
>>> 21 A-HOME 
>>> 22 B-HOME 
>>> 23 E-STOP 
>>> 24 SPINDLE-SPEED 
>>> 25 Z-PROBE 
>>> 26 TOOL-SENSOR 
>>> 27 HDMI 
>>> 28 HDMI 
>>> 29 HDMI 
>>> 30 HDMI 
>>> 31 HDMI 
>>> 32 HDMI 
>>> 33 HDMI 
>>> 34 HDMI 
>>> 35 HDMI 
>>> 36 HDMI 
>>> 37 HDMI 
>>> 38 HDMI 
>>> 39 HDMI 
>>> 40 HDMI 
>>> 41 HDMI 
>>> 42 HDMI 
>>> 43 HDMI 
>>> 44 HDMI 
>>> 45 HDMI 
>>> 46 HDMI 
>>>
>>>
>>>
>>> P9 SIGNAL 
>>> 1 GND 
>>> 2 GND 
>>> 3 3.3V 
>>> 4 3.3V 
>>> 5 5V 
>>> 6 5V 
>>> 7 SYS-5V 
>>> 8 SYS-5V 
>>> 9 PWR_BUT 
>>> 10 SYS_RESETn 
>>> 11 X-STEP 
>>> 12 X-DIR 
>>> 13 Y-STEP 
>>> 14 PWM-2 
>>> 15 Y-DIR 
>>> 16 Z-STEP 
>>> 17 Z-DIR 
>>> 18 A-STEP 
>>> 19 I2C2_SCL 
>>> 20 I2C2_SDA 
>>> 21 A-DIR 
>>> 22 B-STEP 
>>> 23 B-DIR 
>>> 24 6-STEP 
>>> 25 6-DIR 
>>> 26 SPINDLE-ON 
>>> 27 COOLANT 
>>> 28 OUT3 
>>> 29 OUT4 
>>> 30 OUT5 
>>> 31 OUT6 
>>> 32 
>>> 33 
>>> 34 
>>> 35 
>>> 36 
>>> 37 
>>> 38 
>>> 39 
>>> 40 
>>> 41 OUT7 
>>> 42 OUT8 
>>> 43 GND 
>>> 44 GND 
>>> 45 GND 
>>> 46 GND 
>>> INPUT & OUTPUT SCH 
>>>
>>>
>>>

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Machinekit logging on Linux Mint 18.3

2018-08-09 Thread fairbanks-john
I have been setting up a new development system using Mint 18.3 and also a 
Windows box using Win7 and have noticed that there is a problem getting 
Machinekit logging working properly on Mint every time 'sudo make setuid' 
is run. So  to help others here is my consolidated fix to overcome this.

To get Machinekit logging working in Linux Mint first edit system file as 
root: /etc/rsyslog.conf
You can open terminal as root and use text editer.
Comment out:
 
$PrivDropToUser syslog
$PrivDropToGroup syslog

Like this:
#$PrivDropToUser syslog
#$PrivDropToGroup syslog

Then save the file and send:
sudo service rsyslog restart

If you are receiving logging error messages while running the 'sudo make 
setuid' command the next commands may be needed.
To generate a missing '/var/log/linuxcnc.log' file send command:

sudo touch /var/log/linuxcnc.log

Linux Mint uses rsyslogd instead of the older syslogd. To route log data to 
the newly generated linuxcnc.log file we must first copy the machinekit 
rtapi/rsyslogd-linuxcnc.conf configuration file to the systems 
/etc/rsyslogd folder.

sudo cp rtapi/rsyslogd-linuxcnc.conf /etc/rsyslog.d/linuxcnc.conf
sudo service rsyslog restart

On rate limit error message 'No rate limit in rsyslogd is set':
Run this copy command.

sudo cp rtapi/shmdrv/limits.d-machinekit.conf 
/etc/security/limits.d/machinekit.conf

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


[Machinekit] Help request for development PC to use Cetus

2018-08-09 Thread fairbanks-john
 

I’m a little confused on how to interface the Cetus gui with Machinekit on 
my new Linux based development PC on which I have already installed 
Machinekit as run in place.  I’m running on Linux Mint 18.3 with kernel 
4.9.98-RT. The Machinekit appears to be running fine and I have down loaded 
Cetus, MachinekitSDk, QTQuickvcp, Machinekit-Client and free version of QT5 
via web install.

 

I would like to get Cetus working and plan to use as a good starting and 
learning point to be able to develop in QT. Unfortunately I do not fully 
understand how to get all the pieces that I down loaded to function as a 
working system on in my Linux Mint PC right now. It appears to be a 
somewhat complicated process.

  

My Linux based development PC is attached via a dedicated network to an 
ACRA milling machine which uses a Mesa pre-programmed 7i80 FPGA interface 
card. Machinekit running on this PC is connecting to the mesa card and able 
to get status info from the card inputs via HalShow.

 

I will continue to try to get this PC configured on my own, but does anyone 
have available some rough information or guide on the best way to get the 
various pieces that I downloaded talking to each other on the PC?  I think 
that some information that I'm trying to use may not be meant to be used 
for configuring a PC.


After I get everything working on the Linux based PC then I plan to work on 
my Windows7  based development machine which is not ready to use yet. I 
plan to use for testing Cetus and other GUI's remotely and also for Qt5 
future GUI development work. I have on hand a Raspberry PI-3 and may also 
use it later for future work as time allows.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.