How To Interface Switch With 8051 Micro controller-Tutorial 10

  Рет қаралды 6,814

Kitflix

Kitflix

4 жыл бұрын

Kitflix has currently more than 5000 students from 150+ countries. We’re slowly progressing towards becoming a community of like minded people who love to experiment on embedded systems, IoT and all things electronics and coding.
Please join kitflix by enrolling to any one of free courses mentioned below
Crash Course on Raspberry Pi Computer : kitflix.com/course/crash-cour...
Arduino Programming using Drag and Drop blocks : kitflix.com/course/arduino-pr...
Crash Course on Embedded C Programming : kitflix.com/course/crash-cour...
PCB Design using Proteus ISIS : kitflix.com/course/pcb-design... Input and output devices are the important components of an embedded system, we cannot imagine any embedded device without the input and output device, switch and led are the basic example of input and output device, so it is very important to understand the interfacing of the switch and led.
Download The Code From here:
github.com/kitflix/Embedded-S...
Want to learn IoT / embedded systems / PCB Design in person online or if you need help in any project work
Thank you for watching the video
If you like our work, please support us by purchasing a full course from us at
kitflix.com
they're affordable and super helpful
We also love helping you in solving any of your problems and issues, feel free to reach out to us for any guidance, consultation or to simply connect with us
Contact us here : kitflix.com/contact/
Our Facebook Channel: kitflixdotcom
Linkedin: linkedin.com/in/amit-rana/

Пікірлер: 17
@the_anuragsrivastava
@the_anuragsrivastava 3 жыл бұрын
Very nice explaination sir...thank you
@Kitflix
@Kitflix 3 жыл бұрын
You're most welcome, thank you :)
@michaelboss7968
@michaelboss7968 Жыл бұрын
the reason he show the pull-up and pull-down circuits is because you are providing the switch down to ground and the 8051 chip is doing the 10k resistor connected to 5volts on the inside of the chip or the 10k resistor connected to ground if you want a 0volts on that pin and you press the switch and it gives you a 1, which is 5 volts cause the switch is connected to 5volts hope that makes sense, you provide part of the pull-up or pull-down circuit . kapish study these two circuits if you are new to electronics, it will open your eyes big time about things and voltage dividers too.
@Kitflix
@Kitflix Жыл бұрын
Thanks for such a nice explanation 🙂
@michaelboss7968
@michaelboss7968 Жыл бұрын
Switch things around in the code, make the switch equal to 1 and the led equal to 0 then turn the led around . the positive side touching positive and the negative side touching the pin. you get a brighter led . you're sourcing the power supply.
@Kitflix
@Kitflix Жыл бұрын
Sinking is always better for LEDs than sourcing from controller pins. Controller pins have very low output source capacity so it's a general practice to keep it in sink mode, however what you're saying is right a all
@michaelboss7968
@michaelboss7968 Жыл бұрын
sorry keep the switch equal to 0 and make the led equal to 0 and after a delay make the led a 1 but do turn the led so it is sourcing the power.
@journeyelevatortechnology
@journeyelevatortechnology 3 жыл бұрын
Good
@Kitflix
@Kitflix 3 жыл бұрын
Thanks
@nikzworldonly
@nikzworldonly Жыл бұрын
Design, assemble and test part of an application which requires to display message “On” or “Off” to indicate status of a switch connected to P0.0 on alphanumeric LCD display. Write program also. Practically demonstrate the same. Pls explain or give video on this
@rushistark9792
@rushistark9792 2 жыл бұрын
Indirectly made an AND gate
@tushartangle747
@tushartangle747 3 жыл бұрын
why you connected crystal oscillator because in earlier video u said no use of that, while simulation.
@Kitflix
@Kitflix 3 жыл бұрын
In Simulation, its okay if you connect or do not connect crystal. But in hardware, its must
@prasadjain1
@prasadjain1 2 жыл бұрын
no tutorial after Tutorial 11 can you tel where i will get rest of tutorial
@Kitflix
@Kitflix 2 жыл бұрын
Feel free to join full course on learn.kitflix.com
@saideepak5328
@saideepak5328 3 жыл бұрын
sir it is showing unidentical indicator led
@Kitflix
@Kitflix 3 жыл бұрын
Can you post your code to me on email? amit at kitflix dot com
How to Interface Relay With 8051-Tutorial 11
10:51
Kitflix
Рет қаралды 5 М.
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 21 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,4 МЛН
Embedded c key switch led program using  Keil and protues
22:27
a learning room
Рет қаралды 58 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 177 М.
Interfacing LED with 8051 Basics | Microcontrollers
10:29
22 How to dump burn code into microcontroller
12:34
Smart Logic Academy
Рет қаралды 15 М.
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 38 МЛН
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Самый дорогой кабель Apple
0:37
Romancev768
Рет қаралды 337 М.
Опять съемные крышки в смартфонах? #cmf
0:50