
=> Uart_Temperature sensor
1.hiral Patadiya 2.Riya soni 3.Divayang Rana
making uart_temperature sensor
=> This project implements a convert a pwm digital serial signal to a paralle value and trasmits it over uart(Tx) at the configured baud rate.
The PWM signal is generated by the temperature sensor, and this module is designed to count the number of clock cycles during which the PWM signal remains LOW. The resulting count value is then transmitted to the UART receiver via the UART TX pin using the 115200 baud rate.
<img width="1228" height="353" alt="circuit diagram" src="https://github.com/user-attachments/assets/9df8c514-258f-4f28-91f3-04ced4468cae" />
<img width="729" height="362" alt="pin mapping" src="https://github.com/user-attachments/assets/09e04e6c-4caa-4893-8ccf-c3ffc66d8c49" />
=> This design instantiates one submodule: Uart_Temp
The input PWM signal is provided on the input pin ui_in[0], and the UART TX output is connected to the output pin uo_out[0]. To capture the transmitted value at the UART receiver, configure your serial terminal (e.g., Tera Term, PuTTY, etc.) with the following settings: Baud Rate: 115200, Data Bits: 8, Parity: None, Stop Bits: 1, Flow Control: None, The design operates with a clock frequency of 50 MHz.The values that shown on the serial terminal is in the Hexadecimal form. The low time period = ( 1/clock frequency ) * (counter value shown in the serial terminal in decimal). <img width="1852" height="1013" alt="testbench" src="https://github.com/user-attachments/assets/226320ac-650c-4c38-8cc7-1723349ff8fc" />
List external hardware used in your project (e.g. PMOD, LED display, etc), if any
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | pwm input for uart module | UART TX output | |
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | |||
| 7 |