Hi,I am Japanese Arduino user.
I use oled(ssd1306) with Arduino (power supply 3v)
(3V source is AA battery x2)
I have 2 arduino,one Arduino use running program.
Anoter Arduino use for Avrisp.
I choosed '8Mhz internal clock' for running 3v.I programd sketch via Avrisp.
(program is u8glib sample sketch.(graphics test))
And, Arduino and OLED running perfect.
I plan to use OLED without Arduino(use just atmega328)
I picked up Atmega328 from Arduino.
And, I insert bread board.
(And need wire (exp. vcc(3v) gnd scl sda)
after setting circuit and turned on, OLED and Arduino says quiet.
(And I return atmega328 into Arduino, OLED run perfect.)
What I Wrong?
I cannot see crew.
Pleaes help me.
Thanks for reading.
God invented the Arduino.
The ATmega328P expects to use a crystal. e.g. 16MHz for Uno. 8MHz for 3.3V Pro Mini.
Since your Pro Mini is already running at 8MHz crystal, you could change the clock fuses for 8MHz Internal RC clock. Remove CLKDIV8 fuse too.
The sketch will run in the 8MHz Pro Mini.
The sketch will run in the breadboard.
David.
Hi, David.
sorry for missing information.
I use Arduino Uno Rev.3
so, I changed board option 'Atmega 328 on a board(8mhz internal clock)'
becouse I thought run perfect, but not perfect.
I did test that
(first turn 5v power and 3v(battery power) same time,
And OLED displayed animation ,
second turn off only just 5v power,so supplyed only 3v power)
then, OLED displyaed,but animation is stop.
So i think problem occured i2c communicate.
But i dont know what different between arduino and 'bread board on the atmega328'.
My apologies. I reply to many threads. I thought you were a 3.3V 8MHz Pro Mini owner.
The regular 0.96 inch SSD1306 displays will work fine at 3.3V
I have never tried 3.0V
The breadboard "problem" is due to not mounting a crystal.
Put a crystal on the breadboard if you want to swap AVR with the Uno.
Personally, I find breadboards painful. Much easier to buy another Uno clone.
If you do use a breadboard it is simpler to program with your AVRISP-2.
David
thanks your reply.
your massage give me key and answer.
I wrote my mistake for somebady failed run arduino 8mhz inter clock.
I use 2 arduino. One use for 'run program'. another use for 'avrisp 1'.
1st,I wrote bootlooder that option 'Arduino Uno'.
I Thought ''Atmega328 on a board(8mhz internal clock)'' option use when only write code via avrisp.
But that's a mistake.
Option must choosed when write bootlooder.
so,My breadboard dosent run 3.0V.
(16mhz clock needs 3.78v)
(8mhz need 2.4v)
And OLED SSD1306 run 3.0V with Atmega328 only.
(I ofter see OLED + attiny85 + 3.0v but I never see atmega328)
Very thanks David, I cannot tell my thanks in text.
God bless you.
Jhon