MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    How can i define daud rate in avr microcontrollers ?

    General Discussion
    2
    2
    135
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Richu Bini last edited by

      while learning the USART communication in avr setting baud rate part seems little confusing to me .

      There are two registers for setting baud rate UBRROH AND UBBRROL
      How Can i use these registers...?

      1 Reply Last reply Reply Quote 0
      • salmanfaris
        salmanfaris last edited by

        Hi @Richu-Bini, The Uart Baud Rate Register (UBRR) is used to set the clock for the UART shift registers and For standard crystal and resonator frequencies, the most commonly used baud rates for asynchronous operation can be generated by using the UBRR settings provided by the AVR Datasheet: AVR306: Using the AVR USART on tinyAVR and megaAVR devices

        And you can find the equation from the datasheet to calculate the UBRR values depends on the clock source it has.

        8422ea95-2844-483c-8e41-acab03c9ec41-image.png more details at the AVR306: Using the AVR USART on tinyAVR and
        megaAVR devices

        alt text src: http://www.avrbeginners.net/architecture/uart/uart.html#baud_generator

        resource:

        • https://cache.amobbs.com/bbs_upload782111/files_22/ourdev_508497.html
        • http://www.avrbeginners.net/architecture/uart/uart.html#baud_generator
        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        Recent Posts

        • K

          I need help in programming for my startup project hardware completion

          • read more
        • Recently, I got a chance to work work the SeeedStudio T1000 tracker and I made a tracker and data logger with it. It comes with a LoRa module to transmit the data and has an inbuilt temperature and light sensor. The device is very easy to set up and get-started and I can say the experience of switching from different LoRa network servers is very pleasant and straightforward, same for the integration. I chose Ubidots to visualise the data captured.

          I also like the mobile application very much, it’s so easy to pair and change the tracker configuration on the go. I love it.

          I will experiment more and share my insights here. let me know if you want to know any specific details about the SenseCAP T1000.

          It’s live on Kickstarter and you can pledge for $29 for single T1000 tracker, you will get 1 piece T1000 with 3 months of free trial service on the SenseCAP platform. Take a look : https://www.kickstarter.com/projects/seeed/sensecap-t1000-track-what-you-care-with-no-boundaries
          a107016f-4691-4a56-9931-622e537237cf-image.png

          3bb1163d-4a32-485b-b86a-7b79d687cf62-image.png

          • read more
        • @dipu_varghese Hi, How does it go? Would like to know about the updates 🙂 or anything I can do to help you.

          • read more
        • @zainmuhammed Oh that's cool. Let me also take a look at the stability analysis of a drone and get back to you.

          • read more
        • @salmanfaris I'm building a payload-releasing drone under 2kg (micro class). and the entire structure builds using carbon fiber and ABS plastic.

          • read more
        By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
        Copyright © 2023 MakerGram, All rights reserved.
        Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct