First i test this code “I2c scanner” from arduino playground: https://playground.arduino.cc/Main/I2cScanner , and it shows the address for the device connected perfectly. And the i try de adafruit library and like i said before, it works perfect.
But the next day i tested that and pof!, it stopped working only showing me errors in the i2c scanner.
The oled display works perfectly i tested thatn with an arduino nano.
I tried to change the protoboard, connect directly the oled pins with the board pins, resolder the board pins, use the other i2c pins, etc. And nothing of this works
So here is my question. Do i break the board?
Thanks a lot ![]()
Burning io ports is rare. Try to track down what you did differently at that day..
For example you removed pull-up resistors..
[ahull – Wed Oct 25, 2017 10:26 am] –
Despite my best incompetent efforts, I have yet to actually fry any of these board. I suspect your wiring may be the issue.
This is my wiring connection:
https://imgur.com/a/wBGZx
In the stm32f1 datasheet these are the pin connections for sda and scl.
[Pito – Wed Oct 25, 2017 10:13 am] –
But the next day i tested that and
Burning io ports is rare. Try to track down what you did differently at that day..
For example you removed pull-up resistors..
How can i put again the pull up resistors? thanks.
In your circuit you are using this display which is 5 Volts logic, normally you have to use a proper voltage shifting circuit as pins of STM32 are 3.3V.
[Slammer – Wed Oct 25, 2017 10:52 am] –
First you have to use 2 resistors (2K2-4K7 value) connected to each of I2C pins to 3.3VIn your circuit you are using this display which is 5 Volts logic, normally you have to use a proper voltage shifting circuit as pins of STM32 are 3.3V.
But it works perfectly the first time i use this, without resistors and without a shifting circuit, why not now?, Im gonna try the resistors to see if that works, thanks for the reply
I tried to change the protoboard, connect directly the oled pins with the board pins, resolder the board pins, use theother i2c pins, etc. And nothing of this works
it’s not clear which bit of changing occurred when.
i suspect that moving to i2c2 might be the issue, but as i’ve never done anything on i2c2, so i can only say ‘suspect’
try a search here for i2c2, pretty sure it’s been up before.
stephen
not really clear on the BP board either, it is if a Baite MM.
srp
Thanks everyone for the help! ![]()


