Not much to know about. Essentially there are two primary logic signals that go into the controller:
- Step needs to be wired to a "P" pin on the IOIO and be configured as a "Steps" channel on the Sequencer. - Direction needs to be wired to any pin on the IOIO and be configured as a "Binary" channel on the sequencer. Other signals (for example Enable) might be present, which would typically be either hard-wired to HIGH or LOW or just tied to a digital output pin if you want software control over them. Last, there's voltage level / open-drain considerations. In the case of the second document you linked to, as per page 4, you're expected to operate the pins in open drain mode, use 5V tolerant pins (those that have a circle around them on the back of the board) and supply 5V to V+. It is possible that the eBay controller has slightly different requirements, but it is probably along the same principles. Also note that while AOA does give you better reliability and performance than Bluetooth you might actually not notice any difference in practice. The timing critical stuff is being executed on the IOIO anyway. Unless you want to do some fast closed-loop maneuvers you're probably fine. If you want something like an end-switch or emergency stop support, the way I recommend to do this is electrically (i.e. have the switch directly override the "enable" signal and/or suppress the step signal). For homing you may want some simple logic gates in between the IOIO and the driver (e.g. only disallow operation in a certain direction when the switch is active). On Mon, Apr 28, 2014 at 4:06 PM, lornetw <[email protected]> wrote: > By the way, to avoid any latency problems I would want to use AOA (if I > understand this means that the IOIO would be directly wired via the USB > cable?) > > > On Monday, April 28, 2014 6:29:36 PM UTC-4, lornetw wrote: >> >> Hi. I am building a 3D printer (a derivative of Bukito) and I would like >> to use my IOIO-OTG board for testing my NEMA 17 steppers (among other >> things). I have done quite a bit of research trying to find an example of >> how to hook things up (wiring and some simple code) and I haven't found too >> much of anything specific to the IOIO. I would appreciate it if someone >> could let me know if they have done anything similar. >> >> I will be buying the following equipment : >> >> NEMA 17 steppers : http://openbuildspartstore. >> com/nema-17-stepper-motor/ >> >> Stepper driver board : http://www.ebay.ca/itm/ >> 130756974410?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1436.l2649 >> (already bought one) >> >> Info on a similar board : http://www.allelectronics.com/mas_assets/theme/ >> allelectronics/spec/SMC-5.pdf >> >> Ideally, I would like to make my test program with BASIC4Android (with >> the new V2 motor control library) because I am somewhat familiar with that >> because I make Android apps for my CNC machinist students. But if I could >> get a better idea of the actual hookup of where each wire goes I should be >> able to figure out the rest myself. I would also like to get my hands on an >> example of whatever code you have used so I know which pins and calls you >> used. >> >> Would appreciate any help I can get, >> >> Regards >> >> Lorne Wilkins >> >> >> -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
