Author Topic: Programmer  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

Offline AligatorTopic starter

  • Jr. Member
  • **
  • Posts: 25
  • Helpful? 0
Programmer
« on: September 04, 2009, 01:02:59 AM »
What is the best way to upload my code to my MCU

I have a vague idea about what i need but not details

Aligator

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programmer
« Reply #1 on: September 04, 2009, 01:33:01 AM »
with a hardware programmer. fats, effective, simple ;D
what mcu are you using?
Howdy

Offline AligatorTopic starter

  • Jr. Member
  • **
  • Posts: 25
  • Helpful? 0
Re: Programmer
« Reply #2 on: September 04, 2009, 05:37:42 AM »
An ATMEGA8 and a ATMEGA168.

I was hoping that it can be something i can use on all of my robots. Which is Currently the $50

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programmer
« Reply #3 on: September 04, 2009, 07:16:59 AM »
as long as you stick with avr, the $50 programmer will last you a while... or a fair few robots anyway :P
Howdy

Offline AligatorTopic starter

  • Jr. Member
  • **
  • Posts: 25
  • Helpful? 0
Re: Programmer
« Reply #4 on: September 04, 2009, 04:49:39 PM »
where do i get it from, do i build it my self.

What did you do.

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programmer
« Reply #5 on: September 04, 2009, 05:43:36 PM »
well, both actually! you can buy or build. depends on your pc mainly.
if your computer has a parallel port you can use this programmer http://www.sparkfun.com/commerce/product_info.php?products_id=13 you can also build this programmer with a few parts, search the forum.

if your computer is newer and does not have a serial or parallel ports you are probably stuck with usb programmers.
while they are more expensive, usb programmers are generally regarded as better than the parallel port ones.
this is the usb one: http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=US&WT.z_homepage_link=hp_go_button&KeyWords=ATAVRISP2-ND+&x=30&y=10
Howdy

Offline AligatorTopic starter

  • Jr. Member
  • **
  • Posts: 25
  • Helpful? 0
Re: Programmer
« Reply #6 on: September 04, 2009, 06:18:13 PM »
well at this stage i think i am going to have to go with the digykey programmer as i don't have a serial port on my laptop and i can't seem to find any serial to usb adapters at a resonable price here in Australia. They are all like $35 - $50 and for that i can get a usb Programmer.

How much would it cost to make them as i may be able to use my dads computer to upload code.

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: Programmer
« Reply #7 on: September 04, 2009, 08:00:41 PM »
nah, if you don't have one on your pc, just get the usb programmer, its better in the long run.
another aussie ey? where abouts you live?
Howdy

Offline AligatorTopic starter

  • Jr. Member
  • **
  • Posts: 25
  • Helpful? 0
Re: Programmer
« Reply #8 on: September 05, 2009, 07:12:46 AM »
South Australia.

Well i can not afford to buy the usb one at the moment so i will build one and use the other computer for now untill i can upgrade. I have calculated it to cost me $3.13, so really it is not that much and it will last a while.