To save content items to your account,
please confirm that you agree to abide by our usage policies.
If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account.
Find out more about saving content to .
To save content items to your Kindle, first ensure no-reply@cambridge.org
is added to your Approved Personal Document E-mail List under your Personal Document Settings
on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part
of your Kindle email address below.
Find out more about saving to your Kindle.
Note you can select to save to either the @free.kindle.com or @kindle.com variations.
‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi.
‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.
Part of what we aim for today is a review, since the circuit includes an unusually broad variety of elements. What you will achieve is the wireless transmission of an audio signal, using optical encoding.
This lab presents two devices, both partially digital, that have in common the use of feedback to generate an output related in a useful way to an input signal. The first circuit, an analog-to-digital converter, uses feedback to generate the digital equivalent to an analog input voltage.
In addition, packaged logic gates are low density, typically containing only a few gates.1 That means any reasonably complex digital systems might need tens or hundreds of DIP packages. Because signals have to travel between packages, systems built with discrete logic are limited in speed as well.
AoE works a similar problem in detail: §2.2.5A. The example below differs in describing a follower for AC signals. That makes a difference, as you will see, but the problems are otherwise very similar.
In the last chapter’s Worked Examples, we looked at several digital comparators constructed out of gates. We certainly could translate those to structural models in Verilog, but that misses the point. The advantage of an HDL is it frees us from truth tables, Boolean equations, and the need to implement the result with logic gates. Instead, we can describe the desired result behaviorally.
Use a logic probe, not DVM or – worse – your eyes This should go without saying, but we’re not sure it yet does. We find it boring to stare at a wire, trying to see if it goes where it should.
Defines the level (high or low) in which a signal is “True,” or – better – “Asserted” (see next term). We avoid the former because many people associate “True” with “High,” and that is an association we must break.
Here we will do a problem much like the one we did more sketchily in . If you are comfortable with the design process, skip to §§3W.1.6 and 3W.1.7, where we meet some new issues.
In the lab exercises, from now and ever after, you will want to be able to read resistor values without pulling out a meter to measure the part’s value (we do sometimes find desperate students resorting to such desperate means). The process will seem laborious, at first; but soon, as you get used to at least the common resistance values, you will be able to read many color codes at a glance.
We want to solve the problem of optimizing circuit performance by selecting from the great variety of available op-amps. We will try to make sense of the fact – not predictable from our first view of op-amps as essentially ideal – that there are not one or two op-amps available but approximately 30,000 listed (on the day of this writing) on one distributor’s website (DigiKey).
The problem – just analysis this time: This is a rare departure from our practice of asking you to design, not to analyze. Inventing a difference amp1 seemed a tall order, and, on the other hand, the difference amplifier’s behavior seems far from obvious. So, here’s a little workout in seeing how the circuit operates.
Serial data input and output are classic applications where interrupt-driven I/O makes sense. Rather than sit in a loop wasting CPU cycles waiting for each byte to be sent or received, an ISR can load a new byte into the output register each time the previous byte has been sent, or store each new byte in a buffer as they are received.
Insert the shorter pins of the 2x5 SWD header from the top of the board and solder from the rear. Use care to avoid solder bridges on the closely spaced pins of this connector: see Fig. 22S.2.