bhatt_tanmay
Advanced Member level 4
what is the diffreence between avr and other controllers?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
I am an old user of 8051,, I want to use avr which one you will seggust me to start with??? the one which is easy to start with and how can i program it?ScOe said:Hrm ... well that is kind of a question that might get all sort of answers depending on personal preferances. Most of the differances are based on assembler code using by processor arhitecture. Second differances are in instruction per clock cycle, some processors will use more clock cycles for same operation. AVR claims that most of their instructions takes just one clock cycle. As for the 8051 it has clock divider so 8mhz will have 8e6/4 clock cycles. Probably newer 8052 has solved that issue.
Newer PIC have in system usb controller so can be connected to pc or other usb hid devices. That is good feature if you build system for PC usage. Well you can get cheap FT232 usb to uart chip and connect it to uC. But that is one more device on board.
Personaly, i like AVR the most because they are supported by gcc compiler and can be easily programmed from any OS.
Of course this is only comparement of 8-bit proc from 3 mostly used uC arhitectures. There is also motorola, TI, etc.
I want to use avr which one you will suggest me to start with???
Thanks for your kind suggestions, basically I m using Assembly language with 8051. Cant I start with any simple AVR with a simple envirnment on my bredth boad? with some simple componant as experiment bases?ScOe said:I want to use avr which one you will suggest me to start with???
As for programming i dont know what programming language did you use with 8051, probably asm or C. If you are familiar with C, you can download WinAVR and AVR studio, and that will give you a good developing environment.
If you are not short on budget, you can buy Atmega128 proto board from sparkfun "Development Terminal - ATMega128" and "AVR STK Serial Port Dongle Programmer", and you are ready for playing with AVR.
Regards
Cant I start with any simple AVR with a simple envirnment on my bredth boad?