Beginner Question

Hello Guys,

I am new to the arduino platform as well as the Micrcontrollers.

My project is a persistence of vision display. So I will be rotating my circuit at around 1500 RPM.

What my questions is that, after burning the code on my Arduino UNO, can I take off the micrcontroller and put it on the circuit without needing any other peripherals?

Also, I will be powering it using 2 Coin Cell 3v Batteries in Series, which would be on the Circuit board itself. So will that be feasible?

It would be great if someone could give me some tips on this.

Thanks

You'll probably need to fit an external 16mhz crystal and a couple of 22pf caps. Taken straight from an UNO, the fuses on the chip are going to be set for an external crystal which you'll need to provide if you want it to work. Have a look around for some arduino to breadboard circuit diagrams and you'll get the idea.

Also, I would consider slightly more beefy batteries. I can't see a couple of coin cells lasting very long if they power it at all... but that does depend on the power requirements of your project, which I can't guess at without measuring it :slight_smile:

You load the code via the USB after that unplug the USB and set it spinning.

Mark

@BulletMagnet83:
So what you mean to say is that I will have to re-create the whole board on my circuit? Don't worry about batteries as I need to power only 5-7 LEDs.

@holmes4:
You mean to say I send the whole board for a spin?
I am kinda new with micrcontrollers and all, could you give me some ideas on how I would be able to hold the board firmly on my circuit rotating at 1500 RPM.

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.

dc42:
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.

The only tools you need to program a blank atmega chip are your Arduino, a 10uF capacitor, and a cable. See Prototyping small embedded projects with Arduino | David Crocker's Solutions blog.

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.

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