#robotics | Logs for 2016-09-09

Back
[05:21:41] <xreasyx> hi, can i use this driver: http://www.ebay.com/itm/New-L298N-DC-Stepper-Motor-Driver-Module-Dual-H-Bridge-Control-Board-for-Arduino-/191674305541?hash=item2ca0adcc05:g:WFsAAOxyni9S~v5g with Nema 17 stepper motor?
[05:24:10] <Triffid_Hunter> xreasyx: depends on the motor and your application
[05:24:34] <Triffid_Hunter> xreasyx: for best results, use a DRV8825 or similar driver with a stepper with low winding resistance and current rating of ~1.5A
[05:24:59] <xreasyx> Triffid_Hunter, i want to build a draw robot
[05:25:11] <xreasyx> hold on ill send a link to my motors
[05:26:21] <xreasyx> Triffid_Hunter, this is the motor: http://www.ebay.com/itm/Nema-17-Stepper-1-8-3D-Printer-Motor-Hi-torque-320mN-m-45oz-4-Lead-2-Phase-1-5A-/361679665819?hash=item5435c9ba9b:g:m4IAAOSwdzVXpACd
[05:27:15] <Triffid_Hunter> xreasyx: you'll blow something up if you use a dumb h-bridge with that motor. get some DRV8825 or A4988 stepper drivers, they're ubiquitous now thanks to reprap
[05:28:36] <xreasyx> Triffid_Hunter,thanks a lot , i almost use my stepper motor, now ill go and purchase what you told
[09:43:58] <rue_house> tonight, I set up the scope to curve trace things!
[09:44:20] <rue_house> I need to know what the reverse breakdown of an IR led looks like
[09:50:35] <robopal> RIP IR LEDs
[09:51:02] <rue_house> only if the current is too high
[09:51:29] <rue_house> otherwise, I'm pretty sure you have a tunnel diode
[11:06:37] <xreasyx> is there a way to tell when stepper motor complete some steps? for example i want to program my stepper motor to make forward steps about 20 ticks and when it complete this 20 ticks i want to know about it so i can command it to do in reverse direction. help please
[11:12:39] <deshipu> xreasyx: usually you use an encoder for that
[11:13:03] <deshipu> xreasyx: some drivers can also deduce that from the backcurrent from the coils
[11:14:49] <xreasyx> deshipu, do you think this robot use encoder: http://www.makeblock.com/robot-kit-series-STEM/mdrawbot-kit ?
[11:15:05] <xreasyx> i'd like to build something like this robot
[11:15:19] <xreasyx> the drawer one
[17:24:08] <veverak> gosh
[17:24:12] <veverak> this code will need a lot of testing
[17:24:34] <Tom_L> better get busy
[17:24:58] <veverak> yeah
[17:25:59] <Tom_L> just write it to do what you want it to do and no testing is required
[17:26:18] <veverak> easy ot say
[17:26:20] <veverak> *to
[17:26:44] <Tom_L> first error check!
[18:24:47] <veverak> ok
[18:25:02] <veverak> so motion part gets "poses" as 'path' for robot to go on from mapper
[18:25:15] <veverak> mapper gives each pose 'sequence number'
[18:25:25] <veverak> I have this big ass class that represents path
[18:25:51] <veverak> when I clear poses from path because robot wen through them, I've got "clear_front(Seq up_to)" method to call
[18:26:21] <veverak> question is, should I return some array of sequences that were cleared or setup callback?
[18:26:35] * veverak should inform mapper that points are 'not in memory' propably
[18:26:57] <veverak> or hmm,
[18:27:10] <veverak> I could propably remove seq the moment it's passed, thus removing one at a time
[18:27:12] <veverak> hmm
[18:28:57] <veverak> nah, but problem remains, I still can have case where up to 'n' sequences are cleared at a time if I call "clear_back" (as clear points it not yet passed through, in case something changes a lot)
[19:02:17] <veverak> ok
[19:02:48] <veverak> so I can infill poses between poses sends from mapper, so I can make sure that there is no bigger change between poses thatn 'x' distance and 'y' angle
[19:03:03] <veverak> I can remove cleared poses, I can add new poses to path
[19:03:16] <veverak> and I can drop big chunk of path from pose to end when something changes
[19:03:23] <veverak> gooood :)