logo elektroda
logo elektroda
X
logo elektroda

Using 5.1V Zener Diodes in Place of 5V for Serial Microwire EEPROM Programmer

333 22
ADVERTISEMENT
  • #1 21668927
    Isaac Larson
    Anonymous  
  • ADVERTISEMENT
  • #2 21668928
    Boi Okken
    Anonymous  
  • #3 21668929
    Eugene Lisovy
    Anonymous  
  • ADVERTISEMENT
  • #4 21668930
    Malcolm Whinfield
    Anonymous  
  • ADVERTISEMENT
  • #5 21668931
    Mike P OKeeffe
    Anonymous  
  • #6 21668932
    Steve Lawson
    Anonymous  
  • ADVERTISEMENT
  • #7 21668933
    Mark Harrington
    Anonymous  
  • #8 21668934
    Isaac Larson
    Anonymous  
  • #9 21668935
    Isaac Larson
    Anonymous  
  • #10 21668936
    Isaac Larson
    Anonymous  
  • #11 21668937
    Isaac Larson
    Anonymous  
  • #12 21668938
    Malcolm Whinfield
    Anonymous  
  • #13 21668939
    Steve Lawson
    Anonymous  
  • #14 21668940
    Steve Lawson
    Anonymous  
  • #15 21668941
    Isaac Larson
    Anonymous  
  • #16 21668942
    Steve Lawson
    Anonymous  
  • #17 21668943
    Isaac Larson
    Anonymous  
  • #18 21668944
    Steve Lawson
    Anonymous  
  • #19 21668945
    Steve Lawson
    Anonymous  
  • #20 21668946
    Mark Harrington
    Anonymous  
  • #21 21668947
    Mark Harrington
    Anonymous  
  • #22 21668948
    Malcolm Whinfield
    Anonymous  
  • #23 21668949
    Eugene Lisovy
    Anonymous  

Topic summary

✨ The discussion addresses the feasibility of substituting 5V Zener diodes with 5.1V Zener diodes in a serial Microwire EEPROM programmer circuit. It is generally acceptable to use 5.1V Zener diodes since most EEPROMs, such as the 24C64 and 93C56PI, tolerate input voltages up to approximately 5.5V. The Zener diodes serve as voltage clamps to protect the EEPROM by shunting voltages above their breakdown voltage to ground. However, caution is advised because Zener voltages can vary (e.g., TZX5V1 may reach 5.3V), potentially exceeding the EEPROM's maximum input voltage, typically specified as VDD + 0.3V. Using 4.7V Zener diodes is suggested as a safer alternative to ensure input voltages remain within limits. The circuit includes 4.7kΩ resistors to limit current from the RS232 lines, which can carry voltages up to 12V. Considerations include minimizing current draw through the Zener diodes, verifying EEPROM datasheet parameters such as maximum input voltage and minimum input high voltage, and understanding the role of each component. The LM2936Z-5 voltage regulator is used to supply 5V, but through-hole versions have long lead times, prompting inquiries about suitable replacements. Additional advice includes using microcontrollers with MAX232 level shifters and I2C buffers for safer programming and protecting serial ports from faults. The discussion also clarifies schematic notation (e.g., 5V1 means 5.1V, 4K7 means 4.7kΩ) and highlights the importance of consulting datasheets for precise electrical characteristics.

FAQ

TL;DR: Most EEPROMs allow up to 5.5 V; "The schematic shows 5V1, which is 5.1V"—so 5.1 V Zeners usually work as clamps in this RS‑232-to‑Microwire programmer. [Elektroda, Mike P OKeeffe, post #21668931]

Why it matters: This FAQ helps hobbyists safely build or troubleshoot simple Microwire EEPROM programmers using zener clamps and a 5 V regulator.

Quick Facts

Can I replace 5.0 V zeners with 5.1 V in this programmer?

Yes. The schematic even labels them “5V1,” meaning 5.1 V. Many 5 V EEPROMs are rated to 5.5 V, so 5.1 V clamps are acceptable for protecting inputs in this design. “The schematic shows 5V1, which is 5.1V.” [Elektroda, Mike P OKeeffe, post #21668931]

Why might 4.7 V zeners be safer than 5.1 V here?

Because tolerances stack. A regulator at 4.95 V and a zener at 5.3 V could push inputs above VDD + 0.3 V. Using 4.7 V parts adds margin, provided VIH still meets the EEPROM’s input‑high spec. "And then do the math." [Elektroda, Steve Lawson, post #21668932]

What does “4K7” mean in the parts list?

“4K7” means 4.7 kΩ. The decimal is replaced by the multiplier letter to avoid misreads on prints and silkscreens. [Elektroda, Steve Lawson, post #21668942]

What do the zeners actually do in this circuit?

They clamp RS‑232‑derived signals so anything above the zener voltage is shunted to ground through the diode, protecting the EEPROM. They act as safety clamps for CS/CLK/DI lines. [Elektroda, Mike P OKeeffe, post #21668931]

Will raw RS‑232 levels damage the EEPROM without clamping?

They can. RS‑232 can present higher voltages (up to about 12 V). Without clamps, inputs may exceed allowable limits or inject current that a port‑powered interface cannot supply. [Elektroda, Steve Lawson, post #21668932]

What input‑high level does a 93C56 accept?

Per the referenced datasheet rows (VIH1/VIH2), inputs can be read as High from about 2 V upward. That allows using lower clamp voltages while meeting logic thresholds. [Elektroda, Steve Lawson, post #21668944]

Is the 4K7 resistor important?

Yes. It limits current from the serial side into the clamp network and device pins. With inputs on the 93CX6, that resistor helps keep port current within safe limits. [Elektroda, Steve Lawson, post #21668940]

Could a shorted zener hurt anything?

Yes. If the zener on DO shorts and the EEPROM drives DO High, the output stage can be damaged within seconds. This is a key failure mode to consider. [Elektroda, Steve Lawson, post #21668945]

Does 5.1 V risk violating VDD + 0.3 V limits?

It can, depending on tolerances. Example: a 4.95 V regulator and a zener as high as 5.3 V exceed VDD + 0.3 V. Add margin or select 4.7 V parts after checking VIH. [Elektroda, Steve Lawson, post #21668932]

How do I choose the zener value step‑by‑step?

  1. Check EEPROM: max input vs. VDD and minimum VIH.
  2. Check zener datasheet: min/max clamp voltages over current and temperature.
  3. Check regulator minimum output; ensure clamp never exceeds VDD + allowed headroom. Then calculate currents and margins. [Elektroda, Steve Lawson, post #21668932]

I’m using a USB‑to‑Serial adapter—any extra risk?

Same principles apply. Ensure the series resistor limits current and the zeners don’t force heavy clamp currents, since the interface may be powering the circuit. Keep input currents low. [Elektroda, Steve Lawson, post #21668932]

I can’t find an LM2936Z‑5 through‑hole—what substitute works?

In the thread, no direct through‑hole substitute is recommended. The suggestion was to consult datasheets and design to extremes; otherwise, expect lead time. [Elektroda, Steve Lawson, post #21668944]

What’s the difference between absolute max VCC and max input voltage?

Do not confuse them. Absolute max VCC (often ~5.5 V) differs from max input, which is frequently tied to VDD (like VDD + 0.3 V). Design to input limits. [Elektroda, Steve Lawson, post #21668932]
ADVERTISEMENT