Programming AVR Microcontrollers in C - O'Reilly Webcast

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • Originally recorded March 18, 2014: "Beyond the Arduino: Programming AVR Microcontrollers in C".
    In this webcast, we'll dive straight into the deep end. I'll show you what you need to get started programming the AVR ATMega (and ATTiny) series microcontrollers, give you an overview of their built-in peripherals, and demonstrate most of the important functionality. And while the focus of this webcast is on Atmel's AVR series, nearly everything you'll learn here is transferable to other microcontrollers.
    Elliot Williams is a Ph.D. in Economics, a former government statistician, and a lifelong electronics hacker. He taught himself to program microcontrollers long before there was any such thing as an Arduino, and loves to spread the knowledge. Most recently, he is author of the Maker Media book "Make: AVR Programming, Learning to Write Software for Hardware", which is chock full of microcontroller-programming tidbits and thick enough to stun a rhino.
    Don't miss an upload! Subscribe! goo.gl/szEauh -
    Stay Connected to O'Reilly Media. Visit oreillymedia.com
    Sign up to one of our newsletters - goo.gl/YZSWbO
    Follow O'Reilly Media:
    plus.google.com...
    / oreilly
    / oreillymedia
    www.oreilly.com...

ความคิดเห็น • 74

  • @nightly_builds
    @nightly_builds ปีที่แล้ว +2

    It sounds like you're telling me all this over the phone in person, which makes it even more fascinating. Very interesting and well explained, Thank You!

  • @paulrowland4857
    @paulrowland4857 8 ปีที่แล้ว +28

    I apologize for not bumping into you before. My background is UNIX hardware, HPUX and Relational databases. You are clear, concise, funny and you make the driest material interesting. I believe you could teach this to anyone. Thanks a million for your hard work!

    • @MichaelOfRohan
      @MichaelOfRohan 2 ปีที่แล้ว +1

      Well, its been half a decade, Ukraine is on fire, weve been through a full blown pandemic, and america is in the middle of an electronic culture war, and this video is just as amazing. Things are moving really fast.

  • @edcoronado
    @edcoronado 8 ปีที่แล้ว +13

    This is SOO good. I think it's literally the ONLY video that can give you a not so short, not so dense, not too long, not too light.

  • @JamesParkWatt
    @JamesParkWatt 7 ปีที่แล้ว +10

    I wish more tutorials were structured like this... This is the concept, This is how to intemperate the documentation. Absolutely perfect.

  • @JustForFunWithMe616
    @JustForFunWithMe616 6 ปีที่แล้ว +12

    this is incredibly the greatest tuto I've ever watched in whole my life, a million thanks from me love you guys

  • @andre-michelgoulet6933
    @andre-michelgoulet6933 7 ปีที่แล้ว +1

    By FAR the BEST overview of the subject I have ever come across. If you're "growing up" from Arduino to pure AVR or just jumping straight into C for uControllers (like me) then this is the one stop shop. Fantastic material, I literally just wanted more! Excellent video, thank you so much for this, keep up the great work I hope to see more.

  • @blackfaithdoom9018
    @blackfaithdoom9018 4 ปีที่แล้ว +11

    1. nice audio for headphones, 2. this guy seems to know what he is talking about.

  • @codehorror8076
    @codehorror8076 ปีที่แล้ว +1

    Although the book is old, it's still pretty much up to date. So glad I got out of traditional software development and into embedded. This is ALOT more fun and rewarding, and has resparked that fire in life. PIC's are awesome too btw, both Microchip products.

  • @fijabo
    @fijabo ปีที่แล้ว

    Hi Elliot, I am reading your book and I have recommended it to my friends. I am really enjoying it. I have tons of comments but I will provide two recommendations and will ask a question, only. You should consider splitting the book into two volumes, at least. This way you can add more applications and examples such as LCD, etc. And, the end of each chapter should have a quiz and at least 5 exercises to test the knowledge.
    My question is related to why you didn't use a delay that allows multitasking. The problem with the function _delay_ms() is that is a blocking delay and it prevents the uC from doing anything else until the _delay_ms time has expired. It is an extremely inefficient timer function.
    Thanks again for taking the time to prepare and share such a wonderful book.

  • @RagMama123
    @RagMama123 8 ปีที่แล้ว +7

    I have your book and absolutely love it! Thanks so much for all your efforts! Rick

  • @life8255
    @life8255 9 ปีที่แล้ว +5

    Thank you very much! This is the best introduction ever. You saved me 2 weeks of research :)

  • @officialgrasptechnology1804
    @officialgrasptechnology1804 6 ปีที่แล้ว +1

    I already feel like a expert at this just by listen to you.

  • @mbueno0
    @mbueno0 6 ปีที่แล้ว

    You rock Mr. Williams! I saw this very video 3 or 4 years ago, and it was so good, it stuck in my memory (and I'm 50 yo!).
    Luckily I had put it in my youTube favorites so I could easily find it today for a project that involves bit-banging to monitor a stepper motor's limit switch with very high timing accuracy (inside an interrupt service routine on one of two processors in my 2-processor project, an esp8266 and an avr 328p)... This is new territory for me, but I'm very much enjoying it...
    So thanks for the super-clear presentation. It will serve to forge my foray into bit-banging, and save me lots of time finding a proper tutorial!!!

  • @tomaskapin2660
    @tomaskapin2660 8 ปีที่แล้ว +5

    I definitely recommend this book. Absolutely perfect.

  • @jkuebler89
    @jkuebler89 5 ปีที่แล้ว

    Elliot is a wizard! He even has a really fun series Logic Noise which shows how to build circuits that make noise with CMOS logic. Thanks for all you do brother.

  • @ayushshrivastava4871
    @ayushshrivastava4871 6 ปีที่แล้ว

    Elliot Williams sir, you explained it better than some of the professors at universities. Whooo!!!! Liked it. Got your book also, will read it completely. :)

  • @TimStafford01
    @TimStafford01 6 ปีที่แล้ว

    Wow. Easily the longest I've stuck with a video in a while. The pacing is perfect and the information is great. I am looking to purchase my first stand-alone AT/AVR MCU chips but needed to know what I was getting into beforehand. I learned so much just in the selection process, differentiating between the options, and understanding how you interfaces with these chips. Eventually, I've come to realize the best option for me will be to order a broad selection and just start playing :P

  • @interrobot1
    @interrobot1 7 ปีที่แล้ว

    Thank you Elliot for sharing your precious knowledge with people! God bless you.

  • @tkelly3866
    @tkelly3866 8 ปีที่แล้ว +1

    ASM, C, C++ each have their place. C is a great compromise and still 'low" enough to manipulate hardware efficiently. I use each and some times mix to get the job done.This was a great WebCast and hopefully will promote more people to learn some binary math and operations.AND, OR, XOR, Shifts, 2's compliment away everyone.

  • @hotrhodium
    @hotrhodium 9 ปีที่แล้ว

    I also bought this book and it is an awesome reference. I came to AVR after having some success with VB inbeded and VBA for excell looking for ways to bridge the real world with my new data processing abilities. Learn c first this book is not as good as an introduction to c/c++ as I learned but after that it is so complete as a microcontroller guide. Well written just plain awesome sauce thanks for the help.

  • @servoman11
    @servoman11 7 ปีที่แล้ว +2

    Great tutorial! ordered book.Cant wait

  • @chandrasinniah7692
    @chandrasinniah7692 8 ปีที่แล้ว +1

    Great introduction for beginners . this subject of Microcontrollers for me is 20 year ago .now we have more like to know more. Than you

  • @hack-shackelectronics1107
    @hack-shackelectronics1107 8 ปีที่แล้ว +1

    Awesome tutorial, I hope to hear more from you in the future. thank you

  • @Olavotemrazaodenovo
    @Olavotemrazaodenovo 5 ปีที่แล้ว +1

    Congratulations from Brazil.

  • @lvignals
    @lvignals 8 ปีที่แล้ว +4

    I bought that book years ago when it first came out and it is still one of my favorite to go back to when I forgot about something AVR related. I work on and off with micro-controllers so I tend to forget things in between. A big thank you to Elliot for the quality of his book. Is Elliot working on another book by any chance?

    • @zcxvasdfqwer1234
      @zcxvasdfqwer1234 8 ปีที่แล้ว +2

      I'm keeping an eye open myself. He wrote the forst one so well. An intermediate to advanced book would be much appreciated.

  • @creation9
    @creation9 9 ปีที่แล้ว

    I purchased this book from Barnes and noble and its a great book for transitioning from arduino.

  • @FandCCD
    @FandCCD 5 ปีที่แล้ว

    Santa is bringing me your book this year. So excited!

  • @robertparenton7470
    @robertparenton7470 6 ปีที่แล้ว

    Just purchased book from Amazon. A well documented book! Like the examples!

  • @zcxvasdfqwer1234
    @zcxvasdfqwer1234 8 ปีที่แล้ว +1

    Just bought his book. So easy to read!

  • @yossishachar1358
    @yossishachar1358 7 ปีที่แล้ว

    Thank you very much! This is the best introduction ever

  • @dr.strangelove5622
    @dr.strangelove5622 5 ปีที่แล้ว

    Thank you very much!! This video has become an excellent resource for me. By the way, are you the same Elliot Williams who wrote a wonderful article on debouncing of switches?

  • @ramraja7796
    @ramraja7796 5 ปีที่แล้ว

    Very good Video, Loved every minute of it.

  • @H20FRKS
    @H20FRKS 6 ปีที่แล้ว

    Fantastic video.Just wish it was in better quality.

  • @buzzwerd8093
    @buzzwerd8093 9 ปีที่แล้ว

    You have alternate analog to digital available. Use a transistor to switch voltage to a pin with on and off to charge the wire then read that pin in a count loop to drain it. PC gameport ADC. Even a PIC can do it.

  • @bhyllw
    @bhyllw 4 ปีที่แล้ว

    This was very illuminating. Thank you!

  • @khomo12
    @khomo12 วันที่ผ่านมา

    Great, just great!👍👍👍

  • @hectorjazz7
    @hectorjazz7 6 ปีที่แล้ว

    it is a great video, congratulations mr Elliot Williams

  • @python9657
    @python9657 3 ปีที่แล้ว +1

    this sounds like something recorded in 90s

  • @bigbeneconotmyjob6474
    @bigbeneconotmyjob6474 6 ปีที่แล้ว

    This video as a fabulous resource!

  • @enkidoednb8396
    @enkidoednb8396 7 ปีที่แล้ว +1

    really great intro, thanks a lot!

  • @Jikdor
    @Jikdor 7 ปีที่แล้ว +1

    Great video, thanks!

  • @jessicawyne9159
    @jessicawyne9159 7 ปีที่แล้ว

    You are fantastic. Absoutely amazing. Great explainations

  • @xemexewhitesands3971
    @xemexewhitesands3971 8 ปีที่แล้ว

    Great Video . Thank you señor Williams !

  • @ivantishchenko4686
    @ivantishchenko4686 9 ปีที่แล้ว +1

    Thanks for the tutorial!

  • @MustafaQamarudDin
    @MustafaQamarudDin 5 ปีที่แล้ว

    Awesome introduction

  • @jackheinemann1994
    @jackheinemann1994 3 ปีที่แล้ว

    I wish my ...very expensive...college classes were this good

  • @Fogaata
    @Fogaata 6 ปีที่แล้ว

    Very much appreciated!! Gracias!!

  • @RayedWahed
    @RayedWahed 8 ปีที่แล้ว +1

    Great Stuff!

  • @rukshansheriffdeen195
    @rukshansheriffdeen195 4 ปีที่แล้ว

    Thank You, very much.

  • @Ashish-sp4hw
    @Ashish-sp4hw 5 ปีที่แล้ว

    why isnt there a clock in the circuit .doesnt it need one?

  • @ynaniyani
    @ynaniyani 6 ปีที่แล้ว

    Thank you, it helped me a lot!

  • @carlosdavila2552
    @carlosdavila2552 8 ปีที่แล้ว +3

    do you have any tutorials on I2C alone?

    • @eldarqurbanov4152
      @eldarqurbanov4152 8 ปีที่แล้ว +2

      you can find it from his repository: github.com/hexagon5un/AVR-Programming/blob/master/Chapter17_I2C/i2cThermometer/i2c.c

  • @doulos5322
    @doulos5322 6 ปีที่แล้ว

    very good book for an intro.

  • @axramar1992
    @axramar1992 7 ปีที่แล้ว

    Great tutorial sir !ty

  • @rkmag1141
    @rkmag1141 7 ปีที่แล้ว

    why is your atmel chip missing in your arduino?

  • @blessedwarrior1
    @blessedwarrior1 7 ปีที่แล้ว

    Nice video Sir.

  • @17phi
    @17phi 9 ปีที่แล้ว

    hi, where can i find source or tutorial on coding bootloader to avr32 spi or uart

  • @AverageMinion98
    @AverageMinion98 7 ปีที่แล้ว

    i just bought the book .... right now

  • @afroninjadeluxe
    @afroninjadeluxe 9 ปีที่แล้ว

    The shorthand of clearing a bit is so confusing..
    Id rather use PORTB = PORTB instead of PORTB &= ~etcetc..
    can someone explain?

    • @sfsdfsd4235
      @sfsdfsd4235 8 ปีที่แล้ว +2

      +afroninjadeluxe You can do PORTB = PORTB & ~(1

  • @nkounkoujean4710
    @nkounkoujean4710 5 ปีที่แล้ว

    very good my deer

  • @Frisky0563
    @Frisky0563 10 ปีที่แล้ว

    nice video

  • @fnjyusername
    @fnjyusername 9 ปีที่แล้ว

    Hi, One of challenge is to make the pulse width at highest resolution (or increment), is it possible for AVR (say increment at 100ns or 500ns)? Thank you.

  • @hurrse
    @hurrse 7 ปีที่แล้ว

    Was he calling from prison?

  • @slawomirgontarek4213
    @slawomirgontarek4213 6 ปีที่แล้ว

    Please set translate on to other languages. thanks !!!

  • @parkerd2154
    @parkerd2154 7 ปีที่แล้ว

    you sound exactly like David Foster Wallace. Anyways thanks, very helpful

  • @slap_my_hand
    @slap_my_hand 9 ปีที่แล้ว +3

    Please.... Use a better microphone!

  • @mikehunt9815
    @mikehunt9815 9 ปีที่แล้ว

    I'm bored, sorry, but I have subscribed, Have to get back to coding, Qualified many moons, never used the skills, health not so clever for manual labour,,,, opsss skilled (very) manual labour that be lol.