Skip to content

Instantly share code, notes, and snippets.

@ericfont
ericfont / phantom-biasing-resistor-noise-test.asc
Created September 28, 2025 15:08
phantom-biasing-resistor-noise-test.asc
Version 4.1
SHEET 1 880 680
WIRE -80 192 -192 192
WIRE 48 192 -80 192
WIRE 160 192 112 192
WIRE 224 192 160 192
WIRE -192 384 -192 352
WIRE -80 384 -192 384
WIRE 48 384 -80 384
WIRE 160 384 112 384
@ericfont
ericfont / circuit-20250925-1844.svg
Created September 25, 2025 22:43
dickson multiplier in parallel to generate strong +48v
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont
ericfont / circuit-20250924-2246.svg
Created September 25, 2025 02:46
series of charge-pump voltage doublers
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont
ericfont / circuit-20250917-1600.svg
Last active September 25, 2025 04:17
CMOS Dickson charge pump to produce ~48v phantom power from ~5v USB power
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont
ericfont / circuit-20250806-0153.svg
Created August 6, 2025 05:54
Use "offset binary" integrator for DAC to allow for negative voltages as well as postiive
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont
ericfont / circuit-20250720-0016.svg
Created July 20, 2025 04:15
use sampled feedback from comparative to get close enough to some reference voltage
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Version 4.1
SHEET 1 1096 680
WIRE 160 -48 96 -48
WIRE 208 -48 160 -48
WIRE 96 -32 96 -48
WIRE 96 48 96 32
WIRE 208 96 208 -48
WIRE 208 96 176 96
WIRE 32 144 -48 144
WIRE 112 144 112 96
@ericfont
ericfont / gist:cce54823c2511a7d33d9d2e3a81246f5
Created July 7, 2025 05:32
u-law approximation with power law y=A*(x)^B+C-D*x
https://curve.fit/GAJQV0Mp/html/20250707001045
PARAMETER NOTE VALUE ERROR
A -- 2.1987808177e+02 4.9690294198e-01
B -- 6.0225301451e+00 1.7954978476e-02
C -- -8.4861669965e+00 4.2398472030e-01
D -- -4.2598255040e+01 9.2674646686e-01
SSR = 8.78e+01
@ericfont
ericfont / circuit-20250703-0245.svg
Created July 3, 2025 06:45
rearrange for parallel calculation of comparison and buffer, storing directly into capacitor instead of relying on a Flip Flop
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ericfont
ericfont / circuit-20250702-1845.svg
Last active July 2, 2025 22:47
3-inverters chained in loop necessarily oscillates
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.