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.
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.
Then the remainder of the lab is given to trying applications for the so-called analog switch or transmission gate: a switch that can pass a signal in either direction, doing a good job of approximating a mechanical switch – or, more precisely, the electromechanical switch called a relay.
In this lab you start by building both synchronous and ripple counters out of discrete flip-flops. You then move up from the modest “divide-by-four” to an 8-bit “fully synchronous” counter.
All the programs we have created so far follow the Arduino model of a set of initialization functions that execute once (akin to Arduino setup()) followed by a while(1) loop that executes forever (like the Arduino loop() function).
The Digital Project Lab is an open-ended two day lab session that gives you the opportunity to design and build something of moderate complexity using the WebFPGA and any of the components and techniques we have discussed in the course so far.
The PID control loop and the lock-in amplifier are each significant builds and we don’t expect you will be able to complete both of them in a single lab session. Feel free to do one, the other, or both as your time and interest permit.
We have noted elsewhere that all the op-amps we meet in this course use internal “frequency compensation” that makes them stable – at least, if we refrain from putting strange things within their feedback loops. Frequency compensation, surprisingly enough, means deliberate rolling-off of the amplifier’s gain.
Using functions to interface to hardware not only makes your code clearer, it also makes it easier to maintain. Consider the LED and switch connected to the Arduino I/O pins shown in Fig. 23S.1 below.
Problem: convert a range of voltages to a range of digital codes. The complementary process – digital to analog – is intellectually less challenging and less various, but useful.
The MOSFET version – an alternative regulator design – allows you to try the new transistor type as you try the regulator. Both home-made regulators raise stability issues that you will recognize from your experience with Lab 9L’s “nasty oscillators.” This exercise is not realistic: you are not at all likely to design a regulator from parts; we hope, though, that designing one once will give you insight into how a linear regulator works.
Sounds simple, and it is. We will try to point out quick ways to handle these familiar circuit elements. We will concentrate on one circuit fragment, the voltage divider.