|
Hi from Germany,
I need some help for generating a sqare wave with the Handyboard.
The frequency should be 16kHz at least. And the number of peeks must be
countable.
I only could made a 1kHz symmetrical square wave with low=high=0,5ms.
For that I tried to use TOC2 and/or TOC5 programmed in assembly language.
As the std. timer periode is 500ns to 32.77ms a 16kHz outputfreq. should be
capable (I think it). But there are problems. A frequency higher than 1kHz
causes a lot of mistakes in the square wave. Its not homogeneous any more.
What could I do?
Perhaps, an external oszilator(16kHz) with a valve driven by the HB and the
wave counted by the HB to open and close the valve?
What is the shortest time that I could detect by the Handyboard ?(using TICx
or PA (pulseaccumulator))
Please think about it and let my know about your ideas.
Bye
<Matthias>
|
|
Message has 1 Reply: | | Re: generating waves
|
| In lugnet.robotics.handyboard, Matthias Weber writes: I think your best bet would be to create an external oscillator that could be controlled using one of the TOC's. I mention the TOC's in case you need to pulse the oscillation (infrared remote (...) (24 years ago, 17-May-01, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|