Arduino Tutorial: 1.8" TFT Color Display ST7735 128x160

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2018
  • On this tutorial I explain what you need to do to make the 1.8" 128x160 TFT color display with the ST7735 driver work with arduino.
    - Buy 1.8" TFT ST7735: amzn.to/2OgXjIs
    - Buy Arduino nano: amzn.to/3iru0op
    Recommended Tools:
    - Electronic Parts Tester (ESR LCR-T4): amzn.to/2QvQJlP
    - Breadboard (good quality): amzn.to/2QsyY3C
    - Storage Case for Jumper Wire: www.walmart.com/ip/The-Hillma...
    - Multimeter (Fluke 17B+): amzn.to/2L3PNQk
    - Rigol DS1054Z Digital Oscilloscope: amzn.to/2C5ZwD7
    Note: As an Amazon Associate I earn from qualifying purchases.
    Example sketch using UCGLIB library: drive.google.com/open?id=1xOn...
    UCGLIB library: github.com/olikraus/Ucglib_Ar...
    Example sketch using Adafruit library: drive.google.com/open?id=1PWr...
    Adafruit library: github.com/adafruit/Adafruit-...
    GFX library: github.com/adafruit/Adafruit-...
    Website: www.interlinkknight.com/
    Patreon: / interlinkknight
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 161

  • @dorshreal0016
    @dorshreal0016 ปีที่แล้ว +3

    I just got my TFT Color Display and have been testing it out with example libraries on arduino ide, including Ababfuit. This video really helped clear up the functionality of the module and now I feel excited about the potential projects I can create with this!

    • @interlinkknight
      @interlinkknight  ปีที่แล้ว

      That's awesome. I am really glad I could help :)

  • @brushevchenko
    @brushevchenko 3 ปีที่แล้ว +1

    Excellent tutorial! I've used some time ago other libraries like own TFT LCD library and I like the UCGlib the most! I recommend this one because it's easier to program

  • @NayanPrakash06
    @NayanPrakash06 3 ปีที่แล้ว

    Many thanks for specifying the voltage divider circuit for KMR model which understands only 3v logic.

  • @claudiomoles
    @claudiomoles หลายเดือนก่อน

    Thanks for producing such an excellent and informative video explaining TFT displays, this is surely the best I saw. People like you make a difference in this World! Blessings!

  • @matthewfelgate
    @matthewfelgate 4 ปีที่แล้ว +1

    Thanks for your video. This was a good introduction.

  • @FlyTJ
    @FlyTJ 4 ปีที่แล้ว +1

    Fantastic video and explanation!

  • @fabianotomasnovais4034
    @fabianotomasnovais4034 2 ปีที่แล้ว +1

    Very good tutorial and the code is very detailed. Good job boy.

  • @arimclaven1677
    @arimclaven1677 4 ปีที่แล้ว +1

    Thanks, best tutorial by display

  • @UpcycleElectronics
    @UpcycleElectronics 5 ปีที่แล้ว

    Very well done upload.
    I'm currently developing a simple dual display current/voltmeter setup for a power supply. I have a few 7735's in bare form and thought I'd spin a board to make use of them. I've used Oliver's U8G2 library on another project, but havn't tried the color version yet. It's probably quick enough for 2 displays and an uno's ADC.
    Thanks for the upload.
    -Jake

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว +1

      I've never used multiple displays so I don't know

    • @UpcycleElectronics
      @UpcycleElectronics 5 ปีที่แล้ว

      @@interlinkknight
      Me neither, but I think the whole chip select pin thing makes it pretty straight forward. They both go connect to the μC hardware SPI bus with chip select controlling which one to write to using two different GPIO. At least that's my breadboard goal for today :-)

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      It should work, but I'm guessing is going to lower the refresh rate by half.

    • @UpcycleElectronics
      @UpcycleElectronics 5 ปีที่แล้ว

      @@interlinkknight
      Do all of your ST7735 based displays have bad side viewing color and image definition when placed in a landscape orientation? Both types I have are really bad. I won't use these because it's so bad. If I'm more than 20 degrees to the left or right I can't see any color and can barely make out the screen contents. I just built a breakout for a ST7565 monochrome graphics display to try with the current project instead. The 7735 in portrait mode with 2 displays looks silly :-)

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว +1

      You are right. Sadly the tft color displays that I've seen for arduino are not good with angles.

  • @scottmc2626
    @scottmc2626 5 ปีที่แล้ว +1

    I wish I'd seen this video before buying the display that requires resistors. What a pain with all that extra soldering. Great info. Might have said something about the use of I2C labels on SPI pins.

  • @bluegru
    @bluegru 2 ปีที่แล้ว

    Great video, thanks for the help. I got my AZ-Delivery ST7735 running.
    I got a slightly different model and my A0 pin was called RS which didn't take too long to figure out.
    Also I had to install another Adafruit library to get it to work.
    I still have some white stripes on my display, need to figure out how to get rid of them

    • @interlinkknight
      @interlinkknight  2 ปีที่แล้ว

      White lines in a display is usually a hardware problem. Get a replacement from where you bought it

  • @tammysmith348
    @tammysmith348 ปีที่แล้ว

    This type of stuff is interesting to me!

  • @berkcan2439
    @berkcan2439 5 ปีที่แล้ว

    Yay, i used black boxes so, I felt like a dumb for this method :D

  • @gustavozaraza6456
    @gustavozaraza6456 ปีที่แล้ว

    Excelente video, los aportes fueron geniales

  • @ANGEL-mb9yx
    @ANGEL-mb9yx 3 ปีที่แล้ว +1

    thank you thank you love from kerala

  • @user-pk2ij1wn3q
    @user-pk2ij1wn3q 4 ปีที่แล้ว +1

    Excellent!!!

  • @pokpikchan
    @pokpikchan 4 หลายเดือนก่อน

    Informative. Thanx

  • @mauriciocruz554
    @mauriciocruz554 10 หลายเดือนก่อน

    buen tutorial ,me ayudo.Gracias

  • @SonalK
    @SonalK หลายเดือนก่อน

    how are A0, SDA and SCK pre-selected? I've set them to GPIO 2, 3 and 4 but I can't get a simple text to display and change the background. Only a static white background is showing. Im using Raspberry pi pico

    • @interlinkknight
      @interlinkknight  หลายเดือนก่อน

      Pins are selected in the top of the sketch and usually we use hardware pins so they can't be charged.
      This is made for Arduino uno and nano. You need to find a Library for raspberry pi pico

  • @fop8313
    @fop8313 9 หลายเดือนก่อน

    i have a 1.8 tft from aliexpress (the one with the red pcb) and it doesnt seem to be able to work with the adafruit library. the ucglib one works perfectly put the adafruit just wont work. any idea why?

    • @interlinkknight
      @interlinkknight  9 หลายเดือนก่อน

      Do you get an error with the adafruit?

  • @dickpenny5174
    @dickpenny5174 6 ปีที่แล้ว +2

    Looks like an answer to my frustration with the KMR version. I tried connecting everything to the Nano 3v3 rather than using 5v and resistors but it didn't appear to work. Any idea why ?

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      I don't know. I can only suggest trying my sketch making sure you connect all the pins correctly like I show on the video. Also, I remember some people saying that they got a defective unit where the voltage regulator was damage. Check if the voltage regulator (the 3-pin black IC on the back) is giving enough voltage. If not, you can by-pass the regulator. You are using 3.3V already so you don't need it anyway.

    • @dickpenny5174
      @dickpenny5174 6 ปีที่แล้ว

      Thanks. Problem fixed by using 200 ohm resistor from SDA connection to Nano and from SDA connection to ground as shown at
      www.ebay.fr/itm/1-8-inch-ST7735R-128x160-SPI-Colour-TFT-Display-Module-with-SD-Slot-for-Arduino-/282813109817

  • @localhost2705
    @localhost2705 3 ปีที่แล้ว

    excellent video thanks

  • @arunkarkare
    @arunkarkare 4 ปีที่แล้ว

    Thank you

  • @rantalbott6963
    @rantalbott6963 5 ปีที่แล้ว

    How is the off-axis visibility on these? I bought a competing low-cost LCD (the kind with a blue PCB and two rows of 8 and 6 pins at one end), and it's terrible: if you do anything other than black and white, the colors start shifting and the contrast goes to hell if you tilt it more than about 20 degrees from "straight on". It's just barely usable if you treat it like an OLED or other monochrome display.

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      To be honest, it's not that great but it's not that bad in my opinion.

  • @Evgeny_Miroshnichenko
    @Evgeny_Miroshnichenko 2 หลายเดือนก่อน

    In the Datasheet of UNO R3 SPI pins are: MOSI #12, SCK #14.

    • @interlinkknight
      @interlinkknight  2 หลายเดือนก่อน

      Not sure where you found that. I just checked and in the arduino website shows:
      UNO R3, UNO R3 SMD, UNO WiFi Rev2, UNO Mini Ltd
      Pins: 10(CS), 11(COPI), 12(CIPO), 13(SCK)
      Either way, they are mostly configurable.
      BTW, there is no pin 14 on Arduino UNO R3

  • @jugetar
    @jugetar 3 ปีที่แล้ว

    hi, my KMR-1.8 work with ucglib(with poor resolution), but not with adafruit lib, do you have some idea about the fault?

  • @arunkarkare
    @arunkarkare 4 ปีที่แล้ว

    I am trying the GFX and ST7735 Libreries for my 1.8 inch TFT display from Adafruit, I am connecting 5 volt directly to I/O pins, I don't see anything on the display except a white LED light. Any suggestions please ?

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      I don't know. Try to follow the video exactly as I show and use my example sketch. It should work.

    • @arunkarkare
      @arunkarkare 4 ปีที่แล้ว

      @@interlinkknight thank you for ur reply...I am using exactly same connections and sketch as shown in ur video, but my display is slightly different, it is from Adafruit, has SD card slot, PCB is Blue (not red as yours) and has 10 pins. Someone is recommending 1 K resisters in series with I/O pins.

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      Adafruit page say is 5V compatible so it shouldn't need a resistor but you can try it.

  • @RichardDePas
    @RichardDePas 5 ปีที่แล้ว +2

    My plan is to build a GPS disciplined clock using a nano with a TFT display, uBlox M8n GPS and a RTC for when the GPS can't get a lock.

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      Wow. Sounds nice. If you get a video, please post it here.

    • @RichardDePas
      @RichardDePas 5 ปีที่แล้ว

      @@interlinkknight I am waiting for the GPS and RTC to arrive. I did get the display to work last evening thanks to your video.

  • @gabojill19
    @gabojill19 ปีที่แล้ว

    Thank you for the great explanation. Do you know if there´s a way to graph a variable with unknown amplitude (so a dynamic y range)? I´ve been trying to code an algorithm for that but to no avail. All the solutions I´ve found online use other displays that have more complex libraries that do it automatically (and my C is too bad to understand the libraries)

    • @interlinkknight
      @interlinkknight  ปีที่แล้ว +1

      I never done that with this kind of display but I'm sure it's possible. I would use the nextion display because it's much simpler to do. I have tutorials about that display. No library needed

    • @gabojill19
      @gabojill19 ปีที่แล้ว

      @@interlinkknight I´ll check them out, thank you

  • @learnthrivecompassion422
    @learnthrivecompassion422 ปีที่แล้ว

    How do I get this to work with vesc?

  • @kevinkripper
    @kevinkripper 6 ปีที่แล้ว +1

    Hi thanks for this video. I’m going to use the Adafruit 1.54″ TFT LCD Display with MicroSD - ST7789 with an Arduino UNO. My goal is to load several images on the flow and make a low fps animation. Is the refresh rate good or I’ll see the scanline when changing the image? It should be noted that all images are really little different. Thanks in advance!

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      The refresh rate is going to be very low, I think. Maybe 2 to 5 FPS, if you are refreshing the entire screen. I would use a nextion (enhanced) display for that kind of animation.

    • @TheWhitde
      @TheWhitde 5 ปีที่แล้ว

      Animation will depend on what ur driving these with. On a ESP8266 I'm running a similar display @128*128 16BPP and get over 50fps that includes displaying text, 3 32x32 aliens and clearing the screen every frame. With full screen animation, no need to clear... just overwrite new frame when time. If you have a look at my channel I have a demo of video with sound on an Arduino Due. I use my own library as most the 3rd party ones are slow. Getting one of these displays so I can add the driver to the drivers I support.

  • @theIfrit552
    @theIfrit552 5 ปีที่แล้ว +1

    Hi! Thank you for your very detailed tutorial. I have been searching for something similar for a week now, ordered a display and couldnt get it workling nor find any information about it. Thanks to you, it works, but it is extremely dim. I can barely see anything. I am using the 1.77" TFT, in your video the upper left one, with an arduino nano. I have a lot of other things hooked up, but no potentiometer. How could I get the Brightness way up? Thanks a lot again!

    • @theIfrit552
      @theIfrit552 5 ปีที่แล้ว

      I actually fixed it by putting the backlight pin (LEDA) in to 5V instead of 3.3. Much, much better.

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      Good to know. Yeah, some backlights work with 3.3v and others with 5v.

  • @Vagubando
    @Vagubando ปีที่แล้ว

    I have letters inverted vertically on such a display (not the display screen itself). I have tried many libraries, but there is no result. Advise me where to dig?????

    • @interlinkknight
      @interlinkknight  ปีที่แล้ว +1

      Maybe it's defective or it's different? Try buying the same display I have

  • @Vass881234
    @Vass881234 5 ปีที่แล้ว

    is the amazon link the screen that does not need resistors for 3.5v? which works on 5v only the best? thanks

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      Yes. It's the good one

    • @Vass881234
      @Vass881234 5 ปีที่แล้ว

      Ok thank you. I didn't want resistors because I never get them right and I'll blow the screen. So I'll get the one in the link if it's 5v only and doesn't need resistors. Thank you

    • @scottmc2626
      @scottmc2626 5 ปีที่แล้ว

      @@Vass881234 lucky you saw this video in time. Too late for me but the project is assembled now.

  • @danielpravdik1711
    @danielpravdik1711 ปีที่แล้ว

    Very good video, althrough i have a variant of the red screen which has 4 more pins bcs its also an resistive touchscreen. any idea how to connect them?

  • @jopplehead
    @jopplehead 5 ปีที่แล้ว

    Do you have a link to the schematic? It looks like you may have posted this before, but I can't see anything. Can you please repost or put a link to it. Thanks so much!

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว +1

      You mean how to connect the pins? That it's on the video.

  • @jenialherdianto292
    @jenialherdianto292 3 ปีที่แล้ว

    have you make gauge rpm counter using this diplay with arduino nano? detail explanation. thanks

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว

      No, but you can easily join both sketches that I provided

  • @jonathanramirezolvera5858
    @jonathanramirezolvera5858 3 ปีที่แล้ว

    Also my pins layout is VCC, GND,NC, NC, NC, CLK, SDA,RS,RST,CS. Is this the same TFT Module?

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว

      No idea. The pin layout doesn't mean it's the same panel

  • @orangewot2575
    @orangewot2575 5 ปีที่แล้ว

    I have tried this tutorial with UCGLIB library, the red pcb display and arduino leonardo but nothing happens. Only the display backlit lights up. What I am doing wrong?

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      Maybe you have a 3.3v version. Try to put resistors to drop the pins to 3.3v or use a logic level converter.

    • @orangewot2575
      @orangewot2575 5 ปีที่แล้ว

      @@interlinkknight
      I used a resistor and I managed to run the Adafruit library test.

  • @877cms
    @877cms 5 ปีที่แล้ว

    Hey InterlinkKnight, thanks for the video! I actually got it working.
    But I have a 1.44" SPI 128x128 ST7735 display, and your sketches don't fit.
    Any ideas how to adjust?
    Thanks :)

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว +1

      Just move the location of everything. You have to manually change the coordinates. There's details in the comments inside the sketch.

    • @877cms
      @877cms 5 ปีที่แล้ว

      @@interlinkknight thanks for the reply, that makes sense. I optimistically thought there might be a scaling feature lol. Sounds like a lot of hard work :)

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว +1

      Sadly there isn't a easy way. But it's not that hard either. Anyway, I think part of the fun it's playing with the overall layout, color, sizes, etc.

    • @877cms
      @877cms 5 ปีที่แล้ว

      InterlinkKnight thank you!

  • @user-km4su8eh6j
    @user-km4su8eh6j 5 ปีที่แล้ว

    Hi guys) How to clear all screen in uglib library. Maybe, there are a datasheet for library? Thanks

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      ucg.clearScreen();
      All information is in here: github.com/olikraus/ucglib/wiki/reference

  • @TAussieG
    @TAussieG 3 ปีที่แล้ว

    I'm new to arduino, is it possible to use an arduino as a pass through hdmi and at what refresh rate does it run at (I need it as high as possible)

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว

      Arduino is not powerful enough for that kind of stuff. Maybe with the Raspberry Pi.
      The refresh rate depends on the amount of things that need refreshing on the screen. In the video I show the fastest refresh possible when updating those numbers

  • @360Sebastian360
    @360Sebastian360 2 ปีที่แล้ว

    do you have the ability to adjust the brightness ? Looks like you are running two off the same arduino ?

    • @interlinkknight
      @interlinkknight  2 ปีที่แล้ว +1

      You can adjust the brightness with a transistor and using a pwm pin in Arduino to dim the backlight. And we can run multiple displays in parallel, but they all have to be exactly the same display and they are going to show exactly the same graphics and text

  • @pinqizhu5761
    @pinqizhu5761 4 ปีที่แล้ว

    hey , I wanna ask a qustion about arduino. Lately I was trying to display picture on the TFT touch screen ,and what I want to achieve is when time goes by the picture will blur and you have to touch the screen the way just like you wipe the dust off you picture frame in order to make the picture as sharp as before.... How am I gonna code this ,and which direction should I go for.... A million thxs ahead !

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      I can't think a way to do that with arduino

    • @pinqizhu5761
      @pinqizhu5761 4 ปีที่แล้ว

      @@interlinkknight thanks for your reply anyway !

  • @darioleoncini4517
    @darioleoncini4517 3 ปีที่แล้ว

    trying to recopy your sketch, the tft display doesn't print like in your video, can you help me? thanks

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว

      First try my example without any modifications

    • @darioleoncini4517
      @darioleoncini4517 3 ปีที่แล้ว

      @@interlinkknight I followed your video by copying string by string. The sketch doesn't work, is it possible that some steps are skipped in the video? I have problems displaying the value of the variables inside the rectangles. can you post the full sketch please?

    • @interlinkknight
      @interlinkknight  3 ปีที่แล้ว +1

      The sketch is already in the description

  • @TubeY0urGames
    @TubeY0urGames ปีที่แล้ว

    Thank you vey much ! My TFT runs now with Arduino Mega. But the Shapes with rounded corners are a little bit buggy. Are you familiar with this Problem and maybe know the solution for that?

    • @interlinkknight
      @interlinkknight  ปีที่แล้ว

      what do you mean with buggy?

    • @TubeY0urGames
      @TubeY0urGames ปีที่แล้ว

      @@interlinkknight the round edges are displaced. Can i send you an pictute of it in any way?

    • @interlinkknight
      @interlinkknight  ปีที่แล้ว

      Yeah, i would like to see. Send by email

    • @TubeY0urGames
      @TubeY0urGames ปีที่แล้ว

      @@interlinkknight You got one :)

  • @KamalAfiat
    @KamalAfiat 2 ปีที่แล้ว

    Nice tutorial 👍
    Btw, is there any tutorial how to create dual display with different data to be displayed using just one arduino?

  • @InterplainMusic
    @InterplainMusic 4 ปีที่แล้ว

    I am looking for a GPS Speedometer with Odometer that stores the accumulated miles to Eprrom of Arduino. I am sure a lot of others would like help with this. I have this screen setup and NEO-6M GPS Module. I have got it to work but need some help with the Odometer.

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      Not much I can do. I'm busy with my projects and videos.

    • @InterplainMusic
      @InterplainMusic 4 ปีที่แล้ว

      @@interlinkknight Any links to point in the right direction please?

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      For making an odometer? To be honest I don't know. I never even used a GPS module. I wish I could help. Sorry.

  • @ingokognito
    @ingokognito 2 ปีที่แล้ว

    very nice tutorial thank you! Could you also provide a solution for a 20 min count down timer please?

    • @interlinkknight
      @interlinkknight  2 ปีที่แล้ว +1

      That part is up to you. There are many tutorials that can help you learn how to do that. It's fairly simple

  • @kaushalkumar3169
    @kaushalkumar3169 2 ปีที่แล้ว

    hii! i m using the library provided in description. but getting error when compiling . it is showing that no file found for Adafruit_I2CDevice.h
    and Adafruit_SPIDevice and showing tft declaration is not defined. after manually debugging that problem it is showing that tft.initR(INITR_BLACKTAB); is not defined,
    can you please provide me the zip files of your working code and library files
    thank you

    • @interlinkknight
      @interlinkknight  2 ปีที่แล้ว +1

      Here's the library that i have: drive.google.com/file/d/1rIMNt8wxhdr7H89410CmeYwZoPOaYcCC/view?usp=sharing
      The sketch is exactly the same I posted already

    • @kaushalkumar3169
      @kaushalkumar3169 2 ปีที่แล้ว

      @@interlinkknight thank you

  • @amarobarbosa8483
    @amarobarbosa8483 2 หลายเดือนก่อน

    GOOD!

  • @carlossousa7107
    @carlossousa7107 ปีที่แล้ว

    Top excelent

  • @loopleet4750
    @loopleet4750 4 ปีที่แล้ว +1

    Круто =D спасибо

  • @valerioguagnelliscanzani643
    @valerioguagnelliscanzani643 5 ปีที่แล้ว

    so UGC library is slower right?

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      Yes, but you have to use a pixelated font on the adafruit library to be faster so you decide what's more important.

  • @julienplay__
    @julienplay__ ปีที่แล้ว

    my display has a "White glare" over it. When i reset the arduino ist gone but then comes back

    • @interlinkknight
      @interlinkknight  ปีที่แล้ว

      Sounds like your display can't tolerate 5V logic. Add a logic level converter so the display receives 3.3V instead of 5V

  • @Squalo6191
    @Squalo6191 4 ปีที่แล้ว

    What is the refresh rate using each library?

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      depends on what you print. You can see in the video that updating the numbers is fairly quick

  • @imperialrecker7111
    @imperialrecker7111 4 ปีที่แล้ว

    what does NC and CS mean on the pin diagram 1:48

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      NC = Not Connected
      CS = Chip Select, which is part of the SPI protocol

    • @imperialrecker7111
      @imperialrecker7111 4 ปีที่แล้ว

      @@interlinkknight thank you

  • @MrSasha3050
    @MrSasha3050 6 ปีที่แล้ว +1

    Choose beauty or speed)

  • @rizkylevy8154
    @rizkylevy8154 2 ปีที่แล้ว +1

    Please give me the color code with resistor :)

  • @fadecomic
    @fadecomic 4 ปีที่แล้ว

    I am confused why so many of these things are labeled "SPI", yet they use the I2C naming convention of SDA/SCK. Clearly, you hooked it up them up as SPI devices, with SDA going to the UNO's MOSI. Why are they labeled like this?

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว +1

      The labels for SPI are a mess. There's no universal name for any pin

  • @mauritskok2490
    @mauritskok2490 4 ปีที่แล้ว

    Does this same code also work for Xmega?

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      I don't know, but i guess it should. Maybe different pins

  • @mlgamer3405
    @mlgamer3405 3 ปีที่แล้ว

    what is the lifespan of this display? pls... can it work for over 5years?

  • @manofmesopotamia7602
    @manofmesopotamia7602 4 ปีที่แล้ว

    cool 😊

  • @MannaSince1994
    @MannaSince1994 4 ปีที่แล้ว

    HOW TO CONFIGURE THE PINS - SCK AND SDA FOR MEGA 2560 ?
    Because as per a comment in the file - // The rest of the pins are pre-selected as the default hardware SPI for Arduino Uno (SCK=13 and SDA=11)
    this is preconfigured to be used for arduino uno

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      As far I know by default on the mega is SCK=52 and SDA=51

    • @MannaSince1994
      @MannaSince1994 4 ปีที่แล้ว

      @@interlinkknight Ever after every perfect connection I am getting a bright blank screen. However, whenever I press the RESET button on my Mega2560 board, it displays the proper
      output, but only for a second and again the same blank bright screen returns.

    • @interlinkknight
      @interlinkknight  4 ปีที่แล้ว

      You think that maybe your display only supports 3.3v?

    • @MannaSince1994
      @MannaSince1994 4 ปีที่แล้ว

      InterlinkKnight I am not quite sure about that. I saw many connection diagrams, they all directly connected the display to arduino boards, so did I. Also I tried connecting the pins with a 1k resistor as found at some place. But that also didn’t work.

    • @MannaSince1994
      @MannaSince1994 4 ปีที่แล้ว

      InterlinkKnight what if that only supports 3.3 V ?

  • @nrscreatetechnologies3923
    @nrscreatetechnologies3923 5 ปีที่แล้ว

    how to clear the display with adafruit ???

    • @interlinkknight
      @interlinkknight  5 ปีที่แล้ว

      In my example is that command, line 119

    • @rantalbott6963
      @rantalbott6963 5 ปีที่แล้ว +1

      It's fillScreen.
      Be warned: the ST7735 doesn't have an "erase display" command, so fillScreen works by writing 2 bytes of color data via SPI for every (bleep)ing pixel on the screen. It's slow enough that the flickering is visible with an ESP8266. I have a weather display app that updates the screen once per second, but chooses the contents depending on which second it's in. Right now it does temperature and time in seconds 0 and 1, and temperature with wind in seconds 2 and 3. When I switched from OLED to LCD, I had to skip the updates for seconds 1 and 3 because the flicker was so annoying (the OLED writes the new contents to an internal buffer then updates the display memory imperceptibly fast).

  • @102MRG
    @102MRG 6 ปีที่แล้ว +1

    Good afternoon! I really liked your project, you just well done, it turned out very beautiful! I subscribed to you. I'm new to arduino, but I wanted to design a project: soldering thermofan, but I do not understand everything, so excuse me. If there are questions on the display, could help? I shall be grateful to you for the answer. With best regards, Ramil. (Russia)

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      If you have problems, let me know and I'll try to help. But I ask you to first try my example file and read the comments on the sketch. It should have all the information that you need.

    • @102MRG
      @102MRG 6 ปีที่แล้ว

      Good afternoon! I already tried your program (sketch), I liked it very much, thank you.

    • @interlinkknight
      @interlinkknight  6 ปีที่แล้ว

      Great. Enjoy.

  • @arimclaven1677
    @arimclaven1677 5 ปีที่แล้ว +7

    Охуенно просто!!! It's very beautiful tutorial

  • @mkperformance5353
    @mkperformance5353 5 ปีที่แล้ว +1

    where is the SCHEMATIC ??

  • @102MRG
    @102MRG 6 ปีที่แล้ว

    I do not know English, so I can only guess, so I'm sorry. I myself am from Russia. Of course it would be nice that it would be with subtitles (with translation into Russian).