Try this:
Announcement
Collapse
No announcement yet.
Bipolar PI design
Collapse
X
-
HelloOriginally posted by Carl-NC View PostThis is where pot values get converted into timing values:
The problem is, a minimum TxPeriod of 50us (20kHz) requires reducing everything else to fit. You would first need to drop the TxWidth down to, say, 10-15us and go from there.Code:Bool ADC_Run(void) { if(ADC_GetPot1() || ADC_GetPot2()) // If either pot has changed value { Settings.TgtDelay = ( 50 + Pot1Value) << 1; // Min = 50 (12.5us), max = 113 (28.25us) Settings.TxWidth = ( 50 + Pot2Value) << 3; // Min = 50us, max = 305us Settings.TxPeriod = (200 + (Pot2Value << 2)) << 3; // Min = 200us, max = 1220us return True; } return False; }
Dear Carl
Can you tell me GB delay in code? Is it 5us?
Comment
-
Hello colleagues, hello Carl. I built my bipolar detector, but it differs from yours; the input stage is the same, except I’m using an NE5534 IC. The output at pin 6 is fine, but with a 28cm coil, I get no response to a coin—though I do get a response to larger objects. Is it worth changing the 100k resistors, and is there an alternative input configuration possible after the two input pulses? Thanks.1 Photo
Comment
Comment