User Tools

Site Tools


dig:lab_4_ardu

Lab 4

In lab_3 we built a prototype of our microphone-servo board. Now let's design the schematic of our own PCB. We'll draw a schematic of the microphone amplifier and servo supply and connector from lab 3, using the PCB design tool KiCad (formerly we used Eagle). It is not a very super powerful tool but installs very quickly, can run on multiple platforms, and has lots of user-developed parts libraries. We'll start today the layout of this board and you have time during next week to complete it and send by email.

This is an individual exercise and each student must complete it on their own laptop.

Preparation (before lab exercise)

  1. See pcb for the links to download the PCB design software.

Schematics Instructions

In this exercise we'll draw a schematic of the microphone amplifier and servo supply / connector from lab_3:

Microphone amplifier and servo supply

Remember that you actually modified some resistor values in lab_3 to bring the LM324 output more in the middle of it working range (see datasheet extract below).

  1. Install PCB software - see pcb.
  2. Launch the PCB software.
  3. Following the tutorial, make a new schematic and populate it with the needed components. You will need to download some libraries from pcb links and unzip/add these libraries.
  4. Wire up the parts according to the sketch above.
  5. Ensure your designators and values are correct.
  6. Place a large label indicating the design name and designer name (your name).

—-

When you are finished with your board schematic, zip your design and send it to kiselev@ini.uzh.ch?subject=micboard schematic for Electronics for Physicists II

LM324 tip

The LMC6484 is a rail to rail input and output opamp. However, the input range of the LM234 is limited:

Input range of LM324

Data sheets

Layout Instructions

Now let's do the layout of our PCB. This will conclude our exercises with PCB design; after this we'll move on to logic design with FPGAs.

Please observe the following points:

  1. You will be doing a 2-layer daughterboard. Therefore your power must be routed in the signal layers. Pay attention that you try to keep the power routing to the digital and analog parts separate except where they join at the connections to a ground pin from the nano board header.
  2. Keep sensitive electrical nodes far away from the noisy digital servo control.
  3. Place at least one bypass capacitor near the microphone preamplifier circuit.
  4. Don't put components over the nano board.

You may find it helpful to again follow the tutorial.

Below shows the template board layout.

template board layout

When you are finished with your board schematic and layout, send a zip or tgz archive of your design to kiselev@ini.uzh.ch?subject=micboard design for Electronics for Physicists II

Here you have a screenshot of a possible solution (done using Eagle) that uses 2 layers. Polygons have been used for GND (bottom) and 3.3v (top).

Schematic of the solution  PCB layout of the solution

dig/lab_4_ardu.txt · Last modified: 2024/02/29 07:28 by 127.0.0.1