Binary, Hexadecimal, and Decimal Conversion - Simple Explanation | Basic Electronics

Sdílet
Vložit
  • čas přidán 27. 06. 2024
  • If you're going to work with embedded systems or microcontrollers or practically any modern technology, you'll need to move between binary, hexadecimal, and decimal. You're going to run into binary numbers and hexadecimal numbers as well. You'll most likely use a converter working in the field, but it's important to understand how decimal (base-10), binary (base-2), and hexadecimal (base-16) work from a practical level. We decided to do our own take on this topic to go along with our video tutorials on microcontrollers. While this video explains everything you need to know about positive binary integers, our write-up on CircuitBread.com is a great companion to this video and should be able to clarify any lingering questions.
    Link to the written tutorial: www.circuitbread.com/tutorial...
    Table of Contents
    0:00 Intro to video
    0:15 Introduction to counting systems and that we use decimal, typically.
    1:00 How Base-10 or decimal works.
    2:45 How the multiplier of any base numbering system works.
    3:42 How Base-2 or binary works.
    4:53 How to convert from binary to decimal.
    5:25 Where we talk about our own binary/hexadecimal/decimal converter on CircuitBread.com
    6:00 How to convert from decimal to binary.
    8:40 Introduction to hexadecimal.
    10:48 The "numbers" we use to represent 10-15 in hexadecimal (hint: they're letters).
    13:25 Why we have hexadecimal.
    13:45 How to convert from binary to hexadecimal.
    For electronics tools, tutorials, equations and more check out our site: www.circuitbread.com
    And check out our Friends of CircuitBread, who offer special discounts, product samples, resources and more to our users: www.circuitbread.com/friends
    CircuitBread is joining the fight to help people more easily learn about and use electronics. With an ever-growing array of equations, tools, and tutorials, we're striving for the best ways to make electronics and electrical engineering topics more accessible to everyone.
    Connect with CircuitBread:
    Instagram ➤ / circuitbread
    Facebook ➤ / circuitbread
    Twitter ➤ / circuitbread
  • Věda a technologie

Komentáře • 72

  • @wholesomeSloth
    @wholesomeSloth Před 2 lety +8

    I understood this because of you. Thanks!

  • @KenzieLorenz
    @KenzieLorenz Před 11 měsíci +2

    I'm not completely lost anymore. Thank you for this video.

  • @KeplerEmeritus
    @KeplerEmeritus Před 2 lety +3

    Thank you for one of the best explanations on CZcams.

  • @Kemikalgeneral
    @Kemikalgeneral Před 4 lety +13

    Great tutorial, very easy to remember, and (nearly) making mistakes just makes you human. Good job dude 👍

    • @CircuitBread
      @CircuitBread  Před 4 lety +1

      Ha! Thanks - if making mistakes makes me human than I am pretty sure I've pegged the meter on humanness. Definitely not a Cylon...

    • @mestagworld
      @mestagworld Před 2 lety

      @@CircuitBread haha! Yeah, exactly...

    • @mestagworld
      @mestagworld Před 2 lety +1

      @@CircuitBread Subscribed

  • @debdootkumar4832
    @debdootkumar4832 Před 3 lety +2

    The best video tutorial about binary, decimal & hexadecimal.

    • @CircuitBread
      @CircuitBread  Před 3 lety +2

      Thanks for the feedback! Even though this isn't video isn't as popular as some of our others, it's one of my personal favorites.

  • @SayheeKim
    @SayheeKim Před rokem +1

    these are my favorite kinds of videos - the videos that help me appreciate what i am learning... thank you so much!

  • @TheWasian
    @TheWasian Před rokem +2

    Very nice, I have a test tmr and I forgot I needed to remember how to do this. Thanks for the awesome explanation, it jogged my memory.

  • @ItsVasl
    @ItsVasl Před 9 měsíci +2

    amazing video, very informative, thanks for this. So underrated!

  • @janzugic6798
    @janzugic6798 Před 2 lety +1

    underrated gem of a video!

  • @Fliffloff
    @Fliffloff Před 2 lety +1

    Really great tutorial thank you so much! super easy to follow, clear and concise!

  • @timtann3411
    @timtann3411 Před 2 lety

    CircuitBread thank you very much. All your videos are great and you do a good job explaining and simplifying complex concepts. Cheers! :)

  • @dennislitwin1584
    @dennislitwin1584 Před 4 lety +1

    This helped me better understand decimal to binary and vice-versa. Thanks for your efforts!

    • @CircuitBread
      @CircuitBread  Před 4 lety

      Awesome, great to hear! Thanks for the feedback.

  • @ferdinand6079
    @ferdinand6079 Před 2 lety

    Thank you so much! I understood 4 months of Computer Science classes (because my teacher refused to re-explain), in 17 minutes!

  • @skaggreen4212
    @skaggreen4212 Před 2 lety +1

    You deserve millions of subscribers! Time will do it

  • @Anthony-jg2dt
    @Anthony-jg2dt Před rokem +1

    amazing tutorial. forgot all this stuff for my upcoming exam now it has all been put back into my head :) thanks

    • @HarrierHawk-iq5ik
      @HarrierHawk-iq5ik Před 10 měsíci

      remember 0 stands for off and 1 is on. and all code can be borken down into zeros and ones, or on and off.

  • @hameyzah1853
    @hameyzah1853 Před rokem

    thank you so much this helped me alot for when i missed a few classes:) will be back to check your content!

  • @xaenonch.8250
    @xaenonch.8250 Před 2 lety +1

    This helped me a lot!

  • @williamprincess194
    @williamprincess194 Před 2 lety

    Thanks, it is quite understandable.

  • @500drakes
    @500drakes Před rokem +1

    thanks for the video, subbed

  • @learningsupport
    @learningsupport Před 2 lety +1

    Excellent video!

  • @shawnfox1550
    @shawnfox1550 Před 4 lety +1

    Just love the noise from sharpy............goose bumps

    • @CircuitBread
      @CircuitBread  Před 4 lety

      Not sure if you're being sarcastic because that seems like just a couple levels down from chalk on the chalkboard for me. Not terrible but not pleasant...

  • @TheDanone5353
    @TheDanone5353 Před 4 lety +1

    good work , deaply aprichiated

  • @sofiavfalcon
    @sofiavfalcon Před 2 lety

    i was struggling with my computer science homework and this helped soo much 😭😭😭 thank you so so much 😭❤️❤️

  • @james77011
    @james77011 Před rokem

    to identify binary we use subscript 2 for octal we use subscript 8 and for hex we use subscript 16

    • @CircuitBread
      @CircuitBread  Před rokem +1

      It's interesting to see the different styles that are used to denote things. Even on our team, we've noticed that we each have been shown subtly different ways of marking and doing things and sometimes we notice the inconsistencies and get them in alignment and other times we don't even notice because we still understand each other.

  • @user-wm1vj9hj5l
    @user-wm1vj9hj5l Před 7 měsíci

    Awesome ❤❤

  • @jeetanand8407
    @jeetanand8407 Před 4 lety

    Time stamps are not active, please check them while uploading, Your tutorials are so clear and nice I have some proposals which I will email you, it will be nice if you could live stream sometimes for Q&A session.

    • @CircuitBread
      @CircuitBread  Před 4 lety

      Thanks for the feedback! Just curious, what do you mean b by the time stamps not being active? In the description? But we'd love to hear your thoughts and proposals. A live stream would be fun/terrifying but with the size of our current audience, I don't know how many people would actually watch it live...

    • @jeetanand8407
      @jeetanand8407 Před 4 lety +1

      @@CircuitBread Glad you replied ! You are right about the timestamp I just checked it in the browser, the time stapms in the description are available as active link but not so in the mobile app. I am a school teacher and I love to teach tech and science to students, whatever the size of audience may be It will be fun to engage in live sessions. We teach kids participatory learning and if they come out with any product idea we would love to take your advice and active consultations to develop the product. We would love to have you as our professional consultant we are interested in investing in small projects to solve everyday problem. Hope you would love to help !

  • @amc8437
    @amc8437 Před 2 lety +2

    Thanks a lot. I am learning Python programing, I did not understand why I was being taught Hexadecimal notations and function (frankly got a bit upset). In my head I was thinking computers roll with binary and humans with base 10, why not just roll with those two? Now I know why.

    • @CircuitBread
      @CircuitBread  Před 2 lety +2

      I think people (especially professors who have been entrenched in a subject for decades) forget that we, the barely learning, sometimes don't know the "why" of some things. Then when we're trying to prioritize what we're learning, if we don't know "why" then we don't really care and won't make it a priority. Thanks for the insight!

  • @james77011
    @james77011 Před rokem

    when i go from binary to decimal, i like to use the successive division method... very easy and fast for me

  • @rwiggi20
    @rwiggi20 Před 11 měsíci

    Binary, Hex & Decimals❤

  • @adamalnadi5541
    @adamalnadi5541 Před rokem

    love it

  • @edward3105
    @edward3105 Před 2 lety

    Is ok if a number like 0x1234 I convert it to binary by converting each digit from right to left in 4 digits(0 and 1), for example 4=0100 and then I keep going to go to the left,what I don't understand is when I convert it to binary the computer gives me this 0b1001000110100.What is that 0b??
    Does it cancel those 3x0 in front and comes with 0b Wich means zero bits?

    • @CircuitBread
      @CircuitBread  Před 2 lety

      Hi Edward, great questions! For converting, going from right to left (going from decimal to binary) is the best way to approach it. As for the "0b" - that's just the way your computer output is telling you it is binary. It has no numerical value whatsoever. So, 0b1001000110100 is just saying that 1001000110100 is binary.

    • @edward3105
      @edward3105 Před 2 lety

      @@CircuitBread Ty so much,now I have another question if I am shifting the bits to the left from let's say 00111

    • @CircuitBread
      @CircuitBread  Před 2 lety

      Yes, there are different types of shifting, some that carry and some that don't. If you carry, you don't lose the information but you do need to figure out what you're doing with it. Is it wrapping around to the front? Going somewhere else? If you don't put that info somewhere else, then it's gone forever!

    • @edward3105
      @edward3105 Před 2 lety

      @@CircuitBread I am beginner in embedded system,I am on learning phase,can you give a physical example on why do we use this bits shifting? i mean let's say for example we have a vector of 5 less and and 1 means ON and OFF means 0.When I shift the bit that means I can put ON the LED I want from this vector.Give me a practical example please!

  • @james77011
    @james77011 Před rokem

    i learned how to convert these number systems by hand... we didnt have programs to do it for us

    • @CircuitBread
      @CircuitBread  Před rokem +1

      I think everyone should know how to do it by hand but then, why not use the tools offered? Certainly to at least double check our work.

    • @james77011
      @james77011 Před rokem

      @@CircuitBread I wish they would have had these tools back when i was learning basic electronics..

  • @jaipreetsingh4779
    @jaipreetsingh4779 Před 2 lety +1

    I also get nervous doing maths infront of others 😂😂😂😂😂😂

  • @edgeeffect
    @edgeeffect Před 2 lety

    Hey, hey, hey... don't neglect octal! ... alright, the only place you'll probably actually SEE it these days is Unix file permissions, but... ... ... ...
    "Computers never think 'uuuh... I don't know'" ..... can I just contradict that with the words "tri-state buffer"???? ;)

    • @CircuitBread
      @CircuitBread  Před 2 lety

      Ha! Okay, valid point - the irony is that tri-state buffer also sometimes has students saying the same thing, "uh, I don't know what that is." I stand by the octal statement, though! 😀

  • @theclephane2914
    @theclephane2914 Před 2 lety

    Sharpies are not meant for long term use, they dry out. Use an INK PEN!

    • @CircuitBread
      @CircuitBread  Před 2 lety

      We used an ink pen for a video and it was a real struggle to see it on camera, so we switched to a sharpie. We've considered dry erase but then we have reflectivity issues with the whiteboard. Sharpies may not be perfect but they're the best option we've thought of so far!

  • @HarrierHawk-iq5ik
    @HarrierHawk-iq5ik Před 10 měsíci

    counting to 100 requires talent? ide think more like 2 billion. that wouldnt be possible to do while living on this planet, so youd have to use a cumputer. and that might require a bit more tallent

  • @stevenrogersfineart4224

    Should've been an uber nerd and made your "random" number 42 :P

  • @poisonousgem1142
    @poisonousgem1142 Před rokem +1

    guess 43 in binary will be 101011

  • @theclephane2914
    @theclephane2914 Před 2 lety

    You should have a cheat sheet in front of you so you can just glance over at it.

  • @barsyasar6675
    @barsyasar6675 Před rokem

    Okulda böyle anlatsalar uzaydan yazıyordum

    • @CircuitBread
      @CircuitBread  Před rokem +1

      😂 Haven't we all dreamed of being astronauts at some point in our life? I'm glad it helped.
      From Google Translate: Hepimiz hayatımızın bir noktasında astronot olmayı hayal etmedik mi? Yardımcı olmasına sevindim.

  • @jcruizer2309
    @jcruizer2309 Před rokem

    my brains is totally frozen to understand

  • @user-dv3uc1oz3b
    @user-dv3uc1oz3b Před měsícem

    I like how Your discounted hex As being Not very useful. Three minutes later Explain that Hex is used as a human representation of binary And without it binary would be impossible for a human to understand

  • @nooraldeensalah
    @nooraldeensalah Před 4 lety

    You can convert any system by using 991-fx casio calculator this video is not practical

    • @CircuitBread
      @CircuitBread  Před 4 lety +6

      Hi Noor! Not sure if you watched the entire video - it's actually mentioned a couple times that doing these conversions by hand isn't practical but it's still good to have a fundamental and intuitive understanding of the different number bases.

    • @nooraldeensalah
      @nooraldeensalah Před 4 lety

      @@CircuitBread thanks for video bro ❤❤

    • @HarrierHawk-iq5ik
      @HarrierHawk-iq5ik Před 10 měsíci

      or just about any made by texas instruments. also your phone can do it as well. you could even write a simple script in python that would have your computer do it. or you could just google it.