Step 6Circuit Description - Power Supply, PC Interface
and the RS-232 levels to/from the PC, and also adds a layer of protection between scope and PC. The data is sent at 19200 baud, which according to my tests is about as fast as the microcontroller can read the data from the memory, meaning an increase in baud rate does not translate into an increase in screen update rate.
As for the power supply, the scope runs from any generic DC power supply capable of supplying at
least 300mA (the scope really only uses about 150mA, but it is better to have at least some headroom) at a voltage between 9V and 15V). This voltage is regulated down to a very constant 5V with the venerable (and easy-to-obtain and inexpensive) 7805 linear regulator.
You may wonder why there are two identical regulators in the circuit. The reason is that digital logic
chips (like the microcontroller or the sample logic) cause large spikes in current whenever they are
switching (basically whenever the clock toggles). This in turn produces sudden drops in the supply
current. While this is usually of little consequence for the digital circuits as long as it doesn't get too
excessive, it impacts the accuracy of the analog circuits in the scope and would introduce noise in the measured signal.
To avoid this situation, I chose a very common supply arrangement where one regulator supplies all digital logic, while the second regulator supplies the analog portion of the circuit (op-amps,
digital-to-analog converters supplying offset voltages, analog section of the digital-to-analog converters). That way compared to my original breadboard version of the scope I was able to reduce the noise on the analog power supply by about a factor of three, to less than one LSB of the 8-bit sampler. The analog supply voltage also doubles as reference voltage (against which the signal level gets measured), which again asks for a very stable supply because any changes or noise would show up as changes or noise in the measured signal.
Four 100uF electrolytic capacitors (one before each of the regulators, and one after each one) buffer supply current changes. In addition, a 0.1uF ceramic capacitor close to each IC (distributed over the rest of the schematic pages) buffers fast current spikes caused by digital switching.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|





























































