Programming AVR Microcontrollers in C - O'Reilly Webcast

  Рет қаралды 163,945

O'Reilly

O'Reilly

Күн бұрын

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 Жыл бұрын
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!
@edcoronado
@edcoronado 8 жыл бұрын
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.
@ayushshrivastava4871
@ayushshrivastava4871 6 жыл бұрын
exactly
@paulrowland4857
@paulrowland4857 8 жыл бұрын
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 жыл бұрын
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.
@JustForFunWithMe616
@JustForFunWithMe616 6 жыл бұрын
this is incredibly the greatest tuto I've ever watched in whole my life, a million thanks from me love you guys
@JamesParkWatt
@JamesParkWatt 7 жыл бұрын
I wish more tutorials were structured like this... This is the concept, This is how to intemperate the documentation. Absolutely perfect.
@andre-michelgoulet6933
@andre-michelgoulet6933 7 жыл бұрын
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.
@RagMama123
@RagMama123 8 жыл бұрын
I have your book and absolutely love it! Thanks so much for all your efforts! Rick
@life8255
@life8255 9 жыл бұрын
Thank you very much! This is the best introduction ever. You saved me 2 weeks of research :)
@officialgrasptechnology1804
@officialgrasptechnology1804 6 жыл бұрын
I already feel like a expert at this just by listen to you.
@tomaskapin2660
@tomaskapin2660 8 жыл бұрын
I definitely recommend this book. Absolutely perfect.
@blackfaithdoom9018
@blackfaithdoom9018 4 жыл бұрын
1. nice audio for headphones, 2. this guy seems to know what he is talking about.
@codehorror8076
@codehorror8076 Жыл бұрын
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.
@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!!!
@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. :)
@interrobot1
@interrobot1 7 жыл бұрын
Thank you Elliot for sharing your precious knowledge with people! God bless you.
@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.
@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.
@chandrasinniah7692
@chandrasinniah7692 8 жыл бұрын
Great introduction for beginners . this subject of Microcontrollers for me is 20 year ago .now we have more like to know more. Than you
@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
@hack-shackelectronics1107
@hack-shackelectronics1107 8 жыл бұрын
Awesome tutorial, I hope to hear more from you in the future. thank you
@robertparenton7470
@robertparenton7470 6 жыл бұрын
Just purchased book from Amazon. A well documented book! Like the examples!
@servoman11
@servoman11 7 жыл бұрын
Great tutorial! ordered book.Cant wait
@Olavotemrazaodenovo
@Olavotemrazaodenovo 5 жыл бұрын
Congratulations from Brazil.
@tkelly3866
@tkelly3866 8 жыл бұрын
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.
@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!
@yossishachar1358
@yossishachar1358 7 жыл бұрын
Thank you very much! This is the best introduction ever
@zcxvasdfqwer1234
@zcxvasdfqwer1234 8 жыл бұрын
Just bought his book. So easy to read!
@bhyllw
@bhyllw 4 жыл бұрын
This was very illuminating. Thank you!
@python9657
@python9657 3 жыл бұрын
this sounds like something recorded in 90s
@ramraja7796
@ramraja7796 5 жыл бұрын
Very good Video, Loved every minute of it.
@hectorjazz7
@hectorjazz7 6 жыл бұрын
it is a great video, congratulations mr Elliot Williams
@jessicawyne9159
@jessicawyne9159 7 жыл бұрын
You are fantastic. Absoutely amazing. Great explainations
@xemexewhitesands3971
@xemexewhitesands3971 9 жыл бұрын
Great Video . Thank you señor Williams !
@bigbeneconotmyjob6474
@bigbeneconotmyjob6474 6 жыл бұрын
This video as a fabulous resource!
@H20FRKS
@H20FRKS 6 жыл бұрын
Fantastic video.Just wish it was in better quality.
@enkidoednb8396
@enkidoednb8396 7 жыл бұрын
really great intro, thanks a lot!
@ivantishchenko4686
@ivantishchenko4686 9 жыл бұрын
Thanks for the tutorial!
@lvignals
@lvignals 8 жыл бұрын
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 жыл бұрын
I'm keeping an eye open myself. He wrote the forst one so well. An intermediate to advanced book would be much appreciated.
@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.
@Jikdor
@Jikdor 7 жыл бұрын
Great video, thanks!
@MustafaQamarudDin
@MustafaQamarudDin 5 жыл бұрын
Awesome introduction
@jackheinemann1994
@jackheinemann1994 3 жыл бұрын
I wish my ...very expensive...college classes were this good
@khomo12
@khomo12 24 күн бұрын
Great, just great!👍👍👍
@Fogaata
@Fogaata 6 жыл бұрын
Very much appreciated!! Gracias!!
@ynaniyani
@ynaniyani 6 жыл бұрын
Thank you, it helped me a lot!
@rukshansheriffdeen195
@rukshansheriffdeen195 4 жыл бұрын
Thank You, very much.
@doulos5322
@doulos5322 6 жыл бұрын
very good book for an intro.
@RayedWahed
@RayedWahed 8 жыл бұрын
Great Stuff!
@axramar1992
@axramar1992 7 жыл бұрын
Great tutorial sir !ty
@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?
@blessedwarrior1
@blessedwarrior1 7 жыл бұрын
Nice video Sir.
@AverageMinion98
@AverageMinion98 7 жыл бұрын
i just bought the book .... right now
@Frisky0563
@Frisky0563 10 жыл бұрын
nice video
@nkounkoujean4710
@nkounkoujean4710 5 жыл бұрын
very good my deer
@carlosdavila2552
@carlosdavila2552 8 жыл бұрын
do you have any tutorials on I2C alone?
@eldarqurbanov4152
@eldarqurbanov4152 8 жыл бұрын
you can find it from his repository: github.com/hexagon5un/AVR-Programming/blob/master/Chapter17_I2C/i2cThermometer/i2c.c
@Ashish-sp4hw
@Ashish-sp4hw 5 жыл бұрын
why isnt there a clock in the circuit .doesnt it need one?
@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 жыл бұрын
+afroninjadeluxe You can do PORTB = PORTB & ~(1
@17phi
@17phi 9 жыл бұрын
hi, where can i find source or tutorial on coding bootloader to avr32 spi or uart
@rkmag1141
@rkmag1141 7 жыл бұрын
why is your atmel chip missing in your arduino?
@parkerd2154
@parkerd2154 7 жыл бұрын
you sound exactly like David Foster Wallace. Anyways thanks, very helpful
@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 !!!
@slap_my_hand
@slap_my_hand 9 жыл бұрын
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.
Bare-Metal MCU #9 - Review; ATTiny85 from scratch
14:25
Mitch Davis
Рет қаралды 69 М.
"C" Programming Language: Brian Kernighan - Computerphile
8:26
Computerphile
Рет қаралды 1,9 МЛН
Every parent is like this ❤️💚💚💜💙
00:10
Like Asiya
Рет қаралды 19 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
إخفاء الطعام سرًا تحت الطاولة للتناول لاحقًا 😏🍽️
00:28
حرف إبداعية للمنزل في 5 دقائق
Рет қаралды 49 МЛН
10 steps to start AVR microcontrollers
28:53
Electronic Wizard
Рет қаралды 13 М.
why do header files even exist?
10:53
Low Level
Рет қаралды 411 М.
Bare-Metal MCU #1 - Intro to registers
13:10
Mitch Davis
Рет қаралды 74 М.
How to use the Atmel ATTINY10 Microcontroller
53:02
Ben Heck Hacks
Рет қаралды 550 М.
UPDI - The Next Best Thing Since Bread Came Sliced
18:44
Det Builds Stuff
Рет қаралды 4,7 М.
AVR C Basics Part1: Setting and clearing bits
24:50
BuildStorm Technologies
Рет қаралды 59 М.
Is this Samsung's change over time #shorts
0:13
Si pamerR
Рет қаралды 1,1 МЛН
Wireless switch part 177
0:58
DailyTech
Рет қаралды 4,6 МЛН
Почему нужно включать режим самолета 😰
0:39
Последствия выхода Айфона 16
0:23
ТРЕНДИ ШОРТС
Рет қаралды 4,3 МЛН