We are still actively working on the spam issue.

Difference between revisions of "AVR"

From InstallGentoo Wiki
Jump to: navigation, search
m (deletion tag)
(Basically added a few more details, and tried to make it more educational for the reader and added info relevant to diy-er)
Line 2: Line 2:
 
{{stub}}
 
{{stub}}
 
[[File:Avr.jpg|thumb]]
 
[[File:Avr.jpg|thumb]]
 +
 +
AVRs are like UNIX in microcontrollers world - they're old (first were developed in '96), compared to Arduino™ hard to learn, but stable and effective (if you know how to use them). They are great tools for hobbyists and professionals alike to take an initial dip into the world of low level computers (aka microcontrollers) and embedded devices in general. If you want to make some cheap-ass electronic project, lighting driver for example, there's no better technology to choose. Only thing you need to start is USBasp programmer and some basic electronic components like capacitors, resistors. Additionally, you can buy a whole AVR kit (including the In Circuit Programmer, the pre assembled board, and a few jumper wires) for as low as 10$.
 +
 +
If you wish, you can
 +
 
'''To setup the environment go [http://www.instructables.com/id/How-to-get-started-with-Eclipse-and-AVR/ HERE]'''
 
'''To setup the environment go [http://www.instructables.com/id/How-to-get-started-with-Eclipse-and-AVR/ HERE]'''
Eclipse is the best IDE to mess with AVR microcontrollers, don't even try to argue with that.
 
  
AVR are like UNIX in microcontrollers world - they're old (first were developed in '96), compared to Arduino™ hard to learn, but stable and effective (if you know how to use them). If you want to make some cheap-ass electronic project, lighting driver for example, there's no better technology to choose. Only thing you need to start is USBasp programmer and some basic electronic components like capacitors, resistors.
+
To setup the AVR development environment on a UNIX or Linux based distribution, you need a few pieces of software before starting.
 +
If you use a mainstream distribution, you just need to install these packages from the repository
 +
 
 +
* '''gcc-avr''' to compile the program after writing it, if you program in C
 +
* '''g++-avr''' to compile the program after writing it, if you program in C++
 +
* '''avra''' to compile the program after writing it, if you program in assembly
 +
* '''avrdude''' to 'burn' or simply transfer the program from from the .hex file to your actual micro-controller using the ISP (In System Programmer)
  
[[Category:Hardware]]
+
That's about it, you can use any text editor to program these. The languages that can be used are
[[Category:Terms]]
+
* C (recommended)
 +
* Assembly
 +
* C++

Revision as of 15:57, 30 April 2016

Imbox deletion.png
Imbox deletion.png
DELETION CANDIDATE
Relevant discussion may be found on the talk page. Reason: nothing links here, page consists of a copy/paste basic description and external link - doesn't help anyone learn anything. image can probably go aswell.
Avr.jpg

AVRs are like UNIX in microcontrollers world - they're old (first were developed in '96), compared to Arduino™ hard to learn, but stable and effective (if you know how to use them). They are great tools for hobbyists and professionals alike to take an initial dip into the world of low level computers (aka microcontrollers) and embedded devices in general. If you want to make some cheap-ass electronic project, lighting driver for example, there's no better technology to choose. Only thing you need to start is USBasp programmer and some basic electronic components like capacitors, resistors. Additionally, you can buy a whole AVR kit (including the In Circuit Programmer, the pre assembled board, and a few jumper wires) for as low as 10$.

If you wish, you can

To setup the environment go HERE

To setup the AVR development environment on a UNIX or Linux based distribution, you need a few pieces of software before starting. If you use a mainstream distribution, you just need to install these packages from the repository

  • gcc-avr to compile the program after writing it, if you program in C
  • g++-avr to compile the program after writing it, if you program in C++
  • avra to compile the program after writing it, if you program in assembly
  • avrdude to 'burn' or simply transfer the program from from the .hex file to your actual micro-controller using the ISP (In System Programmer)

That's about it, you can use any text editor to program these. The languages that can be used are

  • C (recommended)
  • Assembly
  • C++