Show Posts
Pages: 1 2 3 [4] 5 6 ... 25
46  Using Arduino / Microcontrollers / Re: how to burn the bootloader of an arduino pro mini ? on: December 10, 2012, 05:46:22 pm
I use an Uno as the programmer.  In your picture it looks like you're taking 3.3V power: this is bad, so check you haven't cooked the ProMini or its inputs.  You should use 5V power to match the logic levels coming from the programmer.

Nick Gammon has written a number of sketches which talk directly to the board to be programmed.  This takes the PC software (AVRdude) out of the equation and simplifies the programming process.
47  Using Arduino / Microcontrollers / Re: how to burn the bootloader of an arduino pro mini ? on: December 10, 2012, 04:34:41 pm
Can someone direct me to a person that has experience with bootloaders on mini-pro ?

Oby_One, I use ProMinis a lot and have burnt bootloaders to them many times.  For programming I power the ProMini at 5V, irrespective of whether it's a 3.3V or 5V model.  It doesn't seem to do any damage to the voltage regulator.  If ArduinoISP isn't working for you, I'd suggest trying Nick Gammon's excellent alternative sketch on the page already referenced.  I'm sure you can adapt his instructions to the ProMini pin-out.
48  Using Arduino / Microcontrollers / Re: Removing the Arduino Bootloader on: November 26, 2012, 07:24:34 am
You don't need to remove the bootloader in order to upload Arduino-less code.
49  Using Arduino / Microcontrollers / Re: Robustness and long term reliability of Arduino boards and AVR chips on: November 11, 2012, 04:27:39 pm
It depends on what kind of environment you have in mind.  Running on my desk flashing LEDs the Arduino is perfectly reliable and robust.  But it is certainly not built to withstand an industrial or laboratory environment.  There is almost no protection circuitry, so the processor and anything connected to it can be killed by a glitch or a short.  The connectors would not stand up to knocks, vibration, or any mechanical stress.
50  Using Arduino / Microcontrollers / Re: Dead Arduino on: November 08, 2012, 01:38:41 pm
Kobi, we need more information from you.
51  Using Arduino / Microcontrollers / Re: Dead Arduino on: November 04, 2012, 06:39:50 pm
At the time you had the7805 regulator attached, was there anything else attached to the Arduino - USB cable, power supply, etc?
Can you tell if the old sketch is still running when you apply power to the Arduino's DC jack?
I presume you have now removed all external components from the Arduino.  When you plug it into the computer, does the power LED come on?  Can you try another USB port on the same computer, or another computer?
52  Using Arduino / Microcontrollers / Re: Arduino Clock Speed on: November 01, 2012, 05:29:54 pm
The error you're seeing is roughly 0.3%.  That's not far from the 0.2% error I measured on an Uno a little while ago:
http://arduino.cc/forum/index.php/topic,69316.msg516645.html#msg516645

If your custom board is using a crystal then it's likely to be much more accurate.  My Freetronics "Eleven" (an Uno clone with a crystal in place of the Uno's resonator) is accurate to roughly 40ppm.

If you can tolerate a small amount of drift, then I'd recommend building a second copy of your custom board, or buying something like the Freetronics Eleven.  If you need better precision and can put the microcontrollers close together on the same board then it's possible to run off a single crystal (beware, the second clock is not wired in the same way as the first).
53  Using Arduino / Microcontrollers / Re: Lowest Arduino Power consumption on: October 21, 2012, 05:12:13 pm
Hours in one year: 525,946

Ouch!
54  Using Arduino / Microcontrollers / Re: Lowest Arduino Power consumption on: October 21, 2012, 05:11:15 pm
Quote
I could get a 16MHz 5V Arduino down to approx 1uA.

If you could get the avr to run on a 16Mhz crystal with less than 1ua, you should contact Atmel, smiley

Getting an avr to run below 50ua is easy, even on a crystal. Getting it to run below 10ua on a crystal is difficult. Getting it to run below 1ua on a crystal is out of this world.


We're talking about the power saving modes, in which the CPU is stopped.  What are you talking about?
55  Using Arduino / Microcontrollers / Re: Lowest Arduino Power consumption on: October 21, 2012, 08:49:04 am
I took a quick look at some datasheets for a few 3V lithium coin cells.  The ones I looked at quoted self-discharge rates around 0.1uA.

Duracell claim a self-discharge rate equivalent to 10uA in their Alkaline AA cells.
56  Using Arduino / Microcontrollers / Re: Lowest Arduino Power consumption on: October 20, 2012, 04:11:40 pm
Current drawn by an Atmega328p with external 16 MHz Crystal = 13 mA

That sounds reasonable if you are not using any power-saving techniques.  Using code similar to Nick's demo linked above, I could get a 16MHz 5V Arduino down to approx 1uA.  My multimeter is not good enough to read these very low currents with any accuracy, so I cannot say if the real current was less than that.  The datasheet claims 0.1uA at 3V, and I've no reason to doubt that.
57  Using Arduino / Microcontrollers / Re: Lowest Arduino Power consumption on: October 20, 2012, 03:30:57 pm
Using Nick's code below I was able to get down to 400uA with everything unlugged which suggests the rest is down to the board peripherals?

That much could easily be drawn by the voltage regulators, even if you are injecting power downstream from the regulators' output.  In addition the RTC spec shows that it draws 100-200uA.  The simplest solution for ultra-low power would be a standalone '328 chip.  Myself I like to use Sparkfun's Pro-Micro because you don't need a chip socket or PCB, but it requires some minor surgery to cut the trace from the voltage regulator.
58  Using Arduino / General Electronics / Re: Organic Glass - What is it for? on: September 27, 2012, 12:59:33 pm
Wonder why it was called "Organic Glass", something lost in translation?
It's an unusual term, but plexiglass is an organic molecule (unlike "normal" glass), so I can see where it comes from.
59  Using Arduino / Microcontrollers / Re: I/O pins in Pro Mini vs. Uno on: September 16, 2012, 03:25:41 pm
You know Pin-1 is labelled "TXO" on the Pro Mini, right?
60  Using Arduino / Microcontrollers / Re: Program AT328 with Leonardo on: September 15, 2012, 04:48:46 pm
There are 2 ways you could do this:
- Skip the bootloader and run the ArduinoISP sketch on the Leonardo
- Use the Leonardo as an USB-to-serial interface and program the 328 via the bootloader as normal

The second option is probably easier, but entails writing a short sketch for the Leonardo to link Serial and Serial1.
Pages: 1 2 3 [4] 5 6 ... 25