Arduino Workshop - Chapter Two - Using Digital Pins

  Рет қаралды 110,139

Core Electronics

Core Electronics

Күн бұрын

Пікірлер
@Jeff_Seely
@Jeff_Seely 3 жыл бұрын
This is one of the most well formatted and comprehensive technical instructional video sets I've ever laid eyes on. The instructor is very gifted for capturing attention and presenting content. I have five daughters one is interested in code and electronics. She's only 10 and I have trouble presenting what I know (I repair process instrumentation and automation). She has picked up so much since watching these lessons. Thank you my friend. Absolutely well done!
@trevortippett918
@trevortippett918 Жыл бұрын
I have struggled with arduino for years Well done, your course content has been excellent, well structured, easy to follow Thank you
@d3bbi339
@d3bbi339 4 жыл бұрын
I'm so glad I found your clear tutorials! I had no idea about the internal resistor on the uno until today lol.
@antiinfluencer2269
@antiinfluencer2269 3 жыл бұрын
you are the best arduino teacher ive fount on all my years trying to figure out arduino thx
@clems6989
@clems6989 4 ай бұрын
Question : @9:25 he created the variable inside the void loop, why did he not declare this variable at the top with the others? Is this then a "local" variable and not a "global" variable ?
@Core-Electronics
@Core-Electronics 4 ай бұрын
If we create the variable outside the loop and set it to 0, the code would then go into the loop and then immediately update it to the value of the button so in this case it would have no effect. If you wanted extra piece of mind (like if you were controlling a motor base on the state of the button), you could set it to a value outside the loop to ensure that it is initialised to the correct value you want.
@tonycstech
@tonycstech 2 жыл бұрын
Wish you should show how you wire it up
@BrennerEraFan
@BrennerEraFan Жыл бұрын
Would it be more energy efficient if when the button is not pressed, then the circuit is open, and while the button is pressed the circuit is closed. I am guessing that is a different type of button?
@karvasika
@karvasika 7 жыл бұрын
Thank you for the really clear tutorials, starting with my first circuits and I was very glad to find this kind of tutorial that explains all the stuff well. I have one questions: when I push the button on pin 2, doesn't that become a short circuit because pin 2 is then directly connected to ground? Or what prevents the currency from heating up the wire and destroying the device when the button is pressed down?
@karvasika
@karvasika 7 жыл бұрын
Ah ok found out that the INPUT-mode pins have a very high built-in resistor! This explains it! :)
@an_orange8911
@an_orange8911 4 жыл бұрын
this is where the pullup command comes in. If you don't want to use pullup you can just attach a resistor of very high resistance to the line connecting to the ground, it will protect the circuit from short circuit and also prevents ghost signals to the arduino.
@shmuelschreiber109
@shmuelschreiber109 2 жыл бұрын
mine dosent wor. can someone help me?
@sriumeshsandala7674
@sriumeshsandala7674 2 жыл бұрын
Can we use 1k resistor?
@something12345-o
@something12345-o 2 жыл бұрын
thank you so much for this series
@hansdegroot652
@hansdegroot652 Жыл бұрын
How to deal with high or low at power on?
@marklesterburgos3723
@marklesterburgos3723 3 жыл бұрын
is input pullup only applicable to active low logic programs?
@masonicwolfvtf
@masonicwolfvtf 4 жыл бұрын
I am really enjoying this series. I do have a question though. Is there a way to use multiple buttons combinations to create a single action. Like button1=high button2=high button3=low moves 4 servos to one set of position. Then pressing button1=low button2=high button 3 =high and servos change to a different position.
@devinmarx5032
@devinmarx5032 3 жыл бұрын
Yes, and that is actually quite simple to do, you would just need an if statement, like this... if(pin1==HIGH && pin2==HIGH && pin3 == LOW) { // code you want to execute }
@jeevansurendran
@jeevansurendran 6 жыл бұрын
This means that when your button is off the bulb glows and if the button is on the bulb dosent glow
@SouboGaming
@SouboGaming 3 жыл бұрын
i have copied everything from building the circuit to writing the code and this just wont work, can anyone help?
@sandragebraiel6300
@sandragebraiel6300 4 жыл бұрын
Hello! I would like to ask a question. What happens if I give to the LED pin the opposite reading of the button pin through the code?
@salc9593
@salc9593 7 жыл бұрын
Hi... have been enjoy your tutorial videos they have been a great help in my understanding of Arduino coding. I would like to ask if a 'Pull Up' Resistor should be used if the sketch is to be loaded to a ATtiny or ATMega IC or can one safely use the "INPUT_PULLUP" (mins. 4:10 - 7:29) in a Arduino Sketch. Thank you and keep up the great tutorials.
@wasifalam6170
@wasifalam6170 4 жыл бұрын
how the pin 2 is connected to 5 volts?
@maazshahid8920
@maazshahid8920 4 жыл бұрын
I have a question, the button is connected to pin 2 and ground while the led is connected to pin 3 and ground, then why does the led switches off when it is pressed. Please help
@devinmarx5032
@devinmarx5032 3 жыл бұрын
This will work because of the code that will be programed onto the Arduino board. He will say that if the Arduino reads that the button is pushed then it will turn on the led.
@joshkrispy3846
@joshkrispy3846 2 жыл бұрын
This was so helpful Thank you so much
@kapiljagtap3584
@kapiljagtap3584 6 жыл бұрын
if i do calculations outside void setup & void loop at end of program....will my program execute serially or first it will solve whats outside the setup&loop and then setup-loops?
@abdullahtayeh1853
@abdullahtayeh1853 4 жыл бұрын
pin 3,5 and 6 could be configured as outputs or inputs?
@devinmarx5032
@devinmarx5032 3 жыл бұрын
They can all be inputs or outputs just not both at the same time
@qwertyqwerty-qs1yj
@qwertyqwerty-qs1yj 4 жыл бұрын
If it's active-low logic, shouldn't the button give a signal of 1 when connected to ground?
@minudalmia
@minudalmia 4 жыл бұрын
that not active low logic it is basically that in its normal state it is high and when its grounding it changes that value to low or "0"
@allanpatterson7653
@allanpatterson7653 4 жыл бұрын
Mosfets and H bridge my favorite
@dannyjensen4954
@dannyjensen4954 5 жыл бұрын
Thanks so much for your excellent video. I learned a lot and it was very simple. I'm excited about learning more.
@TOSHALINI
@TOSHALINI 4 жыл бұрын
I have questions How do i contact you?
@Core-Electronics
@Core-Electronics 4 жыл бұрын
For the best support we recommend to post questions to our forum: coreelec.io/forum
@ferb1rahert
@ferb1rahert 3 ай бұрын
yeah very cool I'm going to watch this again and again to understand the breadboard and its correlation with our designed schematic cuz I'm dumb
@ferb1rahert
@ferb1rahert 3 ай бұрын
nope I am not dumb just needed to watch previous video carefully smh
@meysam6606
@meysam6606 4 жыл бұрын
Very good!
@homedad3324
@homedad3324 4 жыл бұрын
Posted 3 years ago with 12 comments but I will add my 2 cents in anyway. The background music is highly annoying and is still used today by creators for some reason. I am not sure what study said it was a good idea but to anyone who really wants to hear what you have to say it's FN annoying!!!!!
@arnavprasad4448
@arnavprasad4448 4 жыл бұрын
get out of here boi
@abhijithanilkumar4959
@abhijithanilkumar4959 4 жыл бұрын
You are not paying them So shut up
@discipulusoperarios2721
@discipulusoperarios2721 3 жыл бұрын
cool dude!
@pushkarunaune5088
@pushkarunaune5088 5 жыл бұрын
What is pinMode
@AxelHavoc
@AxelHavoc 5 жыл бұрын
The literal pinmode. Like an led pin is name as ledpin its mode is output
@devinmarx5032
@devinmarx5032 3 жыл бұрын
pinMode is a function that can tell the arduino wether that specific pin should be used as an output (say to power an led) or an input (to read data from a button or sensor)
@loveen3186
@loveen3186 3 жыл бұрын
amazing
@kimberlycarreon1804
@kimberlycarreon1804 3 жыл бұрын
Tnx..
@abysswalker2403
@abysswalker2403 2 жыл бұрын
this tutorial is good, but i am still sad because while testing my program in the middle of the video it turns out the uno doesn't work with the joystick library I wanted to use for my button box. 30 day return policy time, do your research before buying shit kids
@ironspider9026
@ironspider9026 6 жыл бұрын
Useful tutorial for a beginner like me thanks for sharing and please change your hairstyle it's a bit distracting.
Arduino Workshop - Chapter Two - Using Analogue Pins
20:19
Core Electronics
Рет қаралды 66 М.
Arduino Workshop - Chapter 5 - Interrupts
10:46
Core Electronics
Рет қаралды 189 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Arduino Uno - Pins Overview
17:21
Robotics Back-End
Рет қаралды 69 М.
MOSFETs and Transistors with Arduino
40:50
DroneBot Workshop
Рет қаралды 1,1 МЛН
How to Control a Ton of Inputs using Shift Registers!
19:38
Kevin Darrah
Рет қаралды 312 М.
GPIO Inputs and Outputs - an intermediate guide for Arduino and ESP projects
44:00
Arduino Workshop - Chapter Two - Building Your First Circuit
14:31
Core Electronics
Рет қаралды 66 М.
Arduino Workshop - Chapter Three - IF Statements
17:05
Core Electronics
Рет қаралды 73 М.
Arduino Tutorial 28: Using a Pushbutton as a Toggle Switch
21:58
Paul McWhorter
Рет қаралды 299 М.
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Рет қаралды 10 МЛН
Electronic Basics #36: SPI and how to use it
10:31
GreatScott!
Рет қаралды 340 М.
Stepper Motors with Arduino - Controlling Bipolar & Unipolar stepper motors
50:22