go_away

Author Topic: Question about 50$ robot ( my first electronic projet at life )  (Read 2851 times)

0 Members and 1 Guest are viewing this topic.

Offline SgtToadTopic starter

  • Jr. Member
  • **
  • Posts: 15
  • Helpful? 0
Question about 50$ robot ( my first electronic projet at life )
« on: February 02, 2008, 03:07:41 PM »
Hello,

I'm a totally newbie of making eletronic circuit. But i want to learn and with this great site i learn already lot of thing. I'm from Québec city, Canada and my english is not very well. I understand very well but i did'nt write or speak very well.

I do all the electronic things. Test and re-test conectivity before plugin-in battery pack. No smoke or spark when i plug the battery power pack.
I add the ATMEGA8-16PU to the socket and power it without any problem. The VCC pin receive +5V.

I installed avr studio and plugin the AVRISP MKII. I get the blinky orange led bug. The help file talk about a reverse wiring problem or a pull resistance problem.

I got 3.8v at the reset pin of the connector it is enough ?
It's my wiring are reversed ( i did'nt tink so ) ?

Thanks for your help.

http://public.fotki.com/danielpoirier/bug-50-robot/



Daniel
« Last Edit: February 05, 2008, 08:53:27 AM by SgtToad »

Offline gamefreak

  • Supreme Robot
  • *****
  • Posts: 543
  • Helpful? 2
  • Robo-Enthusiast
Re: Question about 50$ robot ( my first electronic projet at life )
« Reply #1 on: February 02, 2008, 06:16:36 PM »
it is hard to tell but looking at the pic it looks like your capacitors negative lead is connected to the far right of the volltage reg, it should be in the middle
« Last Edit: February 02, 2008, 06:18:17 PM by gamefreak »
All hail Rodney, the holy 555 timer
And Steve said: "Let there be lead!"

Offline SgtToadTopic starter

  • Jr. Member
  • **
  • Posts: 15
  • Helpful? 0
Re: Question about 50$ robot ( my first electronic projet at life )
« Reply #2 on: February 02, 2008, 10:06:26 PM »
I test and retest the connectivity.

The image show how things are connected. I do a connectivity test on each of the colored link and test the voltage all around. I redo a schema of how i wiring that... i think all its ok, maybe someone can look and tell me if i make a mistake.

http://public.fotki.com/danielpoirier/bug-50-robot/debug.html

thanks for help
« Last Edit: February 04, 2008, 06:47:07 AM by SgtToad »

Offline paulstreats

  • Supreme Robot
  • *****
  • Posts: 1,381
  • Helpful? 21
Re: Question about 50$ robot ( my first electronic projet at life )
« Reply #3 on: February 03, 2008, 08:49:21 AM »
Hi,

 Did you actually program the board or not?
If not then the led will blink about randomly anyway. You need to program it to make it work

Offline SgtToadTopic starter

  • Jr. Member
  • **
  • Posts: 15
  • Helpful? 0
Re: Question about 50$ robot ( my first electronic projet at life )
« Reply #4 on: February 03, 2008, 10:31:53 AM »
i'm trying to program the board with the hold_servo.hex file.

I get an error message in avr studio ( see attached file )

Offline SgtToadTopic starter

  • Jr. Member
  • **
  • Posts: 15
  • Helpful? 0
Re: Question about 50$ robot ( my first electronic projet at life )
« Reply #5 on: February 06, 2008, 08:35:47 PM »
Ok...

I have completely rebuild my ISP head, re-verify all connectivity to be conform with the 50$ bot schema, all was ok.

But i get the flashing orange led with avr studio.
Reading the AVRISP MKII userguide i see i can use the stk500.exe command line it's what i do... surprise green led appears.

I have an other problem now...
Code: [Select]
C:\Program Files\Atmel\AVR Tools\STK500>STK500.EXE -cUSB -dATmega8 -e -iehold_se
rvo.hex -pe -ve
STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005.

Connected to STK500 V2 on port USB:0000B0024075
Device parameters loaded
Programming mode entered
Device erased
EEPROM input file  read
EEPROM input file does not fit in device
Programming mode left
Connection to STK500 V2 closed

WARNING! One or more operations failed! Please examine the output log above!


C:\Program Files\Atmel\AVR Tools\STK500>STK500.EXE -cUSB -dATmega8 -e -ifhold_se
rvo.hex -pf -vf
STK500 command line programmer, v 2.2 Atmel Corp (C) 2004-2005.

Connected to STK500 V2 on port USB:0000B0024075
Device parameters loaded
Programming mode entered
Device erased
FLASH input file  read
Programming FLASH... Could not program FLASH
Programming mode left
Connection to STK500 V2 closed

WARNING! One or more operations failed! Please examine the output log above!

The program hold_servo.hex did't fit in EEPROM and I Could not program FLASH...

Any suggestion are welcome

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: Question about 50$ robot ( my first electronic projet at life )
« Reply #6 on: February 17, 2008, 11:17:10 AM »
There was a problem with the programmer firmware:
http://www.societyofrobots.com/robotforum/index.php?topic=3013.msg24470#msg24470

Just upgrade it and it should work.

 


Get Your Ad Here

data_list