Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

ATmega8l

ATmega8l

2008-12-16 by bluesky_15_8

hi all 
well this is my first time to programing micro controller so i will use 
proteus program to be sure first that the program will be in  a right 
way to make simulation so i want your help if u don't mind plz  . i use 
proteus before but how can i use it with micro . i don't have till now 
a good idea . i want to make control on the speed of fan this fan will 
decrease the temperature in a small box but i have a question in my 
circuit i will use temperature sensor i think that its output will be 
sure voltage so i will put voltage source to the input of the micro or 
do we have the ability to use the sensor in the proteus   
thank u for reading my e_mail . i wait for ur replay  .BYE

Re: [AVR-Chat] ATmega8l

2008-12-16 by Jim Wagner

On Dec 15, 2008, at 9:54 PM, bluesky_15_8 wrote:

> hi all
> well this is my first time to programing micro controller so i will  
> use
> proteus program to be sure first that the program will be in a right
> way to make simulation so i want your help if u don't mind plz . i use
> proteus before but how can i use it with micro . i don't have till now
> a good idea . i want to make control on the speed of fan this fan will
> decrease the temperature in a small box but i have a question in my
> circuit i will use temperature sensor i think that its output will be
> sure voltage so i will put voltage source to the input of the micro or
> do we have the ability to use the sensor in the proteus
> thank u for reading my e_mail . i wait for ur replay .BYE
>
>
> 
Its not clear what you are asking. If your temperature sensor has a  
voltage output, then you probably want to use the analog-digital  
converter (ADC) of the micro. Then, you wold probably want to use PWM  
to control the fan motor, depending on the kind of motor it is.

Jim Wagner
Oregon Research Electronics



[Non-text portions of this message have been removed]

Re: [AVR-Chat] ATmega8l

2008-12-16 by Richard Reeves

> well this is my first time to programing micro controller so i will use 
> proteus program to be sure first that the program will be in  a right 
> way to make simulation so i want your help if u don't mind plz  .
I could describe how to do it, but it would be far better to point 
you in the direction of the help file first, which is found in ISIS's 
Help->Proteus VSM Help.  There is a whole section on working with 
microprocessors.  If you've used Proteus enough to simulate non-
programmable circuits, then the AVR simulation isn't a big step.
I would, however offer the following advice:
The more recent models (from the 'AVR2' library) simulate the reset 
pin as open=low, so for the Mega series, tie it high or your 
simulation won't run.
This is based on using AVR Studio and WinAVR - Save your Proteus work 
in the same directory as the .aps of you project and load the .elf 
file into the AVR.  That way you get source-level debugging.

If you have problems using it (and you have a legal copy of Proteus), 
I recommend going to Labcenter's user forums here: 
http://support.labcenter.co.uk/forums/index.php




Richard

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.