Uppsala Forsränningen 2023
13:04
Жыл бұрын
Uppsala Forsränningen 2022
14:32
2 жыл бұрын
Two LEDs on a single GPIO pin!
15:06
2 жыл бұрын
LogScale
1:49
2 жыл бұрын
1TE663/723 HT2021 - Lab 8 summary
51:31
1TE663/723 HT2021 - Lab 6 summary
1:20:12
1TE663/723 HT2021 - Lab 5 summary
43:23
Fast versus phase-correct PWM
5:05
2 жыл бұрын
1TE663/723 HT2021 - Lab 4 part 1b
20:14
1TE663/723 HT2021 - Lab 5 part 1
32:09
1TE663/723 HT2021 - Lab 4 part 1
53:32
Пікірлер
@MikeThena-r5j
@MikeThena-r5j 8 күн бұрын
I love his cursor so BAD!
@uwezimmermann5427
@uwezimmermann5427 8 күн бұрын
you'll have to take your own hand though - mine is not for sale 😎
@uwezimmermann5427
@uwezimmermann5427 8 күн бұрын
in case you have not seen the other recent comment about the cursor: here is the (Windows) tool kzfaq.info/get/bejne/od2DpNd_27qbpKM.html
@tester428
@tester428 10 күн бұрын
Hii could you please provide a tutorial on how to change the cursor pointer to the one you use in this video ?
@uwezimmermann5427
@uwezimmermann5427 10 күн бұрын
luckily I don't have to: kzfaq.info/get/bejne/od2DpNd_27qbpKM.htmlsi=pu2uKx6T8CqcjTRU&t=487
@mnavarrotube
@mnavarrotube 19 күн бұрын
This is a great video. Exactly what I needed. Thanks 👍🏼
@Jesperrnyman
@Jesperrnyman Ай бұрын
Thank you so much!! Had so much problem with microchip studio so I really needed this😁
@vulcanbespock
@vulcanbespock Ай бұрын
Dark mode is in options got it, change the theme to dark 🙂
@uwezimmermann5427
@uwezimmermann5427 Ай бұрын
have a look at my newer videos - I have abandoned Microchip Studio and converted to PlatformIO under VSCode
@vulcanbespock
@vulcanbespock Ай бұрын
How did you set-up Atmel Studio 7 up in dark mode? Super Video too!
@garavel28
@garavel28 2 ай бұрын
Hello Sir, can I ask you a question via email about the MPPT algorithm that I am trying to make using Arduino Mega 2560?
@MathCuriousity
@MathCuriousity 2 ай бұрын
I have one final question - and I apologize for not putting them all in one: I see we have sine graph shown but could we just as easily show the cosine graph by changing the perspective so the imaginary and real axis change places?
@uwezimmermann5427
@uwezimmermann5427 2 ай бұрын
If you knew the system behind youtube and how comments are presented to makers, you would have posted everything as a single question. Adding to some other comments here and there makes it a mess behind the scenes to find all your small questions... yes, sine and cosine do not really matter, yet I start by showing a sine wave which starts at 0, and in order to maintain this context I need to rotate the axes at a later point....
@MathCuriousity
@MathCuriousity 2 ай бұрын
Well if we have the sine wave pre rotation I don’t understand why u needed to rotate at all?
@uwezimmermann5427
@uwezimmermann5427 2 ай бұрын
@@MathCuriousity When I made this animation in povray I had a certain context with my students in mind - it was never meant to be a fully self-sustained, self-explaining video. I mostly put it on youtube because it was the simplest way to make it accessible for my students and because I wanted to show how to make mathematical animations in povray. I rotated the curve, because we usually tend to comprehend the real part of the complex function as the observable quantity in the real world, and in the context of electronics the observable quantity (usually a voltage) is shown on the vertical axis of e.g. an oscilloscope.
@MathCuriousity
@MathCuriousity 2 ай бұрын
What does “t” stand for?
@uwezimmermann5427
@uwezimmermann5427 2 ай бұрын
time
@ArcAiN6
@ArcAiN6 2 ай бұрын
yea... pastebin isn't the best place for it. ""Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it. ""
@ArcAiN6
@ArcAiN6 2 ай бұрын
Is the source code available for this?
@WesLindstrom-Chalpin-tn6ol
@WesLindstrom-Chalpin-tn6ol 2 ай бұрын
Yo is there a way to use this to visualize a 3d sine wave on the tonic (root note in music) and 7th note of the scale this could potentially give insight into a 4d visualization. Let me know, thanks
@uwezimmermann5427
@uwezimmermann5427 2 ай бұрын
yo I have no idea what you are talking about
@WesLindstrom-Chalpin-tn6ol
@WesLindstrom-Chalpin-tn6ol 2 ай бұрын
I did a terrible job explaining. In music if you use a visualizer to look at the frequencies of 2 sine waves tuned together (“tonic note” played with the “7th” note) they harmonize and their interference pattern creates a 3d illusion. So if we could simulate what this video does with 2 specifically tuned sine waves played at the same time they may create a 4d shape or at least something cool. Lowkey I’m garbage at explaining this shit but if you need help just copy my comment into chat gpt and ask for it to rephrase it. I appreciate it!
@uwezimmermann5427
@uwezimmermann5427 2 ай бұрын
@@WesLindstrom-Chalpin-tn6ol you can visualize the addition of sine waves, but I would not call it 4D. You can have a look at 3blue1brown's videos and learn how to use his tool Manim.
@AlejandroGutierrez-Bit
@AlejandroGutierrez-Bit 3 ай бұрын
How to program an AT91SAM9G45 with microchip studio?
@uwezimmermann5427
@uwezimmermann5427 3 ай бұрын
I have no experience with the ATSAM family nor with ARM processors in general in Microchip Studio.
@whatever3041
@whatever3041 3 ай бұрын
How can we do this for currents? Aliases are only showing node voltage.
@uwezimmermann5427
@uwezimmermann5427 3 ай бұрын
set a label, then right-click to change its properties - there you should find all your currents as well.
@ozturkosman
@ozturkosman 3 ай бұрын
Hi. Thanks for this video. On the board I designed, the LED is connected to the PB4 pin. How can I change the bootloader to flash this LED?
@user-xb9wb8sc9l
@user-xb9wb8sc9l 4 ай бұрын
What's complex about it? Isn't this just a cosine and sin wave together?
@uwezimmermann5427
@uwezimmermann5427 4 ай бұрын
have you heard of the concept of complex numbers? Numbers which have a real and an imaginary part?
@user-xb9wb8sc9l
@user-xb9wb8sc9l 4 ай бұрын
@uwezimmermann5427 of course. But what's complex about this rather than, as i previously stated, it being a cosine and sin wave?
@uwezimmermann5427
@uwezimmermann5427 4 ай бұрын
@@user-xb9wb8sc9l it shows how a projection of a rotating vector in the complex plane onto the real axis gives a sine wave proceeding in time. It's the basis of treating the impedance of capacitors and inductors as imaginary entities in the so-called j-omega method, a special case of the Laplace transformation, used in electronics and electrical engineering.
@user-xb9wb8sc9l
@user-xb9wb8sc9l 4 ай бұрын
@@uwezimmermann5427 when are you going to answer my question?
@uwezimmermann5427
@uwezimmermann5427 4 ай бұрын
@@user-xb9wb8sc9l I don't understand what your problem with my animation here is. It is "complex" in the meaning that it shows sine and cosine on the complex plane as part of the calculation of phase angles in the ac analysis of electronic circuits. There is nothing "complex" about it in the meaning of "complicated"
@manfredbogner9799
@manfredbogner9799 6 ай бұрын
very good
@akoznasovajusername
@akoznasovajusername 6 ай бұрын
Hello, Uwe. Are you maybe a sound engineer?
@uwezimmermann5427
@uwezimmermann5427 6 ай бұрын
no, sorry I'm not .
@akoznasovajusername
@akoznasovajusername 6 ай бұрын
@@uwezimmermann5427 Thank you for repliyng. I thought you were maybe a sound engineer from NDR.
@uwezimmermann5427
@uwezimmermann5427 6 ай бұрын
@@akoznasovajusername no, actually I am not, but there are literally hundreds of us in Germany.
@nasrinsultana2133
@nasrinsultana2133 7 ай бұрын
Very nice
@razeenag8478
@razeenag8478 8 ай бұрын
The secret of universe
@CyroCoders
@CyroCoders 8 ай бұрын
Why the fuck was i watching this for 30 minutes straight 💀
@johnheitz7517
@johnheitz7517 9 ай бұрын
Great Video, please do more
@uwezimmermann5427
@uwezimmermann5427 9 ай бұрын
I think I have to - now with almost 1000 followers (how is this even possible). But currently I'm lacking the time...
@Tallglassofredwine
@Tallglassofredwine 9 ай бұрын
For the wages of sin(e) is death ✝️🙌🏼
@pranavivedula
@pranavivedula 9 ай бұрын
So, so helpful!
@Patten42
@Patten42 9 ай бұрын
"I know I write code, I don't need comment" 😂Thanx for the tutorial!
@ahmadkhattab5700
@ahmadkhattab5700 9 ай бұрын
Thank you
@Jptoutant
@Jptoutant 9 ай бұрын
Hey sir GREAT video! Btw what is the programmer you use to flash the chip? I would like to find an alternative to the expensive Atmel Ice
@uwezimmermann5427
@uwezimmermann5427 9 ай бұрын
I have my own construction based on Thomas Fischl's USBasp which is open source. There a lot of commercial clones of the USBasp available from Aliexpress, eBay etc. They cost somewhere between 3$ and 10$
@viniciuslemos7924
@viniciuslemos7924 10 ай бұрын
Steve Mould video brought me here. Thank you for your time and dedication to explain in such good animation!
@ianthehunter3532
@ianthehunter3532 11 ай бұрын
Which is the image viewer you use?
@uwezimmermann5427
@uwezimmermann5427 11 ай бұрын
I mostly use Thumbsplus from www.cerious.com/ which is mainly an image database. For some purposes I also use IrfanView.
@Zero-zl8xw
@Zero-zl8xw 11 ай бұрын
I always wondered about the camera at your pfp, finally got to see some of your work. Looks amazing!!
@uwezimmermann5427
@uwezimmermann5427 11 ай бұрын
It's not the same camera anymore, but yes...
@Zero-zl8xw
@Zero-zl8xw 11 ай бұрын
@@uwezimmermann5427 uh I also like to take photos and would love to see some of your recent works!
@prasantakumarpadhi4399
@prasantakumarpadhi4399 11 ай бұрын
Bravo!
@viniciuslongo4622
@viniciuslongo4622 Жыл бұрын
worked like a charm in Ubuntu, thanks!
@comod
@comod 7 ай бұрын
With the same tweaks or out of the box?
@sto2779
@sto2779 Жыл бұрын
4:24 - "board_build.f_cpu" is part of the AVR's SDK syntax?
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
it's part of the PlatformIO configuration syntax, but essentially it sets the F_CPU macro in gcc.
@doquockhoa
@doquockhoa Жыл бұрын
Can you make video about I2c protocol. I see a lot of video but I not understand? Thank you very much
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
What don't you understand and to which level of detail do you want to understand the I2C bus? I would recommend to read some documentation rather than relying on a youtube video. NXP - or rather former Philips - is the inventor of I2C and they have the standard document: www.nxp.com/docs/en/user-guide/UM10204.pdf
@Patten42
@Patten42 9 ай бұрын
@@uwezimmermann5427 You are great at explaining and I am interested too. Like a typical circuit with data input from a sensor and output on a LCD or something while using a MC as 328p and coded in AVR-C?
@uwezimmermann5427
@uwezimmermann5427 9 ай бұрын
@@Patten42 I am currently a bit overloaded with work, hence the lack of any new videos... but... and with soon 1000 subscribers...
@isacdaimary9908
@isacdaimary9908 Жыл бұрын
Can you please share the spice model of 555, my existing model is giving error everytime I tried to run it.
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
I am just using the NE555 model from the [Misc] category in LTSpice - what kind off error do you get? What version of (LT?) Spice are you using? Where did you get your model from? In addition I also included the TLC55x model from TI to my LTSpice which also works fine - you can find it on the TI website www.ti.com/product/TLC555
@doquockhoa
@doquockhoa Жыл бұрын
can you tell me how to define F_CPU ? thanks 
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
did you see my follow-up video on the topic? kzfaq.info/get/bejne/eLF_ZNWKsraqj58.html you enter it as "board_build.f_cpu = 1000000UL" (for f=1MHz) in the settings in platformio.ini
@doquockhoa
@doquockhoa Жыл бұрын
@@uwezimmermann5427 thank you very much
@ogimitzev9033
@ogimitzev9033 Жыл бұрын
Hi Uwe, Thank you for the nice video. Do you know the Serial protocol voltage level for AR-60 (RS232, TTL 5V/3V)? Thanks
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
I would need to check, but I am almost convinced that it should be RS232. You should be able to test this by measuring the idle voltage on the TX-line. If it is positive then it should be either TTL 3V/5V, if it is negative it is certainly RS232.
@ogimitzev9033
@ogimitzev9033 Жыл бұрын
@@uwezimmermann5427 Thank you. It is 5V, but I was unable to get a response from the device following AccuBeat RS232 protocol for their nano product.
@nsummy
@nsummy Жыл бұрын
Excellent explanation. I’ve been working on a couple of pwm projects and have been completely confused by the difference. My only criticism of this video is you didn’t explain why someone would use fast over phase correct or vice versa :). Either way this gave me a good start. Thanks!
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
This video was planned as a short additional material for my students, not as a self-explanatory, full tutorial... if I ever find the time... Just in short, fast-mode gives you twice the pwm frequency at otherwise same performance, but it is also the standard mode in most cases. If you run two channels at different duty cycles still they will either be switched on or off at the same time giving you larger current transients in total. Phase-correct pwm not only distributes the switching times more widely, it also can be used if you need to avoid overlaps between switching, e.g. if you use one channel for the switching of the upper and one for the lower transistors in a H-bridge.
@nsummy
@nsummy Жыл бұрын
@@uwezimmermann5427 Thank you! that helps a lot.
@derekkozel
@derekkozel Жыл бұрын
Thank you for the teardown! It was very interesting to see the insides of a small model like this. It would be great to see the various control signals as the oscillator turns on and locks in.
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
Yes, it probably would be - however, I don't think I will disassemble my working units, and also it will be difficult to probe the unit during operation, because of the compact design.
@kavinduzoysa3906
@kavinduzoysa3906 Жыл бұрын
Thank you so much, this is really helpful. Since I am using the Arduino UNO as programmer, please let me add the relevant command here. I think it will be useful. `avrdude -pm328p -c arduino -P /dev/ttyACM0`
@vishaldotgupta
@vishaldotgupta Жыл бұрын
one more thing i will like to add. when you were testing MRF321 in diode mode, it is important to check BJT in fwd , reverse mode and in between Collector and emitter. these three tests are conclusive to check good or bad devices. three test lead may be de soldered to isolate the device
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
Thank you for your comments - actually I have no ambition to fix this unit, since I got two working ones. I keep this one as educational material for my students.
@vishaldotgupta
@vishaldotgupta Жыл бұрын
very nice and detailed information. could you find what actually was wrong with this unit. to make it work, one need right temprature (MRF tx and resistors), 6.8 Ghz feild ( can be verified using feild probes and spectrum Analyser), the continuity of coil can be verified using DMM. for infrared lamp i am not sure but can be visible using from digital camera with IR Filter removed. photo sensor could be checked using DMM and or scope. i have one of these, in which lock bit is not going down. Shell gets warm so i assume MRF is okay. Rest i need to check. I may be wrong my assumptions, so please guide
@vanditshah5131
@vanditshah5131 Жыл бұрын
Thank you so much, man. Your video helped me a lot
@eroltube100
@eroltube100 Жыл бұрын
Thank you for good explanations. I wonder whether I can use simulate this led blinking under platformio? (I use linux.)
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
It is very difficult to realistically simulate microcontroller code. The microcontroller is supposed to react to events from the outside in realtime... There are emulation/simulation tolls around, but as far as I know none is integrated into PlatformIO.
@eroltube100
@eroltube100 Жыл бұрын
@@uwezimmermann5427 Thank you
@Mehmetemin0606
@Mehmetemin0606 Жыл бұрын
ı need some help. ı want to keep first pwm stabil and control second pwm with potentiometer
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
that could almost sound like a question I ask my students... If you are using an ATmega and you are using the same timer for both pwm-channels, then you can change the duty cycles individually by setting the OCRxA and OCRxB to different values. E.g. for Timer1 this would be OCR1A and OCR1B. Now you can use one of the ADC channels to read the potentiometer value and use this value to set the corresponding OCR-value. In Timer1 there is are 10bit PWM modes which suit the 10bit ADC of the Atmega ideally. In the main loop you would periodically start an AD-conversion and then just write OCR1A=ADC. In Arduino-speech you could do almost the same by writing analogWrite(analogRead(chan)/4) here you need to divide by 4 because in the default settings analogRead is 10bit wide but analogWrite only 8bit.
@Mehmetemin0606
@Mehmetemin0606 Жыл бұрын
@Uwe Zimmermann It is so important proposal for my school project. thanks a lot for your help.
@helmutalexanderrubiowilson6835
@helmutalexanderrubiowilson6835 Жыл бұрын
very nice!!!!
@danhellgren5671
@danhellgren5671 Жыл бұрын
I use this for motor control on a STM32. But I have never heard the expression phase-correct, I have only heard center aligned.
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
different manufacturers, different names...
@grzesiek1x
@grzesiek1x Жыл бұрын
my question is , why my 25 KHz signal on my Arduino Uno (Atmega 328 p) is very stable almost perfect while on Attiny85 there is a constant shift of duty cycle like a few percent and also frequency is not very stable for example between 25 000 - 25 400 it varies etc. Do you have any idea why is it so ? How ti improve it? I am not going to solder this until I make it more accurate (it will be for my ESC of brushed motors controller project and I need it to be very stable).
@uwezimmermann5427
@uwezimmermann5427 Жыл бұрын
all Arduino boards I know of (especially Uno and Nano) use a 16 MHz quartz crystal, sacrificing 2 pins of the package of the Atmega328. You can also run the Atmega328 on an internal RC-oscillator like the ATtiny. The internal oscillator can be calibrated, but by default it is specified to be accurate to about 2% as you observed.
@grzesiek1x
@grzesiek1x Жыл бұрын
@@uwezimmermann5427 Thanks for the reply. I really appreciate it.
@zdzisiekkolmaga6383
@zdzisiekkolmaga6383 Жыл бұрын
Thanks a lot, your video saves a lot of my time. I am just switching from Arduino IDE to PlatformIO.