Show Posts
|
|
Pages: [1] 2 3 ... 5
|
|
2
|
Using Arduino / Installation & Troubleshooting / Re: error that makes pin 13 blink rapidly?
|
on: May 19, 2012, 01:31:53 pm
|
|
I know. I thought the ULN2803's would be isolation enough, but they apparently weren't. They worked fine for quite a while, then started acting up. I've ordered some optocoupler arrays to give it another go.
But back to the topic at hand. With no motors or anything attached, pin 13 is blinking when nobody told it to. Pin 13 is never mentioned in the code. Does anyone know what that's all about? Atmega death rattle?
|
|
|
|
|
5
|
Using Arduino / Installation & Troubleshooting / error that makes pin 13 blink rapidly?
|
on: May 19, 2012, 11:45:43 am
|
To be clear, this is NOT about running the Blink example. I've had an issue with a Duemilanove. The ATmega is apparently fried, or half-fried, or something. It has stopped running the code I've loaded onto it, and instead just blinks pin 13 pretty quickly, and I can't upload new code. If I try, I get "avrdude: ser_recv(): programmer is not responding avrdude: stk500_recv(): programmer is not responding". I'm not really asking for a fix, I'm just wondering what the blinking is caused by. Is it an error message of some kind? Whatever it is, it wasn't in the code I uploaded to the board. I found one other thread where a couple people reported something similar. They found a work around (that hasn't work for me), but they never explained why the blinking happens. Does anyone know? http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248528012/6#6http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1248528012/14#14One clue: On the troubleshooting page it points out that the bootloader blinks pin 13 once on startup. (3 times for NG board, and apparently 3 for the Uno as well.) Maybe it's stuck repeating that startup sequence for some reason?
|
|
|
|
|
7
|
Using Arduino / Microcontrollers / Re: Standalone Atmega8u2 gotchas?
|
on: May 08, 2012, 10:52:59 am
|
|
I know this is an old thread, but if you're still struggling with this, maybe this will help. I managed to pull this off yesterday. I was able to program an atmega8u2 on a breadboard (with a breakout PCB) using an AVR ISP mkII programmer. I tested it by loading the Blink example onto an atmega326-PU that had the Uno bootloader on it.
My circuit is a bit different from yours. I'm using USB bus power and I think the reset pins are handled a little differently. I've attached a pdf of the Fritzing breadboard. I should be documenting this better sometime soon.
|
|
|
|
|
8
|
Community / Website and Forum / Re: Update http://arduino.cc/en/Tutorial/ArduinoISP
|
on: April 26, 2012, 01:12:57 pm
|
|
I would also love to see this page updated. I've been going around in circles trying to pull this off, finding lots of different (undated) tutorials with slightly different advice, slightly different hardware libraries, etc, none of which seems to work.
It tutorials had publish dates, or existed on a wiki, this would be less of an issue. The people in the small crew that actually can update this page, I'm sure are terribly busy.
|
|
|
|
|
12
|
Using Arduino / Microcontrollers / Re: Programming an ATtiny85 w/ Arduino 1.0
|
on: February 20, 2012, 11:47:51 am
|
Well, I'm not out of the woods yet. It looks like I haven't been able to change the clock frequency or something. Instead of running at 8MHz, it seems to be running at 1MHz, but still running the program as if it was running at 8MHz. For example, delay(1000) takes 8 seconds, instead of 1. Like I said, there is an error when I try to Burn the Bootloader in Arduino-0022. Here's the verbose output of that error: http://pastebin.com/7D9GYimWIncidentally, if I select "ATtiny85 at 1MHz (internal oscillator; BOD disabled)", then delay(1000) takes 1 second, as it should. I would try burning the 16MHz bootloader with an external oscillator, but I'm not sure how to connect the oscillator to the ATtiny. Programming ATtiny's at 1MHz is cool, but it would be nice to have a faster clock for serial support, etc. If I can just get that clock frequency changed, I'm good to go.
|
|
|
|
|
13
|
Using Arduino / Microcontrollers / Re: Programming an ATtiny85 w/ Arduino 1.0
|
on: February 20, 2012, 11:16:46 am
|
Like ateller, I also had success with Arduino 0022 and the MIT/HLT library. I did get an error when loading the Bootloader, but if I ignore it I can still load the Blink example. I tried with some ATtiny85's that I haven't used yet just to be sure. Other details: - 119 ohms (from combined resistors) between 5V and RESET
- 10uF capacitor between GND and reset
- Mac OSX 10.6.8;/li]
Not sure if the capacitor s necessary since ateller had success without it. I also tried Arduino 1.0 with the other library ( http://code.google.com/p/arduino-tiny/ ), but still no luck there. It's totally worth keeping 2 versions around to make this possible. If I can help debug the 1.0 version, I'd be happy to provide more info or try other things. (w00t!)
|
|
|
|
|