Hi. I want to make cool stuff. In particular, I want to read motor and servo signals to activate LEDs on radio controlled cars. Here's my understanding of what I need to be able to do this:
1) A chip (AVR ATtiny13)
2) A target board (make it from Evil Mad Scientist's tutorial)
3) A programmer (USBtinyISP)
4) Some software to program it (from a windows machine)
a) WinAVR
b) AVRDude
c) Optionally, an IDE like AVRStudio
5) Coffee
Is my list sufficient?
Thanks!
-Jamie
Getting started with AVR programming
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Getting started with AVR programming
That's a good start.If you have limited experience in programming I would recommend you start with something like the Arduino Uno or Adafruit Metro while you are designing the project as it is easier to program and prototype with those.
- jfalesi
- Posts: 6
- Joined: Tue Aug 16, 2016 1:47 pm
Re: Getting started with AVR programming
I am not unfamiliar with programming in the sense of computer languages, but I have never programmed a chip before.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Getting started with AVR programming
The compiler you choose should take care of most of the heavy lifting.
- jfalesi
- Posts: 6
- Joined: Tue Aug 16, 2016 1:47 pm
Re: Getting started with AVR programming
Can you tell me more about why it would be easier to start with an Arduino Uno or Adafruit Metro? Would I use the same target board/programmer/software?franklin97355 wrote:That's a good start.If you have limited experience in programming I would recommend you start with something like the Arduino Uno or Adafruit Metro while you are designing the project as it is easier to program and prototype with those.
Thanks,
-Jamie
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Getting started with AVR programming
The Arduino and Mega have a computer based programmer that works over a USB port and there is a lot of code examples for them. That makes it easier while learning. Going the other route is also a viable option just not as well supported here.
- jfalesi
- Posts: 6
- Joined: Tue Aug 16, 2016 1:47 pm
Re: Getting started with AVR programming
OK, so I wouldn't need to buy the programmer. Is there an Arduino kit you would recommend?franklin97355 wrote:The Arduino and Mega have a computer based programmer that works over a USB port and there is a lot of code examples for them. That makes it easier while learning. Going the other route is also a viable option just not as well supported here.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Getting started with AVR programming
It depends on your needs and how much the kits contain that you can use for your project. Check out what we have available. https://www.adafruit.com/category/17
- jfalesi
- Posts: 6
- Joined: Tue Aug 16, 2016 1:47 pm
Re: Getting started with AVR programming
I guess I'm not sure which one to get. I'm tempted to get either the Experimentation kit or the Starter kit from Arduino.cc.
I'm interested mainly in LED, motor and servo control at this point, but I could see myself branching out eventually.
I'm interested mainly in LED, motor and servo control at this point, but I could see myself branching out eventually.
Please be positive and constructive with your questions and comments.