[Machinekit] Re: new cnc cape

2018-09-28 Thread Lang Gu
Hi,kevin,
closed loop or semi-closed loop is hard for me.
So I chose the easy way---use open loop.
Thanks for  your advice,this is very helpful  for my future. 

在 2018年9月28日星期五 UTC+8下午10:13:44,Kevin Friesth写道:
>
> Hello, 
>
> One potential issue I see with your circuit design is that it doesn't seem 
> to have io inputs to allow use of encoders on all axis's which would 
> greatly enhance accuracy and repeatability for movements and actions. 
> Homing works for startup and such but it doesn't track potential movement 
> and positioning errors. ie 
> http://www.anaheimautomation.com/manuals/forms/encoder-guide.php#sthash.U7z4xbhg.dpbs
>
> Regards,
>
> Kevin
>
> On Thursday, September 27, 2018 at 9:36:55 PM UTC-5, Lang Gu wrote:
>>
>> Hello, everyone .
>>  I'm new drawing a cnc cape sch..
>> It‘s with 19 Optocoupler isolation  INPUT(11 INPUT use for MPG ,) and 16 
>> Non-Isolated 
>> <http://www.baidu.com/link?url=BNsib2kq5dU8yQ3jhUW_wDiqwNZxNq5P7JzjPDx1rfcoNPFdszJvZ8zLIqiWuH-7Woivxv5a-paqfa5Ui_Y1sK5dGrImqKKsL1UuBvKD_I_>
>>  OUTPUT 
>> (use 74ls244 )
>> I use mcp23017 i2c bus  for 16 input(for limit --max/min/home etc.)..
>>
>> BUT, I'm not a electronic engineer 
>> <http://www.baidu.com/link?url=saoUwpWVqX9fqxwvTEnna5vS05zf8DhiAKldVez8q5GHfCz1Szl3t9cDThxi9fsGefvPnwieq1CNXvScUhbFfzhG9rRPyDiZA9OtahQhDDybCFnRhdzZVUGuv986kLeU>
>> ,so Dare not confirm right。。
>> Hope electronic engineer proofreading.
>>
>

-- 
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: new cnc cape

2018-09-28 Thread Lang Gu
Can your help me? 
If no error,i will make pcb & open scouce。 

在 2018年9月28日星期五 UTC+8上午10:36:55,Lang Gu写道:
>
> Hello, everyone .
>  I'm new drawing a cnc cape sch..
> It‘s with 19 Optocoupler isolation  INPUT(11 INPUT use for MPG ,) and 16 
> Non-Isolated 
> <http://www.baidu.com/link?url=BNsib2kq5dU8yQ3jhUW_wDiqwNZxNq5P7JzjPDx1rfcoNPFdszJvZ8zLIqiWuH-7Woivxv5a-paqfa5Ui_Y1sK5dGrImqKKsL1UuBvKD_I_>
>  OUTPUT 
> (use 74ls244 )
> I use mcp23017 i2c bus  for 16 input(for limit --max/min/home etc.)..
>
> BUT, I'm not a electronic engineer 
> <http://www.baidu.com/link?url=saoUwpWVqX9fqxwvTEnna5vS05zf8DhiAKldVez8q5GHfCz1Szl3t9cDThxi9fsGefvPnwieq1CNXvScUhbFfzhG9rRPyDiZA9OtahQhDDybCFnRhdzZVUGuv986kLeU>
> ,so Dare not confirm right。。
> Hope electronic engineer proofreading.
>

-- 
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.


Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-30 Thread Lang Gu
I'm just  bought a  USB TO TTL  line, and it will take a few days to get it.

在 2018年8月30日星期四 UTC+8下午10:45:33,Robert Nelson写道:
>
> On Thu, Aug 30, 2018 at 9:27 AM Lang Gu > 
> wrote: 
> > 
> > Oh, sorry , I have no serial device now。。 
> > 
> > Is there any other way? 
>
> Do you have a 2nd beagle? 
>
> Otherwise: 
>
> https://elinux.org/Beagleboard:BeagleBone_Black_Serial 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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.


Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-30 Thread Lang Gu
Oh, sorry , I have no serial device now。。

Is there any other way?

在 2018年8月30日星期四 UTC+8下午10:24:00,Robert Nelson写道:
>
> On Thu, Aug 30, 2018 at 9:22 AM Lang Gu > 
> wrote: 
> > 
> > Hi,Robert , 
> > 
> > When I used sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10 
> > 
> > i find my BBB can not start without SDcard(my BBB sys is debian 7.5  2G 
> eMMC ), 
> > 
> > but I insert SDcard(brun debian 8.7 machinekit  2017-02-12)  can start 
> (debian 8.7) 
> > 
> > when I burn debian 9.X into SDcard and insert to BBB , it's still can 
> not start . sometimes  4 LED  bright。。 
>
> serial log? 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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.


Re: [Machinekit] BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-30 Thread Lang Gu
Hi,Robert ,

When I used sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10  

i find my BBB can not start without SDcard(my BBB sys is debian 7.5  2G 
eMMC ),

but I insert SDcard(brun debian 8.7 machinekit  2017-02-12)  can start 
(debian 8.7)

when I burn debian 9.X into SDcard and insert to BBB , it's still can not 
start . sometimes  4 LED  bright。。

At present time , only debian 8.7 can be use..if I want to use BBB(without 
SDcard ). How can i do?


在 2018年8月29日星期三 UTC+8下午11:50:05,Robert Nelson写道:
>
> On Wed, Aug 29, 2018 at 10:45 AM Condit Alan  > wrote: 
> > 
> > Robert, 
> > 
> > After I wrote the last message I found the “Boot” button on the picture. 
> The problem is that it is under the DB25 cape. 
>
> So that just leaves erasing the eMMC's version of u-boot: 
>
> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=10 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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: BBB not booting from bone-debian-9.5-machinekit-armhf-2018-08-20-4gb.img.xz

2018-08-28 Thread Lang Gu
My BBB also have the same problem.debian 9.5(machinekit) can not start..
在 2018年8月29日星期三 UTC+8上午9:46:44,mugginsac写道:
>
> I am trying to boot and log in over ethernet with ssh -X 
> machinekit@beaglebone.local. This works with the 2017-02-12 image uSD.
> I used Etcher to flash both the 2017-02-12 image and the 2018-08-20 image 
> to uSD. With the 2018-08-20 uSD I am seeing the outboard three of four LEDs 
> go solid blue. The inboard LED of the four is not lighting. However, they 
> just stay solid -- no flashing.
> With the 2017/2/12 image the 4 LEDs go solid and then I see the typical 
> flashing during the boot process. 
>
> Is there a problem with the 8/20 image?
>
> I am running this on an A6 BBB but I also tried it on a A5C BBB. Same 
> results on both. I have a Xylotex DB25 cape on the board.
>
> Help!!!
>
> Thanks,
> Alan
>
>

-- 
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 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(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:
>>
>>
>> <https://lh3.googleusercontent.com/-vL3glDwarSs/W2lcL-j567I/ACo/i7AaeUXFcyQkaQsnMzG4csJXAJv---KEQCLcBGAs/s1600/QQ%25E5%259B%25BE%25E7%2589%258720180807164436.png>
>> 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: Need help on pin mapping (BBB)

2018-08-07 Thread Lang Gu


在 2018年8月7日星期二 UTC+8下午4:45:43,Lang Gu写道:
>
>
> <https://lh3.googleusercontent.com/-vL3glDwarSs/W2lcL-j567I/ACo/i7AaeUXFcyQkaQsnMzG4csJXAJv---KEQCLcBGAs/s1600/QQ%25E5%259B%25BE%25E7%2589%258720180807164436.png>
> 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?  
>
>   I WILL DISSABLE EMMC


 

> 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] Need help on pin mapping (BBB)

2018-08-07 Thread Lang Gu



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.