EveryCircuit
Contact
Reviews
Home
DaveTV
modified 3 months ago

11bit CV from 2 8bit PWM outputs

0
0
50
00:21:50
The 2 voltage sources represent the 2 PWM outputs of a microcontroller. Attiny85 in my case. The 5k load resistor represents a pair of 10k trim pots that I'm using on the output. Obviously, an integration capacitor is also required across the load to get a smooth CV. The maximum CV is 1V when both PWM outputs are at 100%. An 18k in series with a 4k7 yields 22.7k. A 150k in series with a 10k provides the 160k. The 11 bit val has a range from 0 to 2047. int(highByte(val) * 36.5) supplies the 22.7k While lowByte(val) is fed to the 160k
published 3 months ago

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy