[beagleboard] Re: PWM: only a finite number of pulses? Controlling stepper motor

2014-10-27 Thread fakd23
You could use the SPI interface 

Am Samstag, 18. Oktober 2014 03:26:26 UTC+2 schrieb plla...@gmail.com:



 http://electronics.stackexchange.com/questions/134356/beaglebone-generate-finite-pulse-train#
  
   
 I'm wanting to use the BeagleBone Black to generate a FINITE number of 
 pulses, in order to control a stepper motor. For the controller I have, an 
 A4988, each pulse is one step on the motor. How can I use the PWM on the 
 BBB to send, say, 5 pulses, and no more or less than 5? Or I can use a 
 GPIO. Whichever works. 

 I have the Adafruit BBIO library 
 https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/using-the-bbio-library
  
 installed. I have thought of doing this in a simple, stupid way - just 
 using python's time.wait() and toggling a GPIO pin, however many times 
 I'd like. But this seems very inaccurate, timing-wise, and moreover 
 inelegant; is there a way to do this better? I'm also investigating events 
 -- i.e., count the numberof pulses that have occured using another GPIO, 
 then stop the PWM when the number of pulses I want has been counted. 


 Any ideas?


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Delitet all files axedentely help??

2014-10-06 Thread fakd23
Just download the Linux image you want and flash your eMMC as described on 
http://beagleboard.org/latest-images

Am Freitag, 3. Oktober 2014 21:21:31 UTC+2 schrieb rotv...@gmail.com:

 i axedentely delitet all my files pluus linux on my beagleboard black. no 
 i cant instal linux agen HELP?


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Reading GPIO with Java

2014-05-12 Thread fakd23
Hi,

you can find a small Java API for GPIO at https://github.com/koert/gpio
It supports Interrupts, such as recognizing rising and falling edges (or 
both) on pins. Is that what you are looking for?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.