Go Down

Topic: Beginner Question (Read 471 times) previous topic - next topic

HappyTron


If you want to power the mcu from small batteries, consider whether you need to run it at full Arduino speed (16MHz). I run my battery-powered projects at 8MHz, and you can use even lower clock speeds for lower power consumption.

If you don't want to use a crystal and capacitors with the mcu and don't need accurate timing, buy a blank atmega328p chip and program it by running the ArduinoISP sketch on your Arduino. You can run it at its default frequency of 1MHz, or at 8MHz if you program the fuses.


Sir I have no idea how to do the second part. Is there any instruction to change the clock speed on the Arduino board? After programming, I could just take the controller off and use it, since 8 MHz would suffice. I don't have all the tools to program the blank atmega chip.

dc42

The only tools you need to program a blank atmega chip are your Arduino, a 10uF capacitor, and a cable. See http://miscsolutions.wordpress.com/2011/08/09/prototyping-small-embedded-projects-with-arduino/.

You can take the chip out of the Arduino socket and run it at 8MHz if you connect an 8MHz crystal and capacitors to it. Alternatively, connect an 8MHz three-terminal ceramic resonator to it, then you don't need the capacitors.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

holmes4

Your going to be spinning what ever micro you use, plus the batteries, plus the LEDs and any other bits. So why not (at least) start by spinning an Uno and then move on the creating your own microprocessor card. You could have a look at the nano or pro mini cards. Look in the products section of this site.

Mark

Go Up