How to Add Multiple Inputs to an

Поділитися
Вставка
  • Опубліковано 7 лют 2025

КОМЕНТАРІ • 95

  • @fammertens9419
    @fammertens9419 9 місяців тому +2

    Now this is an explanation the way i like it...i was looking for a way to expand my GPIO's for my homebrew pinball machine! it uses over 50 switches so...thank you so much for a clear description!

  • @pavelkraynyukhov1990
    @pavelkraynyukhov1990 2 роки тому

    It is very simple and good explanation. I believe even 12 years old kid would understand what is going on.

  • @artstechnology7809
    @artstechnology7809 4 роки тому +3

    Bravo sister 👍👍👍👍. Iam student electronic. Iam pasion of electronic 🥰🥰🥰🥰🥰🥰

  • @Rick_Cavallaro
    @Rick_Cavallaro Рік тому

    I love this video. Great examples. But I am left with one question... When "stacking" two shift registers, it would seem that the 2nd shift register is shifting bits into the first via its DS pin. But we I don't see that we ever tell either arduino to accept serial data in. What have I missed?

  • @mastermathsflorida1559
    @mastermathsflorida1559 3 роки тому

    Very cool - thanks so much. Having blown 2 of 4 inputs on rpi explorer hat trying to read gate limit switches, I might just need this!

  • @adrianaolveracabral2685
    @adrianaolveracabral2685 3 роки тому

    Very nice video just what me and my team need for our next project! Thank you so much!

  • @JarppaGuru
    @JarppaGuru Рік тому +1

    6:16 bad idea use pin2 any where else than interupts and if use sdl sda then cant use interupys and a4 a5 also not xD bcoz they same pins

  • @erahmadkamram
    @erahmadkamram Рік тому

    informative, clear, comprehensive, interesting

  • @DerekPicard
    @DerekPicard 3 роки тому

    Great video👍🏼

  • @guyknaan1674
    @guyknaan1674 4 роки тому +1

    3:53 minor mistake, CE needs to stay low the entire time, PE is the one that needs to be turned on and off. You got it right when showing the ardiuno, but it was wrong here. Still great video.

    • @Jack_Cui
      @Jack_Cui 2 роки тому +1

      yeah, i am aslo confused when the arduino code use PE , while ine block diagram , it shows CE control .

  • @fatehkhayat797
    @fatehkhayat797 3 роки тому

    واقعا عالی بود دستت درد نکنه 👍

  • @romycruz4498
    @romycruz4498 4 роки тому +2

    I am a fan of ladies who have passion in electronics and coding. they are rare.

  • @Badar_IoT
    @Badar_IoT 4 місяці тому

    thank you, I have followed all the steps but sometimes errors occur, for example I press button 1 nothing happens and when I press button 5 it reads button 1, to overcome this I lower the input voltage to 3.8 volts then for a few moments it returns to normal, until the voltage sometimes it changes, an error occurs again, when I measure the error on the resistor, every time the input button is not pressed, there is a voltage of 0.3 volts which should be 0 volts and it reads on the serial monitor, there is data entering with the wrong value even though no button is pressed. , what do you think is the cause??

  • @wandersonsilva-fx1cs
    @wandersonsilva-fx1cs 2 роки тому

    Ms. Fantastic your class, congratulations!
    Want to ask a question? How to apply this Shift Register in a remote control project with Arduino,
    Example: a robot walking forward while moving a mechanical arm?

  • @Amb3rjack
    @Amb3rjack 2 роки тому +1

    These videos are fantastic. Very clear and easy to understand. Many thanks for posting!

  • @anthonybarton4252
    @anthonybarton4252 2 роки тому

    This was so very helpful. Thank you.

  • @xrphobby1341
    @xrphobby1341 2 роки тому

    Great video thanks for sharing. Instead of using 3 wires hooked up to arduino, how can we make it wireless? Thank you.

  • @fench1234567
    @fench1234567 Рік тому

    I don't see much material out there for universal shift registers such as CD40104 use with arduino or much of anything else now. I understand that from an industry standpoint that the cd40104 is considered obsolete, but I'm still curious whether it could at least be used for fun output effects, if not more. Any ideas on that? Is it a possibility or just an effort heavy work around for stuff the arduino is already better at doing?

  • @GeekRedux
    @GeekRedux Рік тому

    Good vid. A jumper wire kit like element14's part# 2770339 would be a lot better for hooking up ground and Vcc.

  • @jasonree
    @jasonree 4 роки тому +1

    Awesome I have been messing about with my Rpi and run out of inputs and outputs!! Thanks Karen!

  • @ashutoshmallik2435
    @ashutoshmallik2435 2 роки тому

    What about the switching speed ?? Will it be like direct input to GPIOs ??

  • @thedanishviking88
    @thedanishviking88 Рік тому +1

    For this application, could you use the 74HC165 instead? I have tried researching the difference between the 165 and 166 and for this project I think it would be ok, but just not 100% sure.

    • @J.D-g8.1
      @J.D-g8.1 Рік тому

      Yes you can use the 165. The 165 reads the inputs when the LD is low, the 166 when LD is low and rising CLK. Also some pins are different. Read the data sheet, but yes, both can be used.

  • @masonunger7170
    @masonunger7170 Рік тому

    Fantastic video thank you so much

  • @christianelzey9703
    @christianelzey9703 4 роки тому +12

    Interesting, I've used shift registers for output many times but didn't know they could be used for input.

    • @Khujandiho
      @Khujandiho 2 роки тому

      #metoo . This open whole new door . Unlimited number of inputs and outputs.

  • @JarppaGuru
    @JarppaGuru Рік тому

    3:58 should /PE turned high now if there multiple chips so serial data move from other chip. i say yes and its not harm to use it

  • @xrphobby1341
    @xrphobby1341 2 роки тому

    Thank you for your video, very educational. How do you put debounce on the switches? I tried to use this but my 7-segment display output is showing random numbers or display. I guess it's the debounce on the switches that cause the problem. Thank you.

  • @spectredivision8971
    @spectredivision8971 Рік тому

    I'm using an ATtiny85 I.C., Is it possible to use a customized circuit of 555 timer I.C. as an external clock ?

  • @AaronYool
    @AaronYool 3 роки тому +3

    if you are going to name your pins, rather than declaring integers and trusting the compiler to optimize efficiently (especially if you want to later have the code be relatively portable) please use sized integer definitions to explicitly tell the compiler to do what is proper: "#define PIN_NAME uint8_t(12)"

  • @McMurchie
    @McMurchie 2 роки тому

    Fantastic tutorial!

  • @11219tt
    @11219tt 8 місяців тому

    Im a C++ novice building building a midi controller using a pro micro. This is still a bit over my head.
    Any suggestions of what to watch?

  • @adailyllama4786
    @adailyllama4786 4 роки тому

    Karen - Many thanks! This is exactly what I was looking for to better understand this chip.

  • @mohssinebouchmal8694
    @mohssinebouchmal8694 3 роки тому

    hi lady . very good course .
    how can i use this result derectely with led streep

    • @magicianofelectronics951
      @magicianofelectronics951 3 роки тому +1

      you will have to connect each LED with separate wire and it will create a bundle of wire, you can use multiplexing but it will also increase wires but half then above configuration, best option is to use coded leds which comes with builtin shift register.

    • @mohssinebouchmal8694
      @mohssinebouchmal8694 3 роки тому

      @@magicianofelectronics951
      Hi lady . Thank you .
      But i meant : use the led strep library code .based on the numeric input number via shift rigistry . as example the interactive pannel led or tables. Thank you

    • @magicianofelectronics951
      @magicianofelectronics951 3 роки тому +1

      ​@@mohssinebouchmal8694 Means you want to do the same with normal LEDs using shift register? but you want to control with the same code used for programmable LED?, By the way the reply is not from the lady of element14 community.

    • @mohssinebouchmal8694
      @mohssinebouchmal8694 3 роки тому

      @@magicianofelectronics951 Hi, I'm sorry. I was reading the answer very fast.I didn't notice who answered me,sorry.
      Exactly. That's what I want to translate or mapping a lot of digital inputs from a shift register (3 ×74hc165) Directly to a LEd.strip ws2812 . = 24 led /

  • @ElvizzV2
    @ElvizzV2 4 роки тому +2

    Very cool, thanks for the good explanation and examples!
    I just wonder why you did not use shiftIn this time, when you used shiftOut last time for the shift register output? 🤔
    But I will definitely have to use shift registers in one of my next projects... just have to come up with something that needs tons of I/O 😄

  • @ronalxi1477
    @ronalxi1477 2 роки тому

    thank you very much. i learned more!!

  • @davedavies3796
    @davedavies3796 4 роки тому +1

    That was well done - I learned a lot.

  • @perfect_genius7058
    @perfect_genius7058 5 місяців тому

    Так сложно объяснить простейшее устройство - это просто искусство👍

  • @burhanuddinbhiwaniwala618
    @burhanuddinbhiwaniwala618 3 роки тому

    Hello mam.... Begin just a beginner and have started learning very basic of arduino... I came across how we can expand are I/O pin in arduino... But i was wondering can we store the status of those pins in the eeprom of arduino... So even if power cuts the expander regain its previous state before the power cut

  • @Jack_Cui
    @Jack_Cui 2 роки тому

    hi , a simple question , for 2 chips 16bit projects. so just connect the second Q7 pin to the first chip SI(serial in ) , so that after 16 cycle clock input get , we can get 16 bit signal? i am very curious . by the way , in ther arduino code , you use the PE pin to enable parallel input or enable the serial output , but in your 3:53 diagram block , you use the CE pin , i see the schematic , your CE pin is always conncected to GND. so i suppose your schematic match your arduino logic , those are correct. am i right ? thanks for your feedback in advance.

    • @yt4krist0f
      @yt4krist0f Рік тому

      Yes, the explanation was wrong: to change between paralell read and serial write the PE pin should be used.
      The CE pin is just for enabling the CP pin.

  • @GarethHaylings
    @GarethHaylings 4 роки тому

    Thanks for the video. Really helpful. Just a question. If I have 8 input button that I want to switch on 8 leds and mini vibration motors instantly when pressed then would I use the 1st shift register as serial input and parallel output for the buttons then a 2nd shift register as parallel input/output for the leds and mini vibration motors. Is this the correct way to do it? If so which are the best shift registers to be used for this task?

  • @garymize7272
    @garymize7272 11 місяців тому

    where'd you find your buttons

  • @377_dipanjan_bakshi8
    @377_dipanjan_bakshi8 3 роки тому

    Instead of using the resistors can we use the PULLUP_INPUT method?

  • @rcavicchioni
    @rcavicchioni 4 роки тому +1

    Very cool. Thank you.

  • @duncanwalduck7715
    @duncanwalduck7715 3 роки тому

    That is a fairly super-duper (and 'universal') shift register. I believe the convention among EE's is to stock up hard, and that well in advance [of anything... »the siliconocalpse?«]- hence the reason one sees so many 'legacy' components in designs - which of course you end up imitating in your own. This could almost recommend a new stock line (if shift registers are the thing... as they often are. At least in ~theory~.)

    • @duncanwalduck7715
      @duncanwalduck7715 3 роки тому

      Am I coining a new term if I say "pin golf" (as in "code golf")? - I2C is the ur example. SR's work that circuit.

    • @duncanwalduck7715
      @duncanwalduck7715 3 роки тому

      And when I say 'circuit' I imply performing arts rather than physical phenomena.

  •  4 роки тому

    Very well explanation! Thanks...

  • @abdolrezaeshghipour7390
    @abdolrezaeshghipour7390 3 роки тому

    Great! keep up nice work.

  • @OMNI_INFINITY
    @OMNI_INFINITY Рік тому

    Bravo. Thanks!

  • @murrrr8288
    @murrrr8288 3 роки тому

    great video!

  • @Learnelectronics738
    @Learnelectronics738 4 роки тому

    Hello sister I like your video thank you very much

  • @JarppaGuru
    @JarppaGuru Рік тому

    3:04 no its chip enable when its high nothing shift or latch. paraller enable load paraller in low and high its not serial enable its just work that way it read in even you not really want bcoz thats how it works
    its kinda if have 74ls575 serialout() sketch just replace chip 74ls165 use same code only change serialin() and some bla bla lol. if pins same

  • @lloydrmc
    @lloydrmc 2 роки тому

    No debounce?

  • @jssahoo3205
    @jssahoo3205 4 роки тому

    How to use hardwire interrupt with this code to turn on/off led

  • @tchewagama
    @tchewagama 3 роки тому

    thank you

  • @haddow777
    @haddow777 3 роки тому

    Hello. I have been looking for a way to access a large number of analog inputs while minimizing pins used. What are your thoughts on the use of multiple multiplexers while using shift registers to provide input addresses to the multiplexers? In my mind, scaling from a few inputs to many will just add time to ones read cycle without having to consume more pins.
    Is this a reasonable way to go about this? Do you know of any issues that would prevent it? Or maybe do you know of a better solution?
    Any help would be great. I was also thinking, if it is feasible, then it may be a good video that this one could continue onto.

    • @BlackYellowGamer
      @BlackYellowGamer 2 роки тому

      hey did you find your answer? I have the same question

    • @haddow777
      @haddow777 2 роки тому

      @@BlackYellowGamer not really. I built the setup in a simulator and it seemed to work, but then when I assembled real components it didn't work very well. First off, for my purposes, I was needing a fairly accurate analog result, but the components each added resistance to the circuit, so it skewed the results.
      I'm fairly sure one, if they studied up on the chips and put in the time could compensate for it. There were some other issues I never worked out either.
      Ultimately, I ended up rethinking my requirements in the middle of testing the setup and going in another direction, so I just kind of left that approach behind.

    • @BlackYellowGamer
      @BlackYellowGamer 2 роки тому

      @@haddow777 I understand, thank you!

  • @MrCardeso
    @MrCardeso 4 роки тому +1

    Thanks, Karen!

  • @DynamicSun
    @DynamicSun 4 роки тому

    how can i build an spezial-key keyboard for my pc and then how can i write an driver software to do stuf on my pc by clicking this Arduino keys ... :-) the world is full of ideas

  • @KJ7JHN
    @KJ7JHN 4 роки тому +1

    I like your electronics videos, but could you do a quick video on sewing? Maybe reading from a pattern? Keep making electronics videos, there aren't enough of them out there. I'm currently looking to make a capacitive touch button with a cap and resistor. A video on that would be AWESOMENESS! Cheers!

  • @TH3Willster
    @TH3Willster 2 роки тому

    Wow... first time a woman has blow my mind with her clothes on! Just kidding of course. But in all due seriousness. YOU. ARE. A. STAR!!! Keep up the great videos and you will go far. Lets wish together now.. 3... 2... 1.. I WISH FOR 1 MILLION SUBSCRIBERS!!! Good luck on the journey and please keep us little guys in mind when you go big. Now down to business
    3:11 I found that at this time stamp, i was a little tired. Try add more graphics or some kind of joke... Might help keep us watching till the end...
    That was a joke, video is almost flawless.
    Thanks for all the help. keep it real and stay hot (hot shoe or smething)

  • @Althu-blog
    @Althu-blog 4 роки тому

    Waw amazing sister naice video

  • @SimplyStuart94
    @SimplyStuart94 4 роки тому +13

    It bothers me that the ground wire connecting the two rails is red 😆

    • @Davedarko
      @Davedarko 4 роки тому +1

      good thing that ground isn't bothered at all ;)

    • @maker_karen1785
      @maker_karen1785 4 роки тому +2

      I know, I really need to make more black jumpers. I was using all the premade ones and didn't have any more black.

    • @SimplyStuart94
      @SimplyStuart94 4 роки тому +2

      @@maker_karen1785 gotta do what you gotta do :P

  • @markstigers7602
    @markstigers7602 3 роки тому

    Do you mean debounce not debug

  • @karte2626
    @karte2626 3 роки тому

    Cool!!!

  • @MagicGumable
    @MagicGumable 4 роки тому +3

    Time to turn this arduino into a full blown desktop Keyboard!

    • @jennitro
      @jennitro 4 роки тому +1

      You could do it with the first 8 buttons as long as you don't mind typing in binary. :)

  • @romycruz4498
    @romycruz4498 4 роки тому

    They said, i mean science said that the children inherit their intelligence from the mother. If this lady has or will have a children they'll be working in NASA !

  • @Good.Morning.Friend
    @Good.Morning.Friend 2 роки тому

    👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻❤❤

  • @hugdelphi
    @hugdelphi 3 роки тому

    good

  • @octogames6823
    @octogames6823 2 роки тому

    I got the 1k like! :D

  • @arnelcondino2634
    @arnelcondino2634 4 роки тому

    Hi Karen

  • @user-uk7uu9us1w
    @user-uk7uu9us1w 4 роки тому

    And that's how your nes controller works

  • @devqbasic2384
    @devqbasic2384 4 роки тому

    hi

  • @melcrose
    @melcrose 4 роки тому

    "now that we know how the chip works" .... lol.

    • @Mankey1234
      @Mankey1234 3 роки тому

      Well you have to pitch at the level you're targeting dude.

  • @devqbasic2384
    @devqbasic2384 4 роки тому +1

    2 view

    • @Davedarko
      @Davedarko 4 роки тому +1

      Eine ganz ordentliche Leistung, mein lieber! Ich hoffe das Video gefällt dir!