Skip to main content

Steps AVR Programming a Best Chip


This is a complete AVR Tutorial, including avr programming in a very basic & organized way, We will go through by following items.
  • What is an AVR?
  • Using Mac and Windows
  • How AVR programming works
  • Choosing a programmer, to burn the code.
  • Using AVRDUDE
Click Here is one for Windows

What is a micro-controller?

The best way to explain what a microcontroller is, is to start with your computer. Your desktop computer (or laptop) is comprised of multiple parts, a CPU (such as a Pentium or Celeron), some RAM, a hard disk, a keyboard and mouse and a monitor screen. Programs are stored on the hard disk and run on the CPU, with temporary data stored in RAM. You can run multiple programs at a time by having one ‘master program’ called an operating system (such as Linux, Windows or Mac OS X) and that master program keeps track of things for you.

AVR Programming Chip


AVR Programming

The AVR chip has components, too. It has a CPU, some flash storage, some RAM and some EEPROM, all in one little chip!. The CPU is just like the one in a computer, but its much simpler and not nearly as fast (what do you expect for $2.50?) The flash storage is just like the flash storage in your mp3 player or digital camera card, except its used to store programs. Its kinda like the hard disk of the microcontroller, except you can only read from it. The RAM is just like computer RAM. The EEPROM is kinda like flash except you cant run a program from it, but its used as long term storage. The EEPROM doesnt get erased when the chip loses power.

So, to recap: The AVR chip runs whatever program is stored in the flash, uses the RAM for temporary storage and the EEPROM for longer term storage.

Most computers have a 32-bit CPU running at 1GHz, with 1GB of RAM and 100 GB of storage. The kinds of micro-controllers discussed here run at 10MHz, have 1KB of RAM and 10KB of storage. (On the order of) However, their small size, lower power consumption and low cost make them an excellent choice for many projects!


Comments

Popular posts from this blog

Build a 3000W Stereo Power Amplifier Circuit Diagram

How to Build a 3000W Stereo Power Amplifier Circuit Diagram? Lets start first we define 3000wstereo power amplifier circuit diagram this circuit has a power output of up to 1500W RMS power amplifier circuit is often used to power sound systems spelunker for outdor. In the final image can be seen a series of power amplifiers using 10 sets of power transistors for the ending. This power amplifier circuit using a transistor amplifier from the front, signal splitter, driver and power amplifier. Current consumption required is quite large power amplifier that is 15-20 A 1500W power amplifier circuits for this. Supply voltage needed by the power of this amplifier is the optimal working order symmetrical 130VDC (130VDC-130VDC ground). 1500W amplifier circuit below is a picture series of mono, stereo if you want to make it necessary to make two copies of the circuit. For more details can be viewed directly image the following 1500W power amplifier circuit. The series of High Power Amplifier 15

Solid State Switch For Dc Operated Gadgets

This solid state DC switch can be assembled using just three transistors and some passive components. It can be used to switch on one gadget while switching off the second gadget with momentary operation of switch. To reverse the operation, you just have to momentarily depress another switch.  The circuit operates over 6V-15V DC supply voltage. It uses positive feedback from transistor T2 to transistor T1 to keep this transistor pair in latched state (on/ off), while the state of the third transistor stage is the complement of transistor T2’s conduction state.  Initially when switch S3 is closed, both transistors T1 and T2 are off, as no forward bias is available to these, while the base of transistor T3 is effectively grounded via resistors R8 and R6 (shunted by the load of the first gadget). As a result, transistor T3 is forward biased and gadget 2 gets the supply. This is indicated by glowing of LED2.  Circuit diagram : Solid-State Switch For Dc-Operated Gadgets Circuit Diagram Whe

Amplifier Circuit 2 X 10 watt with IC AN7145

This is Stereo Amplifier On this schematic amplifier circuit  use the ic AN7145L , but can use the following IC : AN7145M AN7145H AN7146M AN7146H You can use of all ic above. anthis circuit need suply voltage with dual voltage . Minimum voltage 6 Volt and maximum voltage 20 volt . Voltage just (-) and (+), but (-) can also ground. Maximum power output 2 X 20 watt with minimum impedance 4 ohm. Click image to view enlarge. You can operate this circuit with  plugging input to , PC or other media can give signal audio.