Basic usage of the Raspberry Pi GPIO pins

  Переглядів 94,828

Engineer Man

Engineer Man

День тому

Working with Raspberry Pi GPIO pins is easy and very useful. In this video is an introduction to doing just that.
Hope you enjoyed the video!
PiJuice HAT:
uk.pi-supply.com/products/pij...
Check out this code here:
github.com/engineer-man/youtu...
Join my Discord server to chat with me:
/ discord
Check out some code on my GitHub:
github.com/realtux
github.com/engineer-man/youtube
Come visit us on Reddit:
/ engineerman
Other Social:
/ _engineerman
/ engineermanyt

КОМЕНТАРІ: 136
@SchoolforHackers
@SchoolforHackers 4 роки тому
Loving your from-the-ground-up approach: great for learning how actually to build on the Pi. Hope you’ll make this a series.
@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.
@bullium
@bullium 4 роки тому
Would love you to continue this series for sure my man!
@timstraps
@timstraps 4 роки тому
I was going to do a RPi project this summer that involves 7-segment displays. These are really helpful, hope you do more.
@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.
@smmextraYT
@smmextraYT 2 роки тому
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 2 роки тому
Thanks!
@capistor1
@capistor1 4 роки тому
Eyyy loved the video. Please continue and make this a series
@beron_the_colossus
@beron_the_colossus 4 роки тому
Thank you, always love videos about Raspberries
@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.
@PR0MINENCE
@PR0MINENCE 6 місяців тому
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.
@lefabb
@lefabb 4 роки тому
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
@yuvigerstein
@yuvigerstein 4 роки тому
That's a great tutorial, thank you. Please make more on this exact topic and more advanced physical projects. Thanks!
@str0g
@str0g 4 роки тому
hope that this becomes a series! keep up the great work...
@stevewlasichuk
@stevewlasichuk 4 роки тому
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.
@sasakanjuh7660
@sasakanjuh7660 4 роки тому
Definitely more RP videos! Or even some basic electronics could be interesting :)
@mohammadrezasabouri6875
@mohammadrezasabouri6875 4 роки тому
Extremely helpful, I got all the information I needed, thank you so much!
@alvfig
@alvfig 4 роки тому
I'd like to see more videos like this one, too. Thank You!
@carpandrei7493
@carpandrei7493 4 роки тому
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).
@markharrisllb
@markharrisllb 2 роки тому
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 2 роки тому
Glad it helped :)
@Solcitse
@Solcitse 4 роки тому
thanks for the videos bro, looking forward to more pi gpio tutorials
@TheGreatWolf13
@TheGreatWolf13 4 роки тому
Only recently started with a RaspberryPi Zero, so would love to see more videos.
@gsansoucie
@gsansoucie 4 роки тому
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.
@hectoro5144
@hectoro5144 4 роки тому
Whats up man, I like this raspberry video, thank you so much!
@ashwoodson1649
@ashwoodson1649 4 роки тому
First time I've seen (what seems obvious) the use of an ide cable with a pi... Nice! And Clean!
@stdint.h
@stdint.h 4 роки тому
Great video, you Are the best Man!!
@fuzzylon
@fuzzylon 3 роки тому
This video is exactly what I was looking for. Thanks.
@ericr5481
@ericr5481 4 роки тому
This is sweet. Especially love that the code is in python. Please make more.
@donmiller504
@donmiller504 5 місяців тому
Thank You, I'm trying to learn this!
@kwkspectre
@kwkspectre 4 роки тому
Very helpful video - I'd like to see more.
@vilks_jan
@vilks_jan 4 роки тому
Thanks Engineering Man!
@dvn8ter
@dvn8ter 4 роки тому
man great video! keep it up PLEASE!
@Soljarag5
@Soljarag5 3 роки тому
Perfect tutorial to get started with gpio!! Thanks
@sndgx100
@sndgx100 4 роки тому
Thank you! More please!
@FPS-WIFI
@FPS-WIFI 4 роки тому
Great video, and a raspberry pi series would be awesome!
@caleb8764
@caleb8764 4 роки тому
So good mate, keep the Raspberrypi vids coming I say!
@daowiz001
@daowiz001 2 роки тому
Super good! please more!
@nkeirujohnson-achilike6020
@nkeirujohnson-achilike6020 3 роки тому
Extremely helpful video
@IcculusTheProphet
@IcculusTheProphet 4 роки тому
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?
@ImARichard
@ImARichard 4 роки тому
More raspberry pie stuff would be awesome to see!
@csebastian3
@csebastian3 3 роки тому
Great introduction!
@thijsdebont
@thijsdebont 3 роки тому
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).
@angelbythewings
@angelbythewings 2 роки тому
This was awesome manx
@davidb.5911
@davidb.5911 3 роки тому
Thank you, very useful video!
@leanobajio
@leanobajio 4 роки тому
Awesome video. I'd love to see more Arduino and Raspberry Pi projects in the future.
@skeeveskeeve
@skeeveskeeve 4 роки тому
agreed
@JosueRodriguez08
@JosueRodriguez08 4 роки тому
Nooooo, look for that in another channel, don't transform this in more of the same shit
@fernandoflores3728
@fernandoflores3728 3 роки тому
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!
@wedemier
@wedemier 4 роки тому
Awesome video! More please.
@zren4585
@zren4585 3 роки тому
thank you its really helpful
@CarinoGamingStudio
@CarinoGamingStudio 3 роки тому
i subscribe because this channel can teach me on raspberry pi as what it was.
@BloodmansCrypt
@BloodmansCrypt 3 роки тому
Loved the video!
@janism94
@janism94 4 роки тому
R Pi uses round the house would be a good vid
@jeffsirkis2552
@jeffsirkis2552 4 роки тому
Would like more raspberry pi videos. Thanks!
@ankitmourya9070
@ankitmourya9070 4 роки тому
Nice explanation.keep it up
@kbaeksu
@kbaeksu 2 роки тому
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?
@skeeveskeeve
@skeeveskeeve 4 роки тому
super helpful
@devnull08
@devnull08 4 роки тому
Great intro, can you possibly do something with reading data from an input such as a temperature sensor, movement detector etc?
@RobsPlaceFL
@RobsPlaceFL 3 роки тому
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?
@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
@jasonstation
@jasonstation 7 місяців тому
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.
@Jamison_IO
@Jamison_IO 4 роки тому
Awesome video. This is a great channel.
@yassinemessaoudi
@yassinemessaoudi 4 роки тому
Great Video
@Mcfryguy5555
@Mcfryguy5555 4 роки тому
Yes, do some more Raspberry Pi videos!
@blenzangel06
@blenzangel06 4 роки тому
Love the video by the way.
@ShizzleMyChizzle
@ShizzleMyChizzle 3 роки тому
I like your videos before watching them
@FEBIHKING
@FEBIHKING 4 роки тому
Superb.... Please do more raspberry pi video's
@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?
@VE3RGO
@VE3RGO 4 роки тому
Keep showing the RPi stuff!
@Compuscience-Python-Prog-Exps
@Compuscience-Python-Prog-Exps 8 місяців тому
I soo Love my Raspberry Pi 4b.💙
@shoaib_zubair
@shoaib_zubair 4 роки тому
nice vedio! great explanation.
@evertidema3338
@evertidema3338 4 роки тому
Great video, would love to see some python pi and sensor stuff
@Sirmrmeowmeow
@Sirmrmeowmeow 4 роки тому
nice video! keep it up!
@FatPinkSlug
@FatPinkSlug 4 роки тому
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 4 роки тому
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.
@oswaldjh
@oswaldjh 4 роки тому
Random pixelization at the top side of your PiJuice makes it appear to letting out the magic smoke.
@varunrajput267
@varunrajput267 4 роки тому
Please more pi videos!
@ThesexyMrX
@ThesexyMrX 4 роки тому
Fuck.. now I need a breadboard.. seriously I've been to microcenter so many times this week! Thanks for the video
@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..
@BillYovino
@BillYovino Рік тому
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.
@BrotherHank
@BrotherHank 4 роки тому
More Raspberry PI Videos please!
@t16bros96
@t16bros96 3 роки тому
I’m yet to find a decent button which one did you use
@Asithan476
@Asithan476 3 роки тому
Does the resistor have to be on the positive side coming in?
@gingsSon
@gingsSon 3 роки тому
Thanks.
@wiiu7640
@wiiu7640 2 роки тому
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?
@Manfrix888
@Manfrix888 3 роки тому
hi man, i must do the same thing using forth, any tips?
@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.
@robertdavis5569
@robertdavis5569 3 роки тому
Super new to raspberry and arduino. Which IDE are you using?
@assida143
@assida143 4 роки тому
Can you do some on OS Raspberry Pi cluster moving ICE is simple and easy cluster and thank you
@JosueRodriguez08
@JosueRodriguez08 4 роки тому
I have a 15 nodes RaspberryPi Cluster for virtualization
@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
@Sifu-Myers
@Sifu-Myers 4 роки тому
What program are you using to do this for the raspberry pi?
@davidwplummer953
@davidwplummer953 4 роки тому
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 4 роки тому
Look into the WiringPi or BCM2835 libraries, for extra points you can control the pins directly by using Linux kernel functions.
@yannnique17
@yannnique17 3 роки тому
What if it's not blinking? I can't measure voltage at the GPIO.
@sbschuppel8552
@sbschuppel8552 4 роки тому
what switch did you use ?
@ThesniperScythe
@ThesniperScythe 3 роки тому
How can you edit python remotely, what do you use?
@dmbrv
@dmbrv 4 роки тому
nice video
@logiztv4986
@logiztv4986 2 роки тому
Can‘t you change the voltage of the gpio output ?
@bryantfitzmorris
@bryantfitzmorris Рік тому
Do an apdated version of this.
@peegee101
@peegee101 4 роки тому
Very Kewl!
@jhoughjr1
@jhoughjr1 4 роки тому
Anyone got epoll to work with Buster? i use JS and seems its borked.
@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.
@HEX1337x
@HEX1337x Рік тому
How are called this pins? I want to buy on ebay, i need it exactly this what are, the basic M/M pins?
@CarinoGamingStudio
@CarinoGamingStudio 3 роки тому
how about clustering raspberry using pins to connect each raspberry.
@siddharthdedhia11
@siddharthdedhia11 3 роки тому
Are the GPIOs same for raspberry pi 3 and 4?
Raspberry Pi GPIO - Getting Started with gpiozero
48:40
DroneBot Workshop
Переглядів 428 тис.
Raspberry Pi LESSON 4 : Understanding and Using GPIO Pins
45:45
Paul McWhorter
Переглядів 48 тис.
КТО СМОГ ПОБЕДИТЬ?😳
00:36
МЯТНАЯ ФАНТА
Переглядів 602 тис.
McDonald’s MCNUGGET PURSE?! #shorts
00:11
Lauren Godwin
Переглядів 29 млн
What's the difference? Arduino vs Raspberry Pi
6:21
Tinkernut
Переглядів 1,8 млн
Top 10 Raspberry Pi Projects for 2022
7:54
Jeff Geerling
Переглядів 1,5 млн
Raspberry Pi 5: EVERYTHING you need to know
20:32
Jeff Geerling
Переглядів 1,1 млн
#369 Definitive Guide to Attaching Sensors to the Raspberry Pi (Tutorial)
13:22
Raspberry Pi Supercomputer Cluster
12:33
Gary Explains
Переглядів 791 тис.
5 Surprising Uses for Old Raspberry Pi Models
10:13
Krisseck
Переглядів 9 тис.
Raspberry Pi - Control GPIO Pins with GPIOzero Library
19:15
Eli the Computer Guy
Переглядів 16 тис.
Engineer Breaks Down Hollywood Programming Scenes
11:02
Engineer Man
Переглядів 21 тис.
Raspberry Pi GPIO Tutorial: The Basics Explained
8:57
Pi My Life Up
Переглядів 321 тис.
Broken Flex Repair #technology #mobilerepair
0:50
ideal institute aligarh
Переглядів 770 тис.
Опасная флешка 🤯
0:22
FATA MORGANA
Переглядів 679 тис.
Start from 0 at any point on the T1 Digital Tape Measure
0:14
REEKON Tools
Переглядів 28 млн
''Бесплатные умные'' домофоны для глупых людей. За чей счет банкет?
12:48
Вадим Шегалов.Оккультные игры элиты
Переглядів 34 тис.
КУПИЛ SAMSUNG GALAXY S24 ULTRA ЗА 88000 РУБЛЕЙ!
27:29
DimaViper
Переглядів 68 тис.
Крутое обновление microReader!
5:54
Заметки Ардуинщика
Переглядів 31 тис.