- 94
- 213 611
Uwe Zimmermann
Sweden
เข้าร่วมเมื่อ 13 พ.ย. 2011
I guess it's time to give some background information about things popping up on this channel.
The majority of the material this far is material from the courses I teach at Uppsala University. Recorded lectures which I upload to TH-cam will not be listed but only available to course students with the corresponding direct link.
Additional material which I happen to record and where I think there might be a broader interest will be listed on this channel - and who knows into what it will develop, if this platform allows...
The majority of the material this far is material from the courses I teach at Uppsala University. Recorded lectures which I upload to TH-cam will not be listed but only available to course students with the corresponding direct link.
Additional material which I happen to record and where I think there might be a broader interest will be listed on this channel - and who knows into what it will develop, if this platform allows...
Animation: General Purpose Input/Output on the AVR microcontrollers
A short unnarrated Manim animation about the GPIO pins on the AVR microcontrollers. The GPIO pins are controlled by a set of three registers: PINx for input, PORTx for output and pull-up activation and DDRx for the data direction (input or output).
Not included in the video is the possibility to toggle an output bit by writing to the PINx register.
Not included in the video is the possibility to toggle an output bit by writing to the PINx register.
มุมมอง: 341
วีดีโอ
Uppsala Forsränningen 2023
มุมมอง 637ปีที่แล้ว
Den 30 april 2023 var det dags igen för forsränningen på Fyrisån i Uppsala. Här kommer en bildserie med alla 120 flottar. Musik: Green Fields by Azovmusic, License #: 19192455483 Kamera: Pentax K200, Sigma 28-300mm; Panasonic GX800, Lumix 45-150mm Software: ThumbsPlus, Davinci Resolve
Building a 3D star with neopixel illumination
มุมมอง 3292 ปีที่แล้ว
A too long video about my project building a scale model of a Christmas ornament from the city of Stralsund - a 12-pointed star with LED illumination. 1:20 About neopixels 5:30 The inspiration 7:55 Receiving the printed circuit boards 12:35 The components - a neopixel and a capacitor 14:30 3D-assembly of the circuit boards 21:25 The second hemisphere 25:30 Laying out the data track 31:50 Platfo...
Uppsala Forsränningen 2022
มุมมอง 2.3K2 ปีที่แล้ว
Efter 2 år med Coronarestriktioner var det den 30 april 2022 dags igen för forsränningen på Fyrisån i Uppsala. Här kommer en bildserie med alla 130 flottar. Musik: Green Fields by Azovmusic, License #: 19192455483 Kamera: Pentax K200, Sigma 28-300mm; Panasonic GX800, Lumix 45-150mm Software: ThumbsPlus, Davinci Resolve
Charlieplexing - 10 LEDs from 4 pins including homebrew pcb
มุมมอง 4892 ปีที่แล้ว
In a project for Uppsala University we want to have a charge indicator. The module consists of 10 individual LEDs, but instead of wasting 10 GPIO-pins on this task, here I show how we can use Charlieplexing and reduce the number of pins to just four. I'll also go briefly through my procedure on making y own circuit boards using the toner transfer process. This video is related to my previous vi...
Identifying a problem with a camera lens
มุมมอง 1562 ปีที่แล้ว
I disassembled a zoom lens for my USB desk-camera in order to find the cause of a hazy spot in the field of view. Stay tuned for my try to fix the problem.
Using external libraries with PlatformIO and Arduino
มุมมอง 4.6K2 ปีที่แล้ว
One of the few comments under aprevious video asked for an explanation on how to use an external library in an Arduino-project under PlatformIO. Here I show the example of the FastLED library to control neopixel LED-chips. This video is unsponsored and not monetized, as usual. 00:35 looking at the circuit boards 01:10 the layout in KiCAD 02:40 soldering connection pins 04:00 connecting the boar...
Controlling 24 LEDs with just 6 pins - the Berlin Clock (Charlieplexing)
มุมมอง 7542 ปีที่แล้ว
I just received back the circuit boards I ordered for two new projects, one of which I will present here: a famous street clock in Berlin. The 24 LEDs of the display are connected to the microcontroller with just 6 GPIO pins, using Charlieplexing. en.wikipedia.org/wiki/Charlieplexing en.wikipedia.org/wiki/Mengenlehreuhr This video is unsponsored and not monetized, as usual. 00:50 unboxing the p...
Two LEDs on a single GPIO pin!
มุมมอง 7832 ปีที่แล้ว
You want to connect two LEDs to your microcontroller but you have only one GPIO-pin left? In this video I present an alternative solution to the one presented by Ralph Bacon in his recent video th-cam.com/video/Yq7KdIC6Xu4/w-d-xo.html
🇸🇪 1TE720 - fasförskjutningar och det komplexa talplanet
มุมมอง 5332 ปีที่แล้ว
Ett försök att visualisera fasförskjutningar mellan sinusformade signaler. Verktyg: manimce 0.14
ATmega328 and PlatformIO - no Arduino!
มุมมอง 13K2 ปีที่แล้ว
Should I abandon Microchip (Atmel) Studio for programming AVR microcontrollers? PlatformIO, an extension for VSCode, allows not only to program Arduino code, but also plain avr-gcc including the upload with an USBasp programmer. A student of mine showed me how to configure platformio and I had to find out that the avrdude which comes with platformio is somewhat limited in its functionality. The...
🇸🇪 1TM121 VT 2022 - Labb 2 del 3
มุมมอง 912 ปีที่แล้ว
Här visar jag vad vi måste göra för att visa fler än en siffra på en multiplexad display.
🇸🇪 1TM121 VT 2022 - Labb 2 del 2
มุมมอง 622 ปีที่แล้ว
I den här delen anslutar vi en 7-segmentsdisplay till vår Eduino. Först bara för att lysa upp en siffra på denna display med gemensama anoder (pluspoler).
🇸🇪 1TM121 VT 2022 - Labb 2 del 4
มุมมอง 512 ปีที่แล้ว
Nu styr vi 7-segmentsdisplayen med hjälp av biblioteket SevSeg av Dean Reading.
🇸🇪 1TM121 VT 2022 - Labb 2 del 1
มุมมอง 802 ปีที่แล้ว
Vi tittar på 8 lysdioder som ansluts till en 8-bit GPIO port hos en ATmega32U4 på en Arduino.
Timer interrupt latency on the ATmega328
มุมมอง 6203 ปีที่แล้ว
Timer interrupt latency on the ATmega328
Very Interesting Uwe. I am sure this type of approach could be outstanding for CubicWonder Hinge assemblies for Protein in 3 dimensions.
4:30
Thank you for your explanation. I have always been interested in how a counter does this amazing magic in my watch.
Now i clearly understood ❤
wha
Which formulas can ı use to calculate values of resistors and capacitor for the desired output different from this one?
@@ataakaln734 you find the detailed information in the datasheet, which you can just download from many manufacturers' homepages. Just google for 555 and datasheet. There are also several online calculators and apps for mobile phones. The timing is based on charging and discharging the capacitor - so a first approach can also be to use the same resistors, then an x times larger capacitor will give you an x times lower frequency - and the other way around a smaller capacitor gives you a proportionally higher frequency.
Should be slightly radioactive. 87Rb is not stable. The "Helmholtz-coil" is the tuning element. With it's magnetic field the frequency of the hyperfine transistion is modulated.
The 28% of 87-Rb in the tiny amount of rubidium inside the vials has a half life of 5e10 years, so its radioactivity is not an issue here...
Why we call it flip flop
honestly I don't know when the term "flip-flop" for the electronic circuit came up first, also Wikipedia does not really say anything decisive. en.wikipedia.org/wiki/Flip-flop_(electronics) It is a circuit with two different states and between these it can flip like you flip a coin - so perhaps that's the origin.
Arduino framework increases RAM usage a lot and I don't like cpp files. This is exactly what I was looking for, hopefully I'll be able to compile it into a much smaller size
Extremely thoughtful and careful teardown, actually this video is more a disassembly. I love trying to find out how these sorts of devices work so I really enjoyed listening to you impart your knowledges as you progressed A1
Hii could you please provide a tutorial on how to change the cursor pointer to the one you use in this video ?
luckily I don't have to: th-cam.com/video/kwSqtNvT7to/w-d-xo.htmlsi=pu2uKx6T8CqcjTRU&t=487
This is a great video. Exactly what I needed. Thanks 👍🏼
Thank you so much!! Had so much problem with microchip studio so I really needed this😁
Dark mode is in options got it, change the theme to dark 🙂
have a look at my newer videos - I have abandoned Microchip Studio and converted to PlatformIO under VSCode
How did you set-up Atmel Studio 7 up in dark mode? Super Video too!
Hello Sir, can I ask you a question via email about the MPPT algorithm that I am trying to make using Arduino Mega 2560?
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?
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....
Well if we have the sine wave pre rotation I don’t understand why u needed to rotate at all?
@@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.
What does “t” stand for?
time
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. ""
Is the source code available for this?
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
yo I have no idea what you are talking about
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!
@@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.
How to program an AT91SAM9G45 with microchip studio?
I have no experience with the ATSAM family nor with ARM processors in general in Microchip Studio.
How can we do this for currents? Aliases are only showing node voltage.
set a label, then right-click to change its properties - there you should find all your currents as well.
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?
What's complex about it? Isn't this just a cosine and sin wave together?
have you heard of the concept of complex numbers? Numbers which have a real and an imaginary part?
@uwezimmermann5427 of course. But what's complex about this rather than, as i previously stated, it being a cosine and sin wave?
@@Peter-q8v6v 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.
@@uwezimmermann5427 when are you going to answer my question?
@@Peter-q8v6v 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"
very good
Hello, Uwe. Are you maybe a sound engineer?
no, sorry I'm not .
@@uwezimmermann5427 Thank you for repliyng. I thought you were maybe a sound engineer from NDR.
@@Dino_Buk no, actually I am not, but there are literally hundreds of us in Germany.
Very nice
The secret of universe
Why the fuck was i watching this for 30 minutes straight 💀
Great Video, please do more
I think I have to - now with almost 1000 followers (how is this even possible). But currently I'm lacking the time...
For the wages of sin(e) is death ✝️🙌🏼
So, so helpful!
"I know I write code, I don't need comment" 😂Thanx for the tutorial!
Thank you
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
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$
Steve Mould video brought me here. Thank you for your time and dedication to explain in such good animation!
Which is the image viewer you use?
I mostly use Thumbsplus from www.cerious.com/ which is mainly an image database. For some purposes I also use IrfanView.
I always wondered about the camera at your pfp, finally got to see some of your work. Looks amazing!!
It's not the same camera anymore, but yes...
@@uwezimmermann5427 uh I also like to take photos and would love to see some of your recent works!
Bravo!
worked like a charm in Ubuntu, thanks!
With the same tweaks or out of the box?
4:24 - "board_build.f_cpu" is part of the AVR's SDK syntax?
it's part of the PlatformIO configuration syntax, but essentially it sets the F_CPU macro in gcc.
Can you make video about I2c protocol. I see a lot of video but I not understand? Thank you very much
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
@@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?
@@Patten42 I am currently a bit overloaded with work, hence the lack of any new videos... but... and with soon 1000 subscribers...
Can you please share the spice model of 555, my existing model is giving error everytime I tried to run it.
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
can you tell me how to define F_CPU ? thanks 
did you see my follow-up video on the topic? th-cam.com/video/BKO1rYMPF_k/w-d-xo.html you enter it as "board_build.f_cpu = 1000000UL" (for f=1MHz) in the settings in platformio.ini
@@uwezimmermann5427 thank you very much
Hi Uwe, Thank you for the nice video. Do you know the Serial protocol voltage level for AR-60 (RS232, TTL 5V/3V)? Thanks
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.
@@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.
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!
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.
@@uwezimmermann5427 Thank you! that helps a lot.
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.
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.
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`