Digital Benchtop Power Supply (3)
The digital benchtop power supply is controlled by a microcontroller programmed in PIC BASIC, while a Visual BASIC program is responsible for producing the control panel display on a PC.Figure 1 shows the flowchart of the program in the microcontroller. At start-up a brief initialisation sequence runs, which resets the set values to zero and configures some of the microcontroller’s pins. The next step, the measurement of the actual voltage and current values, already forms part of the main program loop. All the remaining parts of the program follow sequentially in this loop. One branch that can occur is when the push-buttons are being read.
Downloading of this magazine article is reserved for Elektor Members only.
Already a member? click here
to log in.
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor Members can exclusively download these files for free as part of their Membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends its business partner Eurocircuits as the company of choice for its own prototypes and volume production in selected cases.