Hi,
I have burned a bootloader on an ATMEGA328P-PU and then wired it following the instructions on the link http://www.instructables.com/id/Standalone-Arduino-ATMega-chip-on-breadboard/?ALLSTEPS. It works but when I load (through the arduino) the blink and fade example, the LED is always on and does not fade or blink. Any ideas why and how I fix this ?
It works but when I load (through the arduino) the blink and fade example, the LED is always on and does not fade or blink
That is a strange new usage of the words "it works" to which I was previously unaware.
Perhaps it is the fact that most ( but not all ) instructables are written by morons. This one is no exception.
There are no decoupling capacitors anywhere on the project.
So I should follow something like this picture ?
That's not too bad:
Needs 0.1uF cap from VCC to Gnd and AVCC to Gnd.
Aref should not be connected to +5, it should only have a 0.1uF cap to Gnd.
Thanx alot it works fine !!! Is there any way to connect it to a computer as it is with a usb port ???
alex_poupakis:
Thanx alot it works fine !!! Is there any way to connect it to a computer as it is with a usb port ???
Just use a USB to TTL converter module from any good eBay vendor.
No DIY method available ??
Yes buy the chip and solder it on to a surface mount PCB, the schematic is trivial.
Mind you this wil cost more than a module.
Has your PC got a serial port on it?
If so there are other methods.
No it has a parallel port
Then bit bang two bits of the parallel port on the PC with serial data, then direct the serial output of the arduino IDE to your bit bang routine instead of the serial port.
Might be a bit too complex for you though.
Can't I convert USB to Serial with a cable and then do it the easier way ?
alex_poupakis:
Can't I convert USB to Serial with a cable and then do it the easier way ?
That is what I said in the first place. A convention cable has a module built into it.
Ooops...
And with the now Serial port how do I connect the atmega328 to the computer ?
The difference is that I 'll end up with a port whereas the link needs a card !
Would it be the same if I soldered the 4 wires to the adapter and connect the to the chip ?
Also which one of them is VCC ?
The difference is that I 'll end up with a port whereas the link needs a card !
I do not understand what you mean.
Also which one of them is VCC ?
That is an RS232 connector, there is no Vcc. You can not use signals off a connector like that without an interface chip like a Max 232
So the chip is mandatory. Ok thank you very much. I truly appreciate it !!!