[Avrora] sensor simulation with avrora

Zainul M Charbiwala zainul at ee.ucla.edu
Tue Jan 25 13:32:44 PST 2011


Avrora currently models the Mica* platforms that use the ATMEGA128
processor. These processors have built-in ADCs with 10 bit resolution.
This is the reason that Avrora simulates a 10-bit ADC.

If you would like to override the 10-bit ADC (and therefore digress
from the true hardware model), you will need to make changes to
src/avrora/sim/mcu/ADC.java.

Zainul.


On Tue, Jan 25, 2011 at 11:12 AM, Newlyn Erratt <nerratt at umail.iu.edu> wrote:
> All:
> I'm new here so I apologize if this question has been asked before.  I was
> reading through the documentation and it states that the sensor simulation
> for avrora is simulating a 10 bit adc.  Is this true or a typo? I am new to
> using avrora and wanted to get a definitive answer.  If this is the case,
> how hard would it be to modify this to a 12-bit adc?  I have some data that
> will not work with a 10-bit adc.  I wanted to just figure this out myself
> but I am on a deadline and thought it would be best to just get an answer
> from someone who knows.
> thanks for any help,
> Newlyn
>
> _______________________________________________
> Avrora mailing list
> Avrora at lists.ucla.edu
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>
>


More information about the Avrora mailing list