New answers tagged

1 vote
Accepted

Driving speaker with differential driver

There is no functional difference between any of the following: simulate this circuit – Schematic created using CircuitLab In each case, the loudspeaker will see the same potential difference ...
Simon Fitch's user avatar
  • 35.1k
1 vote

Driving speaker with differential driver

All you need is one follower and one inverter: There are several issues with this approach (and your schematic): Opamp idle power usage, even when the speaker doesn't play Requires a low voltage ...
bobflux's user avatar
  • 77.4k
0 votes

Paralleling Multibit current DAC: Improving Accuracy by Averaging

On average, yes across thousands of completed circuits, that would be true - the average linearity will go up. However, the per device variance will go up proportional to the number of devices. Think ...
MOSFET's user avatar
  • 3,040
2 votes
Accepted

What kind of BJT buffer should I use to connect a speaker to an STM32?

This is the simplest BJT solution I can think of, that won't sound horrible: simulate this circuit – Schematic created using CircuitLab It won't sound great either, and it's not efficient at ...
Simon Fitch's user avatar
  • 35.1k
2 votes

What kind of BJT buffer should I use to connect a speaker to an STM32?

Asymmetrical BJT buffer will be difficult to keep in balance, and this kind of solution is maybe 40-years old. I would recommend a singe IC H-bridge Class-D amplifier like PAM8301 (or its new versions)...
Ale..chenski's user avatar
  • 40.5k
0 votes

What kind of BJT buffer should I use to connect a speaker to an STM32?

The voltage produced by the STM32 is enough to drive a speaker but the current is not. You could use a class AB push pull BJT emitter follower or even a BJT diamond follower which will give low ...
Autistic's user avatar
  • 14.7k
3 votes
Accepted

Can I set LVDS permanently to HIGH or LOW with this simple circuit?

Yes, this should work fine. As noted in the comments, the input has a built in 100R termination. It is in fact this termination that makes the circuit work. This has a range of 85R to 135R, which may ...
Tom Carpenter's user avatar
0 votes

DAC module output voltage and Arduino's digital input deviation issues

You have two issues: Scale factor: What are you using for Vref? Have you measured its value? "Step" effect: I'm wondering about how Serial.parseFloat() ...
Dave Tweed's user avatar
  • 173k
3 votes
Accepted

Current DAC/current wave-form generator

Your MCU (STM32L476) is able to do that by its onboard DAC and external opamp. Your DAC is able to run up to 10Msps https://www.st.com/resource/en/application_note/an4566-extending-the-dac-performance-...
Michal Dudka's user avatar

Top 50 recent answers are included