Go Down

Topic: Arduino on breadboard (Read 144 times) previous topic - next topic

Mahdiyar

Hi everyone

Regarding to this TOPIC, I want to make two Arduino on the breadboard that communicate with each other via I2C protocol.
Can we use one crystal and a pair of 22Pf cap for two ATMEGA328P on breadboard?


Many thanks
Mahdiyar

wvmarle

No; one crystal and load capacitors for each Arduino.

Or you can of course set them to run off the internal oscillator; a crystal is entirely optional.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

6v6gt

You can also look at the CKOUT fuse setting which propagates the clock signal on portB0.
The other mcu chip would also need a corresponding fuse change CKSEL to accept an external clock signal. Care is required to ensure you can always undo such changes.

Willem43

#3
Nov 04, 2019, 11:26 am Last Edit: Nov 04, 2019, 11:27 am by Willem43
Quote
I want to make two Arduino on the breadboard that communicate with each other via I2C
I do that all the time.  I do however have a crystal and caps for each.

@6v6gt's idea of passing the clock between them is a good one - never thought of doing that.

However, with the different fuse settings, I feel adding a crystal is easier.

Ask if you need help with the I2C communication.

Willem.


Paul__B

Get two Pro Mini clones and mount them on your breadboard.

Go Up