🎁📬❄️📦 Holiday Shipping Deadlines are approaching! International customers and domestic ground - get your orders in 12/9/2020 📦❄️📬🎁
0

Getting started with AVR programming
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Getting started with AVR programming

by jfalesi on Tue Aug 16, 2016 1:51 pm

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

jfalesi
 
Posts: 5
Joined: Tue Aug 16, 2016 1:47 pm

Re: Getting started with AVR programming

by franklin97355 on Tue Aug 16, 2016 9:19 pm

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.

franklin97355
 
Posts: 21651
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Getting started with AVR programming

by jfalesi on Thu Sep 08, 2016 2:14 pm

I am not unfamiliar with programming in the sense of computer languages, but I have never programmed a chip before.

jfalesi
 
Posts: 5
Joined: Tue Aug 16, 2016 1:47 pm

Re: Getting started with AVR programming

by franklin97355 on Thu Sep 08, 2016 6:14 pm

The compiler you choose should take care of most of the heavy lifting.

franklin97355
 
Posts: 21651
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Getting started with AVR programming

by jfalesi on Wed Oct 26, 2016 7:51 pm

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.


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?

Thanks,
-Jamie

jfalesi
 
Posts: 5
Joined: Tue Aug 16, 2016 1:47 pm

Re: Getting started with AVR programming

by franklin97355 on Wed Oct 26, 2016 8:20 pm

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: 21651
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Getting started with AVR programming

by jfalesi on Wed Oct 26, 2016 8:24 pm

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.


OK, so I wouldn't need to buy the programmer. Is there an Arduino kit you would recommend?

jfalesi
 
Posts: 5
Joined: Tue Aug 16, 2016 1:47 pm

Re: Getting started with AVR programming

by franklin97355 on Wed Oct 26, 2016 9:04 pm

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

franklin97355
 
Posts: 21651
Joined: Mon Apr 21, 2008 2:33 pm
Location: Lacomb, OR.

Re: Getting started with AVR programming

by jfalesi on Mon Oct 31, 2016 7:29 pm

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.

jfalesi
 
Posts: 5
Joined: Tue Aug 16, 2016 1:47 pm

Please be positive and constructive with your questions and comments.