#4 ARM STM32 Microcontroller Tutorial - USART Communication Part 1

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 51

  • @ulysses_grant
    @ulysses_grant 11 місяців тому +2

    I have been working on developing embedded systems for 8 years, and I've greatly benefited from your video. Thank you so much, you have the gift of explaining things well!

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  11 місяців тому +2

      That is awesome!! Thank you so much for the kind words.

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  2 роки тому +4

    This week has been busy with crating machines, but next week and the following weeks, I intend to publish two to three videos per week on this microcontroller subject. CNC videos will also be published scattered here and there, mainly on equipment that poses a challenge to my customers. I hope you enjoy t his video and I am so excited to make more of these videos in this series. For those of you that are purchasing the books and kits, thank you so much. This really helps me keep going and provides some offset financially to make these videos happen.

  • @PatrickHoodDaniel
    @PatrickHoodDaniel  2 роки тому +1

    This video introduces you to USART and compares a few other communication methods. I am learning Davinci Resolve, so it is a bit slow, but the features of this software are pretty cool. Hopefully, I have been able to do tracking in some creative ways to convey the content in a new and fresh way for you. Let me know if you like it. It is a bit harder and more time-consuming, but it is fun to see the results.
    54686F7365206F6620796F752077686F206172652066696E64696E67207468652065617374657220656767732C206C6574206D65206B6E6F7720627920636F6D6D656E74696E67202245452220696E2074686520636F6D6D656E74732E

  • @aquadap219
    @aquadap219 Рік тому

    I am studying computer engineering in germany and love your videos!

  • @misita5723
    @misita5723 Рік тому +1

    Thanks pal! This information is worth millions!

  • @jesset-p9225
    @jesset-p9225 2 роки тому +1

    Looks like you're getting the hang of your new camera.
    Nice video, looking forward to the series.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      Ha, yeah. I'm still learning. I want to create a faster set up to go from camera to editing and back to the camera. I'm still working on getting better with focus. You can see in my close shots the camera doesn't really know what to focus on. I will need to think about how the camera focuses to "focus"" on the work.

  • @marksadler5065
    @marksadler5065 2 роки тому +1

    Awsome job Patrick. I went through ypur AVR series here recently and learned a lot so i am excited about this new ARM series. Also bought your book, programmer and
    breakout board today.

  • @olajideoyekunle9044
    @olajideoyekunle9044 2 роки тому +1

    Great video as usual...thank you so much. You're a great teacher.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      Thanks!

    • @olajideoyekunle9044
      @olajideoyekunle9044 2 роки тому +1

      @@PatrickHoodDaniel suffice to say that my real foray into embedded programming was actually through your Atmega video series. Keep making immeasurable impacts in people's lives across the globe who may never be able to repay you. We deeply appreciate.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому +1

      @@olajideoyekunle9044 That is really kind of you to say. Thank you so much!!

  • @aasirrasheed6619
    @aasirrasheed6619 2 роки тому +3

    @BuildYourCNC Currently I am working for a big semiconductor company and it was only possible with your Atmega series .. Keep up the good work and please provide patron link so than we can contribute our bit.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      Thanks, that is awesome!! I am setting up a Patreon so I will add this to the descriptions soon.

  • @Fnta_discovery
    @Fnta_discovery 2 роки тому

    Really you explained very well

  • @fishntools
    @fishntools 2 роки тому +3

    Love your vids theyve been a great help! Could you entertain the idea of doing something with signal and power isolation? Perhaps on a CAN Bus for automotive / heavy industrial application?

  • @pankaj-fo3no
    @pankaj-fo3no Рік тому +1

    Really appreciate for very good video

  • @mic03311
    @mic03311 2 роки тому +2

    Thanks for this other great video. I really enjoy the effort you are placing in teaching things step by step. Great work !
    I had one question concerning the 74LVC2G241 - This is a dual non-inverting buffer/line driver with 3-state outputs. Can you explain what is the function of this IC, is it to avoid conflict transmission between Rx and TX?

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому +2

      Yes, it is a chip that allows the microcontroller to select which line to transmit or receive. There are three lines from the microcontroller to this chip, the TX, RX, and the signal to select which one to be used.

  • @electro.engineering
    @electro.engineering 2 роки тому +1

    Not related to the video per se, but what mechanical pencil are you using? Haha.
    It looks amazing.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому +1

      Everybody asks that question! Haha: newbiehack.com/categories/newbiehack-development_tools-mechanical-drafting-pencil

  • @Dexter-cy9ud
    @Dexter-cy9ud Рік тому +1

    Hi, is the code written in the book bare metal code or does it use some framework such as the HAL of cubeMX?

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  Рік тому

      Mainly register level. The new series I'm doing on my UA-cam channel is mixed. I do everything at the register level, then using autogenerated code and HAL.

  • @arcrobotics9982
    @arcrobotics9982 2 роки тому +1

    could u also explain the ring buffer and how to utilize it in arm microcontroller

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      Sure, I will take a look at this and bring it up in a future video.

  • @damorafik
    @damorafik 2 роки тому +1

    Beside the valuable informations that you provide I like your pen 🖊 I would be happy if you can tell from where I can buy one

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому +1

      Thanks. You can get the pencil here: newbiehack.com/categories/newbiehack-development_tools-mechanical-drafting-pencil

    • @damorafik
      @damorafik 2 роки тому

      @@PatrickHoodDaniel thank you very much 😊

  • @Fnta_discovery
    @Fnta_discovery 2 роки тому +1

    Hello. often program the microcontrollers. I see bit shift right or left using symbol ">>". why we use it. I am waiting for your response thank you.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      It only controls the direction to shift the value.

    • @Fnta_discovery
      @Fnta_discovery 2 роки тому

      @@PatrickHoodDaniel why controls the direction

  • @M0XYM
    @M0XYM 2 роки тому +1

    I just wondered about peoples experiences with breadboards - I've bought a bad bunch - flakey connections and really frustrating. My fault I know for buying cheap but are the expensive breadboards any more reliable?

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      Yes, more expensive breadboards are generally more reliable, but pay special attention to reviews and where the breadboard was made. The cost of the breadboard could just be the seller pricing it higher.

    • @M0XYM
      @M0XYM 2 роки тому +1

      @@PatrickHoodDaniel The breadboards with good reviews seem to be made in the US (eg Busboard) and are just too expensive to buy in Europe. I think I'm going to give up with breadboards and solder - soldering isn't too bad really.

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      @@M0XYM Once you buy a good set of breadboards, you will have them for life, just like a good tool. You can also try making your own breadboards using female headers.

  • @officialgrasptechnology1804
    @officialgrasptechnology1804 2 роки тому +1

    Please redo your avr tutorials as well thank you. Moving on to arm!!

  • @glewiss6696
    @glewiss6696 2 роки тому +1

    Just a quick question off topic here. Do you use apsc or full frame camera to make those great macro videos? Just curious. Thanks for the great videos . Count me in to follow with your book :)

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому +1

      No problem. I use a Sony A6300, not full frame, unfortunately. I could only wish!! Haha.

    • @glewiss6696
      @glewiss6696 2 роки тому +1

      @@PatrickHoodDaniel Good enough! In fact I'm surprise how good it is. Do you mind telling what lens you used? Sigma 16mm or 30mm? I've got the A6000 ...

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому

      @@glewiss6696 SEL50F18. Here is a link to the lens in amazon: amzn.to/3pbcLu2. (Disclaimer, it's an affiliate link)

  • @mic03311
    @mic03311 2 роки тому +1

    Your book is very useful. Is there a way to purchase a pdf colour version - I find this format more useful when working on projects or traveling. Many thanks !

    • @PatrickHoodDaniel
      @PatrickHoodDaniel  2 роки тому +2

      I can make one available. I didn't think there would be any interest as the price would be a bit higher.

    • @mic03311
      @mic03311 2 роки тому +1

      @@PatrickHoodDaniel yes please, from your website I will be happy to support your efforts ;-) it is much practical for my workflow. Thanks

  • @bennguyen1313
    @bennguyen1313 Рік тому

    I was hoping to find an off-the-shelf solution that does SYNCHRONOUS 9-bit UART at 1Mbps, both as a master and slave. For example, as a Master it would output a 1Mhz CLK, and TX, where the data shifted on the TX pin (changes on the falling edge of CLK) and consists of:
    1-start (low), 9-Data (lsb-first), 1-odd, 1-stop (12 bits total)?
    And as a slave, it would latch what's on the RX-Line on the rising edge of 1Mhz CLK (generated externally)?
    The closest I found is, Digilent's Analog Discovery 2, but it only lists u*A*rt.
    Microchip has a (discontinued?) PicKit Serial Analyzer (DV164122) capable of doing USART.. however, the GUI (2.2) shows only "USART Sync Master". More concerning is that the firmware (305), and Dll (2.4) is from 2009, so even if I buy the hardware, not sure if it will work with Win10. The API examples are for VB2005.

  • @mahanehsani1246
    @mahanehsani1246 2 роки тому +1

  • @Hojadurdy
    @Hojadurdy 2 роки тому +2

    No more motion blurs. That thing was giving me a headache each time I watched your videos. Noice.