Having worked for one of the largest networking companies on earth, I am very used to writing documentation, and creating video tutorials. This is Very very well done. Very well explained and detailed. Very clear instructions with purpose and no confusing references. If you do get confused pick up some of the free docs for Ardunio to help fill in the blanks. I have worked with MC since I was in school years ago. Kudos on the video very well done! I Look forward to more!.
You did a very good job on this video. It is very clear and complete. When I am about to hook up my OLED I will use your video as my reference. Thanks for the great lesson.
very well explained and in details. i spent numerous hours trying to get my OLED to work , stumbled upon this video and found out my OLED address was incorrect.
Thanks for the education that the Arduino is limited to the high order 7 bits for the address. That was extremely helpful. Also the usage of the Mux was in great detail. Excellent videos.
Really really nice tutorial. Very compact source of information. One small hint: its not a zero (0) Ohm resister. Its 472 printed on, which is 4,2 kOhm
OUTSTANDING tutorial. Well done videography too. After hours and hours researching to find the answers, you said it all in less than 17 minutes. Thank you Crazy Couple. Thumbs and new subscriber.
Your video is simply a breakthrough for me!! I had been struggling with many aspects regarding Arduino including display routine configuration. Thanks SO MUCH :)
I've already figured out the I2C oled thing, but still learned about the 7 bit addressing, font and image converter resources and the multiplexer by watching this - great video, keep up the good work, and thank you.
WTF! In these 16 minutes I've learned more about displays and communication than ever before in a few days :-D. Thanks buddy!!! And btw, very good and clear english. Perfect for me as a native german :-)
Copied from Reddit: As someone who is also still learning about electronics and Arduinos I felt the timing of this being posted was kind of funny and that I should chime in. Now what's funny about it, for me at least, is that I just finished working with an OLED on a NodeMCU ESP-12E after not having worked with one for at least a year (the former being rigged to a Nano). Naturally, I needed a little bit of a refresher but got it working. With that in mind, I saw this post and felt like the timing was right and I'd give it a quick look since it's still fresh in my mind. To be honest, I didn't actually expect much - I did my project, I learned plenty about OLEDs and got them working, and honestly, there are just so many websites and videos out there already and so much information that what could this video possibly do for me? I was actually really surprised with this. Like I said, the proverbial market is flooded with information - a plethora of blogs and videos on how to do stuff like this, and most of them are difficult to read through or unpleasant to watch. This guy gets it right. His editing and presentation are fantastic, his video footage is good quality, and he has easy-to-read schematics he walks us through. Not only that, he goes way above and beyond, showing us how to set up multiple OLED screens together, how (and why) addresses work, how to use multiplexers for many OLEDs, and concludes with talking points on the advantages and disadvantages of using an OLED and common errors in setting them up. This video is really well made and very helpful, and for anyone who is anywhere in the "just learning" to "needing a refresher" range of skill level, I couldn't recommended this more. I mean, I just did a project with an OLED and refreshed myself but still learned some things from this video. This is honestly the kind of stuff I want to see when I'm looking for refreshers on something or to learn something new. Great job.
Great! ssd1306_128x64_i2c works!! I use an Arduino Due .. and the key for me was telling me that - if I was using a *Mega* - then I should use terminals 20 and 21. The penny suddenly dropped. That works on the Due too. The Due also has terminals SCL1 and SDA1 in the same position as they are on the Uno.. and they don't work for this. Nor does using A4 and A5 as many tutorials show. Need to use terminals 20 and 21 folks. Also ..I goofed first time on the mixture of underscores and hyphens in the file names. Out of the box they don't match so need to go through those very carefully. Thank you!!
Hi. A question. How did you eliminate the flickering of the OLED when recording the video? In the examples the OLED was blinking and in the end of the video they no longer blink in the animation.
Hi There Lowering the contrast and brightness of any object that illuminates light will not flicker when you are recording them at 30 fps If you want to record at higer brightness use higher frame rate
Hey man! Great video but one part is missing for me; What if i want to show a BMP as an intro for 3sec and read an analog value to print on screen? I do print my logo when i start it but display.cleardisplay function doesn't seem to work. Cant print my analogread on OLED. Any suggestions would be appreciated
Hi There First of all thanks Now to answer you question, So you are using a 3 seconds delay to display your image. And then when you read the input value are you able to serial print it and see if it is actually getting into the system or not? If it is then are you getting any error? If not can you display another image after the delay?
First of all thanks for watching Now, D1 and D2 on NodeMCU are SCL and SDA. Which means if you are trying to use an I2C sensor it has to be on those pins unless you multiples it using a TCA9548A i2C MUX. You can check out my tutorial number 9 for that: ruclips.net/video/XWQsqPQOW-U/видео.html Now, if you are running out of GPIO pins you need to extend your GPIOs using an IO extender. My next tutorial is on that only. If you want you can check it out next week and that will for sure answer your question. Using the i2c IO Extender you can extend the GPIO pins to have 128 'parallel' pins.
new subscriber. hope you'll do one like this for the TFT... NOT using the TFT_eSPI library - or if you must, at least give it a good going over of the two set up files. But I would really like to see something like this video done for the ST7735. Thanks
Hi there If you are using a MUX it really doesn't matter. But if you are connecting 2 at once (without the MUX) then you do need to change the resistor
Hey there! Can i use this display as a menu and also cn i have exterior physical buttons to navigate through the system for eg when the system boots up, i see four options A B C D on my display and when i select any one of them like say A then it gives me 4 more options like 1 2 3 4 and so on with the data of all the options selected by the user in line(like timestamp). Is it possible? If yes then please let me know Thank You
Yes you may. You can use the display to just display the menu items The buttons will do the real stuff In the loop section detect interrupt and when a value goes from 0 to 1 (button press) change the menu item and do what u want to do
Hi I have a question if my esp8266 connected to WiFi how can i display the IP Address on OLED i used the esp 8266 library SSD1306Wire not the Adafruit for the OLED thanks in advance if you can advise on the exact code also for MAC address
Great Video. Thumbs Up! I am actually have an issue getting my 128x64 OLED to display anything while following this tutorial. I think it is because the recently downloaded Adafruit_SSD1306.h file looks different than in your video. I do not see a place where address is identified. However, I only have 1 stock display, so I do not think I would need to change it anyway. Regardless, I did change the file by uncommenting the "#define SSD1306_128_64" and commenting out the "#define SSD1306_128_32". I also made sure to change the reset pin from "4" to "LED_BUILTIN", since I am using a NodeMCU. Any suggestions on where to look next?
The libraries I used are all in here: diyfactory007.blogspot.com/2018/07/oled-i2c-display-arduinonodemcu-tutorial.html See if that works out for you. If not get back to me and I will do a quick test with the new library
@@CrazyCoupleDIY Thanks for the offer! I actually figured it out. The SSD1306 i2c example actually had 0x3C as the default. I changed it to 0x3D and all was well. Thanks again for the great video. Make more! I'm trying to learn about server/client communication with and without wifi. I'm also going to try to develop an app for android to read data off of the DHT22 sensor.
excellent video, i'm not an electrical engineer but i do understand and have the aptitude to learn. I am looking to put together a Tiny gps enabled Speedometer for FPV RC cars, Drones and whatever you want to stick a speedometer on. these tiny OLEDS are perfect, they can sit just on what would be the dash and the fpv cam can clearly see the display, true some drones come with all this built in but people want a standalone lightweight speedometer that can record g-force, speed and distance all tracked by gps. currently we have to use a big ass box and strap it to the outside of the RC vehicle. can any of you guys build one?
Hi. I require use 2 screen: one 0,96 and one 0,91. One module PCF8574 for 8 relays, one RTC DS3231 (it's 3,3v or 5v? I look both). Is necesary TCA9548A module or can connected in serie?
If you choose different address of the I2C OLEDs by swapping the resistors then u dont need the MUX Otherwise you will definitely need one to assign a diffrent address to the two I2C OlEDs
@@CrazyCoupleDIY OK, THX!!!! Suposed I use only one 0.96, one PCF8574 (0x20) and one RTC DS1302. All are 5v and i2c. Can connect in cascade (or serial)? No find TCA9548A module in my local commerce.
@@ManuelCastillo-kq3xy I2C was designed to allow several devices to be connected to the same bus. So, the answer is "Yes, but..." (as it always is ;-) ) For simple connections, the "buts" are: 1. They all need to be the same voltage, as you already noted. 2. They have to have different addresses. 3. You have to be careful about wire lengths: I2C was designed for devices on the same PCB, or connected to it with short wires (like temperature sensors inside a PC). People who try to connect I2C with more than a meter or so of wire often have reliability problems. Also, if those relays are controlling something like motors, that can generate a lot of electromagnetic fields, longer wires could turn into antennas that pick up noise. So keep them as short as you can, and away from motors, relay coils, and other sources of magnetic fields. And, yes, connect them "in cascade" (or "parallel"): all SDA lines together, all SCL together, etc.
Having worked for one of the largest networking companies on earth, I am very used to writing documentation, and creating video tutorials. This is Very very well done. Very well explained and detailed. Very clear instructions with purpose and no confusing references. If you do get confused pick up some of the free docs for Ardunio to help fill in the blanks. I have worked with MC since I was in school years ago. Kudos on the video very well done! I Look forward to more!.
Thanks a lot for the appreciation
It really helps me in getting motivated
Thanks :)
Best ever tutorial seen recently.... no one can explain more clearer
Thanks 👍
Now, this is how a tutorial is done!!
Thanks mate
100% ACK. One of the top 10 tutorials.
Thanks
You did a very good job on this video. It is very clear and complete. When I am about to hook up my OLED I will use your video as my reference. Thanks for the great lesson.
Thanks 👍
Just dipping into Arduino and NODEMCU world and your very clear explanation was exactly what I needed. Thanks!
Cheers mate
I am happy that I was able to help you
Fantastic tutorial. The closing wrap up with Common Errors was a bonus. Clear concise and informative. Thanks !!
I am glad that I was able to help you
This is simply OUTSTANDING! Thank you very much!
Pleasure
very well explained and in details. i spent numerous hours trying to get my OLED to work , stumbled upon this video and found out my OLED address was incorrect.
Thanks for the appreciation mate, happy to help
The best tutorial I have seen for oled. So thorough. Thanks a bunch. great work Keep it up. I subscribed, It is rare when I do.
Thanks
It is my pleasure
Thanks a million for this! Everything worked perfectly, the first time, including multi-display!
Pleasure
literally the best tutorial ever! Now i know everything i need to know!
Cheers mate.
Happy to help
Thanks for the education that the Arduino is limited to the high order 7 bits for the address. That was extremely helpful. Also the usage of the Mux was in great detail. Excellent videos.
Thanks 👍
very complete, detail oriented, and concise delivery...thx
Thanks a lot for the appreciation 👍🙏
excellent presentation... no nonsense and straight to the point... easy to understand too... good job on the tutorial...
Thanks mate.
This is the video to keep in your library.
Cheers thanks
Hello from India....Thanks a lot for creating such an informative tutorial with every bit of details...appreciated. Liked Subscribed.
Thanks a lot 👍
I have to agree with Laszlo, this is the most inclusive tutorial I've seen Thanks for your work.
Thanks a lot
hands down best video about oled displays and common display knowledge. Thanks!
Thanks a lot. More tutorials and projects are on its way, so stay tuned
Really really nice tutorial. Very compact source of information. One small hint: its not a zero (0) Ohm resister. Its 472 printed on, which is 4,2 kOhm
:)
OUTSTANDING tutorial. Well done videography too. After hours and hours researching to find the answers, you said it all in less than 17 minutes. Thank you Crazy Couple. Thumbs and new subscriber.
You are most welcome.
Check out my other tutorials if you have some spare time. You may find something interesting in there too
Your video is simply a breakthrough for me!! I had been struggling with many aspects regarding Arduino including display routine configuration. Thanks SO MUCH :)
I am glad that I was bale to help you.
Stay tuned for more and if you want u can check out my other tutorials :)
I've already figured out the I2C oled thing, but still learned about the 7 bit addressing, font and image converter resources and the multiplexer by watching this - great video, keep up the good work, and thank you.
The Best explain on RUclips!
Thanks 😊
This is one thorough, clear and very well done video. Thanks a lot.
Thanks for watching :)
Thank you, for a very clear guide how to use these Oled displays, it's just what i needed.
You are most welcome.
Subscribe for more tutorials and project.
Have a very happy and prosperous new year
WTF! In these 16 minutes I've learned more about displays and communication than ever before in a few days :-D. Thanks buddy!!! And btw, very good and clear english. Perfect for me as a native german :-)
You are most welcome.
Subscribe for more tutorials and projects that are on its way
Very good video, I have a question, how I can put a web site in the display with the noodle?
Showing an entire website will be a bit of a chalkaoge but may be you can extract parts of the website and display that bits only on the oled
You convinced me to buy a multiplexer and also a node mcu lol. Great tutorial!
Thanks
I am glad that I was able to help you
Very good explanation. Sufficient for a beginner. Worked for me
You are welcome, stay tuned for more amazing future tutorial and projects
respect for your work CRAZY COUPLE, u did this tutorial so well, wow!
Thanks mate
Copied from Reddit:
As
someone who is also still learning about electronics and Arduinos I felt the
timing of this being posted was kind of funny and that I should chime in. Now
what's funny about it, for me at least, is that I just finished working with an
OLED on a NodeMCU ESP-12E after not having worked with one for at least a year
(the former being rigged to a Nano). Naturally, I needed a little bit of a
refresher but got it working.
With
that in mind, I saw this post and felt like the timing was right and I'd give
it a quick look since it's still fresh in my mind. To be honest, I didn't
actually expect much - I did my project, I learned plenty about OLEDs and got
them working, and honestly, there are just so many websites and videos out
there already and so much information that what could this video possibly do
for me?
I
was actually really surprised with this. Like I said, the proverbial market is
flooded with information - a plethora of blogs and videos on how to do stuff
like this, and most of them are difficult to read through or unpleasant to
watch. This guy gets it right. His editing and presentation are fantastic, his
video footage is good quality, and he has easy-to-read schematics he walks us
through. Not only that, he goes way above and beyond, showing us how to set up
multiple OLED screens together, how (and why) addresses work, how to use
multiplexers for many OLEDs, and concludes with talking points on the
advantages and disadvantages of using an OLED and common errors in setting them
up.
This
video is really well made and very helpful, and for anyone who is anywhere in
the "just learning" to "needing a refresher" range of skill
level, I couldn't recommended this more. I mean, I just did a project with an
OLED and refreshed myself but still learned some things from this video. This
is honestly the kind of stuff I want to see when I'm looking for refreshers on
something or to learn something new. Great job.
Thank you,can u make videos about pressure sensor transducer for oil, water
Thank you. This is one of the best detailed tutorial I ever watched.
Thanks 🙏
Well done, great thorough inclusive explanation of everything!
Thanks a lot
This is gold, just an amazing all in one presentation
This is awesome! May I ask if I2C communication is okay with long wires? Thank you
Serial communication over long wires will not be ideal.
@@CrazyCoupleDIY have you experienced using I2C extenders?
Yes, I have couple of videos on that on my channel
Please do have a look
Thank you very much for the video, very clear. Kind regards from Argentina
Thanks a lot for the appreciation
What a superb instructional video. Thank you and keep them coming
Thanks mate, your word mean a lot to me.
Well done ! Great tutorial for the beginners. I just looked something like that. All The Best !
Thanks a lot for the appreciation mate :)
Great! ssd1306_128x64_i2c works!!
I use an Arduino Due .. and the key for me was telling me that - if I was using a *Mega* - then I should use terminals 20 and 21. The penny suddenly dropped. That works on the Due too.
The Due also has terminals SCL1 and SDA1 in the same position as they are on the Uno.. and they don't work for this. Nor does using A4 and A5 as many tutorials show. Need to use terminals 20 and 21 folks.
Also ..I goofed first time on the mixture of underscores and hyphens in the file names. Out of the box they don't match so need to go through those very carefully.
Thank you!!
Good job, keep it up
really usefull and clear cut explanation . THANK YOU BRO
You are welcome 🙏
Well explained and engaging
The pace is very good and u covered almost everything in this tutorial
Amazing, keep it up
Thnaks mate
Thank you for a great tutorial. Concise and exactly what I needed to know
Cheers 👍👍
very clear and concise :) great work
Thanks 😊
I know this is an older video but when running on an Uno R3 you may need to change 0x3D to 3C to get it to work
Thanks brother, I learned it quickly
Glad it helped
Hi. A question. How did you eliminate the flickering of the OLED when recording the video?
In the examples the OLED was blinking and in the end of the video they no longer blink in the animation.
And a second question. Do you know how I can increase the brightness of the OLED 128X64? Can the brightness be increased?
Hi There
Lowering the contrast and brightness of any object that illuminates light will not flicker when you are recording them at 30 fps
If you want to record at higer brightness use higher frame rate
Definitely worth the watch, thank you for the video, well made 👍
Sir thank you for this tutorial, is awesome! thank you for taking the time to do this!! You rock!
Thanks a lot for watching and stay tuned for more tutorials and projects that on its way :)
Fantastic!!! One of the best tutorials I've seen.
Thanks. If you have time check out my other tutorials.
Thank you for making this! It was very helpful and informative.
You are most welcome,
Stay tuned for more :)
Ottime spiegazioni che mi hanno fatto proseguire nel mio progetto. Grazie!
Thanks for that, best of luck with your project
And a second question. Do you know how I can increase the brightness of the OLED 128X64? Can the brightness be increased?
I dont think you can go above the max allowed. Please check the datasheet for that.
Thanks
Nice presentation!
Thanks 👍
Hey man! Great video but one part is missing for me;
What if i want to show a BMP as an intro for 3sec and read an analog value to print on screen?
I do print my logo when i start it but display.cleardisplay function doesn't seem to work. Cant print my analogread on OLED. Any suggestions would be appreciated
Hi There
First of all thanks
Now to answer you question, So you are using a 3 seconds delay to display your image.
And then when you read the input value are you able to serial print it and see if it is actually getting into the system or not?
If it is then are you getting any error?
If not can you display another image after the delay?
Thanks for the reply man appreciated.
Silly me i put it in the setup not the loop part. Changed it and its working now
Great Video!!! I have not figured out yet to use a multiplexer and multiple OLEDs with different screen sizes. Is it even possible?
Yes it is possible
Great video. So far no one answered this. How can I use different pins? I am using D0-D7 for keypad on NodeMCU.
First of all thanks for watching
Now, D1 and D2 on NodeMCU are SCL and SDA.
Which means if you are trying to use an I2C sensor it has to be on those pins unless you multiples it using a TCA9548A i2C MUX.
You can check out my tutorial number 9 for that: ruclips.net/video/XWQsqPQOW-U/видео.html
Now, if you are running out of GPIO pins you need to extend your GPIOs using an IO extender. My next tutorial is on that only.
If you want you can check it out next week and that will for sure answer your question.
Using the i2c IO Extender you can extend the GPIO pins to have 128 'parallel' pins.
Was stuck on the addresses. First person I found explain that you done put the address on the board in the code like a I2C LCD.
Glad that I was able to help you
good job, made the whole task look so simple, tutorial very much appreciated!
Thanks a lot mate
new subscriber. hope you'll do one like this for the TFT... NOT using the TFT_eSPI library - or if you must, at least give it a good going over of the two set up files. But I would really like to see something like this video done for the ST7735. Thanks
Will try to do one for sure mate
Just have a few other videos in the pipeline
Sir, when connecting multiple displays should both the displays resistors are changed to 0x7A?
Hi there
If you are using a MUX it really doesn't matter.
But if you are connecting 2 at once (without the MUX) then you do need to change the resistor
can we use different pins(except D1 and D2 for nodemcu esp8266, and A4 and A5 for arduino) for oled display
That was really a great imstructive! Thank you!
Thanks
Thanks buddy it helped me a lot for my project.......😀😀😀
Pleasure is all mine 👍👻
Excellent video man!
Thanks :)
@@CrazyCoupleDIY
O... And woman...!?
@@amitaimedan He he he :)
This tutorial is legitimately amazing. Thanks so much!
Thanks mate
great videos and tutorials! thank you!
Thanks 🙏
This is great, one stop shop for everything
Thank you so much brother awesome tutorial
Cheers ✌️
Great video. Greetings from Germany.
Thanks mate
Very informative, Thank You
Pleasure
great tutorial , thanks for sharing .my like is done.
Thanks mate :)
WOW. Thank you! I got mine working thanks to your video. I subscribed! Keep up the good work!
Thanks a lot. I am glad that I was able to help you ✌️✌️
Hey there! Can i use this display as a menu and also cn i have exterior physical buttons to navigate through the system for eg when the system boots up, i see four options A B C D on my display and when i select any one of them like say A then it gives me 4 more options like 1 2 3 4 and so on with the data of all the options selected by the user in line(like timestamp).
Is it possible? If yes then please let me know
Thank You
Yes you may.
You can use the display to just display the menu items
The buttons will do the real stuff
In the loop section detect interrupt and when a value goes from 0 to 1 (button press) change the menu item and do what u want to do
@@CrazyCoupleDIY thank you so much!
Terrific video. This was very informative and clear.
Thanks 🙏
Such a good explanation. Good job
Thanks mate 👍👍👍
Hey, thank you for this tutorials. Is there a OLED Display that can be folded?
Not that I am aware of 😊
Excelent vid, full of useful information.
Thanks 🙏
Thanks bro Your works is amazing
It's my pleasure
Thank you - Very comprehensive - well presented.
You are welcome
Very Good Tutorial and Really Great learning experience.☺️
Thanks 😊
great instructions, very clear and complete.
Thanks mate
amazing tutorial
Thanks for appreciation
Excellent info -very helpful
Thanks 😊
Very good tutorial and information, keep posting
Thanks, :)
Hi I have a question
if my esp8266 connected to WiFi how can i display the IP Address on OLED
i used the esp 8266 library SSD1306Wire not the Adafruit for the OLED
thanks in advance if you can advise on the exact code
also for MAC address
Best tutorial I have ever scene
Great Video. Thumbs Up!
I am actually have an issue getting my 128x64 OLED to display anything while following this tutorial. I think it is because the recently downloaded Adafruit_SSD1306.h file looks different than in your video. I do not see a place where address is identified. However, I only have 1 stock display, so I do not think I would need to change it anyway. Regardless, I did change the file by uncommenting the "#define SSD1306_128_64" and commenting out the "#define SSD1306_128_32". I also made sure to change the reset pin from "4" to "LED_BUILTIN", since I am using a NodeMCU.
Any suggestions on where to look next?
The libraries I used are all in here: diyfactory007.blogspot.com/2018/07/oled-i2c-display-arduinonodemcu-tutorial.html
See if that works out for you.
If not get back to me and I will do a quick test with the new library
@@CrazyCoupleDIY Thanks for the offer! I actually figured it out. The SSD1306 i2c example actually had 0x3C as the default. I changed it to 0x3D and all was well. Thanks again for the great video. Make more! I'm trying to learn about server/client communication with and without wifi. I'm also going to try to develop an app for android to read data off of the DHT22 sensor.
Nice.
Sure, more tutorials and projects are on its way, stay tuned.
sir i making a project smart glasses , but facing problem with connection of bluetooth hc 05
with Retro watch application what should i do????
cannot get it working with this code, do i need to modify wire.h to declair the sda and scl pins?
Keep it up, nice video, thank you for sharing it :)
Thanks 👍
Do you have any suggestions for an enclosure or project box for these OLED displays to make them practical for use?
If you have a 3D printer you can download heaps of models from thingiverse
There are some popping up on ebay.
Are you able to use the oled in conjunction with a micro video camera?
Depends on your microcontroller
I don’t see why not?
Crazy Couple Great! Thanks so much.
are those libraries arduino dependent? in other words AVR code? Cant use it with an ARM based micro-controller of another brand?
I have never used them on an ARM based mcu so I am not 100% sure.
Beautiful just beautiful, thank you so much!!
You are welcome. More projects and tutorials are on its way so stay tuned.
excellent video, i'm not an electrical engineer but i do understand and have the aptitude to learn. I am looking to put together a Tiny gps enabled Speedometer for FPV RC cars, Drones and whatever you want to stick a speedometer on. these tiny OLEDS are perfect, they can sit just on what would be the dash and the fpv cam can clearly see the display, true some drones come with all this built in but people want a standalone lightweight speedometer that can record g-force, speed and distance all tracked by gps. currently we have to use a big ass box and strap it to the outside of the RC vehicle. can any of you guys build one?
thank so much ..give me more crazy idea to improve technology
You are most welcome
What programm you use to draw sketche at 14:00 ?
fritzing.org/
Hi. I require use 2 screen: one 0,96 and one 0,91. One module PCF8574 for 8 relays, one RTC DS3231 (it's 3,3v or 5v? I look both). Is necesary TCA9548A module or can connected in serie?
If you choose different address of the I2C OLEDs by swapping the resistors then u dont need the MUX
Otherwise you will definitely need one to assign a diffrent address to the two I2C OlEDs
@@CrazyCoupleDIY OK, THX!!!! Suposed I use only one 0.96, one PCF8574 (0x20) and one RTC DS1302. All are 5v and i2c. Can connect in cascade (or serial)?
No find TCA9548A module in my local commerce.
@@ManuelCastillo-kq3xy U can order them for AliExpress, but would take 45 days to come to you
@@ManuelCastillo-kq3xy I2C was designed to allow several devices to be connected to the same bus. So, the answer is "Yes, but..." (as it always is ;-) )
For simple connections, the "buts" are:
1. They all need to be the same voltage, as you already noted.
2. They have to have different addresses.
3. You have to be careful about wire lengths: I2C was designed for devices on the same PCB, or connected to it with short wires (like temperature sensors inside a PC). People who try to connect I2C with more than a meter or so of wire often have reliability problems.
Also, if those relays are controlling something like motors, that can generate a lot of electromagnetic fields, longer wires could turn into antennas that pick up noise. So keep them as short as you can, and away from motors, relay coils, and other sources of magnetic fields.
And, yes, connect them "in cascade" (or "parallel"): all SDA lines together, all SCL together, etc.
My Adarfuit_SSD1306.h does not contain the address part . It is only to be mentioned in the main arduino code . Is that a problem ??
Thats totally fine mate
But i would highly recommend downloading and using the latest libraries