Collins Lab: Binary & Hex

  Переглядів 126,859

Adafruit Industries

Adafruit Industries

9 років тому

Decimal isn't the only way to represent a value - get acquainted with Binary & Hexadecimal, two very important numeral systems often found lurking within the depths of technology.
-----------------------------------------
Visit the Adafruit shop online - www.adafruit.com
Subscribe to Adafruit on UKposts: adafru.it/subscribe
Join our weekly Show & Tell on G+ Hangouts On Air: adafru.it/showtell
Watch our latest project videos: adafru.it/latest
New tutorials on the Adafruit Learning System: learn.adafruit.com/
-----------------------------------------

КОМЕНТАРІ: 102
@dandearman2871
@dandearman2871 2 роки тому
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.
@ClawSpike
@ClawSpike 9 років тому
Over the years, I have enjoyed Collins videos. Collin has a hip coolness about him. He kicks butt! MORE.
@isaiahnelson3643
@isaiahnelson3643 9 років тому
For the love of electronics, can we get some more freakin Collin around here!?
@domobrah2671
@domobrah2671 5 років тому
He's so calm and collected
@soghrahassanloii803
@soghrahassanloii803 4 роки тому
he is great. wish i had such a teacher when i was teen
@jvegar08
@jvegar08 9 років тому
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
@MI-lo2hj
@MI-lo2hj 2 роки тому
weird...
@robertschulz6558
@robertschulz6558 4 роки тому
This is one of the best educative videos i´ve ever seen. Not too fast explained, handy, and a little breeze of humor. perfect!
@GavinRemme
@GavinRemme 9 років тому
Collins Lab is the best!!
@-Rook-
@-Rook- 6 років тому
One of the best explanations of binary and hex I have seen. Well done sir.
@rydude998
@rydude998 9 років тому
Colin, I've sincerely missed your videos. I am so glad you left Make: and are continuing your phenomenal work.
@RealationGames
@RealationGames 9 років тому
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: ◦•◦◦••◦◦
@Falcrist
@Falcrist 9 років тому
Binary is also very useful when using port manipulation on arduino. www.arduino.cc/en/Reference/PortManipulation
@thegardenofeatin5965
@thegardenofeatin5965 8 років тому
+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"
@banifatemehkarimi9647
@banifatemehkarimi9647 Рік тому
۱
@josepvabr1593
@josepvabr1593 9 років тому
Wonderful video Collin. Great work!
@JesPulido
@JesPulido 8 років тому
I love these vids. The illustrations are very helpful.
@retr0307
@retr0307 2 роки тому
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
@terminator557
@terminator557 9 років тому
This brings back memories of my first week in Assembly.
@bpoole007
@bpoole007 9 років тому
Love that audio pre and post content
@lumapools
@lumapools 5 років тому
Thank you for the video. Well-explained and now I understand what like 0xFF and stuff mean.
@wiinick90
@wiinick90 9 років тому
Love this guy. Explains everything perfectly.
@SteveWeinrich
@SteveWeinrich 9 років тому
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?
@tedvanmatje
@tedvanmatje 8 років тому
"decimal is a fine system....quite popular, if you haven't noticed...." lmfao!! collin, you're a legend!!
@YeahItsThatBad
@YeahItsThatBad 9 років тому
This was extremely well done!
@greypoet2
@greypoet2 9 років тому
Learned to do Binary in high school, (long, long ago) and would love to be able to do Hex. Colin, pleeease?
@RafaelScott
@RafaelScott 9 років тому
AWESOME! More Collin's Lab, please!
@thegardenofeatin5965
@thegardenofeatin5965 8 років тому
+Rafael Scott G. M. presents a very compelling argument.
@salihsendil
@salihsendil 4 роки тому
This is an awesome channel!
@aemerox5773
@aemerox5773 8 років тому
This video kicks ass.
@HemantSalunke143
@HemantSalunke143 7 років тому
Perfect way to Explain!
@mindscapechronical
@mindscapechronical 9 років тому
I want more of Collin's lab :D it's the best !
@krushfinch7430
@krushfinch7430 9 років тому
Great vid. The section at the end pointing to other labs does not have a link. When you click, it just stops the video.
@adafruit
@adafruit 9 років тому
Annotations updated!
@mdasilvac
@mdasilvac 9 років тому
Very clear, thank you!
@braddahreid
@braddahreid 7 років тому
Do you know of any good books or literature about binary and hexadecimal?
@subhranshudas8862
@subhranshudas8862 2 роки тому
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!
@BritishConcept
@BritishConcept 9 років тому
These are the best. You should do one on transistor computers and logic gates :D
@mysticalsoulqc
@mysticalsoulqc 7 років тому
wow that is so cool. great vid!
@Cybeonix
@Cybeonix 9 років тому
Great explanation :)
@sunilkumar-ls2yb
@sunilkumar-ls2yb 3 роки тому
Thnx so so much brother You cleared one of my biggest doubts ...that 0x means hexadecimal Love uuu
@Brian250609
@Brian250609 6 років тому
thanks for all agent smith
@johnskyrim
@johnskyrim 9 років тому
I subscribed because of Collin!
@CarryShout91
@CarryShout91 7 років тому
very coherent, very helpful ...thank you :)
@strawhatluffy4257
@strawhatluffy4257 7 років тому
what coding language do you use
@Desmaad
@Desmaad 9 років тому
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.)
@TheRangeControl
@TheRangeControl 9 років тому
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.
@cosmosliger
@cosmosliger 9 років тому
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 :)
@TheRangeControl
@TheRangeControl 7 років тому
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
@sagarmajumder9527
@sagarmajumder9527 5 років тому
thank you sir love from india
@teslabamf
@teslabamf 9 років тому
Can Collin just do all the videos on adafruit now? K thanks.
@joemuis23
@joemuis23 9 років тому
what is this song called?
@nfijef
@nfijef 4 роки тому
We miss ya Collin!
@nurzazin
@nurzazin 8 років тому
great video..
@oz4232
@oz4232 7 років тому
excellent..... Oz from Turkiye
@kulgan96
@kulgan96 7 років тому
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
@moyrml
@moyrml 9 років тому
It really is turtles all the way down. 42 turtles make up a bit. Excellent video!
@sithiradissanayake3940
@sithiradissanayake3940 7 років тому
can you make a video about logic gates....?????????
@dawson345
@dawson345 9 років тому
More Colin!
@sumithkalyank1623
@sumithkalyank1623 8 років тому
awesome!
@MartinEcheverria98
@MartinEcheverria98 7 років тому
Nice!
@chrisleech1565
@chrisleech1565 6 років тому
Collin where have you been pal? We miss you
@JovenAlbarida
@JovenAlbarida 9 років тому
Much easier to understand
@adamparker5027
@adamparker5027 6 років тому
hey nice cutting
@Tardisius
@Tardisius 9 років тому
R U MIB ? or MATRIX SKP? =))
@Oshbotscom
@Oshbotscom 9 років тому
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.
@xanokothe
@xanokothe 9 років тому
YEAH! COllins!
@justinm3747
@justinm3747 7 років тому
"Bytes all the way down." Was that a reference to "turtles all the way down?"
@rlsimpso
@rlsimpso 3 роки тому
You beat me to asking that by three years.
@imho2278
@imho2278 2 роки тому
Why would you think that??
@sirulrich894
@sirulrich894 7 років тому
~that's good~
@akalakahsmoob
@akalakahsmoob 6 років тому
Music so good, it's distracting. 👍🏼👍🏼👍🏼
@Markevans36301
@Markevans36301 9 років тому
Great little video but it left me scratching my head to why you skipped octal?
@Markevans36301
@Markevans36301 8 років тому
***** 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!
@rty1955
@rty1955 5 років тому
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
@domobrah2671
@domobrah2671 5 років тому
wow... i... i... i get it!
@ursonate
@ursonate 9 років тому
i totally did not get hexadecimal before this :P
@DaedalusYoung
@DaedalusYoung 9 років тому
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!
@rty1955
@rty1955 5 років тому
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.
@starcitizenmodding4436
@starcitizenmodding4436 6 років тому
cool
@AKTheREal
@AKTheREal 3 роки тому
So I’m just staring at 1’s and 0’s while I’m on my phone
@imho2278
@imho2278 2 роки тому
The temptation to modify Roman arithmetic...where MM = 2000....and in binary/hex.....you write it out. Roman is so much shorter....
@JmChadillonProduct
@JmChadillonProduct 9 років тому
RIP hair.
@VAX1970
@VAX1970 7 років тому
It's hanging on for grim death
@cesarjhony
@cesarjhony 6 років тому
Pensa num homem feio.
@shokobata
@shokobata 7 років тому
explain 8 bit computers
@rty1955
@rty1955 5 років тому
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
@Nicbudd
@Nicbudd 9 років тому
Septimus, if you see this, adabot doesn't kill babies and uses them as slaves.
@nThanksForAllTheFish
@nThanksForAllTheFish 9 років тому
haha, bits and turtles all the way down...
@MysticalDork
@MysticalDork 9 років тому
Roses are 0xFF0000 Violets are 0x0000FF All my base Are belong to you :3
@HazeAnderson
@HazeAnderson 5 років тому
DEAD BEEF
@Nightstalker350119
@Nightstalker350119 6 років тому
Hey you forgot to mention big endian and little endian.
@rty1955
@rty1955 5 років тому
That obly pertains to how CUPs process info not numbering systems
@prestonandrews4271
@prestonandrews4271 9 років тому
ADABOT is a menace. He kills babies and uses babies as slave to destroy the world. Why would u do this ADABOT! WHY!
Binary & Hexadecimal Demystified
14:42
NesHacker
Переглядів 14 тис.
Where did Bytes Come From? - Computerphile
11:31
Computerphile
Переглядів 472 тис.
Типичная ситуация с МАМОЙ
00:16
Double Bubble
Переглядів 1,5 млн
Awesome device for automatic lens cleaning! #funny
00:28
SMOL WOW
Переглядів 12 млн
Collin's Lab: Multimeters #Adafruit
7:07
Adafruit Industries
Переглядів 385 тис.
Collin's Lab: Hand Tools
5:40
Adafruit Industries
Переглядів 119 тис.
New Products 3/27/24 Feat. #Adafruit LTC4316 #I2C Address Translator - #StemmaQT!
13:34
Why do programmers use hexadecimal numbers?
8:41
Jacob Sorber
Переглядів 54 тис.
Why is this number everywhere?
23:51
Veritasium
Переглядів 1,9 млн
Collin’s Lab: PCB Milling #Adafruit
4:39
Adafruit Industries
Переглядів 383 тис.
Collin's Lab: RFID
3:40
Adafruit Industries
Переглядів 167 тис.
Collin's Lab - Surface Mount Soldering
8:09
Adafruit Industries
Переглядів 226 тис.
Read and Write in Hexadecimal, The Easy Way!
6:36
Max's Tech
Переглядів 15 тис.
Collin's Lab: Electronics Tools
9:27
Make:
Переглядів 639 тис.
😳iPhone 15 Pro Max Vs Старая Nokia #shorts
0:19
YOLODROID
Переглядів 295 тис.
Старый и новый Redmi Book Pro #xiaomi #redmibookpro
0:53
Не шарю!
Переглядів 152 тис.
Пилю 🪚 телефон 📱 😵
0:28
Багз Банни
Переглядів 33 тис.
¡Este truco realmente FUNCIONÓ! | Carga tu teléfono con un dibujo
0:21
Cool Tool Shorts Spanish
Переглядів 13 млн