No video

Raspberry Pi: Using GPIO Inputs

  Рет қаралды 582,260

ExplainingComputers

ExplainingComputers

Күн бұрын

Пікірлер: 424
@thomascott7425
@thomascott7425 7 жыл бұрын
Mister Barnett, I must say that I've never heard the concept of pull up / down resistors explained so clearly and concisely. Very well done. You have given me an idea on how to build an alarm system to see if anyone has opened a door or window remotely and to activate a video recorder to stream the output to my smart phone. Now all I have to do is to figure out the streaming bit to my phone. Thanks.
@liudas000
@liudas000 4 жыл бұрын
@Bus 22 I'm thinking about same idea, but over sms. I think its possible to write code for arming system by sms or online and to get alerts over sms or watch sensors status online.
@evilMaid1984
@evilMaid1984 4 жыл бұрын
May want to look into an ESP8266; programmable with arduino, lower power consumption and a fraction of the cost ;). Works great for door / windows sensors etc...
@tav9755
@tav9755 3 жыл бұрын
YT is pure gold as long there are people like you explaining stuff.
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
Thanks.
@heartikcurlz9041
@heartikcurlz9041 3 жыл бұрын
Indeed! Love from india💓
@griffinbrooks6748
@griffinbrooks6748 3 жыл бұрын
I agree :)
@trondknudsen6689
@trondknudsen6689 2 жыл бұрын
I will switch to a YT alternative in a heartbeat when my favourite channels do.
@Hermiel
@Hermiel 8 жыл бұрын
That might be the simplest and clearest explanation of pull -up and -down resistors I've come across.
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
Many thanks! :)
@eebaker699
@eebaker699 4 жыл бұрын
Agreed!
@marks_02
@marks_02 2 жыл бұрын
Wow, wow, wow, just wow. I'm blown away by how clearly, thoroughly, and yet concisely you are able to teach. I probably gave you a thumbs-up when I first watched this video, but as I watch it again for review 5+ years later, I'm just blown away by how great of a job you did on this one. Thank you!!
@MrKbtor2
@MrKbtor2 6 ай бұрын
Best explanation I've seen yet. I was seeing those terms like "pull-up/down" in the kits I was working with and struggled with understanding the problems and risks.
@jeremyadair5780
@jeremyadair5780 6 жыл бұрын
Heh, Thank you, I never truely knew what floating was in my undergrad, I just knew the pins had to have a pull up or pull down to complete the circuit. I never thought of the protection! You explained it with a circuit and that I can understand. Thank you.
@williamheckman4597
@williamheckman4597 7 жыл бұрын
This tutorial rocks. Thanks! GPIO wasn't too clear to me, but now I "Get it" ... Thanks again... great videos!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Many thanks. :)
@Adam-yl3gi
@Adam-yl3gi 7 жыл бұрын
Thank you. I'm fairly proficient with Arduino's and electronics. I've been looking for some straight-forward examples of using the Raspberry Pi as I would like to harness more powerful boards. Many videos waste lots of time talking about irrelevant things; you've cut straight to some actual examples and it's absolutely brilliant. Subscribed!
@jonassteinberg3779
@jonassteinberg3779 4 ай бұрын
Have to do a bit of microcontroller engineering at work and this video is a relieving primer -- thank you for this crisp exposition.
@Timmeh7
@Timmeh7 6 жыл бұрын
Thanks for this excellent tutorial. While I'm a competent programmer, any discrete electronics knowledge I had fell out of my head 10+ years ago - this was perfect to give me everything I need to actually get back into it.
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Thanks.
@natsumik5716
@natsumik5716 5 жыл бұрын
it's a shame to say that, as a student who just started learning python, i did not understand well during my class. But watching your lesson helped me a lot ! Thank you so much!
@walts555
@walts555 8 жыл бұрын
I like your teaching method of suggesting the simplest solution and patching its shortcomings, like what you do for pull-up/down. Very effective. Good work!
@AgeingBoyPsychic
@AgeingBoyPsychic 5 жыл бұрын
Your enthusiasm is contagious, I wish I'd had an I.T. teacher like you at school!
@OttosTheName
@OttosTheName 6 жыл бұрын
Glad I decided to bingewatch your videos on SPC's, I was just about to mess with buttons and GPIO on my ESP8266 and I had never heard of pull up and pull down resistors. Great explanation for electrobics noobs!
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Thanks for watching. :)
@Mr.P539
@Mr.P539 4 жыл бұрын
just this year I heard about this raspberry pi, it has been hanging around for years already. I'm glad that there still free video like this to learn. Thank you.
@siliconstate
@siliconstate 8 жыл бұрын
This is brilliant, thanks for the guide! As you say, all sorts of projects could be derived from these!
@truePitch1
@truePitch1 6 жыл бұрын
Pure information - invaluable in today's world. Extremely clear, concise, excellent productions. Kudos.Thanks
@khomotjomodipa6798
@khomotjomodipa6798 8 жыл бұрын
You are simply the best at explaining. Thank you.
@karimkohel3240
@karimkohel3240 5 жыл бұрын
thank you for such a simple and comprehensive tutorial, which helps new comers understand basics that aren't found easily
@jamesbarker6373
@jamesbarker6373 7 жыл бұрын
I like how you show a variety of circuit diagrams to help understand
@Kolohekat
@Kolohekat 6 жыл бұрын
Christopher Barnatt is a Good KZfaqr... Explains in detail...
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Thanks.
@slogmue1401
@slogmue1401 8 жыл бұрын
Another great video! I recently completed a school A-level project using a raspberry pi, and your videos were, and still are a valuable resource to me when making that project! Your videos are so easy to understand, and basically taught me the more useful stuff a pi can do, so, thanks a bunch for the great videos!
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
Many thanks. :)
@RSGaming-lt4zh
@RSGaming-lt4zh 7 жыл бұрын
I just received my Rasberry Pi 3 Model B the other day there so look forward to watching your tutorials on YT. Thanks!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Enjoy your new computer. :)
@Kevin-wo3kp
@Kevin-wo3kp 8 жыл бұрын
Thank you - this is exactly the kind of Pi video I needed to see. I'll be jolly glad to see anything more on the Pi. You set the standard that others can only follow. I wish you a great week.
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
Thanks Kevin. :)
@dylandowdy3687
@dylandowdy3687 4 жыл бұрын
This is a great video thank you! I think I was just as stoked about the open and close when it scrolled on screen as you were! Computers rule!
@haiaokuwa
@haiaokuwa 8 жыл бұрын
Thanks for this. I've been a an electronics hobbyist for months. This is the first clear explanation of why and how a pull up/down resistor is used. Tons of videos where they say they're using them. So few explanations as to why or how they worked (what they do and why to use them), I was starting to wonder if they were different kinds of resistors. Very clear video. Thanks again.
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
Many thanks. The more I dug into this, the more I realized that a lot of confusion exists regarding the resistors (are they needed? why? etc), so I thought I'd do an explicit section on them and really try to lock things down.
@skyzifero8548
@skyzifero8548 5 жыл бұрын
amazing job. Only video I've seen that actually explains the how and why bits in simple terms. Very high quality content; exactly what I needed to understand GPIO. Great teacher, and great skills. Subscribed.
@RobertMertensPhD
@RobertMertensPhD 3 жыл бұрын
I don't know if that's clay dough or play dough, but it's ingenious. I have stuff sliding all over my laminated desktop, and sometimes falling off the edge and going overboard. Sometimes I use rubber feet help to keep things from moving around while I work. So now I need to find out what that stuff is, find some that's non-conducting, and "dough down" all the electronics I have sliding all over my desk. And getting that Raspberry Pi 4B to work was a virtual nightmare. Neither of the two monitors I bought for this project would work with the MicroHDMI-to-VGA converters I bought. So when I first booted it up, I saw bits and pieces of boot-up stuff, but after boot seq., I got two blank screens. That was with Ubuntu Desktop, after I burned-off 5GB of bandwidth (I only get 30GB per month). I figured the download might be rotten, so I burned-off another 3GB of data using the Raspberry Pi Imager - which I no longer like. The problem with the Raspi Pi Imager is that you can't really store the download - it just downloads it and burns the MicroHD card. If anything goes wrong, you lose your download and whatever bandwidth you spent on it. You can copy the card, but you need a clean one for that, and I have Windows data on all of my spares. I also still have the 128GB SD Card from the Raspberry Pi 3B+ I still have, but for all that trouble, I'm not going to blow out that (working) OS. In the end, I tried another monitor and it worked. And then I found a second monitor off of another computer that worked. The two I bought for this project still work on other computers (with VGA output), but not on this machine. So that's really odd. I don't use Python - I use C or C++, so this is a nice video but I think I going to have to download some pre-made software that gives me access to the GPIO ports. I'm especially interested in the SPI ports, as you know, but there may or may not be software already written for this computer. SPI communications are not only data, but timing signals (clocks) that have to be synchronized with the data. I'm not sure how the computer does this, since it's usually done in the hardware. I can only hope that the BCM2711 has it built-in (for all six ports).
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
The clay that holds things in place is called Blu Tack.
@RobertMertensPhD
@RobertMertensPhD 3 жыл бұрын
@@ExplainingComputers Thanks, Christopher. It looks like Bostik isn't going to tell us the dielectric strength (or resistivity) of this material. I suppose it might be okay for low-voltage applications, but I don't think I'll trust it over 30V or more. I know there are industrial materials that are great non-conductive adhesives with very high dielectric constants, but I don't want things permanently glued to my desk (work table). It's not a really big issue, but I do have stuff that slides around all over my work space - especially wires, cables and switches. And protoboards. Sometimes I stare down at my protoboards and circuit wiring and take a moment to consider how precariously close to disaster everything looks. Seriously, it's dangerous.
@DLiberator78
@DLiberator78 8 жыл бұрын
Another great Raspberry Pi video. It's interesting to see the sorts of projects you could make with the GPIO pins.
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
There are indeed so many possibilities when you add switches to something with computing power . . .
@saadzaghloul9279
@saadzaghloul9279 7 жыл бұрын
could you do a video about the GPIOs of Tinker Board from Asus ? it is more interesting in my opinion. thank you.
@eebaker699
@eebaker699 4 жыл бұрын
Fantastic video! I too have never been really able to understand what and how the pull up and pull down do and work. I appreciate your tip on the safety current limiting resistor going into the GPIO pin. I like your coding work as well. You have eloquently explained this... Thanks again for your excellent video! More Raspberry pi project videos like this one please.
@MicrobyteAlan
@MicrobyteAlan 4 жыл бұрын
Breadboarding, hardware and logic, good stuff. Thanks
@dowonkim574
@dowonkim574 6 жыл бұрын
You are one of the most helpful teachers in youtube! Thanks!
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
:)
@xxportalxx.
@xxportalxx. 3 жыл бұрын
Wow, how is nobody commenting on the sheer size of this man's read switch!?
@jameszah
@jameszah 6 жыл бұрын
This is the best raspberry site I have ever seen! Please keep it up! very well explained and in the appropriate English language! Thank you
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Thanks for your kind feedback. :)
@trondknudsen6689
@trondknudsen6689 2 жыл бұрын
Very useful info! I'm going to use it to make a sleep tracker.
@attiqueur-rehman2134
@attiqueur-rehman2134 3 жыл бұрын
Hats off to you man for precisely describing everything. Works for one of my problem quite easily. (y)
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
Thanks. :)
@segarlinktech
@segarlinktech 8 жыл бұрын
this video is very help full for engineer or student ,thanks
@B.I.T.E.
@B.I.T.E. 5 жыл бұрын
Oh wow.. This is so awesome! Please continue this type of explaining of builds. Without anyone next to me in normal class to ask questions of. This is by far the next best thing. I wish I could hit a subscribe on you tube to send money for your great efforts. You have not set with in KZfaq.
@Bengismo
@Bengismo 6 жыл бұрын
Great video, well explained with a good coverage of the electronics and why to add resistors as well as what the phython code does, Excellent.
@baxtercohen
@baxtercohen 7 жыл бұрын
Thank you very much! Very clear explanation on great ideas to have a computer respond to real world events.
@kusatech8005
@kusatech8005 6 жыл бұрын
Good Video, nice combination of circuit theory, actual wiring and enough software to get it going.
@argentosebastian
@argentosebastian 7 жыл бұрын
I really enjoy watching your videos. Very detailed and easy to understand. I really would like if you can make a video of how to connect a Pi to an Arduino through the serial port and talk to each other. I have been watching a bunch of them but none of them are very clear to understand. Thanks
@vikasnar
@vikasnar 8 жыл бұрын
Liked the way you explained .... made things easy to understand . Thanks for the vedio
@scyther1141
@scyther1141 8 жыл бұрын
Nice job. The explanation and graphic are very easy to understand.
@riscnx
@riscnx 10 ай бұрын
Incase someone hates pythons, does not convinced why it even exists. Can just tryout gpio CLI. The code used in the video, can be done with simple shell script: gpio mode 16 in while do r="$(gpio read 16)" if [ $r="0" ] then echo "open" else echo "closed" fi done // Don't worry about clean up, it just sets all pins to 'in' mode // pk fython I like this video though
@alexander_adnan
@alexander_adnan 6 жыл бұрын
you're becoming a hero now....
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
:)
@billg2345
@billg2345 4 жыл бұрын
You are great thanks for all the great work you do, I had to recommend this site you developed to family.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Much appreciated!
@theinvestorsmind515
@theinvestorsmind515 4 жыл бұрын
I have not done anything like this...ever, and it literally looks like rocket science.
@petermsamson
@petermsamson 7 жыл бұрын
Love the way you explain everything.. I hope you plan on doing more Tutorial, examples..
@toms4123
@toms4123 2 жыл бұрын
Great presentation style, well explained and easy to,follow
@Taran72
@Taran72 6 жыл бұрын
Great video! that's what I call a great class where efficiency and ease of learning meet. In a few minutes you really explained everthing I needed to know without wasting time. Thanks!!!
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Thanks.
@rorycormack7577
@rorycormack7577 8 жыл бұрын
Thank you for the video. I have learnt a lot and will be trying this out. I am still enjoying your videos and hope to carry on enjoying them.
@svizztech
@svizztech 8 жыл бұрын
This breadboard must be at least 1000 years old :D Thanks for the video.
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
I think is it a mere 35 years old! ;) But it still works fine.
@brightsun3608
@brightsun3608 5 жыл бұрын
This is the best tutorial for IoT I met.
@ExplainingComputers
@ExplainingComputers 5 жыл бұрын
You are very kind. :)
@Vampier
@Vampier 8 жыл бұрын
You know that you don't need sudo anymore to control the GPIO ports right? Excellent tutorial, I wish you did this when I started 2+ years ago :)
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
Thanks for this. Yes, I learnt yesterday that the latest version of Raspbian removes the need for the sudo on Idle. Not that everybody will be running it yet! :)
@EverydayTechable
@EverydayTechable 5 жыл бұрын
Thank you! I've already done a kit from Adeept but did not know about Idle, I've been using Vim or sudo and haven't been thrilled as I prefer some for of gui for highlighting certain things.
@dbyrd7827
@dbyrd7827 4 жыл бұрын
Positively brilliant tutorial and instruction. Your educational skills are masterful. Thank you for sharing your knowledge, and skills. Technical mastery and compassion incarnate. Thank you, Mister Barnett!
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Many thanks!
@wnrsm
@wnrsm 4 жыл бұрын
Thank you for making this! I have a recommendation. Please consider spreading out your components on the breadboard so that the fixed camera view and less intuitive viewers (me) can clearly see the inline resistor a couple of cm away before it splits into grounding-resistor and switched-3.3V
@ShitBrick785
@ShitBrick785 6 жыл бұрын
That explanation about circuits was amazing.
@ExplainingComputers
@ExplainingComputers 6 жыл бұрын
Thanks.
@resrussia
@resrussia 8 жыл бұрын
Thanks for another awesome video, I generally like your videos, andI love your videos on GPIO. Keep up the good work.
@markanderson2904
@markanderson2904 3 жыл бұрын
Chris, I love your videos and am working my way through all of them. May I suggest that the schematic drawing of the breadboard connections is confusing. I think you should explain how the "squares" are connected for those who are not familiar with breadboards. I.e., each vertical columns of squares on the extreme left and right are electrically connected together, while each horizontal rows of squares (excluding the extreme left and right squares) are connected together.
@efrizal100
@efrizal100 6 жыл бұрын
This is a good video is easy to understand GPIO works for newbie like me ..
@kamehax
@kamehax 3 жыл бұрын
good health and long life to you, thanks for sharing soo much with the world .
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
Thanks. :)
@DartonDariuszKowalczyk
@DartonDariuszKowalczyk 4 жыл бұрын
Your tutorial rocks. But all of the Raspberry Pi GPIO pins have internal pull-up or pull-down resistors that can be controlled from code.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
They do, but I would not personally trust internal pull-up/down resistors.
@tinkmarshino
@tinkmarshino 5 жыл бұрын
the pure torture of it all Chris is that I have to wait until the first to get my check... dang and I thought I learned patients as a lad... well I guess it is learn and learn again eh? this is all too exciting..
@tinkmarshino
@tinkmarshino 5 жыл бұрын
@Darth Digital Yeah you are right.. it come from 3 things.. being self taught, being old and relying to much on spell check.. It doesn't make me sad but it does kind of drive me nuts at times.. what is worse now it that I am starting to transpose letters like a dyslexic person although I never suffered from it before.. Ah the joys of getting old.. you don't seem to be doing to bad for ASD.. sorry for troubles.. but it will make you stronger! have a good new year!
@MarkBamford
@MarkBamford 2 жыл бұрын
Fantastic channel. Thanks and kind regards, Mark
@ExplainingComputers
@ExplainingComputers 2 жыл бұрын
Thanks for your support, most appreciated. :)
@BuildswithBrian
@BuildswithBrian 4 жыл бұрын
Thank you very much, this video helped me greatly, I’ve subscribed and I am excited to watch more of your videos
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Great to hear! This remains one of my favourite videos. You may like some of my Raspberry Pi robotics videos, and also Python intro.
@shingabiss
@shingabiss Жыл бұрын
Best tutorial I've seen! You explain things in a very methodical and clear way at a good pace. I am not new to electronics, just to the Raspberry Pi. I have started with Raspien and am using Thonny IDE. I see you prefer a different coding window, is it simply a command line? Do you prefer it to the Thonny? Thanks for making such outstanding tutorials.
@marcello4258
@marcello4258 3 жыл бұрын
finally i understand the keyword finally.. i was already wondering when i saw it in java code haha
@tomasfranco4870
@tomasfranco4870 3 жыл бұрын
Love these videos... Excelent explanation.
@neilvermeulen5283
@neilvermeulen5283 7 жыл бұрын
Thank you Christopher. You explain well.
@mralfordbaker
@mralfordbaker 4 жыл бұрын
I know this a old Post but really trying to loop the (push button) back to run again and again every time script is finished . Just can't find away to run program by push button over and over.. Thanks for all your knowledge you have given this channel is alsome.
@garymargot4379
@garymargot4379 7 жыл бұрын
Excellent tutorial
8 жыл бұрын
Thanks so much i got my relay working it was an active low (god i hate AL all relays should be AH instead lmao but i got there in the end :)
@khalidrao4716
@khalidrao4716 3 жыл бұрын
Its really a useful and very good video enjoyed keep it up
@rayjohnson7417
@rayjohnson7417 7 жыл бұрын
great video, thank you for taking the time to make it
@dimjim2365
@dimjim2365 7 жыл бұрын
Awesome. Loved this little tutorial
@pmr1wrt53
@pmr1wrt53 8 жыл бұрын
Very nice and good video instruction.
@fisheye8566
@fisheye8566 8 жыл бұрын
Excellent demonstration!
@TheEpjim
@TheEpjim 7 жыл бұрын
Great video! Very informative! Keep up the good work!
@KrishnaDasLessons
@KrishnaDasLessons 8 жыл бұрын
Thank you very much, I learned a lot from this video.
@redazaiti2157
@redazaiti2157 7 жыл бұрын
amazing. really love how you share your experience :). I'm happy to learn from you.
@justinberdell7517
@justinberdell7517 3 жыл бұрын
Play with it for hours! lol That had me on the floor lol
@johnrobertd748
@johnrobertd748 6 жыл бұрын
Thank you! Very simple, but also very helpful.
@godofwinetits3826
@godofwinetits3826 8 жыл бұрын
hope to see some LCD or 7 segment output then keypad in the next tutorial
@makebuildmarket5735
@makebuildmarket5735 7 жыл бұрын
Excellent Explanation! Well done.
@tonybanjo
@tonybanjo 5 жыл бұрын
Your videos are excellent, subscribed
@ExplainingComputers
@ExplainingComputers 5 жыл бұрын
Thanks for the sub -- welcome aboard!
@Super8Rescue
@Super8Rescue 3 жыл бұрын
Thanks for this.
@eng.aljobury5087
@eng.aljobury5087 7 жыл бұрын
Thank you so much for this beautiful explain
@jazzochannel
@jazzochannel 4 жыл бұрын
The 1k resistor to the board-pin makes sense almost no matter what. What would happen with the print statements (I mean the final output) if you had omitted the 10k resistor to the ground? Would it still work in some cases but not in others? What would I need to check / know to ascertain whether I need to put a resistor ?
@davivify
@davivify 4 жыл бұрын
Wondering if you can have 'on conditions' or event handlers like you can in environments like, say, Javascript/Web. That might be more convenient than having to write polling loops all the time.
@jerrygundecker743
@jerrygundecker743 3 жыл бұрын
Chris, is that your voice in the EC theme song? I'm going to have to watch this 400 times to understand how to put this together without damage to the SBC. Dang! But it is practical, useful and interesting. I'd like to see more like this. Really would. No offense meant about your singing.
@ExplainingComputers
@ExplainingComputers 3 жыл бұрын
It is not my voice in the theme -- all electronic instruments sequenced in Ableton Lite. For more content like this, look to my Raspberry Pi Servo Control video -- kzfaq.info/get/bejne/rq50h5d03NC5gXk.html -- my Raspberry Pi Robotics series -- first episode here: kzfaq.info/get/bejne/apd5gpeCypuuqqs.html Also my Raspberry Pi Home Automation series (well, two episodes so far): kzfaq.info/get/bejne/mLV3n9eUzM-8mYk.html
@AndersJackson
@AndersJackson 7 жыл бұрын
Great video, but you don't need to run the program with sudo(8), if you add the user to the right group. Have not my RPi near to check which group is needed. Running program as root with sudo is usually a bad idea. I would also use a variable or named constant instead of using 16 in the program. It will help you to use the right value, and not the wrong by mistake. You should have mentioned debouncing when reading from a switch in the first program. The switch could bounce and give you some fast on-off readings. Except for that, great video, and I like the resistors protecting the input.
@YouDabian
@YouDabian 7 жыл бұрын
Brilliant points. I think he chooses the straight forward route, in order to focus on the hardware parts, but from a software perspective, you're absolutely right!
@ExplainingComputers
@ExplainingComputers 7 жыл бұрын
Indeed, and the issue here is the educational one. Just because something could be included does not mean that is should be if you are trying to explain a concept from scratch and to help people understand it. For example, the first setup I use is starting people off, and hence covering debounce there (rather than later) would confuse things.
@AndersJackson
@AndersJackson 7 жыл бұрын
The straight forward route is also mutch too often the route people only take. That one, as it is in a YT video...
@bluehornet6752
@bluehornet6752 5 жыл бұрын
LOL at your comments! Way to keep the critics happy...
@williamhall5893
@williamhall5893 7 жыл бұрын
Love these videos. Thanks!
@emremutlu44
@emremutlu44 7 жыл бұрын
Nice pack of information! thanks.
@VicManzo
@VicManzo 8 жыл бұрын
Nice video. In looking at your implementation of the circuit it seems that the green wire should be connected to the same node that connects the two resistors. In the configuration shown, the GPIO pin is connected directly to Vcc through the switch.
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
I am confused. In the first and second setups, the GPIO pin is NOT connected to Vcc via the switch. :) As shown in the diagram in the video, the green wire (from GPIO pin 16) is connected to the second horizontal row on the breadboard, which connects it to the current limiting resistor, which in turn connects it to the row below. This means that, when the switch is pressed, the GPIO pin is connected to +3.3V via the current limiting resistor, not directly. It may be difficult to see this clearly in the video -- which is why I included the diagram!
@VicManzo
@VicManzo 8 жыл бұрын
You are correct. My apologies. :-)
@ExplainingComputers
@ExplainingComputers 8 жыл бұрын
VicManzo No problem -- keep watching my Pi videos! :)
@y2ksw1
@y2ksw1 7 жыл бұрын
Imagine that we have made in the eighties storage controllers with much less evolved hardware just like this 😄
@JoeMooney
@JoeMooney 4 жыл бұрын
This is very good.
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Thanks.
@MaTXiNGuN
@MaTXiNGuN 4 жыл бұрын
Thanks a lot for your great explanations and for your work
@ExplainingComputers
@ExplainingComputers 4 жыл бұрын
Thanks.
Raspberry Pi Automation #1: Mains Relay HAT
15:03
ExplainingComputers
Рет қаралды 272 М.
Raspberry Pi GPIO - Getting Started with gpiozero
48:40
DroneBot Workshop
Рет қаралды 438 М.
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 206 МЛН
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 52 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 20 МЛН
Raspberry Pi 5
20:08
ExplainingComputers
Рет қаралды 541 М.
Raspberry Pi Zero: GPIO Pins
14:46
ExplainingComputers
Рет қаралды 200 М.
Raspberry Pi Servo Motor Control
17:36
ExplainingComputers
Рет қаралды 387 М.
Raspberry Pi Projects
11:57
TJ FREE
Рет қаралды 1,7 МЛН
Raspberry Pi MotionEyeOS Network Camera
16:46
ExplainingComputers
Рет қаралды 402 М.
Why build an entire computer on breadboards?
28:43
Ben Eater
Рет қаралды 3,1 МЛН
GUIDE: BUILD A RASPBERRY PI3 WITH TOUCHSCREEN FOR CAR DASHBOARD
11:23
BEAVIS Motorsport
Рет қаралды 750 М.
Basic usage of the Raspberry Pi GPIO pins
13:44
Engineer Man
Рет қаралды 96 М.
Raspberry Pi 3 USB SSD Boot
12:40
ExplainingComputers
Рет қаралды 596 М.
Raspberry Pi Zero is a PRO HQ webcam for less than $100!
11:59
Jeff Geerling
Рет қаралды 262 М.