EmbeddedRelated.com
Forums

I/O-ing Frequencies on ATMega8

Started by forTe November 6, 2005
Well the actual purpose of the experiment was to try and force the IC
to degrade the signal, but use the uC to degrade it even more. I am
sure, in fact know there are better ways to do it, like the way you
described, but I have to be able to do this most importantly
quantitatively and at the time I submitted my proposal I decided to go
with uCs and ICs because that is what I knew I could at least get
something with even if it wasn't exactly what I was looking for.

When Henry Hallam above says that it will introduce more error, that is
what I am trying to do. Introduce as much error to the system as
possible.

Thanks for all the help, and if you have some more ideas it would be
nice to hear some, but from here on out I think I need to be focusing
on the uC programming.

ForTe

["Followup-To:" header set to alt.electronics.]
On 2005-11-06, forTe <ivan.carzy@gmail.com> wrote:
> So I recently acquired some ATMega8's for a project. My biggest need > right now is for somebody to point me in the direction of some guides > and code for specific programming on the ATMega8. Most specifically I > am using these to output a frequency (Highs and lows and 5 and 0 Volts) > using a circuit to process the signal and send it back to the > microcontroller where the incoming frequency will be sent out again. > The main purpose is to deteriorate the frequency's integrity/accuracy > as much as possible through doing this process multiple times. It > sounds strange, I know, but if you have any links or references to some > pre-written codes or explanations on how to do this, I'd be very > appreciative. > > Thanks a bunch, > > ForTe
there's a bunch of stuff on the ATMEL website, all AVR series processors use the same assembler language, they just have different resoources, and some have extra op-codes. but from your description it sounds like an bunch of D-type flip-flops clocked from different clocks could give you the time-domain distortion you appear to want. Bye. Jasen
["Followup-To:" header set to alt.electronics.]
On 2005-11-08, forTe <ivan.carzy@gmail.com> wrote:

> So that I make sure, I should use PWM for this task correct?
it'll give you nice stable square wave without your code needing to explicitly switch the pin on and off for each transition. It may be possible to set up a second pwm for the inverted signal, or it may be easier to just use an inverter. Bye. Jasen