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.
Why? Finite State Machine design methodology provides a rigorous way to design synchronous systems. It applies not only to hardware but to software design as well (as we shall see when we study embedded microcontrollers).
Now that we have seen that sequential circuits are almost always (the SR and transparent latches being the exceptions) designed with edge-triggered logic, we need to look at what can go wrong with edge triggering if we are not careful.
Figure 13L.1 gives a preview of what’s coming in the form of waveforms at several points. Before you have built the circuits, these waveforms may be a bit cryptic; but trying to understand these plots may help you to get a grip on the whole project. Then we’ll finish these lab notes with some suggestions on how to test your circuits.
In this chapter we meet an amplifier sensitive to a difference between two inputs rather than to a difference from ground. This novelty permits implementation of the hugely important operational amplifier, which from the next class onward will be our principal analog building block.
You now have a working DAC available in your microcontroller. We are going to use the built-in ADC to allow us to digitize analog signals as well. Once you’ve got these peripherals available, it’s fun to try altering waveforms, fun to see the result on a scope and fun to hear the result.
The skeleton code below initializes the DAC, sets up the SysTick timer to provide a 1ms interrupt for the Delay() function and then outputs a sawtooth waveform on Arduino pin A0.
How do high-gain amplifiers, see Fig. 5W.1, compare with respect to “linearity” or constancy of gain over the output swing? Explain your conclusion, briefly. Assume that each amplifier is fed by a properly-biased input.
We use the Golden Rules to calculate gain if, say, we feed back one part in 100. The Golden Rules rely on an assumption that op-amp gain is very high (because, in Black’s words, “… improvements are attained in proportion to the sacrifice that is made in amplifier gain…”).
Construct the parallel resonant circuit shown in Fig. 3L.1. Drive it with a sinewave, varying the frequency through a range that includes what you calculate to be the circuit’s resonant frequency. Compare the resonant frequency that you observe with the one you calculated.
In the previous chapters we used several of the built-in peripherals in the SparkFun SAMD21 Mini including the DAC, the Timer/Counter and the EIC (in a worked example). While modern microcontrollers like the SAMD21 have an impressive selection of internal devices, many systems incorporating a microcontroller require peripherals not available internally or may need to communicate with some external computer or system. To handle access to external devices and systems, most microcontrollers support some form of external communications.
The principal challenge here is simply to get used to the breadboard and the way to connect instruments to it. We do not expect you to find Ohm’s law surprising. Try to build your circuit on the breadboard, not in the air. Novices often begin by suspending a resistor between the jaws of alligator clips that run to power supply and meters. Try to do better: plug the two leads of the DUT (“Device Under Test”) into the plastic breadboard strip.
Now things get a little more complicated, and more interesting, as we meet frequency-dependent circuits. We rely on the capacitor (or just “cap”) to implement this new trick, which depends on the capacitor’s ability to “remember” its recent history.