go_away

Author Topic: {fixed} Microcontroller seems dead  (Read 805 times)

0 Members and 1 Guest are viewing this topic.

Offline ksquaredTopic starter

  • Jr. Member
  • **
  • Posts: 41
  • Helpful? 0
{fixed} Microcontroller seems dead
« on: March 05, 2010, 02:54:25 PM »
I have a microcontroller programmed for the $50 bot.  (Or thats what AVR studio says.)  However, the LED does not come on and it does not display any other response... truth be told, I have it on a breadboard without any of the peripherals.  How does one 'initilize' it?  (Atmega168.. they didn't sell any eights when I bought it.)

Thanks!
« Last Edit: March 07, 2010, 10:04:06 PM by ksquared »

Offline billhowl

  • Supreme Robot
  • *****
  • Posts: 375
  • Helpful? 32
  • Your success is in your hands.
Re: Microcontroller seems dead
« Reply #1 on: March 05, 2010, 06:53:26 PM »
You need to program it before the LED can come on, read this
http://www.societyofrobots.com/step_by_step_atmega168_swapout.shtml

Offline ksquaredTopic starter

  • Jr. Member
  • **
  • Posts: 41
  • Helpful? 0
It Compiles, Lestways...
« Reply #2 on: March 05, 2010, 08:47:16 PM »
Thanks, I did all that, it STILL seems not to work.  I mean AVRstudio still seems to program it, however, after that it is always dead.  For mechanical convenience (this is a breadboard) my unplugged programmer is still under the hood (y'know, connected.)

After Programming, I simply disconnected the circuit's power, took the USB out of the programmer and re powered the micro controller.  

I mean, could I have hooked something up wrong and get that far?  All my wiring seems right.  

Gracias.  
« Last Edit: March 05, 2010, 08:56:14 PM by ksquared »

Offline billhowl

  • Supreme Robot
  • *****
  • Posts: 375
  • Helpful? 32
  • Your success is in your hands.
Re: Microcontroller seems dead
« Reply #3 on: March 05, 2010, 10:18:41 PM »
May you post some photos of your setup?

Offline ksquaredTopic starter

  • Jr. Member
  • **
  • Posts: 41
  • Helpful? 0
Re: Microcontroller seems dead
« Reply #4 on: March 07, 2010, 08:09:38 PM »
Actually... could it be my programming procedure?  From AVRStudio, I usually just upload the .hex file to FLASH.  Should I worry about ELF or EEPROM?  Using a voltmeter I determined that there is no voltage between pin 7 and pin 6.  Even if I unpower the controller after programming...

Does it hurt that the unpowered programmer is still plugged in?

And if it would still help, I might be able to figure out a way take a picture of the thing.  

Though thanks alot!


Solution: LED_on() != LED_off()
« Last Edit: March 07, 2010, 10:04:47 PM by ksquared »

 


Get Your Ad Here