This Circuit helps in the monitoring of mains supply voltage. It does not use a isolation step down transformer. This has to be constructed only by skilled people with knowledge of safety requirements.
C1 limits the current and drops most of the voltage. The zener regulated supply is for the chip. C2 can be raised to 220uF or more if required. The bar mode display may consume more power.
Mains Voltage Power Transformers
R2-R3-R5-R6 form a voltage divider to get a sample of the input voltage, D11-C3 get the DC value.
Adjust R5 preset with a log Plastic tweaker to get the 5th led to just turn on when input voltage is at 138V AC. This has to be done after PCB is put in a sealed fire-retardant-plastic or epoxy box. drill a hole in box for plastic tweaker.
National LM3914 – Dot Bar Display Driver
This Circuit is Not a Tested Design. It is an Idea for study
Warning : This Circuit is Mains Operated without Isolation Transformer and will give lethal electric shock if touched when the circuit is turned on. Test circuit only with DC 9V Bench Power Supply to try it out. Do not use 230V AC.
The Circuit below is a paper design and not tested. It can be used for education and information, this can help you make your own design. Please do not just wire it up and expect it to work.
Now let me see if i can explain the circuit, This is a regulated AC power supply. This circuit uses the Mosfet to turn off when voltage goes beyond a reference point. That means it just chops the Sine wave above a point, that also implies that the output may not be pure sine and may have harmonics. The Transformer if well designed may smoothen the chops. Even a Series Inductor or Resonant Circuits may reduce harmonics.
The opto coupler 4N50 Provides isolation and good Current Transfer Ratio. That may mean you may not get a shock and that even a small current signal in Opto-LED will give a saturated or Low Impedance in Opto-Transistor. The Mosfet is used like a Impedance Control switch turned On-Off by Opto. The Optocoupler diode is controlled by the Opamps which work Closed loop. The transformer output is compared with reference to drive opto-led.
This Circuit is based on Teledyne Solid State data book application note. They may not be making these parts anymore but they are available from others.
Regulated High Voltage Power Supply – del20032
The gain of U1 can be controlled by a digital binary 1248 nibble at ABC. The gain at digital 000 is unity or 1 and the gain at various stages are set by 4051.
Precision Attenuator with Digital Control – delabs
There are eight different gains as the steps of gain resistor network is chosen by 4051. The on resistance of 4051 channel around 100E gets added to U1 pin 2 internal impedance.
Auto ranging 4-1/2 Digit Digital Voltmeter – delabs
You can use separate resistor networks with trimpots for each channel if you require but keep the networks total burden on U1 pin 6 to around 10K, not less than than. You can use this to set the gain of a amplifier with the help of a microcontroller.
This circuit changes the gain of opamp U1B in four steps or segments. It can be used to get a linear output from most transducers to 1% levels.U1A is a amplifying buffer use it to boost the signal to the required level.
The resistor values i have put are for an imaginary transducer, you have to design them. The buffered input signal is compared to reference switching points by LM339.
Temperature Measurement and Control
LM339 changes the gain resistors of U1B thru the mux switch 4066. JP1 to JP4 can select either amplification or attenuation of signal. The resistor switched by 4066 can be across R1 or R2 based on JP1 to JP4.
You may have to input transducer values into a spreadsheet and draw a graph. Then divide the graph into 5 segments and deduce the switch points and gain.
A, B, and C are the Digital Control for x, y and z input and output pairs.The voltage at Vinx is stored in C1 when A goes high, when A is low the voltage stored in C1 is read by buffer U2A.
It could be used in DMM circuits as Analog Memory DMM range, AC-DC mode, logic control
Another application of Mux 8 Channel 4-20mA Analog Multiplexer
The stby or standby input should be low when sample and hold is operating. If stby is taken high then C1 Cap is isolated and leakage is minimum. The supply of +/- 7.5V is chosen as OFF resistance of 4053 is high at this supply.
This is the standard configuration on how to Interface a uC like 8051 to PC RS232 with MAX232A. The UART or Serial port was not present in 8049/8749 chips which were the ancestors of 8051/8031. Pages of code were needed to make a software UART in MCS-48. The 8051 integrated the hardware UART and short commands made it tick. The most important innovation which made uC popular was the C in 80C31. C is for CMOS. This made the chip work cooler and work on even batteries and small power supplies.
80C51, SBC, Firmware and Circuits
The 8749 and 8751 are the UV EPROM type of uC. With limited erase/write cycles. The FLASH revolution changed every thing, you could update firmware over a phone line modem. Even without Ethernet, the firmware could be updated by making every embedded device a node on the EPABX. Now TCP/IP and Wi-Fi makes it all very easy.
Read also –
A sample and hold is like an analog memory. If The digital control A is low 4066 switch is open, and when A is high switch is closed. U2B is a buffer so as to ensure quick charging of C1 thru 4066 on resistance of 100E.
Mixed and Interface Circuits
U2A is a FET input opamp buffer which does not load or drain the cap C1. When A goes high the input analog sample is stored in C1. A has to be high for say 10*1uF*100E = 1mS, so that a proper stable sample is stored. When A is low C1 undergoes very slow discharge as opamp input resistance and 4066 off resistance is in giga ohms. The accuracy of reading Vout falls with respect to time due to leakage currents.