go_away

Author Topic: $50 Robot; Servo Hex File Question.  (Read 1495 times)

0 Members and 1 Guest are viewing this topic.

Offline Dr_WormTopic starter

  • Jr. Member
  • **
  • Posts: 19
  • Helpful? 0
$50 Robot; Servo Hex File Question.
« on: September 02, 2009, 12:04:37 PM »
I'm using the AVR MkII programmer with AVR Studio with the Atmega328p. The software for the 50 dollar robot uploads to the chip successfully but when I tried to upload the hex file that was provided in the servo tutorial, AVR Studio tells me "ISP frequency must be 5 kHz or above when programming EEPROM or FLASH". So I suppose my question is what should I set the ISP frequency at? It's currently set at 1.049kHz.

Edit: Nevermind, I figured out what I was doing wrong, I needed to set it to 125 kHz as airman00's tutorial said, and I needed to charge my batteries again. :-\ Sorry for the spam.
« Last Edit: September 02, 2009, 03:35:10 PM by Dr_Worm »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,660
  • Helpful? 169
    • Society of Robots
Re: $50 Robot; Servo Hex File Question.
« Reply #1 on: September 05, 2009, 06:20:10 AM »
Well, it just needs to be 1/4th your clock frequency.

Your Atmega328p should be 1MHz by default, so that'll be 250kHz. By playing with fuses you can get the clock to 8MHz (but of course, DO NOT change fuses unless you know what you are doing).

 


Get Your Ad Here

data_list