74HC595 Seven Segment 2 Digits LED Display with decimal points for Arduino

Поделиться
HTML-код

Комментарии • 68

  • @bigpol666
    @bigpol666 4 года назад +1

    THANK YOU SO MUCH. IVE BUILD A FLUX CAPACITOR FROM THE MOVIE BACK TO THE FUTURE. IVE SPEND DAYS AND NIGHTS LOOKING/RESEARCHING FOR CODE AND SETUP FOR 2 DIGITS COUNTER TO DISPLAY 0-88MPH. THIS IS PERFECT.
    " IT WORKS....FINALLY I BUILD SOMETHING THAT WORKS".....WITHOUT YOUR HELP I PROBABLY BE STILL RESEARCHING FOR CODE OR WRITING ONE !!! Thank You

    • @robojax
      @robojax  4 года назад

      You are welcome. I am pleased that it helped you. Thanks for sharing your experience.

  • @Delorean29
    @Delorean29 4 года назад

    Is exactly what I've been looking for! But need trim potentiometers the 2 7 segments should roll from 00 to 88. When it shows 88 it should output 12V current with a ticking relay for each digit

    • @robojax
      @robojax  4 года назад

      You will need complete new project. Or have a look at my other videos that display temperature or other parameters and learn from it for your own purpose ruclips.net/channel/UCkcBSig_Iu4ZnAIeCeG1TVgsearch?query=TM1637 and here is my Arduino Course on Udemy so you learn Arduino step by step and should be able to write your own code robojax.com/L/?id=67

  • @clarkso65
    @clarkso65 4 года назад +1

    Another superb video, Would you please cover s topic about removing zeros in seven segment? and using Large seven segments. Thanks again for this wonderful tutorial :)

    • @robojax
      @robojax  4 года назад

      You are welcome. Sure I will try to make videos if time permits.

  • @cofa4011
    @cofa4011 4 года назад

    Hi Ahmad, thank you for another cool arduino video ;) Could you do one about extending the arduino nano to control several stepper motors , a display of values regarding motor behavior or position, and potentiometers to set motor speeds or to get them to move when you turn a potentiometer ? I know that's quite a project and i dont mind if you dont do it as i descibed it but now you see what kind of needs makes me wonder what is the best way to extend the nano's pins number. Anyway, i really appreciate your videos, take your time with editing the videos man ;) have a nice day !

    • @robojax
      @robojax  4 года назад

      Hi Co Fa, You are welcome. I am glad you like it. I have items for this purpose but it seems I am getting buy more and more. Now with full time job and enrolled at graduate courses getting more busy. You can use MCP23017 www.adafruit.com/product/732 to have 16 more pins. If I get a chance, I will make a video on that.

  • @wreckless_-jl6uu
    @wreckless_-jl6uu 4 года назад +1

    When using shift registers like 74HC595 or CD4017B, how is it that you can define which pins you plan to use on the IC? That’s little confusing for me.. I don’t see how you can choose which or an exact output pin you’d want to use??

    • @robojax
      @robojax  4 года назад +1

      Hi, We have defined a pin for clock SCLK and the rest is taking care of by the library files ShiftRegister74HC595.h and ShiftRegister74HC595.cpp . if you want to know how the library functions, open those files (from zip that I provided) and see how it works.

  • @tomatexelon
    @tomatexelon 4 года назад

    Everything worked great! How would you make the tens digit to be blank when I only display single digits - I dont want to see a zero in the tens digits when showing 0 thru 9 - Thanks

    • @robojax
      @robojax  4 года назад

      You are welcome. have you subscribed? I just watched the video (as I forgot what I did ) and you need to update the library. This can't be done with just changing the code. I have explained the code very well and nothing is unexplained. So if you understand the code, you may be able to change the library for you purpose. Good luck. Thank you for not skipping the ads and keep watching them. This will help me a lot.

    • @tomatexelon
      @tomatexelon 4 года назад

      Robojax I will give it a try

  • @xeno8555
    @xeno8555 9 месяцев назад

    hi, can you help with the (AVR) assembly to control the SCLK, SDO, and LOAD pins? how to determine which digit to write to with the TZT 7 segment display (based on 74HC595) with only the three pins?

    • @robojax
      @robojax  9 месяцев назад +1

      I don't knwo about "TZT 7 segment " but it should work.

  • @GoymonTV
    @GoymonTV 4 года назад

    hi there, im running a LED 5604 Display, may application is only start top timer with decimal betweem segment 2 and 3, my problem is to start the count down to 1 to 99.99 secconds, also I want to add a button for start and button for stop. Plus beep sound during the start button is pressed.
    whem im using your sample the coundown starts at 100

    • @robojax
      @robojax  4 года назад

      Hi nice project. Keep the working.

    • @GoymonTV
      @GoymonTV 4 года назад

      How about 4 digits display?

  • @mentalcrypto
    @mentalcrypto 4 года назад

    Hey how can i make this work with a DHT11 ? I combined my DHT 11 code with yours and he displayed me the temperature and humidity value but also displayed some random characters . Any ideas?

    • @robojax
      @robojax  4 года назад

      You can use this video method to learn and use ruclips.net/video/z_FvRm6Te78/видео.html

  • @AwesomeWheels
    @AwesomeWheels 10 месяцев назад

    Is there any code for the 3 digit 74hc595d?

  • @berinderazvan7909
    @berinderazvan7909 4 года назад

    THANK YOU AHMED

    • @robojax
      @robojax  4 года назад

      You are welcome..

  • @plazmax
    @plazmax 4 года назад

    i like 7segs, pls next project use bigger ones :)

    • @robojax
      @robojax  4 года назад +2

      sure if they are available. I will make it.

  • @Kamilego960
    @Kamilego960 4 года назад +1

    It's working :DDDD

    • @robojax
      @robojax  4 года назад +1

      Thank you for letting use know.

  • @meleeset
    @meleeset 4 года назад +1

    hi, i find error on " ShiftRegister74HC595 sr (DIGITS, SDI, SCLK, LOAD);"
    " invalid use of template-name 'ShiftRegister74HC595' without an argument list"
    how to fix it??
    please help

    • @robojax
      @robojax  4 года назад

      Hi, it means you have selected a function without arguments. Please use first the original code and see if it works. If so it means all wiring and code is correct. then update the code.

    • @meleeset
      @meleeset 4 года назад

      @@robojax dapatkah Anda menunjukkan kode asli, dan memberi tahu langkah demi langkah ?, saya pemula, terima kasih sebelumnya

    • @robojax
      @robojax  4 года назад

      Video ini selangkah demi selangkah. ikuti saja. Saya tidak dapat menampilkan lebih baik daripada video.

    • @meleeset
      @meleeset 4 года назад

      @@robojax oke thanks sir

    • @paraphonoia
      @paraphonoia 2 года назад

      ShiftRegister74HC595 sr (SDI, SCLK, LOAD);

  • @Delorean29
    @Delorean29 2 года назад

    How do these connect to the Atiny85 chip?

    • @robojax
      @robojax  2 года назад

      I've shown how many pins you need. if you can define that many pins Attiny85, then yes you can use. But if you want o use LCD with Digispark Attiny85 chip here is the video ruclips.net/video/U95hw-ec6nY/видео.html

    • @Delorean29
      @Delorean29 2 года назад

      @@robojax Thanks. Can I connect this 7 6 5 on the Atiny 85 to numbers 1, 2 and 7 on the Atiny 85 chip?

  • @dawkinsm
    @dawkinsm 4 года назад

    Hi. Apologies if this is super obvious but where can I purchase one of these two digit units?

    • @robojax
      @robojax  4 года назад +1

      Hi, no problem. just search for the name of the chip 74HC595 on any store like Amazon, eBay or aliExporess

    • @dawkinsm
      @dawkinsm 4 года назад

      Robojax thanks for responding. I can find the 74HC595 shift registers no problem - I have some from other projects I’ve worked on too. I think the video is showing a two digit display with these integrated into a single unit, this is the component that I can’t find. Do you know if this is on sale? I’ve done a lot of googling but either find shift register chips or two digit, seven segment displays, but not a combined component. Thanks again for your help and also the description of the code - all makes sense. :-)

    • @dawkinsm
      @dawkinsm 4 года назад

      Hi I’ve found it at last. Maybe because I’m in the UK it is harder to find plus the shipping is as much as the unit. I’ll keep looking - thank you.www.amazon.co.uk/DIYUKMALL-segment-Digital-Display-74HC595/dp/B07P8FPPSX

    • @robojax
      @robojax  4 года назад

      you are welcome.

  • @davidpelegrin9619
    @davidpelegrin9619 3 года назад

    Awesome video, but can you help me with writing 10 digits insted 2 digits

    • @davidpelegrin9619
      @davidpelegrin9619 3 года назад

      Because 1 have 5 these displays and i conected them in series

    • @robojax
      @robojax  3 года назад +1

      thanks. I believe this module is the solution because it is easy to use with decimal point. TM1637 is very hard to use. I would have to make video of that. if you follow the explanation of the code, you should learn how it works and modify it.

  • @nzakaria9478
    @nzakaria9478 Год назад

    WLAH ta kayn King

  • @guusvw1205
    @guusvw1205 4 года назад

    Where can I buy this display?

    • @robojax
      @robojax  4 года назад

      everywhere in major store like Amazon, eBay, AliExpress, Banggood just type that number and you should get it.

  • @user-qv2df7yy4k
    @user-qv2df7yy4k Год назад +1

    what is "invalid use of template-name 'ShiftRegister74HC595' without an argument list
    " mean?
    I have download the zip. .

    • @robojax
      @robojax  Год назад

      It means when you use ShiftRegister74HC595 you should have it fully like
      ShiftRegister74HC595 sr (DIGITS, SDI, SCLK, LOAD);
      and DIGITS, SDI, SCLK, LOAD are called argument for this ShiftRegister74HC595. check to see if you have it. also DIGITS, SDI, SCLK, LOAD should be in the lines above. I can't put the whole code. just see the code and compare it. or simply copy full code.

    • @user-qv2df7yy4k
      @user-qv2df7yy4k Год назад

      @@robojax how can I fix it

    • @robojax
      @robojax  Год назад

      so you did not read what I said above? please read.

    • @robojax
      @robojax  Год назад

      just use new code. don't change anything. it works. of course you gotta download and install the library.

    • @user-qv2df7yy4k
      @user-qv2df7yy4k Год назад +1

      @@robojax I have solved it. Thank you very much!

  • @DirtNerds
    @DirtNerds 4 года назад

    why show the decimal point on the #2? it isn't needed to look like a #2

    • @robojax
      @robojax  4 года назад

      Hi, Sorry which #2?

    • @DirtNerds
      @DirtNerds 4 года назад

      @@robojax THE NUMERAL 2

    • @robojax
      @robojax  4 года назад

      that was just an example.

    • @DirtNerds
      @DirtNerds 4 года назад

      okie dokie, I would like to use this to display flap position on airplane as in flaps 10,20,30 degrees

  • @michaelgardi4112
    @michaelgardi4112 3 года назад

    Hello. Did you ever get around to making a video with two of these displays cascaded together? Using one display works great but when I cascade the second display the two sometimes work OK but often show garbled results. Here is a link to what I have done: hackaday.io/project/176421-think-a-tron-2020. You can see that the two displays are about a foot apart so there is a 12" long 3-wire cable running between them which leads me to think it might be a timing issue but I have not ruled out code. I have tried modifying your 2-digit code a couple of ways but nothing works reliably. Unfortunately I have few pins available with this project so I can't drive each 2-digit display individually. Thoughts.

    • @robojax
      @robojax  3 года назад

      forgot about this. I've found a display that can do anything you want ruclips.net/video/tEwWsbHQA5Q/видео.html

    • @danyr.9974
      @danyr.9974 8 месяцев назад

      Hello Michaelgardi! Did YOU figured out from where did you get the garbled results with the displays? I am trying to program one display to do a countdown with an esp32 board, but I get only rubbish results, mostly 88 on display. The code is ok, because it works fine with a single digit display, and also, when I touch the wires form the esp32 board to the display, it will change the lit segments by itself. Thank you!