TOP Contributors

  1. MIKROE (2662 codes)
  2. Alcides Ramos (357 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137046 times)
  2. FAT32 Library (70171 times)
  3. Network Ethernet Library (56045 times)
  4. USB Device Library (46367 times)
  5. Network WiFi Library (41989 times)
  6. FT800 Library (41318 times)
  7. GSM click (29080 times)
  8. mikroSDK (26521 times)
  9. PID Library (26456 times)
  10. microSD click (25449 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

UART Demo

Rating:

0

Author: MIKROE

Last Updated: 2024-04-03

Package Version: 2.0.0.3

mikroSDK Library: 2.0.0.0

Category: USB

Downloaded: 138 times

Not followed.

License: MIT license  

The application demonstrates UART SDK functionality.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "UART Demo" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "UART Demo" changes.

Do you want to report abuse regarding "UART Demo".

  • Information
  • Comments (0)

mikroSDK Library Blog

UART DEMO

This is a simple UART echo example that utilizes mikroSDK 2.0 UART driver library.


  • Author : MIKROE
  • Version : 2.0.0.3
  • Date : July 2023.

Hardware support

  • Plug in a USB Type C cable into USB-UART port.
    • image
  • Alternatively, place the USB UART click in a mikroBUS socket and change TX and RX pins in code. In this case, you'll need to connect a USB Mini-B cable directly to the click.
    • image

Software Support

We provide code for demonstrating the usage of functions contained in UART driver library. To run this example, follow these steps:

  1. Install the package from Package manager.
  2. Open example.
  3. It will take you to setups, so make one for your hardware.
  4. Choose adequate setup and the project will open.
  5. Go to Tools->UART Terminal.
  6. Click on Options, select adequate Port and set Baud rate to 115200.
  7. Click on Configure and then Connect.
  8. Program the example by clicking on Flash.
  9. You should see the greeting message on the terminal.
  10. Now you can also send data and see it in the Received data section.

example


ALSO FROM THIS AUTHOR

Temp-Hum click

7

Temp-Hum click carries ST’s HTS221 temperature and relative humidity sensor. The chip comprises a capacitive sensing element and a 16-bit ADC. The board communicates with the target MCU through mikroBUS I2C interface (SCL, SDA), with an additional interrupt (INT). The board uses a 3.3V power supply.

[Learn More]

Stretch click

10

Stretch click is a mikroBUS add-on board with circuitry for measuring stretch forces with conductive rubber cords. The click has screw terminals for connecting 2mm-diameter and 1m-long conductive rubber cord. The resistance of the chord increases when stretched, impacting the voltage available on the AN pin.

[Learn More]

Current Sens 2 click

0

Current Sens 2 Click is a compact add-on board designed for precise current measurements in industrial applications. This board features the HO 10-P, an AC/DC current transducer from LEM USA.

[Learn More]