How to Blink LEDs with Timers and Interrupts in C (MSP430, Arduino)

  Рет қаралды 42,778

Jacob Sorber

Jacob Sorber

Күн бұрын

Пікірлер: 38
@camilocienfuegos1531
@camilocienfuegos1531 4 жыл бұрын
You are perfect educator. Please keep teach us what beginner need. Greetings from Turkey.
@JacobSorber
@JacobSorber 4 жыл бұрын
Thanks. I'll keep doing what I can.
@n0handles
@n0handles 4 жыл бұрын
Just want to say I'm glad I stumbled on this series! Keep these coming! I'm a CS student myself, and I've been thinking about getting into embedded systems engineering. However my university doesn't offer any embedded systems courses. Thanks for the great introduction
@arturfil
@arturfil 4 жыл бұрын
Really liking this video series, looking forward to the next!
@rjgonzalez8108
@rjgonzalez8108 4 жыл бұрын
Do you have a video where you explain how to setup VSCode for embedded systems?
@aabdev
@aabdev 4 жыл бұрын
Dear Jacob Sorber, Thanks a lot for the tutorial. 1) What happens when an interrupt is triggered? 2) What is the interrupt handling algorithm in AVR ARM PowerPC x86 MSP430 MIPS ? 3) How does the microcontroller know where to return after handling an interrupt? 4) Who saves the processor registers when interrupt happens and where? 5) What code performs correct transfer to and from interrupt function? Regards, AB
@blaFERNANDOblablabla
@blaFERNANDOblablabla 4 жыл бұрын
waiting for the next vid! awesome content. Saludos desde Veracruz, México.
@JacobSorber
@JacobSorber 4 жыл бұрын
Working on it. Thanks for watching.
@cuteisjustice8208
@cuteisjustice8208 4 жыл бұрын
This video came right after I finished my Microcomputers course kek. Good video nevertheless.
@JacobSorber
@JacobSorber 4 жыл бұрын
Sorry to be late to the party.
@DipsankarMaity
@DipsankarMaity 4 жыл бұрын
Who are you 😭? Why wasn't I recommended your channel earlier.
@henryvoide3651
@henryvoide3651 4 жыл бұрын
Professor Sorber, I have learned from your video presentations. I wish you had more of these videos about programming TI's MSP430 Microcontrollers using C language. Do you know any consultants for programming TI's MSP430 Microntrollers in Silicon Valley, CA?
@sakshisingh8167
@sakshisingh8167 3 жыл бұрын
PLEASE DO STM32F407VG DISCOVERY BOARD
@hakimcherfi217
@hakimcherfi217 3 жыл бұрын
14:05 "unless you work in the kernel"... Could you explain in a future video how a kernel works ? (What it is, how it is written, what to do with it,how to modify it...) Great channel BTW !!
@davidgrol3425
@davidgrol3425 3 жыл бұрын
Why is clock rate set to 15.998976 instead 16.000000, is that specific arduino?
@yekaalohabtemichael5068
@yekaalohabtemichael5068 4 жыл бұрын
Can you talk about bits minuplation please? I did lzw compression and was so comfusing. Reading no matter what the file is and encode it the be able to decode it aswell
@JacobSorber
@JacobSorber 4 жыл бұрын
Yeah, I've got one on bitfields in the works. Specifically, what sort of bit manipulation are you interested in?
@yekaalohabtemichael5068
@yekaalohabtemichael5068 4 жыл бұрын
Really sorry didn't see your response. Bit field is very helpful. My project was, lets say you have a file no matter what the content is could be image,could be text so the program should compress it and decompress it. So the program should read the file as bits since the file could be anything. Thats what i was struggling with. The bitstream concept. However I don't want to pass without saying thank you tho. I love your teaching style. I am afraid you could get me hocked to embeded system.
@cadillacescalade5428
@cadillacescalade5428 2 жыл бұрын
Hi, what about using this towards a traffic light set up ? An at a certain time the lights go on a flash blink for a certain time an then back at original
@cadillacescalade5428
@cadillacescalade5428 Жыл бұрын
@Breann Nicole can I get the code ?
@thetoolman01
@thetoolman01 3 жыл бұрын
Trying to use this code and for some reason the CSKEY_H is undefined, any ideas on why this might happen, or how to find the key in the datasheet?
@SuperCape
@SuperCape 4 жыл бұрын
How do you handle interrupts in GNU/Linux x86?
@JacobSorber
@JacobSorber 4 жыл бұрын
On the x86, it's pretty similar. You register your ISR for the interrupt you want. But, this is generally done in the kernel, not by user programs. So, for examples, your best bet is to look at the source code for the operating system. I might do a kernel video one of these days, but it would be pretty involved. So, it probably won't be in the next few months.
@benjaminshinar9509
@benjaminshinar9509 4 жыл бұрын
cosmic alpha particles. the bane and goto blame thing of cs.
@JacobSorber
@JacobSorber 4 жыл бұрын
Right up there with...it's possessed. :)
@allisonscanlan4144
@allisonscanlan4144 3 жыл бұрын
What does the
@JacobSorber
@JacobSorber 3 жыл бұрын
It's a shift. It shifts the bits to the left. So, 1
@allisonscanlan4144
@allisonscanlan4144 3 жыл бұрын
MSP430 @9:00
@JohnCDSMB
@JohnCDSMB 4 жыл бұрын
You're right, comparing children requests to polling. Are women requests comparable to interrupts? They don't depend on your actions, stop your activities at any moment and you're obliged to listen and serve them!
@JacobSorber
@JacobSorber 4 жыл бұрын
Wow. I'm definitely not touching that one. Glad you're having fun with the analogies, though. :)
@JohnCDSMB
@JohnCDSMB 4 жыл бұрын
@@JacobSorber Well, let's say I have a lot of experience with both techniques. Congratulations for the way you teach, it's really great
@thaskarthaskaran1425
@thaskarthaskaran1425 4 жыл бұрын
Code for atmega 168
@gabrieleinvernizzi9631
@gabrieleinvernizzi9631 4 жыл бұрын
On my MacBook I can’t find the port when I connect the arduino (I have a clone, the Elegoo Uno R3) with the cable, so I can’t upload the code, can someone help me?
@JacobSorber
@JacobSorber 4 жыл бұрын
I would first try another device to determine if it's your computer or a broken Uno.
@gabrieleinvernizzi9631
@gabrieleinvernizzi9631 4 жыл бұрын
@@JacobSorber Thanks, I'll try
@tseckwr3783
@tseckwr3783 2 жыл бұрын
yes, dont get hung up using delay()...
@batner
@batner 13 күн бұрын
This is hard because it has lots of details. The documentation is hard to read in a sense that it is not a textbook so it lists all the possible features. For a "wannabe" like me there are no examples of "why would someone use this feature?" and "what are the normal, usual and common ways of using features?"
@toastyPredicament
@toastyPredicament 2 жыл бұрын
I mean prefer
How one thread listens to many sockets with select in C.
12:01
Jacob Sorber
Рет қаралды 101 М.
Understanding Arduino Interrupts | Hardware, Pin Change & Timer Interrupts
48:17
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
How to Blink an LED in C (avr, msp430)
16:37
Jacob Sorber
Рет қаралды 35 М.
How To Learn Embedded Systems At Home | 5 Concepts Explained
10:34
How to Use Arduino Interrupts The Easy Way
33:28
Rachel De Barros
Рет қаралды 95 М.
Electronic Basics #30: Microcontroller (Arduino) Timers
9:19
GreatScott!
Рет қаралды 443 М.
Arduino Workshop - Chapter 5 - Interrupts
10:46
Core Electronics
Рет қаралды 189 М.
Debugging with Core Dumps
9:16
Jacob Sorber
Рет қаралды 66 М.
Arduino Interrupts Tutorial
9:30
educ8s.tv
Рет қаралды 296 М.
12.1 - MSP430 Timers - Overview and Calculating Time Difference
13:24
Digital Logic & Programming
Рет қаралды 6 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН