Basic usage of the Raspberry Pi GPIO pins

  Рет қаралды 98,911

Engineer Man

Engineer Man

Күн бұрын

Пікірлер: 135
@SchoolforHackers
@SchoolforHackers 5 жыл бұрын
Loving your from-the-ground-up approach: great for learning how actually to build on the Pi. Hope you’ll make this a series.
@markharrisllb
@markharrisllb 3 жыл бұрын
This is the first video I’ve seen of yours but it’s certainly not the last. Everything explained thorough but succinctly without any waffle.
@EngineerMan
@EngineerMan 3 жыл бұрын
Glad it helped :)
@PR0MINENCE
@PR0MINENCE Жыл бұрын
Great video! Just a small comment - It doesn’t matter where you put the resistor. It can be either on negative or positive side of the LED. It will still limit the current that goes through.
@reinaldonovoa
@reinaldonovoa 4 жыл бұрын
Most clear coding example I've seen for the RPi. Definitely more RPi videos please I recently fell into the RPi rabbit hole.
@smmextraYT
@smmextraYT 3 жыл бұрын
Great instructional video! I've watch many videos on very similar functions, but the way you explain each function, while showing the dual view (well, tri-view), made each step easy to follow. You've taken the fear out of programming. Thank you and keep it up!
@EngineerMan
@EngineerMan 3 жыл бұрын
Thanks!
@capistor1
@capistor1 5 жыл бұрын
Eyyy loved the video. Please continue and make this a series
@sasakanjuh7660
@sasakanjuh7660 5 жыл бұрын
Definitely more RP videos! Or even some basic electronics could be interesting :)
@brandonbrand2338
@brandonbrand2338 4 жыл бұрын
This was brilliant E-Man, thank you. Looking forward to much more raspberry pi videos especially when coding using Python and the RPi's GPIO pins. I simply love tinkering with these SBC.
@gsansoucie
@gsansoucie 5 жыл бұрын
Excellent hello world here. I’ve done Pic and Arduino now for decades, just got a Pi, just needed this to figure out where to start.
@beron_the_colossus
@beron_the_colossus 5 жыл бұрын
Thank you, always love videos about Raspberries
@timstraps
@timstraps 5 жыл бұрын
I was going to do a RPi project this summer that involves 7-segment displays. These are really helpful, hope you do more.
@tburda823
@tburda823 4 жыл бұрын
Setting up a circuit to add to outdoor motion lights when one catches motion, it turns them all on. This was a perfect tutorial to get the basics I needed of using GPIO to detect input. Thanks.
@str0g
@str0g 5 жыл бұрын
hope that this becomes a series! keep up the great work...
@hectoro5144
@hectoro5144 5 жыл бұрын
Whats up man, I like this raspberry video, thank you so much!
@bullium
@bullium 5 жыл бұрын
Would love you to continue this series for sure my man!
@leanobajio
@leanobajio 5 жыл бұрын
Awesome video. I'd love to see more Arduino and Raspberry Pi projects in the future.
@skeeveskeeve
@skeeveskeeve 5 жыл бұрын
agreed
@JosueRodriguez08
@JosueRodriguez08 5 жыл бұрын
Nooooo, look for that in another channel, don't transform this in more of the same shit
@stevewlasichuk
@stevewlasichuk 5 жыл бұрын
This was super useful as someone that knows how to program + a little circuit knowledge. If you do more like this, hooking up a motor to a similar event would be cool.
@lefabb
@lefabb 5 жыл бұрын
Great video, I learned a lot thanks to you. I love the RPi and look forward to seeing the next videos you make about it. Cheers
@ashwoodson1649
@ashwoodson1649 5 жыл бұрын
First time I've seen (what seems obvious) the use of an ide cable with a pi... Nice! And Clean!
@carpandrei7493
@carpandrei7493 5 жыл бұрын
You just gave me one more reason to start learning Python. Especially since I already have two Raspberry PIs that I switch back and forth between different projects (mainly retro gaming, music and video streaming).
@Alpha_fitz
@Alpha_fitz 2 жыл бұрын
Do an apdated version of this.
@yuvigerstein
@yuvigerstein 5 жыл бұрын
That's a great tutorial, thank you. Please make more on this exact topic and more advanced physical projects. Thanks!
@ericr5481
@ericr5481 5 жыл бұрын
This is sweet. Especially love that the code is in python. Please make more.
@CarinoGamingStudio
@CarinoGamingStudio 4 жыл бұрын
i subscribe because this channel can teach me on raspberry pi as what it was.
@TheGreatWolf13
@TheGreatWolf13 5 жыл бұрын
Only recently started with a RaspberryPi Zero, so would love to see more videos.
@kwkspectre
@kwkspectre 5 жыл бұрын
Very helpful video - I'd like to see more.
@FPS-WIFI
@FPS-WIFI 5 жыл бұрын
Great video, and a raspberry pi series would be awesome!
@fuzzylon
@fuzzylon 4 жыл бұрын
This video is exactly what I was looking for. Thanks.
@ShizzleMyChizzle
@ShizzleMyChizzle 3 жыл бұрын
I like your videos before watching them
@Soljarag5
@Soljarag5 3 жыл бұрын
Perfect tutorial to get started with gpio!! Thanks
@Solcitse
@Solcitse 5 жыл бұрын
thanks for the videos bro, looking forward to more pi gpio tutorials
@ImARichard
@ImARichard 5 жыл бұрын
More raspberry pie stuff would be awesome to see!
@dvn8ter
@dvn8ter 5 жыл бұрын
man great video! keep it up PLEASE!
@caleb8764
@caleb8764 5 жыл бұрын
So good mate, keep the Raspberrypi vids coming I say!
@csebastian3
@csebastian3 3 жыл бұрын
Great introduction!
@FatPinkSlug
@FatPinkSlug 5 жыл бұрын
One thing that I would be interested to see is actually a step further towards the "basics" and have demonstrate how to launch code on a PI. That, but also I would be super interested to see about things that you can do with a RaspberryPi that you can't do with something like an Arduino.
@noweare1
@noweare1 5 жыл бұрын
Since the PI has an operating system the Arduino is better for processing sensors and in general interfaceing with the environment. The PI has a bunch of stuff to do so it only gives the Arduino a piece of time to do it's thing. If you want to control something use an Arduino. Anything with an O.S. will be slow, slow, slow.
@janism94
@janism94 5 жыл бұрын
R Pi uses round the house would be a good vid
@alvfig
@alvfig 5 жыл бұрын
I'd like to see more videos like this one, too. Thank You!
@artlessroger197
@artlessroger197 3 жыл бұрын
are the pins the holes on the pcb or is it the little metal prongs that go through the holes? Also can you solder wires to get info/energy from the holes?
@mohammadrezasabouri6875
@mohammadrezasabouri6875 5 жыл бұрын
Extremely helpful, I got all the information I needed, thank you so much!
@daowiz001
@daowiz001 3 жыл бұрын
Super good! please more!
@donmiller504
@donmiller504 Жыл бұрын
Thank You, I'm trying to learn this!
@nkeirujohnson-achilike6020
@nkeirujohnson-achilike6020 3 жыл бұрын
Extremely helpful video
@yannnique17
@yannnique17 4 жыл бұрын
What if it's not blinking? I can't measure voltage at the GPIO.
@LerrySanders
@LerrySanders 5 жыл бұрын
I do not believe it matters which side you put the resistor on a LED
@jhoughjr1
@jhoughjr1 5 жыл бұрын
Taylor Hardin it doesnt.
@JosueRodriguez08
@JosueRodriguez08 5 жыл бұрын
It does, for security reasons :v
@jhoughjr1
@jhoughjr1 5 жыл бұрын
Josue Rodriguez no it doesnt. prove otherwise.
@EngineerMan
@EngineerMan 5 жыл бұрын
You're both right, it doesn't. The selection of that side was to guarantee lower current in the event of a mistake hooking it up,
@jhoughjr1
@jhoughjr1 5 жыл бұрын
Engineer Man how does that work though? A series circuit would have the same current regardless of where the resistor is. A hookup error doesn’t seem to change the circuit topology.
@BillYovino
@BillYovino 2 жыл бұрын
How would I simulate a button press from another Pi? In other words, taking your example in this video, instead of having the physical button you had jumpers from another Pi. How would you define the GPIO pins in software for both Pi's? My idea is to use a WiFi enabled Pico W to trigger a button press on a 3B+ running Fruitbox (Jukebox software). I would then be able to use my phone's browser to control some aspects of it.
@jasonstation
@jasonstation Жыл бұрын
Is it in any way possible to utilise the GPIO pins of a Raspberry Pi that is running a Home Assistant instance? IE to connect to the sensors of an old home alarm system.
@Asithan476
@Asithan476 4 жыл бұрын
Does the resistor have to be on the positive side coming in?
@t16bros96
@t16bros96 4 жыл бұрын
I’m yet to find a decent button which one did you use
@jeffsirkis2552
@jeffsirkis2552 5 жыл бұрын
Would like more raspberry pi videos. Thanks!
@maxmillionnunez
@maxmillionnunez 3 жыл бұрын
Do you have a script when the button is pressed it calls not for an LED but rather a shell script/file? Is the ‘callback’ would be the call for my script.
@fernandoflores3728
@fernandoflores3728 4 жыл бұрын
Good and complete video about RP GPIO manage, hope you may make a video using RP with hardware interrupts like we can make with microprocessors (INT), thanks!
@assida143
@assida143 5 жыл бұрын
Can you do some on OS Raspberry Pi cluster moving ICE is simple and easy cluster and thank you
@JosueRodriguez08
@JosueRodriguez08 5 жыл бұрын
I have a 15 nodes RaspberryPi Cluster for virtualization
@BloodmansCrypt
@BloodmansCrypt 4 жыл бұрын
Loved the video!
@andrewpaige9152
@andrewpaige9152 3 жыл бұрын
Your the best, im new to this and was understanderbly clear, cheers from down under Australia, can you maybe do tutorials using all the gadgets? How to go to install programs for your shields and install things through terminal onto Raspian so many people just assume because you have a Pi your and expert, but im just making the change over and people can be so arogant i cant see why people give up and run back to windows and never look back and hate the linux community or open source community. But you were very good going step by step and explaining why each step is like it and what piece does what and why this command command does that and if if you dont sceanario. New Subscriber
@angelbythewings
@angelbythewings 3 жыл бұрын
This was awesome manx
@pawebaran3601
@pawebaran3601 2 жыл бұрын
Hey, I plan to use Raspberry as a NAS using OpenMediaVault and I want it to act as a microcontroller to control some of my projects (on Arduino at this point, but my goal is to control them through PI's GPIO pins). How can I achieve both of those goals? Open Media Vault works in headless mode, no monitor and gui, everything controlled from other PC connected to the same network. Do you have any clues? Controlling GPIO in headless mode similar to microcontroller like Arduino or menaging Open Media Vault in normal Raspbian or something
@johnbarrios4531
@johnbarrios4531 2 жыл бұрын
Clarified the BCM and Board setting...had me for a day trying to figure if the outputs were set right in the program..
@wedemier
@wedemier 5 жыл бұрын
Awesome video! More please.
@wiiu7640
@wiiu7640 3 жыл бұрын
How would you convert an audio file into dsd to be played back through the PWM methods in this video? PDM is basically the same as PWM but instead of modulating the pulsewidth via time, it’s by keeping it on or off over clock cycles at a really high clock speed. All you would need is a capacitor to filter the high end. Would it be possible to use all the GPIO pins to output this kind of signal?
@logiztv4986
@logiztv4986 3 жыл бұрын
Can‘t you change the voltage of the gpio output ?
@davidb.5911
@davidb.5911 3 жыл бұрын
Thank you, very useful video!
@Jamison_IO
@Jamison_IO 5 жыл бұрын
Awesome video. This is a great channel.
@sbschuppel8552
@sbschuppel8552 5 жыл бұрын
what switch did you use ?
@RobsPlaceFL
@RobsPlaceFL 4 жыл бұрын
Keep them coming! Worked with Pic Micro and Arduino but just getting into Pi. Where did you write the code and where did you execute it?
@Manfrix888
@Manfrix888 4 жыл бұрын
hi man, i must do the same thing using forth, any tips?
@oswaldjh
@oswaldjh 5 жыл бұрын
Random pixelization at the top side of your PiJuice makes it appear to letting out the magic smoke.
@Sifu-Myers
@Sifu-Myers 4 жыл бұрын
What program are you using to do this for the raspberry pi?
@Mcfryguy5555
@Mcfryguy5555 5 жыл бұрын
Yes, do some more Raspberry Pi videos!
@HEX1337x
@HEX1337x 2 жыл бұрын
How are called this pins? I want to buy on ebay, i need it exactly this what are, the basic M/M pins?
@neverloveagain-c5l
@neverloveagain-c5l 4 жыл бұрын
Super new to raspberry and arduino. Which IDE are you using?
@vilks_jan
@vilks_jan 5 жыл бұрын
Thanks Engineering Man!
@FEBIHKING
@FEBIHKING 5 жыл бұрын
Superb.... Please do more raspberry pi video's
@siddharthdedhia11
@siddharthdedhia11 4 жыл бұрын
Are the GPIOs same for raspberry pi 3 and 4?
@thijsdebont
@thijsdebont 4 жыл бұрын
Cool vid! Quick question. Could you use a variable, like the led_on variable, to set the GPIO state instead of GPIO.HIGH/LOW? This would eliminate the need for the if..else statement in the switch function (I could test this myself, but others might be interested).
@ThesniperScythe
@ThesniperScythe 4 жыл бұрын
How can you edit python remotely, what do you use?
@kbaeksu
@kbaeksu 3 жыл бұрын
Really nice video, Questions, I'd like to connect to Pi & run python remotely, what kind of editor you recommend for Python (Windows app?)? I saw you mounted some drive or network drive, can you explain what working environment you have?
@balatcode
@balatcode 4 жыл бұрын
How to use multiplexed GPIO pins? I can't use that pin????
@devnull08
@devnull08 5 жыл бұрын
Great intro, can you possibly do something with reading data from an input such as a temperature sensor, movement detector etc?
@masehacker
@masehacker 4 жыл бұрын
I am in need of some coding help, I want time.sleeep(X) and I need X to be taken from another file. I am then going to have that file IE: input.txt have its values inside change from a php script\website. no one has been able to tell me how to do this.
@CarinoGamingStudio
@CarinoGamingStudio 4 жыл бұрын
how about clustering raspberry using pins to connect each raspberry.
@tarikhacialiogullari4627
@tarikhacialiogullari4627 3 жыл бұрын
Which OS is this?
@IcculusTheProphet
@IcculusTheProphet 5 жыл бұрын
Great video! I would like to see more RPi projects. This was a great warm-up to show how simple and powerful an RPi can be with just a little coding experience. I always thought a gun RPi project would be modifying an old garage door opener to a "smart" garage for opener with a RPi Zero. What do you think?
@ankitmourya9070
@ankitmourya9070 5 жыл бұрын
Nice explanation.keep it up
@evertidema3338
@evertidema3338 5 жыл бұрын
Great video, would love to see some python pi and sensor stuff
@davidwplummer953
@davidwplummer953 5 жыл бұрын
Great intro - now how do I do it in C? I assume it's trivial, but could use a simple example like you've done here for python!
@AtoZProgrammingTutorials
@AtoZProgrammingTutorials 5 жыл бұрын
Look into the WiringPi or BCM2835 libraries, for extra points you can control the pins directly by using Linux kernel functions.
@yassinemessaoudi
@yassinemessaoudi 5 жыл бұрын
Great Video
@neilshobbyhq
@neilshobbyhq 5 жыл бұрын
How are you transferring the data to the PI is it connected to a computer
@EngineerMan
@EngineerMan 5 жыл бұрын
I used SSH.
@sndgx100
@sndgx100 5 жыл бұрын
Thank you! More please!
@jhoughjr1
@jhoughjr1 5 жыл бұрын
Anyone got epoll to work with Buster? i use JS and seems its borked.
@VE3RGO
@VE3RGO 5 жыл бұрын
Keep showing the RPi stuff!
@BrotherHank
@BrotherHank 5 жыл бұрын
More Raspberry PI Videos please!
@varunrajput267
@varunrajput267 5 жыл бұрын
Please more pi videos!
@deno3415
@deno3415 5 жыл бұрын
Which IDE do you use?
@B-a_s-H
@B-a_s-H 5 жыл бұрын
Atom (atom.io).
@Sirmrmeowmeow
@Sirmrmeowmeow 5 жыл бұрын
nice video! keep it up!
@shoaib_zubair
@shoaib_zubair 5 жыл бұрын
nice vedio! great explanation.
@zren4585
@zren4585 4 жыл бұрын
thank you its really helpful
@blenzangel06
@blenzangel06 5 жыл бұрын
Love the video by the way.
@schlingelgen
@schlingelgen 2 жыл бұрын
You're running this as the root user - is there a way to get this running as a 'normal' user without sudo?
@Compuscience-Python-Prog-Exps
@Compuscience-Python-Prog-Exps Жыл бұрын
I soo Love my Raspberry Pi 4b.💙
Raspberry Pi: Using GPIO Inputs
18:41
ExplainingComputers
Рет қаралды 585 М.
Raspberry Pi GPIO Tutorial: The Basics Explained
8:57
Pi My Life Up
Рет қаралды 337 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Control you Raspberry Pi with a BUTTON
12:03
Sam Westby Tech
Рет қаралды 25 М.
GPIO for any PC or Laptop: Adafruit FT232H
19:18
ExplainingComputers
Рет қаралды 208 М.
Learn MicroPython - Part 1 Controlling the flow
22:35
Kevin McAleer
Рет қаралды 18 М.
Program A Raspberry Pi In 7 Minutes
6:47
Tinkernut
Рет қаралды 212 М.
Every Developer Needs a Raspberry Pi
27:27
Sam Meech-Ward
Рет қаралды 1,1 МЛН
Raspberry Pi - Control GPIO Pins with GPIOzero Library
19:15
Eli the Computer Guy
Рет қаралды 18 М.
Raspberry Pi Servo Motor Control - No Jitter!
13:52
Gary Explains
Рет қаралды 56 М.
What Are GPIO Pins or General Purpose Input Output Pins?
15:41
SwitchDoc Labs
Рет қаралды 41 М.
8 super heroic Linux commands that you probably aren't using
8:38
Engineer Man
Рет қаралды 729 М.
Raspberry Pi - How to Handle GPIO Interrupts with Python 3
14:57
Robotics Back-End
Рет қаралды 16 М.