cocktailyogi / EggDuino

Arduino Firmware for Spherebot / Eggbot integration in Inkscape
MIT License
91 stars 139 forks source link

motor shield l293d #9

Open marcogarzotti opened 8 years ago

marcogarzotti commented 8 years ago

Hi Cocktailyogi, do you think that it's possible to use an l293d motor shield for this project? I think that this shield is perfect: 2 stepper, servo ports and it's incredibily cheap on ebay... Thank you!

bartebor commented 8 years ago

Hi, IMHO this module will not work well, because it does not have microstepping. This results in poor quality images. Stepsticks are not expensive, there are even complete "cnc schields" available from Chinese retailers for few dollars.

Kyoday commented 8 years ago

hi have l293d motor shield and aduino uno... This is ok? but servo? http://it.aliexpress.com/item/Original-3D-Printer-Engraving-Machine-A4988-Drive-Extension-Board-CNC-Shield-V3-For-Arduino/32623187776.html?spm=2114.010208.3.1.OxghiW&ws_ab_test=searchweb201556_0,searchweb201602_1_10057_10056_10037_10055_10049_301_10059_10033_10058_10032_10017_106_105_104_10060_103_10061_102_10062,searchweb201603_3&btsid=ef6b2b1d-7195-47e6-9fbe-dc6df36e09ae

marcogarzotti commented 8 years ago

Hi Kyoday, i'm using the same shield you've linked. (i still think that the L293D shield can do the job nicely, but i can't find a firmware that can run with the official inkscape extension...) Anyway, to connect the servo you can proceed this way: Find in the code you are actually using the pin number of the servo signal, then look in the standard GRBL documentation what this pin is supposed to do with the GRBL firmware. You can see printed on the shield the supposed function of the pin which you should use, and you now what this supposed function is. Then you know which physical pin you should use. For the physical wiring i've used a 5V+GND couple of pins already available on the shield, and i made another wire that goes (between arduino and the shield) from the pin to some point near the 5V+GND couple. Then you only have to bend the wire's male terminal at 90° and you have a full working servo socket. I don't have my eggbot with me, so i can't take photos and i don't remember which pin i've used.

Kyoday commented 8 years ago

i have changed firmware, jinschoi. motor shield work fine! with nema and servo!

lgm3d commented 5 years ago

Are you using this stock firmware? Which version of the inkscape pluin? I cannot get mine to communicate? Thanks

hausmeister-dot commented 2 years ago

i have changed firmware, jinschoi. motor shield work fine! with nema and servo!

Hi Kyoday, would you share your code? I try to run the L293D shield with EggDuino but cound't get it work.