Super cool to see this partially working and making chips. This project reminds me a lot of Clough42's electronic lead screw. You might find some useful info by checking out his series in that project if you haven't already.
I have successfully used I2C over Cat5e by making it differential. There are some chips specifically designed to allow this. The PCA9615 is a good example. Great video, keep up the great work Greg
Right. I think I'm going to proceed with an RS 485 chip on the physical layer and just use I2C over it. I've cut my GPIO requirements down even more (dare I say.. tripling down on I2C), but I think this will make it much more reliable.
I see people use a current mode line driver IC on each end to push I2C many feets. Can also put a small micro on interface board and do RS232 but that’s less fun.
Basically all modern machining is referenced to in either "inches per minute" or "inches per revolution" or the metric equivalent "mm per minute", or "mm per rev" Something to keep in mind for your final revision
They are kind of small. I guess it comes down to personal preference, but for an application like this you can sort of take as much time as you need looking closely at the screen and switching the switches, and then all you really use is the feed/reverse switch
I think first I would try some Cat 5 or 6 cable for that interconnect. I use a multi-conductor shielded cable for my CNC connections but it is more expensive and uses DIN connectors $$
I'm going to see if a properly shielded cable helps. The problem with twisted pairs is that there's nothing driving the inverse signal, so you don't get the intended noise cancellation, but then again just the shielded construction of the cable might help.
It may very well come to that, I was mostly just trying to avoid using a second microcontroller. I was thinking "half the microcontrollers means half the coding" :P
The connector is called DE-9, not DB-9 - A DB-9 would not make any sense as only having 9 pins in the shell size B that can house 25 pins is silly and pointless.
Interesting, I didn't know that! I guess my first exposure to the D series of connectors was DB25, which does in fact use a B-sized shell. Just poking around online a bit more, it looks like people like me misusing the term has also made "DB9" fairly mainstream too.
I hear ya. There are some good off the shelf options that you can get without having to go into the level of detail I have. I'm hoping I can get this refined and bulletproof enough to be able to offer it for sale some day!
I realize it's a WERID question, but IIRC creators can see if someone has commented before/what those comments are. Have I commented on any of your videos before this? I am subscribed, but i have NO memory of ever seeing any of your vids... Was wondering if maybe YT just black holed you for a couple years, or What? LOL
I don't know that I can look up if you've commented before, but it's possible. As much as I'd like to say YT black holed me for a couple years, I sort of black holed myself :(. Life got pretty crazy, but hopefully that period has passed.
@@TabletopMachineShop Oh? Odd, maybe that's a third party tool they were using then? Last time I commented on a Tuber's video who I hadn't seen in a long time, they asked me if i was still living in a foreign country, and when I said that was an impressive memory, they replied that it wasn't the case, they could just see my prior comment to that effect. So, I was under the impression that is was some YT backend stuff to help creators see who they were interacting with.
This channel is great and highly under rated
Appreciated!
Super cool to see this partially working and making chips. This project reminds me a lot of Clough42's electronic lead screw. You might find some useful info by checking out his series in that project if you haven't already.
Thanks! I followed Clough42s build as well, he's very meticulous and came up with a really polished final product.
Great device.
I have successfully used I2C over Cat5e by making it differential. There are some chips specifically designed to allow this. The PCA9615 is a good example.
Great video, keep up the great work
Greg
Thanks for the tip, that sounds like exactly what I need!
you could totally throw a second micro there for the price, btw. There is no kill like overkill.
It's certainly an option, I was just trying to avoid having to keep track of firmware for two micros :P
oh the pains of long distance i2c...
Really like that stainless steel case
Thanks, I'm pleased with it as well!
Whatever happened to the Plastic Injection Molding machine?
Excuse me, sir, do I get it right that CNC lathe has never been completed?
Saludos desdes Ecuador, como quedo el proyecto de la mini inyectora de plástico, exitos
CAN Bus is a great choice for board to board data, however youd have to have a controller on each board.
Right. I think I'm going to proceed with an RS 485 chip on the physical layer and just use I2C over it. I've cut my GPIO requirements down even more (dare I say.. tripling down on I2C), but I think this will make it much more reliable.
I opted for optical encoder for my spindle.
This is *kind of* an optical encoder. Something off-the-shelf would have been great but they get pretty expensive at that size :(
I see people use a current mode line driver IC on each end to push I2C many feets. Can also put a small micro on interface board and do RS232 but that’s less fun.
Yeah I struggle enough with one microcontroller, let alone two :P. THanks for the tip on the current mode line driver, I'll look into it more!
Basically all modern machining is referenced to in either "inches per minute" or "inches per revolution" or the metric equivalent "mm per minute", or "mm per rev"
Something to keep in mind for your final revision
Aren't those switch and screen a little too small? Or is it actually bigger than it looks?
They are kind of small. I guess it comes down to personal preference, but for an application like this you can sort of take as much time as you need looking closely at the screen and switching the switches, and then all you really use is the feed/reverse switch
I think first I would try some Cat 5 or 6 cable for that interconnect. I use a multi-conductor shielded cable for my CNC connections but it is more expensive and uses DIN connectors $$
I'm going to see if a properly shielded cable helps. The problem with twisted pairs is that there's nothing driving the inverse signal, so you don't get the intended noise cancellation, but then again just the shielded construction of the cable might help.
Instead of running I2C over long lengths, look into using RS485 transcievers and just run plain old uart comms over it.
It may very well come to that, I was mostly just trying to avoid using a second microcontroller. I was thinking "half the microcontrollers means half the coding" :P
Pca9600 i2c extender ic to communicate up to 100mtr
The connector is called DE-9, not DB-9 - A DB-9 would not make any sense as only having 9 pins in the shell size B that can house 25 pins is silly and pointless.
Interesting, I didn't know that! I guess my first exposure to the D series of connectors was DB25, which does in fact use a B-sized shell. Just poking around online a bit more, it looks like people like me misusing the term has also made "DB9" fairly mainstream too.
I just want to know how to convert old machines into new controls/software, they're cheap and plentiful....saving them from the metal reception...
I hear ya. There are some good off the shelf options that you can get without having to go into the level of detail I have. I'm hoping I can get this refined and bulletproof enough to be able to offer it for sale some day!
👍👍😎👍👍
1) order flexible pcbs and flex cable.
2) profit
One huge flexible PCB... cables and everything!
@@TabletopMachineShop now we're cookin'!
I realize it's a WERID question, but IIRC creators can see if someone has commented before/what those comments are.
Have I commented on any of your videos before this? I am subscribed, but i have NO memory of ever seeing any of your vids... Was wondering if maybe YT just black holed you for a couple years, or What? LOL
I don't know that I can look up if you've commented before, but it's possible. As much as I'd like to say YT black holed me for a couple years, I sort of black holed myself :(. Life got pretty crazy, but hopefully that period has passed.
@@TabletopMachineShop Oh? Odd, maybe that's a third party tool they were using then?
Last time I commented on a Tuber's video who I hadn't seen in a long time, they asked me if i was still living in a foreign country, and when I said that was an impressive memory, they replied that it wasn't the case, they could just see my prior comment to that effect. So, I was under the impression that is was some YT backend stuff to help creators see who they were interacting with.