Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

37%
+1 −3
Q&A Adjusting the pulse width of a signal coming at comparator output [closed]

This is a coninuation of a question I previously asked here. We made the proto board and it is working in low speeds.The complete circuit is given below. Let me show the wave-forms at each sect...

0 answers  ·  posted 1y ago by newbie‭  ·  closed 1y ago by Olin Lathrop‭

Question Analog opamp uart
#3: Question closed by user avatar Olin Lathrop‭ · 2025-08-04T00:30:16Z (about 1 year ago)
#2: Post edited by user avatar newbie‭ · 2025-07-25T19:00:57Z (about 1 year ago)
  • This is a coninuation of a question I [previously asked here](https://electrical.codidact.com/posts/294173).
  • We made the proto board and it is working in low speeds.The complete circuit is given below.
  • ![Image_alt_text](https://electrical.codidact.com/uploads/6wbpnivbp78cn9w510nc8ir2b2a5)
  • Let me show the wave-forms at each section of this circuit.
  • **TRANSMITTER:**
  • ![Image_alt_text](https://electrical.codidact.com/uploads/k1pd542xc2hqddbf1f4vc1gozbkp)
  • **TIA**
  • ![Image_alt_text](https://electrical.codidact.com/uploads/g8r6qdvkrabpalvzpghabietwpjj)
  • **
  • Comparator OUT:**
  • ![Image_alt_text](https://electrical.codidact.com/uploads/z3c1ar4jahrracrbz8nq3my70wh1)
  • You can see from the above images that,the width of the pulse is increased compared to the pulse width of the TX signal.The TX signal pulse width is 21.5uS and at the comparator output the pulse width is 42.5uS.
  • What my firmware engineer suggest is that if we can make the pulse width of the comparator output also in the range of TX pulse width(21.5uS) is good for the system.
  • **May I know is there any method to adjust the pulse width in this circuit such that the pulse width of RX almost equal to TX(Yellow color,In all waveforms)?**
  • The datasheet of all components is given below.
  • [Microcontroller](https://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D5xE5x_Family_Data_Sheet_DS60001507F.pdf)
  • [OPAMP](https://www.ti.com/lit/ds/symlink/opa365-q1.pdf?ts=1753347017278&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FOPA365-Q1%252Fpart-details%252FOPA365AQDBVRQ1)
  • [Comparator](https://www.ti.com/lit/ds/symlink/tlv7031-q1.pdf?ts=1753429102645)
  • [Transmitter](https://www.digikey.at/en/products/detail/vishay-semiconductor-opto-division/VSMY2893SLX01/16684624?srsltid=AfmBOooXZJg3A6Gp5sJerjkeCJOzDWD7vC6hloQLVD1vRvLmio9YD0ki)
  • [Photodiode](https://www.vishay.com/docs/83493/vemd2023slx01.pdf)
  • **In all waveforms Yellow is the transmitted signal.Going to the Gate of Mosfet.Respective output at each section are shown in Green**
  • This is a coninuation of a question I [previously asked here](https://electrical.codidact.com/posts/294173).
  • We made the proto board and it is working in low speeds.The complete circuit is given below.
  • ![Image_alt_text](https://electrical.codidact.com/uploads/6wbpnivbp78cn9w510nc8ir2b2a5)
  • Let me show the wave-forms at each section of this circuit.
  • **TRANSMITTER:**
  • ![Image_alt_text](https://electrical.codidact.com/uploads/k1pd542xc2hqddbf1f4vc1gozbkp)
  • **TIA**
  • ![Image_alt_text](https://electrical.codidact.com/uploads/g8r6qdvkrabpalvzpghabietwpjj)
  • **
  • Comparator OUT:**
  • ![Image_alt_text](https://electrical.codidact.com/uploads/z3c1ar4jahrracrbz8nq3my70wh1)
  • You can see from the above images that,the width of the pulse is increased compared to the pulse width of the TX signal.The TX signal pulse width is **21.5uS** and at the comparator output the pulse width is **42.5uS**.
  • What my firmware engineer suggest is that if we can make the pulse width of the comparator output also in the range of TX pulse width(21.5uS) is good for the system.
  • **May I know is there any method to adjust the pulse width in this circuit such that the pulse width of RX almost equal to TX(Yellow color,In all waveforms)?**
  • The datasheet of all components is given below.
  • [Microcontroller](https://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D5xE5x_Family_Data_Sheet_DS60001507F.pdf)
  • [OPAMP](https://www.ti.com/lit/ds/symlink/opa365-q1.pdf?ts=1753347017278&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FOPA365-Q1%252Fpart-details%252FOPA365AQDBVRQ1)
  • [Comparator](https://www.ti.com/lit/ds/symlink/tlv7031-q1.pdf?ts=1753429102645)
  • [Transmitter](https://www.digikey.at/en/products/detail/vishay-semiconductor-opto-division/VSMY2893SLX01/16684624?srsltid=AfmBOooXZJg3A6Gp5sJerjkeCJOzDWD7vC6hloQLVD1vRvLmio9YD0ki)
  • [Photodiode](https://www.vishay.com/docs/83493/vemd2023slx01.pdf)
  • **In all waveforms Yellow is the transmitted signal.Going to the Gate of Mosfet.Respective output at each section are shown in Green**
#1: Initial revision by user avatar newbie‭ · 2025-07-25T18:59:30Z (about 1 year ago)
Adjusting the pulse width of a signal coming at comparator output
This is a coninuation of a question I [previously asked here](https://electrical.codidact.com/posts/294173).

We made the proto board and it is working in low speeds.The complete circuit is given below.

![Image_alt_text](https://electrical.codidact.com/uploads/6wbpnivbp78cn9w510nc8ir2b2a5)

Let me show the wave-forms at each section of this circuit.

**TRANSMITTER:**

![Image_alt_text](https://electrical.codidact.com/uploads/k1pd542xc2hqddbf1f4vc1gozbkp)

**TIA**

![Image_alt_text](https://electrical.codidact.com/uploads/g8r6qdvkrabpalvzpghabietwpjj)
**
Comparator OUT:**

![Image_alt_text](https://electrical.codidact.com/uploads/z3c1ar4jahrracrbz8nq3my70wh1)

You can see from the above images that,the width of the pulse is increased compared to the pulse width of the TX signal.The TX signal pulse width is 21.5uS and at the comparator output the pulse width is 42.5uS.

What my firmware engineer suggest is that if we can make the pulse width of the comparator output also in the range of TX pulse width(21.5uS) is good for the system.

**May I know is there any method to adjust the pulse width in this circuit such that the pulse width of RX almost equal to TX(Yellow color,In all waveforms)?**

The datasheet of all components is given below.


[Microcontroller](https://ww1.microchip.com/downloads/en/DeviceDoc/SAM_D5xE5x_Family_Data_Sheet_DS60001507F.pdf)

[OPAMP](https://www.ti.com/lit/ds/symlink/opa365-q1.pdf?ts=1753347017278&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FOPA365-Q1%252Fpart-details%252FOPA365AQDBVRQ1)

[Comparator](https://www.ti.com/lit/ds/symlink/tlv7031-q1.pdf?ts=1753429102645)


[Transmitter](https://www.digikey.at/en/products/detail/vishay-semiconductor-opto-division/VSMY2893SLX01/16684624?srsltid=AfmBOooXZJg3A6Gp5sJerjkeCJOzDWD7vC6hloQLVD1vRvLmio9YD0ki)


[Photodiode](https://www.vishay.com/docs/83493/vemd2023slx01.pdf)

**In all waveforms Yellow is the transmitted signal.Going to the Gate of Mosfet.Respective output at each section are shown in Green**