Bare-Metal MCU #9 - Review; ATTiny85 from scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2020
  • ATTiny85 Datasheet: ww1.microchip.com/downloads/e...
    Eleccelerator Fuse Bit Calculator: eleccelerator.com/fusecalc/
    ----------------------------------------------------------------------
    ENTIRE PLAYLIST: • Fundamentals of Microc...
    Video #1 - Intro to Registers: • Bare-Metal MCU #1 - In...
    Video #2 - Access registers by address: • Bare-Metal MCU #2 - Se...
    Video #3 - Barebones hardware (breadboard arduino): • Bare-Metal MCU #3 - Ba...
    Video #4 - Bootloaders and Programers: • Bare-Metal MCU #4 - Bo...
    Video #5 - AVRDude and Fuses: • Bare-Metal MCU #5 - AV...
    Video #6 - Compilers: • Bare-Metal MCU #6: Com...
    Video #7 - Linkers: • Bare-Metal MCU #7: Lib...
    Video #8 - Optimizers: • Bare-Metal MCU #8: Opt...

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

  • @r3jjs
    @r3jjs 3 ปีที่แล้ว +99

    I've almost finished your whole series (so far.)
    I am an experienced developer in working with low level systems (long live the 6502!) but I watched your videos out of curiosity on what approach you would take to explaining things.
    You have, I believe, some of the absolute best descriptions that I have heard.
    To address specific points.
    1) You stay on-focus and do not ramble. You've got a goal and you get to that point.
    2) You have a solid speaking voice without hemming or hawing. (You /may/ speak a little fast for ESL viewers, however.)
    3) Your approach of "deconstructing" the Arduino blink sketch and then rebuilding it was incredibly clear. I've not been able to explain it that well to people. Start with what they understand and go from there.
    4) Your bit-shifting (to use the pun) bang on! So many videos on bit shifting spend forever with animated charts and you did it with a single slide of coloured graphics.
    I will be referring people to your videos as well as using some of your techniques when talking in the future.

    • @DashkaMilashka015
      @DashkaMilashka015 2 ปีที่แล้ว

      you've just nailed it. couldn't say any better!

  • @JeSuisNerd
    @JeSuisNerd 3 ปีที่แล้ว +36

    Just finished watching the whole series up to this point! Even as a CS major and developer by trade, this has been educational and fun to watch, just the perfect amount of succinct. You teach very well!

  • @1080pixel
    @1080pixel 29 วันที่ผ่านมา +2

    Sidenote: The ATtiny85 has an internal pull-up resistor - threre is no need for an external one. Reference: Page 39 in the datasheet, 8.1 Resetting the AVR

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

    Great series, I hope you do more!

  • @DavidTLutz
    @DavidTLutz 7 หลายเดือนก่อน

    Great series!!!

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

    Mitch, this series is phenomenal work on making it so clear and simple. Thanks so much!!

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

    Very clear and concise explanations. Looking forward for new episodes.

  • @naveenkakada
    @naveenkakada 2 ปีที่แล้ว

    Really enjoyed your video series. Thank you.

  • @user-vs7cw2rg7r
    @user-vs7cw2rg7r 2 ปีที่แล้ว

    Good job man, excellent intro to AVR.

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

    Great video series, really loved it, looking forward to see your series on STM microcontrollers

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

    Excellent series! Learned more in a couple of hours than in a couple of weeks. Thanks!

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

    perfect series Mitch.Thank You and your effort.

  • @ck-li6yr
    @ck-li6yr 3 ปีที่แล้ว

    Great job. I've been looking for a series exactly like this. Can't wait for other MCUs.

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

    Thanks for posting this series, you obviously know what you’re doing and have put a lot of effort into these videos. Great job!

  • @KH-zt3vs
    @KH-zt3vs ปีที่แล้ว

    Thank you so much! Love this series!

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

    This is a great series! Learned so much! Thank you for doing these Mitch, can't wait to see what you do next. Would be interesting to see you try doing this with something even smaller like the attiny4, pushing optimization even harder to fit code onto such a small chip. Keep up the good work!

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

    Fantastic series Mitchel. We loved this video so much we featured it in this weeks episode of the Electromaker Show!

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

    I have never seen such clear explanation. Very well done! Thank you!

  • @malevinso
    @malevinso 9 หลายเดือนก่อน +1

    Mitch, I have recently found myself addicted to MCU's and all things related. I can't seem to get enough of them! Your videos are by far my favorite! They all still work great and I just love to follow along! I can only hope someday you come back to the channel and share your knowledge.
    All good things, Mark

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

    Saved your playlist....thanks for making these videos! Hope you do other MCUs also...

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

    excellent complete series. very detailed. your video presentation is professional and most competent.

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

    Extremely well made, thank you a ton for this. I've been looking for good resources to help friends out and this series is a godsend :)

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

    I have finished watching the entire series and i gotta say, you are probably the best youtuber out there that can explain this stuff in great detail and its so easy to understand, especially for a beginner like myself. Thank you so much, you deserve a lot more views and subs (subbed btw :DD).

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

    I loved this series. Looking forward to see the STM8 one.
    Thanks.

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

    Excellent series. I have learnt a lot, filling gaps i had with AVR microcontrollers...

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

    Fantastic series, Mitch! Thank you so much. Reddit u/stm8 brought me here as well. I've watched your entire series, looking forward to your forthcoming STM8 videos but I'm not waiting, with what I've learned already I'm ready to dive in!

  • @faxanidu3070
    @faxanidu3070 3 ปีที่แล้ว +5

    Ooo you did a attiny video like I wanted! Your the best!

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

    This is pure gold. I was stuck learning this stuff with cryptic books. It took a loooong time to get some skills. Then, I find this..... which nails it.

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

    Great video. Amazing how satisfying it is see that green LED start to blink on your breadboard.

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

    i absolutely love these videos! You're top teacher. I hope you continue to do these lessons some day :)

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

    Great videos. Will love to see how you explain STM.
    Thank you for making such great videos.

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

    Such a fantastic set of videos. Thank you so much.

  • @luzten
    @luzten 10 หลายเดือนก่อน

    This is easily the best playlist of "bare metal" embedded devices programming I watched. Thanks a lot Mitch

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

    Thank you very much @Mitch Davis for important lessons about avr. Where i live its not easy to get knowledge like this. I really appreciate.

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

    I really enjoyed this series, thanks. I have a stop/start project to master the new(ish) ATTINY '1' series, and this is incredibly helpful for getting some context on that task.

  • @topherchung8910
    @topherchung8910 10 หลายเดือนก่อน

    Hi Mitch, wanted to say thank you for this series. I learned lots, and opened up my understanding of arduino's and avr chips. I was looking for how to setup an internal clock and you showed much more. Again thanks!

  • @AlvaroAlcaideSoler
    @AlvaroAlcaideSoler 3 หลายเดือนก่อน

    Thank you for this series , it really helped me getting into embedded development. Your way of explaining the subjects really makes a difference. Keep up the fantastic work!

  • @didiergasser-morlay2417
    @didiergasser-morlay2417 3 ปีที่แล้ว +1

    Hats off! Excellent series, clear & concise, to the point with just enough details to push people to dig & learn more. I bought a few attinys (in case I fry some during my experiments :) ) thanks a lot

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

    Finished the series today glad I got to learn all of this

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

    outstanding series---Thank you! I know it takes a lot of time and commitment to do these TH-cam videos. you work is much appreciated. FWIW--I thought including the memory maps of the chips really helped to keep the instructions clear...Kudos...well done!

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

    Mitch, I am enjoying your STM32 videos but saw this ATtiny85 video and also watched it. I know, from comments in other videos of yours, that you spend a lot of time producing each video and I feel the results reflect that extra effort. I like that you cover what is needed with a succinct but complete delivery. I never fail to learn something in every video. That includes this video despite the fact that, over the years, I have flashed many bare metal ATtiny85 chips for various projects. Keep it up!!
    BTW I second what Jeremy Starcher's said in his much earlier (a year earlier) comment.

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

    Dont know what took me so long to find your channel. But here I am.

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

    Great Series, Thank you Mitchel

  • @Bubby9767
    @Bubby9767 7 หลายเดือนก่อน

    Great content. Awesome explanation. Very easy to follow. Something that I think would be interesting is actually a nice project with a little more than just a led blinking. From start to finish

  • @gapguy9564
    @gapguy9564 2 ปีที่แล้ว

    Just finished watching whole series. And happy feeling

  • @mr.tweety
    @mr.tweety ปีที่แล้ว

    Simply the greatest. Thank you.

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

    Thank-you for make this.
    This video series is the most crystal clear explanation of Bare-Metal microcontroller for me I have seen on TH-cam. I would love to learn a lot from you if you are going to do a STM8 series video. :-)

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

    This entire series was great; thanks for creating them. (I'm planning on following through your series with a Raspberry Pi and an Arduino Uno and see how far I get.)

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

    finished watching the entire playlist, great work.

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

      I had a lot of fun making that first series. I wish I had better recording equipment at the time though. Oh well

  • @ianwalsh3868
    @ianwalsh3868 3 หลายเดือนก่อน

    Just watched the whole series. It’s fantastic. It’s a great intro to bare metal microcontroller programming, as well as C programming in general. Thank you!

  • @PlasticBonesMusic
    @PlasticBonesMusic 3 ปีที่แล้ว +6

    I've been following your series since the first episode while doing my own project for school and it's been a godsend. I did a project last semester coding an ATMega32 and kind of understood what I was doing (with lots of hand holding), but you were really able to break it all down and bridge the knowledge from what I learned then and what I already knew about programming arduinos. It's given me the confidence to actually ditch the arduino and use a barebones microcontroller for my own project.
    I can't wait for you to continue onto STM, as I have an STM32 development board I impulse bought which has been gathering dust as I have no idea what I'm doing with it.

  • @boblake2340
    @boblake2340 2 ปีที่แล้ว

    Brilliant video! All the detais clear and to tne point.

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

    Thank you Mitch, I watched the whole series with great interest, I learnt a lot of things, despite I already programmed dozens of T85s chips. This is the best tutorial I ever found for programming the AVR micro-controllers if you want to progress from arduino IDE to avr-gcc and avrdude. Now I hope to learn from you how to use Make and Makefiles. It is so tedious and error-prone to repeat over and over again the same cryptic commands from the console. Please explain us how to automatize this process.

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

    Exeptionally well done. Did some binge-viewing and learned a lot, even though I already write programs for program the ATtiny s myself.

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

    What a wonderful series! I would love to see you with a series on STM8, especially stm8s103f3 and stm8s003f3.

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

    Excellent work. 👏

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

    This series was awesome, thank you!
    The cherry on top would've been 1 video of automating it all with a makefile

  • @dineshganesh6723
    @dineshganesh6723 2 ปีที่แล้ว

    Great work bro❤️😎

  • @user-og8hi6tb2j
    @user-og8hi6tb2j 2 หลายเดือนก่อน

    I really like your video content and I wish to see more. I'm particularly interested in your journey and overview of working with ARM and ESP, including bare metal coding on both platforms.

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

    Thank you very much for your Bare-Metal MCU tutorials !!! Can you please add some videos on programming AVR MCUs using Rust programming language?

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

    These videos are so good.

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

    Great series. I found your videos incredibly helpful. My only recommendation going forward is to normalize your audio levels to what normal videos play at. Your videos are quiet AF.

  • @squeaky_honda
    @squeaky_honda 8 หลายเดือนก่อน

    Thanks for the tutorial series!! The arduino attiny85/84 support is a mess. Bootloaders on 85 that hog most of the pins, leaving you with little, damaged support on 84 due to versioning-shenanigans on IDE 2.x. Various "boards/HALs" hogging the timers and interrupts just in case you need delay(). Without those, I can't build anything productive. I managed to program things with a cheap "usbasp" programmer by following your instructions.

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

    Wow, just finished this serie of 9 vids.
    This might just be flagged as one of the best tutorial series I've ever encountered on YT, scratch that, on the net! Very interesting, very detailed, and very comprehensible indeed. "Take one step back, ... to leap a couple of miles ahead" !
    I must add, though, I am still wondering about the use, and the need, for those 'high fuse', 'extended fuse', and 'lock bits'. In addition, how to scribble EEPROM? (My guess is that it is done in a similar way as writing flash with avrdude?).
    Keep up with this amazing quality! Now I'm heading to the LCD vid :D
    //Best regards from The Netherlands

  • @elliotth30
    @elliotth30 2 ปีที่แล้ว

    Brilliant video

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

    That's beautiful!

  • @mdfaisal1415
    @mdfaisal1415 6 หลายเดือนก่อน

    This best video tutorial. Thank you so much

  • @pbs570
    @pbs570 11 หลายเดือนก่อน

    NICE! We want more!

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

    excellent as always!

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

    Nice video thanks Mitchel.

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

    I always wanted a good introduction to stm32 micros... maybe your next series could be on one of those. And just once again... awesome series... keep the vids coming!

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

      @@MitchDavis2 This is so funny... I had the exact same problem with the IDE beeing to overwhelming and all i wanted was a blank programm. But i never had the time to dig into the part where i could do it from scratch. Thats why i would love to see a series on this from you. I realy learn a lot from your style of videos and so i hope i can save some time and don't have to dig too much into the datasheets myself.

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

      @@MitchDavis2 Honestly, the amount of code you need to blink an LED on a Cortex-M device isn't _much_ more than for an AVR. You just have to actually turn the peripheral on and enable its clock, which is just two extra lines.

  • @toma.a7146
    @toma.a7146 3 ปีที่แล้ว

    This is great content!

  • @asddsfdsaasdf
    @asddsfdsaasdf 2 ปีที่แล้ว

    Great content - new way of learnong things from arduino world. Thank you

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

    awesome!, thanks, just want I needed to program an attiny20!, thanks for making this!

  • @harris9624
    @harris9624 3 ปีที่แล้ว +4

    Just finished watching the series, awesome tutorial!
    I did a little digging and found out that the avr-gcc compiler has a built-in delay library in the avr-libc package called This lets you use a _delay_ms function in your C code (no more nasty for loops).

  • @andymouse
    @andymouse 2 ปีที่แล้ว

    Great tutorials...cheers.

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

    Thanks for the video.

  • @ahmatrizki5154
    @ahmatrizki5154 2 ปีที่แล้ว

    Thanks for sharing

  • @Milanissimo
    @Milanissimo 2 ปีที่แล้ว

    Awesome videos!

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

    this was excellent!

  • @AleksandrIvin
    @AleksandrIvin 9 หลายเดือนก่อน

    Nice video. I used this chip in my toy as IR recivier :)

  • @abpccpba
    @abpccpba 2 ปีที่แล้ว

    For this, your first go-round went well. : = ))

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

    great job am subscribing now

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

    very cool approach bro! First video of yours I saw, SUB'D!

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

    Your series are great, briefly really really great! That is not just a "oo i like that video" comment, your videos are nailing it without boring and explaining it detailed. They way you start for example PORTB=32 for bit banging is perfect i think. Thank you, i will be waiting your other videos.

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

      Glad it was helpful. These videos keep taking longer and longer to make. Sometimes I find myself knowing WHAT to do, but not WHY, so I have to do a fair bit of homework before covering it in my videos.
      It’s also incredibly difficult to decide what NOT to talk about. It’s too easy to go off on a tangent with things that are loosely related.
      Thanks again!

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

      ​@@MitchDavis2 Exactly! I think it must be so hard to decide what NOT to talk about, it is like sampling without loosing quality, taking derivative without loosing function. You spend time for helping people saving time. Thanks again !

  • @user-vv9gf6dg9f
    @user-vv9gf6dg9f 3 ปีที่แล้ว +1

    Yo dude, nice video, thank you

  • @Bianchi77
    @Bianchi77 2 ปีที่แล้ว

    Vote up, nice clip, thanks for sharing :)

  • @a.inaciomorais9859
    @a.inaciomorais9859 3 ปีที่แล้ว +1

    I have a lot of old AVR MCU here. ATMEGA8535 and AT90S8535. ATMEGA8535 worked fine with AVRDUDE 6.3 and ARDUINOISP. But with AT90S8535 I have experienced the strangest outcomes so far. It is necessary to use an external clock (I'm using a 8MHz crystal) and there aren't quite evident fuses that work with AVRDUDE (the online calculator states that there is an AVRDUDE lfuse argument but the AVRDUDE returns "lfuse" memory type not defined for part "AT90S8535"). Without fuses I was able to perform a first programming (avrdude -u -C /etc/avrdude.conf -p 8535 -P /dev/ttyACM0 -c stk500v1 -b 19200 -U flash:w:"avr2.hex":i) and it works fine, but for every AT90S8535 that I try to program a second time it is impossible ("Yikes! Invalid device signature") but it works well if I disconnect the GND line from ARDUINOISP when programming it again (I'm not kidding). I'm using decoupling caps and everything. Maybe it's better to let go of things from the past.

    • @a.inaciomorais9859
      @a.inaciomorais9859 3 ปีที่แล้ว

      @@MitchDavis2 They have discontinued it in 2004 I think. These ones that I have were produced in 2001. But don't bother... I was using these because I don't have others AVR MCUs (only the ATMEGA328P that comes with ARDUINO). I was able to apply your lessons with ATMEGA8535 MCUs and it was fine. Thank you very much. The way you explained it was amazing. I have never seen anyone with your ability to teach. Please, consider some STM32 content for the future and forgive my bad English.

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

    For a simple combinational logic circuit, would it be a nice solution?
    Actually, I was trying to put together a blinker unit using this which would also have a hazard function which could get overridden upon triggering indicators and then back to the blinker function again.
    PS: Consider a 3input 2output logic circuit.

  • @DashkaMilashka015
    @DashkaMilashka015 2 ปีที่แล้ว

    well... thats the best led blink thing i have seen. all that.. hundred parts..? thanks for the time you've spent, thats the way to do it (teach).
    ps: big thanks

  • @nexpro6985
    @nexpro6985 4 หลายเดือนก่อน

    Never connect the power and ground rails together on your breadboard. Make sure you connnect the ground rail on one side with a wire to the ground rail on the other side. Then do the same with the power rails ( as shown in the video ) 😁

  • @marcusstenbeck
    @marcusstenbeck 7 หลายเดือนก่อน

    I've watched through the series and just want to say thank you. Do you know any other resource that "start from the data sheet" and then figures out how to do it. It's like you say, jumping into a data sheet feels overwhelming when you don't know what to look for and what can probably be ignored.
    The fact that you go through data sheets and say out loud "sounds like this might be important, but I don't know yet" makes it so easy to follow how you think when you go through an unfamiliar data sheet. Thank you!

  • @sylvainboyer2310
    @sylvainboyer2310 10 หลายเดือนก่อน

    Very helpful video, many thanks,
    I was confused by the change of 0x17 to 0x37 and after reading a bit more on the topic I have a better understanding.
    From the ATTiny85 datasheet p20: "When addressing I/O Registers as data space using LD and ST instruc-tions, 0x20 must be added to these addresses."
    And from, the Atmega328p datasheet p19: "When addressing I/O registers as data space using LD and ST instructions, 0x20 must be added to these addresses"

    • @RFDarter
      @RFDarter 9 หลายเดือนก่อน

      Ok at least they specified that. But why wouldn't they provide us with the correct memory address in the first place?

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

    Amazing video , inspires me to program without an ide.

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

      By all means, if you don't want to use an IDE, go for it. This type of video is what inspires me to USE an IDE. I like to know what's going on behind the scenes so there's no "magic". But after that, I like to take advantage of all the cool tools out there.

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

    Hey Mitch...That was terrific..I just binged on all nine in the series and it filled in a great deal of detail about what was going on behind the scenes..The Arduino IDE is all very well, but it keeps a lot of secrets that ultimately can be crucial in debugging not just code but workflow as well. I'm now going to revisit a number of failed projects armed with the insights..Many thanks..One question...I don't have the specific programmer you used..I have a TL866II-Plus...can this work as a programmer under the Arduino IDE ?

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

      @@MitchDavis2 You were looking for suggestions as to what to tackle next; Have you thought about a sortie into FPGAs..or delving into some specialised ICs/Modules, by taking the backwards engineering approach that works so well, to work from the datasheet and end up with a basic working system, for example the Farchild Smart Power IGBJT (FSBF5CH60B) and ending up with an Inverter....

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

    It was hard to find your Patreon link, but I managed.

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

    STM8's are great little chips, BTW. Small, simple, cheap, with ample pins to play with. I have an stm8s103f3p6.

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

      @@MitchDavis2 You might want to take a look here: github.com/blippy/rpi/tree/master/stm8s103f3p6/bare
      It's hastily-assembled bare metal files for the STM8S, including basic blinking, PWM, timer interrupts, uart, SPI and I2C. Expect bugs, particularly wrt I2C. But it might give you some inspiration. There's clearly a lot you can do with an STM8.

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

    Hi, thank you for the videos.
    Is it possible to generate 113 KHz square wave signal from ATTiny84 pin ??

  • @isaacatia-abugbilla2476
    @isaacatia-abugbilla2476 2 ปีที่แล้ว

    Could we also get a video for barebones ADC and USART please

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

    Wow! You're committed. Nice work. I'm gonna stick with Arduino IDE :D

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

      This is a great response. I went down this rabbit hole to learn HOW things worked. After you understand the low level stuff, you don't have to feel bad about using higher-level frameworks/IDEs. The only thing that stinks is if you develop a dependence on something, which can prevent you from learning new things. I started learning low level stuff so I could use an STM8 (which didn't have the support of modern frameworks/IDEs). But it certainly wasn't fun to try to learn everything from the ground up while leaving the wonderfully cultivated world of Arduino.