i love collins lab ^_^ i wish it was a weekly show .... i look forward.... as is its like a surprise christmas gift that fell behind the couch and gets found 3 months later ^_^ thanks for all the great shows
Programmers also mix any of the notations when it's useful. For example, when assigning data to shift register, it's easy to see how binary is the most intuitive choice: "B10110011" vs. "179" to describe which LEDs are ON: ◦•◦◦••◦◦
+RealationGames On the other hand, when inputting a list of values, it's easier to say "0xE4 comes after 0xDA" rather than "B11100100 comes after B11011010"
Collin, Please accept my apologies for my noob question. But, here goes: You showed us how counting to 5 or 6 worked in Decimal. Please explain how you find values in Hexadecimal. At the (3:34 Time Mark) I was under the impression that I should multiply the values of "F" & "C" to get a value of "252",considering that the "F" & "C" were side by side... However, I received a value of 180. Unfortunately, I need more than just the table of values. I also need how the value is calculated. Grateful appreciation (in advance) for your response, Collin.
I'm not Collin, but here goes: The way it works isn't actually multiplication- it's powers. In regular decimal, you have a 1's place, a 10's place, a 100's, 1000's and so on. They are powers of the base - in this case, base ten. Sooooo... in a base 16 (hexadecimal) number system, rather than having 1's, 10's, 100's, you have places that are powers of 16. This means you have a 1s place, a 16s place, a 256's place, a 4096's place, etc. Thus, just as decimal [2][5][2] has a value of [2]*100+[5]*10+[2]*1, the hex number [F][C] (which is really [15][12]) has the value [15]*16+[12]*1. This works out to 252. Thus, to work out a hex number such as 0x1A426C, which is [1][10][4][2][6][12], you would multiply the first (rightmost) digit by 16^0 (1), the next by 16^1 (16), the next by 16^2 (256), the next by 16^3 (4096), and so on, and then add it all up. Thus you get [12]*1 + [6]*16 + [2]*256 + [4]*4096..... = 1720940. Hope that made sense :)
Somehow I just received notification of your response. But THANK YOU!!! Not only does it make sense, but it leaves me distraught as to how lack luster my skills in Mathematics are. :-D
An easy way to read binary numbers: Binary Number: 0 0 0 0 1 0 1 0 ----------------------------------------------------------------------------- Value of each number: 128 64 32 16 8 4 2 1 And the pattern continues to the left, doubling each number for each additional place. Then you add up all the numbers that contain a 1. So in this example it would be 2+8=10. Hope this helps. It made figuring out the value of binary numbers easy for me.
Some programming languages can use a wide variety of radices (bases) with various notation. My favourite is Python, where you you define a base with a prefix consisting of the base number and an r (Erlang is similar, but it uses a #, instead.)
Awesome explanation! Need more of these!! i had few doubts - 1) when you say 1, 0 are stored as electrical charges, is there any way to explain how exactly that happens? like say i declare a number like, int x = 10; how is it stored in the memory as charges & retrieved back again from charges? 2) how are memory addresses which are in hexadecimal understood by the machine in the context of 0 & 1 Thanks!
Pedro and Noe Ruiz - What software did you use to create those amazing animations? The text overlays were fantastic and I'd love to learn how you did them. Can you share your techniques?
***** you are probably right that me wondering shows that I am an OLD hardware hacker. Arduino responds to octal just fine but probably set up that way for people like me!
Octal was uaed on mini computers like DEC PDP and such. Its not used much any more. Unix was developed on. PDP computer so a lot of legacy software uses Octal representation
I remember octal was quite popular too a long time ago. Whatever happened to that? Was also very useful when making nerdy jokes, such as: Why do programmers celebrate Christmas on Halloween? Because 31 OCT = 25 DEC!
Octal was popular on Minicomputers like Digital Equipment Corp. (DEC) family if PDP conputers ir VAX's Some mini computers also used byte-octal so a 16bit number qould be reptlreaented like 177177.
It's nice to meet someone you can talk hex with. Thank you for making very clear the Ox in front of a hex number.
This is one of the best educative videos i´ve ever seen. Not too fast explained, handy, and a little breeze of humor. perfect!
Over the years, I have enjoyed Collins videos. Collin has a hip coolness about him. He kicks butt! MORE.
i love collins lab ^_^ i wish it was a weekly show .... i look forward.... as is its like a surprise christmas gift that fell behind the couch and gets found 3 months later ^_^ thanks for all the great shows
weird...
Collins Lab is the best!!
For the love of electronics, can we get some more freakin Collin around here!?
He's so calm and collected
he is great. wish i had such a teacher when i was teen
One of the best explanations of binary and hex I have seen. Well done sir.
Programmers also mix any of the notations when it's useful.
For example, when assigning data to shift register, it's easy to see how binary is the most intuitive choice:
"B10110011" vs. "179" to describe which LEDs are ON:
◦•◦◦••◦◦
Binary is also very useful when using port manipulation on arduino.
www.arduino.cc/en/Reference/PortManipulation
+RealationGames On the other hand, when inputting a list of values, it's easier to say "0xE4 comes after 0xDA" rather than "B11100100 comes after B11011010"
۱
Colin, I've sincerely missed your videos. I am so glad you left Make: and are continuing your phenomenal work.
Love this guy. Explains everything perfectly.
"decimal is a fine system....quite popular, if you haven't noticed...." lmfao!!
collin, you're a legend!!
great video and super helpful for my class, plus the professor looks like a fusion of Rogue from Xmen and Dwight from the office. keep it up
Collin, Please accept my apologies for my noob question. But, here goes:
You showed us how counting to 5 or 6 worked in Decimal. Please explain how you find values in Hexadecimal. At the (3:34 Time Mark) I was under the impression that I should multiply the values of "F" & "C" to get a value of "252",considering that the "F" & "C" were side by side... However, I received a value of 180.
Unfortunately, I need more than just the table of values. I also need how the value is calculated.
Grateful appreciation (in advance) for your response, Collin.
I'm not Collin, but here goes:
The way it works isn't actually multiplication- it's powers. In regular decimal, you have a 1's place, a 10's place, a 100's, 1000's and so on. They are powers of the base - in this case, base ten. Sooooo... in a base 16 (hexadecimal) number system, rather than having 1's, 10's, 100's, you have places that are powers of 16. This means you have a 1s place, a 16s place, a 256's place, a 4096's place, etc. Thus, just as decimal [2][5][2] has a value of [2]*100+[5]*10+[2]*1, the hex number [F][C] (which is really [15][12]) has the value [15]*16+[12]*1. This works out to 252.
Thus, to work out a hex number such as 0x1A426C, which is [1][10][4][2][6][12], you would multiply the first (rightmost) digit by 16^0 (1), the next by 16^1 (16), the next by 16^2 (256), the next by 16^3 (4096), and so on, and then add it all up. Thus you get [12]*1 + [6]*16 + [2]*256 + [4]*4096..... = 1720940.
Hope that made sense :)
Somehow I just received notification of your response.
But THANK YOU!!! Not only does it make sense, but it leaves me distraught as to how lack luster my skills in Mathematics are. :-D
Wonderful video Collin. Great work!
An easy way to read binary numbers:
Binary Number: 0 0 0 0 1 0 1 0
-----------------------------------------------------------------------------
Value of each number: 128 64 32 16 8 4 2 1
And the pattern continues to the left, doubling each number for each additional place.
Then you add up all the numbers that contain a 1. So in this example it would be 2+8=10.
Hope this helps. It made figuring out the value of binary numbers easy for me.
I love these vids. The illustrations are very helpful.
Love that audio pre and post content
This brings back memories of my first week in Assembly.
Thnx so so much brother
You cleared one of my biggest doubts ...that 0x means hexadecimal
Love uuu
Great vid. The section at the end pointing to other labs does not have a link. When you click, it just stops the video.
Annotations updated!
Learned to do Binary in high school, (long, long ago) and would love to be able to do Hex. Colin, pleeease?
what coding language do you use
what is this song called?
This is an awesome channel!
AWESOME! More Collin's Lab, please!
+Rafael Scott G. M. presents a very compelling argument.
Do you know of any good books or literature about binary and hexadecimal?
Some programming languages can use a wide variety of radices (bases) with various notation. My favourite is Python, where you you define a base with a prefix consisting of the base number and an r (Erlang is similar, but it uses a #, instead.)
This was extremely well done!
Awesome explanation! Need more of these!!
i had few doubts -
1) when you say 1, 0 are stored as electrical charges, is there any way to explain how exactly that happens? like say i declare a number like, int x = 10; how is it stored in the memory as charges & retrieved back again from charges?
2) how are memory addresses which are in hexadecimal understood by the machine in the context of 0 & 1
Thanks!
I want more of Collin's lab :D it's the best !
Pedro and Noe Ruiz - What software did you use to create those amazing animations? The text overlays were fantastic and I'd love to learn how you did them. Can you share your techniques?
These are the best. You should do one on transistor computers and logic gates :D
This video kicks ass.
Perfect way to Explain!
can you make a video about logic gates....?????????
Can Collin just do all the videos on adafruit now? K thanks.
It really is turtles all the way down. 42 turtles make up a bit.
Excellent video!
Great explanation :)
I subscribed because of Collin!
i am studying to become a network engineer this took 5 minutes a one of my lectures took a half hour when you teach i get intrested and not sleepy
very coherent, very helpful ...thank you :)
We miss ya Collin!
thank you sir love from india
thanks for all agent smith
Collin where have you been pal? We miss you
Very clear, thank you!
excellent.....
Oz from Turkiye
great video..
Great little video but it left me scratching my head to why you skipped octal?
***** you are probably right that me wondering shows that I am an OLD hardware hacker. Arduino responds to octal just fine but probably set up that way for people like me!
Octal was uaed on mini computers like DEC PDP and such. Its not used much any more. Unix was developed on. PDP computer so a lot of legacy software uses Octal representation
R U MIB ? or
MATRIX SKP? =))
"Bytes all the way down." Was that a reference to "turtles all the way down?"
You beat me to asking that by three years.
Why would you think that??
I remember octal was quite popular too a long time ago. Whatever happened to that?
Was also very useful when making nerdy jokes, such as: Why do programmers celebrate Christmas on Halloween? Because 31 OCT = 25 DEC!
Octal was popular on Minicomputers like Digital Equipment Corp. (DEC) family if PDP conputers ir VAX's
Some mini computers also used byte-octal so a 16bit number qould be reptlreaented like 177177.
More Colin!
Music so good, it's distracting. 👍🏼👍🏼👍🏼
The temptation to modify Roman arithmetic...where MM = 2000....and in binary/hex.....you write it out. Roman is so much shorter....
Love the hair
awesome!
hey nice cutting
Much easier to understand
Nice!
Septimus, if you see this, adabot doesn't kill babies and uses them as slaves.
YEAH! COllins!
So I’m just staring at 1’s and 0’s while I’m on my phone
i totally did not get hexadecimal before this :P
explain 8 bit computers
What would you like to know about them? 8 bit conputers simply used 8 bits internally as opposed to 4 or 16 or 24 or 32 or 64 bits
~that's good~
cool
wow... i... i... i get it!
RIP hair.
It's hanging on for grim death
Freaky ahh teacher talking about bits
ADABOT is a menace. He kills babies and uses babies as slave to destroy the world. Why would u do this ADABOT! WHY!
Roses are 0xFF0000
Violets are 0x0000FF
All my base
Are belong to you
:3
haha, bits and turtles all the way down...
Pensa num homem feio.
DEAD BEEF
Hey you forgot to mention big endian and little endian.
That obly pertains to how CUPs process info not numbering systems