Can I connect the ATmega328 without any other component and program it like that (preferable using another arduino as ISP and a Bootloader Burner)?
And to power the chip, can I use an Power Adapter with these caracteristics (Input: Ac 110V -240V 50160HZ; Output: DC 5V±0.2V DC 500mA±30mA) without a voltage regulator or is better another thing?
Output: DC 5V±0.2V DC 500mA±30mA)
Can I connect the ATmega328 without any other component...
...and program it like that (preferable using another arduino as ISP and a Bootloader Burner)?
As for the nRF24L01, they will do what you want very nicely and inexpensively. One thing you MUST ensure though, is that you are using the nRF24L01+. That + is a big factor as the non + will not tolerate 5v power. The non + require 3.3v for power. The + model can take 5v.
The first question was about running from a 5v power supply that the OP has already, and 16Mhz @ 3.3v would be overclocking. Not everyone is comfortable with running out of spec as it could be at the cost of stability at a later date.
It was also about running with no external components. So he must be using the internal oscillator, which means he's running at about 8MHz or less - well within spec @ 3.3V.
Out of interest myself, what is the consequences of the internal clock and using SPI? The internal isn't very accurate is it, so will that affect timing and speeds available over SPI?
Yes, but you don't need a bootloader if you are programming the chip via ICSP.
Yes, but you don't need a bootloader if you are programming the chip via ICSP.Alternatively, why not run the atmega328p at 3.3V instead of 5V?
The SPI speeds are derived from the system clock speed so the choices will all be half the speed of what you would get with a 16 MHz clock.Since SPI has separate data and clock there isn't the same sensitivity to clock speed that asynchronous serial communication has. It should work even with wildly varying clock speeds.
Quote from: dc42 on Dec 16, 2012, 10:54 amYes, but you don't need a bootloader if you are programming the chip via ICSP.I had already thing about that, but I didn't find many things on that programming method and I don't know practically anything about that programming language
Quote from: dc42 on Dec 16, 2012, 10:54 amAlternatively, why not run the atmega328p at 3.3V instead of 5V?Because I didn't find any 3.3V power source, and I've read somewere (don't remember where exactly) that the ATmega chip must be at 5V to work correctly. It isn't true?
Alternatively, why not run the atmega328p at 3.3V instead of 5V?
I knew that running the ATmega without the 16mhz crystal it would be slower, but it also means that the Delay time will be different?
By the way, I have 3 of that crystals, they are really needed, I mean, I should use them or for this specific case I can leave the ATmega without it?
If you need accurate timing, use the crystal. If you can accept some variation (e.g. +/-10% if you don't calibrate the internal oscillator, better if you are prepared to calibrate it), then you don't need to use a crystal. If you decide to use a bootloader, then you will either need a crystal or ceramic resonator, or you will have to calibrate the internal clock (unless you are lucky).
The atmega328p can use anything between 1.8V and 5V. The maximum clock speed that is guaranteed to work varies with voltage, from 4MHz @ 1.8V to 20MHz @ 4.5V and higher. But if your peripherals can run from 5V, then you may as well use 5V.