Hi all. I'm having problems with my first Arduino Mini, perhaps someone will have some ideas.
Gianluca says the bootloader should be on it. After reset I observe no blinking on an external LED from pin 13. I have also tried to program it via the tx and rx of an arduino NG board minus the atmega chip, but I just get programmer not responding (tried flipping tx and rx, too).
What I've tried, in more detail...
Circuit 1:
I power the mini via arduino NG's +5v and gnd headers. From pin 13 to ground I have an LED and 220 ohm resistor. If I instead connect the LED to pin 4 it lights, proving that the LED is in the right way and that +5v is indeed being provided to that pin.
The LED doesn't blink on pin 13. I would expect it to do so after 10 seconds, once the bootloader realises there's no program coming through and reverts to the previous program. Assuming the bootloader's there. Assuming the previous program is the test program.
**Circuit 2:**Powering from a 9v battery doesn't make any difference. (The only other difference here is I'm taking the +ve rail to the +9v pin on the mini)
In circuit 1 and 2 I reset by taking the reset pin low momentarily.
Circuit 3: Here's how I'd do a reset switch if I got the thing to run at all.
It's the same as circuit one but with a reset switch which takes the reset pin low (it is pulled high through the resistor in top left (which goes to +5v) when the switch is not pressed, making sure it is not accidentally reset.
I tried to program it via the tx and rx of an arduino NG board minus the atmega chip, but I just get programmer not responding (tried flipping tx and rx, too). For this, I followed the same instructions I wrote up on the Arduino Mini wiki page.
So i think there are 4 possibilities:
- I have wired it up wrongly, or am not resetting correctly.
- I have damaged the mini. (No, I haven't powered it backwards, or with more than 9v.)
- the mini doesn't have the bootloader on it.
- The bootloader is there, but there is another program loaded which does not blink pin 13. (but then I should be able to program it).
Thanks for any ideas. Once it's running, I'll continue the documentation with a "getting started" article on the same page.
Neill