Hi :), im new to programming and i am trying to program an Atmega328p using and Arduino Uno as ISP, right now im just doing test so i uploaded the sketch attached.
Once i upload the sketch i try powering the Atmega and reading its serial with the Arduino Uno Board as in the diagram attached
Just as a note, the Arduino Board i'm using does not have an Atmega since i am using it as an ISP, just could find a picture of one.
this removes the need for an external clock as i am using the 8MHz internal clock.
When i upload the sketch and power the Atmega, i can see the LED turning on and off but i don't receive anything on the Serial port; i've already tried flipping the RX and TX cabled and still nothing.
If antibody could help me i would really appreciate it
Having trouble understanding what you’re attempting to do. Perhaps I should start by asking how many atMega328 chips do you have?
If it’s just one.. you’re stuck and will not be able to convert a chip that has been configured for an Uno and convert it to a breadboard without a crystal. You have no way to change the settings (fuses) that control the clock settings without an isp programmer.
Do things improve if you add a series resistor (say 330R) to the LED ?
So you have got as far as uploading a sketch (somehow) to raw ATMEGA328P chip to make the LED attached to arduino digital pin 4 (IC pin 6) blink with a 1 second period. The sketch should also write a message over the serial port at 9600 baud.
The arduino it is talking to also has a corresponding sketch to receive this message ?