The 100% Creative Workspace

Bernard Hiew sure knows how to get the most of his Penang, Malaysia-based “humble” electrical engineering workspace. He turned the third room of his apartment into a complete innovation space that’s used for everything from engineering to 3-D printing to playing music to woodworking.

Hiew's workspace features component storage, a soldering station, power supply, and more

Hiew’s workspace features component storage, a soldering station, power supply, and more

Hiew noted:

I spend my most of my time here, my little humble workspace. This room is not a dedicated workshop at somewhere else but is in my house. Half of the room is my workspace … The other half of the room is the main table where we do most of office work and surfing. Recently my wife is working from home, so she is occupying this table most of the time.


To the right of his main engineering space is a bookcase and additional shelving

Hiew proves that with a little planning and ingenuity, you can create a fully functional workspace complete with essential engineering equipment and tools. His space includes a soldering station, a PCB UV box, multimeter, power station, computer, book shelves, and even a couch for relaxing and playing music. He also makes great use of storage containers for his electrical components.


The other side of the room is for relaxing, as well as playing music

Share your space! Circuit Cellar is interested in finding as many workspaces as possible and sharing them with the world. Click here to submit photos and information about your workspace. Write “workspace” in the subject line of the email, and include info such as where you’re located (city, country), the projects you build in your space, your tech interests, your occupation, and more. If you have an interesting space, we might feature it on!


Advanced Data-Logging Application

Measurement Computing Corp. (MCC) recently announced the release of DAQami, an advanced data-logging application that enables you to acquire, view, and log data from MCC USB DAQ devices.

DAQami currently supports over 40 MCC hardware devices

DAQami currently supports over 40 MCC hardware devices

In less than 5 minutes after installing DAQami and plugging in a DAQ device, you can create an automatic configuration and acquire live data, MCC noted in a release.

Data can be acquired in volts and degrees, as well as custom units with linear scaling. Channels can be viewed on any combination of scalar, strip, and block displays. Once data is acquired and logged, you can use DAQami to review the saved data file.

The DAQami user interface is flexible and provides the ability to customize display size and location, zoom factor, and channel/trace colors. You can configure MCC DAQ hardware within the application, selecting sam­pling rate, start and stop triggers, and sample count.

DAQami currently supports over 40 MCC hardware devices including the $99 100-ksps USB-201 DAQ device.

DAQami costs $49 when purchased with MCC DAQ hardware.

Source: Measurement Computing Corp.

Issue 286: EQ Answers

Question 1—A divider is a logic module that takes two binary numbers and produces their numerical quotient (and optionally, the remainder). The basic structure is a series of subtractions and multiplexers, where the multiplexer uses the result of the subtraciton to select the value that gets passed to the next step. The quotient is formed from the bits used to control the multiplexers, and the remainder is the result of the last subtraction.

If it is implemented purely combinatorially, then the critical path through all of this logic is quite long (even with carry-lookahead in the subtractors) and the clock cycle must be very slow. What could be done to shorten the clock period without losing the ability to get a result on every clock?

Answer 1—Pretty much any large chunk of combinatorial logic can be pipelined in order to reduce the clock period. This allows it to produce more results in a given amount of time, at the expense of increasing the latency for any particular result.

Divider logic is very easy to pipeline, and the number of pipeline stages you can use is fairly arbitrary. You could insert a pipeline register after each subtract-mux pair, or you might choose to do two or more subtract-mux stages per pipeline register You could even go so far as to pipeline the subtracts and the muxes separately (or even pipeline *within* each subtract) in order to get the fastest possible clock speed, but this would be rather extreme.

The more pipeline registers you use, the shorter the critical path (and the clock period) can be, but you use more resources (the registers). Also, the overall latency goes up, since you need to account for the setup and propagation times of the pipeline registers in the clock period (in addition to the subtract-mux logic delays). This gets multiplied by the number of pipeline stages in order to compute the total latency.

Question 2—On the other hand, what could be done to reduce the amount of logic required for the divider, giving up the ability to have a result on every clock?


Answer 2—If you don’t need the level of performance provided by a pipelined divider, you can computes the quotient serially, one bit at a time. You would just need one subtractor and one multiplexer, along with registers to hold the input values, quotient bits and the intermediate result.

You could potentially compute more than one bit per clock period using additional subtract-mux stages. This gives you the flexibility to trade off space and time as needed for a particular application.

Question 3—An engineer wanted to build an 8-MHz filter that had a very narrow bandwidth, so he used a crystal lattice filter like this:


However, when he built and tested his filter, he discovered that while it worked fine around 8 MHz, the attenuation at very high frequencies (e.g., >80 MHz) was very much reduced. What caused this?

Answer 3—The equivalent circuit for a quartz crystal is something like this:EQ-fig2-CC287-June14

The components across the bottom represent the mechanical resonance of the crystal itself, while the capacitor at the top represents the capacitance of the electrodes and holder. Typical values are:

  • Cser: 10s of fF (yes, femtofarads, 10-15F)
  • L: 10s of mH
  • R: 10s of ohms
  • Cpar: 10s of pF

The crystal has a series-resonant frequency based on just Cser and L. It has a relatively low impedance (basically just R) at this frequency.

It also has a parallel-resonant (sometimes called “antiresonant”) frequency when you consider the entire loop, including Cpar. Since Cser and Cpar are essentially in series, together they have a slightly lower capacitance than Cser alone, so the parallel-resonant frequency is slightly higher. The crystal’s impedance is very high at this frequency.

But at frequencies much higher than either of the resonant frequencies, you can see that the impedance of Cparalone dominates, and this just keeps decreasing with increasing frequency. This reduces the crystal lattice filter to a simple capacitive divider, which passes high freqeuncies with little attenuation.

Question 4—Suppose you know that a nominal 10.000 MHz crystal has a series-resonant frequency of 9.996490 MHz and a parallel-resonant frequency of 10.017730 MHz. You also know that its equivalent series capacitance is 27.1 fF. How can you calculate the value of its parallel capacitance?

Answer 4—First, calculate the crystal’s equivalent inductance, based on the series-resonant frequency:EQ-equation1-CC287-June14

Next, calculate the capacitance required to resonate with that inductance at the parallel-resonant frequency:EQ-equation2-CC287-June14

Finally, calculate the value of Cpar required to give that value of capacitance when in series with Cser:EQ-equation3-CC287-June14

Note that all three equations can be combined into one, and this reduces to:EQ-equation4-CC287-June14

Electrical Engineering Crossword (Issue 287)

The answers to Circuit Cellar’s April electronics engineering crossword puzzle are now available.



1. BEAMFORMING—Signal processing technique

7. HETERODYNERECEIVER—Converts a signal to an intermediate frequency [two words]

8. AMIGA—A high-resolution PC based on Motorola’s 6800 microprocessor family

9. NAGLING—Creates “Russian doll”-type packets to improve a TCP/IP network’s performance

10. SERVERBLADE—A thin circuit board designed for one specific application [two words]

15. FUZZING—Tests for coding and security errors

17. PHASECHANGE—Nonvolatile RAM [two words]

18. WALLEDGARDEN—Restricts access to Web content and services [two words]

19. SERIALBACKPACK—A PCB interface that goes between a parallel LCD and a microcontroller [two words]

20. SLACKWARE—Open-source, Linux-based OS


2. ROOTMEANSQUARE—Determines an AC wave’s voltage [three words]

3. ROENTGEN—IBM’s active matrix LCD

4. KERNELPANIC—Happens when a fatal error is detected [two words]

5. BIPHASEENCODING—Requires a state transition at the end of every data bit [two words]

6. PERMITTIVITY—Ability to be polarized

11. VOODOO—Helps create realistic 3-D graphics

12. FLANGING—An audio process that combines signals to create a comb filter effect

13. BREADBOARDING—Used for circuit design experimentation

14. STATOHM—Five of these equal approximately 4.5 × 1012

16. TELEDACTYL—Utilizes human speech to code


Electrical Engineering Crossword (Issue 286)

The answers to Circuit Cellar’s April electronics engineering crossword puzzle are now available.



2. SAMBA—This networking protocol enables you to write to an embedded file system from a Windows PC

7. ELECTROMAGNETICFIELD—Used for data transfer [two words]

8. CAPACITOR—These types of microphones were commonly called “condensers” until about 1970

9. HOMODYNE—A receiver with direct amplification

13. BLENDER—Contains several modeling features and an integrated game engine

15. PULSESHAPING—Used to improve wired or wireless communication link performance [two words]

17. BRILLOUINSCATTERING—Occurs when certain types of light change their frequency and route [two words]

18. CLOCKSIGNAL—Used to coordinate circuits’ actions [two words]

19. RASPBERRYPI—Designed to encourage scholastic computer science lessons [two words]


1. NONRETURNTOZERO—Typically 1s are a positive voltage and 0s are a negative voltage [four words]

3. BITARRAY—Provides compact storage for computing and digital communications [two words]

4. DOUBLEDATARATE—Coordinates the rising and falling edges of an [18 Across] to transfer data [three words]

5. ANECHOIC—Absent of sound

6. FIRSTINFIRSTOUT—Oldest requests receive priority [four words]


11. CROSSTALK—Occurs when accidental coupling causes unwanted signals

12. BINISTOR—An electronic oscillator component

14. NANCY—Receiver that intercepts or demodulates IR radiation

16. BEAGLEA good breed of analyzer for I2C and SPI designs