Difference between revisions of "PracticalTheExpandedToolbox/Lab3"

From DigitalCraft_Wiki
Jump to navigation Jump to search
 
(29 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
It is even possible to (almost) entirely knit your circuit: [http://ebrukurbak.net/the-knitted-radio/ The Knitted Radio], [http://ebrukurbak.net/draperyfm/ Drapery FM].
 
It is even possible to (almost) entirely knit your circuit: [http://ebrukurbak.net/the-knitted-radio/ The Knitted Radio], [http://ebrukurbak.net/draperyfm/ Drapery FM].
  
In this lab you will be making a circuit with your preferred method with exception of the breadboard. The circuit presented here is a touch sensitive noise making circuit.
+
In this lab you will be making a circuit with your preferred method with exception of the breadboard. The circuit presented here is a touch sensitive noise making circuit. In the previous classes we looked at different forms of electricity; static and direct current. But can you guess what kind of current is used to create sound (move a membrane and thus air)?
 +
 +
[[File:555piano.jpg|500px|center|555 touch piano]]
 +
 
 +
<br>
 +
<br>
  
 
== Symbols ==
 
== Symbols ==
Line 27: Line 32:
  
 
* Specs: how much voltage does this component need? how much current does it draw?
 
* Specs: how much voltage does this component need? how much current does it draw?
* Pin-out's: where to connect what to?
+
* Pin-out's: where to connect what to? Hint: [http://www.evilmadscientist.com/2010/basics-finding-pin-1 find pin number 1!]
 
* Example applications: example schematics for different functions/uses of the chip
 
* Example applications: example schematics for different functions/uses of the chip
 
* Footprint: measurements for making schematics etc, how big is the physical object?
 
* Footprint: measurements for making schematics etc, how big is the physical object?
Line 34: Line 39:
  
  
 +
<gallery>
 +
Image:Pin1bar.jpg|grey bar indicates IC orientation, Pin 1 is on the lower left hand side.
 +
Image:Pin12.jpg|Half-moon shape, indicates IC orientation, Pin 1 is on the lower left hand side.
 +
</gallery>
  
 
== Components ==
 
== Components ==
 
There are two main types of component mounting: DIP<ref>https://en.wikipedia.org/wiki/Dual_in-line_package</ref> (also known as through hole) and SMD<ref>https://en.wikipedia.org/wiki/Surface-mount_technology</ref>.
 
There are two main types of component mounting: DIP<ref>https://en.wikipedia.org/wiki/Dual_in-line_package</ref> (also known as through hole) and SMD<ref>https://en.wikipedia.org/wiki/Surface-mount_technology</ref>.
  
* DIP or through hole components have ''legs'' you stick through holes in the PCB. You solder the legs to the bottom (copper) side of the PCB.
+
* DIP or through hole components have ''legs'' you stick through holes in the PCB. You solder the legs to the bottom (copper) side of the PCB. Harder and harder to find now everything gets made by machines.
* SMD components have legs you solder on top of the PCB. Hence you do not need to drill any holes. This method of mounting components is the standard way these days as components can be much smaller and fabrication is cheaper (less drilling and plating of holes). Many more advanced components only come in SMD packages so it is a valuable skill to be able to work with and solder these components. However, as SMD components are usually meant to be mounted by machines, some are difficult or too small to handle with human hands, so when looking for components be sure to carefully check which package you select. A good overview of package types, sizes and names can be found on Wikipedia: https://en.wikipedia.org/wiki/Surface-mount_technology#Packages
+
* SMD components have legs you solder on top of the PCB. Hence you do not need to drill any holes. This method of mounting components is the standard way these days as components can be much smaller and fabrication is cheaper (less drilling and plating of holes). Many more advanced components only come in SMD packages so it is a valuable skill to be able to work with and solder these components. However, as SMD components are usually meant to be mounted by machines, some are difficult or too small to handle with human hands, so when looking for components be sure to carefully check which package you select. A good overview of package types, sizes and names can be found on Wikipedia: https://en.wikipedia.org/wiki/Surface-mount_technology#Packages For machines, by machines.
 
<br/>
 
<br/>
  
 
In this Lab we will mix both!
 
In this Lab we will mix both!
  
=== NE555 ===
+
=== NE555 (IC)===
The NE555, or commonly known as '555 timer' is a very versatile chip or 'IC'. An 'IC' or Integrated Circuit is a (complex) electronic circuit build into a tiny (often black) package. It can be used to create sound (like in this Lab), blink lights, fade lights, turn things on for a short or long time many more. Many things you would want to use e.g. an Arduino for can be solved by this little chip alone or in combination some other circuits resulting in a much smaller and cheaper solution!
+
The NE555, or commonly known as '555 timer' is a very versatile chip or 'IC'. An 'IC' or Integrated Circuit is a (complex) electronic circuit build into a tiny (often black) package. It can be used to create sound (like in this Lab), blink lights, fade lights, drive servo motors (at variable speed)  turn things on for a short or long time many more. Many things you would want to use e.g. an Arduino for can be solved by this little chip alone or in combination some other circuits resulting in a much smaller and cheaper solution!
  
 
The 555 timer chip, like many other chips come in a variety of packages. The most common for this chip are DIP and SOIC. We will use the SOIC version in this lab.
 
The 555 timer chip, like many other chips come in a variety of packages. The most common for this chip are DIP and SOIC. We will use the SOIC version in this lab.
Line 54: Line 63:
 
</gallery>
 
</gallery>
 
<br/>
 
<br/>
 +
 +
==== 555 function ====
 +
The 555 can generate  a square wave signal. A discrete signal of on and off, 1's and 0's if you like. The speed of 1's and 0's is the frequency of the signal. You can turn something on and off a led every day or every second. But you can also turn on/off a speaker (membrane+electromagnet) at the speed of human hearing 20-20.000 times a second, or 20 kilohertz. Here we use the 555 as 'astable multivibrator' read more about it here: https://en.wikipedia.org/wiki/555_timer_IC#Astable
  
 
=== Resistor (R)===
 
=== Resistor (R)===
The resistors we will use are 3216 (1206 imperial) size resistors. This means these are 3.2mm long and 1.6mm wide. There are a variety of sizes available<ref>https://en.wikipedia.org/wiki/Surface-mount_technology#Rectangular_passive_components</ref>. For hand soldering I would not recommend to smaller than 1608 (0603 imperial) although 1005 (0402 imperial) is still possible with some practice. Anything smaller is only practical for machine assembled boards.
+
The resistors we will use have 4 bands. Three coloured ones and a Gold one. The colours can be used to find out what the value of the resistor is, the Gold band signifies the 'tolerance', the percentage of variety in resistance amongst individual components. Gold is 5% tolerance, Silver is 10%.
 +
Here is a nice online calculator to find out the color or values of resistors: https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code-4-band
  
 
<gallery>
 
<gallery>
Image:330px-SMT_sizes,_based_on_original_by_Zureks.svg.png|resistor and capacitor sizes
+
Image:Resistors.png|Various through-hole-type resistors
Image:1206 resistor.jpg|A 3216 size resistor as we used in the lab
 
 
</gallery>
 
</gallery>
  
The resistors have a marking on them indicating the resistance value in Ohms<ref>https://en.wikipedia.org/wiki/Surface-mount_technology#Resistors</ref>. The resistors we use have a 3 digit marking: two significant digits and a multiplier. This means you can read the first two digits as you would normaly, the last digit tells you how many zeros to add:
 
  
* 220 would mean a 22 and 0 zeros or 22 Ohm
+
<br/>
* 221 would mean a 22 and 1 zeros or 220 Ohm
 
* 222 would mean a 22 and 2 zoros or 2200 Ohm or 2.2 kilo Ohm or 2.2k
 
* 223 would mean a 22 and 3 zeros or 22000 or 22 kilo Ohm or 22k
 
* 224 would mean a 22 and 4 zeros or 220000 or 220 kilo Ohm or 220k
 
* etc.
 
  
There is also a special type which is indicated as '''0R''', this is a zero ohm resistor. It is often used as wire bridge or as ''placeholder'' if there may be the possibility a real resistor is needed at some point.
 
 
<br/>
 
 
=== Capacitor (C)===
 
=== Capacitor (C)===
The capacitors have the same sizes as the resistors. However, capacitors have no marking on them. Instead they come in a variety of color shades. This makes them a bit harder to identify. The general rule is the lighter the color and the thinner the capacitor, the lower its value.  
+
Capacitors come in different kinds but work in the same way: they act as 'buckets' and release the electrons when the bucket is full. They consists of a conductor and insulator called a dielectric. The type of dielectric determains the type of capacitor (and the amount of electrons it can hold). Main types of capacitors are air-capacitors, or egg-cutters (low capacity) used in old radios as tuning capacitors. Ceramic capacitors, also of low capacitance, unpolarized just like resistors. Electrolytic capacitors, polarized, large capacity ;)
 +
These various types also come in all shapes and sizes.
  
 
<gallery>
 
<gallery>
Image:1206 capacitor.jpg|several ceramic SMD capactors
+
Image:Ceramic-capacitors.png|several ceramic capactors
 +
Image:Elco.jpg|electrolytic capacitor, showing the '-'minus side
 
</gallery>
 
</gallery>
  
The capacitors we use are all of the ceramic type and do not have a polarity.
+
Ceramic capacitors don't have polarity, Electrolytic (or 'elco' in Dutch slang) do have a + and - side (polarity;)
 
<br/>
 
<br/>
  
Line 97: Line 102:
 
! Has polarity (does the part orientation matter?)
 
! Has polarity (does the part orientation matter?)
 
|-
 
|-
| IC
 
 
| 555
 
| 555
 +
| U1
 
| NE555  
 
| NE555  
 
| Yes
 
| Yes
Line 104: Line 109:
 
| Resistor
 
| Resistor
 
| R1
 
| R1
| 220k (224)
+
| 1k
 
| No
 
| No
 
|-
 
|-
 
| Resistor
 
| Resistor
 
| R2
 
| R2
| 10k (103)
+
| 68k 
 
| No
 
| No
 
|-
 
|-
 
| Resistor
 
| Resistor
| R3, R4
+
| R3
| 1k (102)
+
| 56k
 
| No
 
| No
 
|-
 
|-
 
| Resistor
 
| Resistor
| R6
+
| R4, R5
| 0R (0)
+
| 100k
 
| No
 
| No
 
|-
 
|-
| Resistor
+
| Speaker
| R5, R7
+
| SP1
| Do not mount (yet)
+
| 8 Ohms
 
| No
 
| No
 
|-
 
|-
 
| Capacitor
 
| Capacitor
 
| C1
 
| C1
| 10uF (dark brown)
+
| 100nF (nano Fahrad)
| No
 
|-
 
| Capacitor
 
| C2
 
| 0.1uF (micro Fahrad) (brown)  
 
 
| No
 
| No
 
|-
 
|-
 
| Capacitor
 
| Capacitor
 
| C3
 
| C3
| 1nF (nano Fahrad) (light grey)
+
| 1uF (micro Fahrad)  
| No
+
| Yes
|-
 
| LED
 
| Led1, Led2
 
| -
 
| Yes (green dot (cathode) points down towards board edge)
 
 
|-
 
|-
 
| 9V Battery Clip
 
| 9V Battery Clip
| VCC
+
| VCC1
 
| -
 
| -
 
| Yes
 
| Yes
|-
 
| Speaker
 
| SPK
 
| 8 Ohm - 16 Ohm
 
| No
 
 
|}
 
|}
  
 
== Schematics ==
 
== Schematics ==
 +
 +
Schematics are a (semi)standardised* way of representing an electric circuit, using the standard symbols you received earlier. This abstract way of representing a schematic does not limit the way you construct your circuit, be it dead-bug style, on a PCB, volumetric, on a piece of cardboard or coaster.  Try to collect all the components from the BOM, figure out what symbol stands for what physical component and be aware of the orientation/polarity and pin numbers on the IC (hint read the datasheet)!
 +
 +
*Andrew S. Tanenbaum — 'The good thing about standards is that there are so many to choose from.'
 +
 +
<br><br>
 +
Below you find the schematics of the circuit we are going to make. There are 4 different ones, can you spot the difference?
 +
 +
<del>You will be given 4 schematics to choose from.</del>
 +
 +
[[File:Variousschematics.jpg|300px|thumb|center|The schematic we will use]]
 +
 
== Stencils ==
 
== Stencils ==
 +
 +
Stencils can be used for exposing photo resistive printed circuit boards, or to be printed directly using the Mimaki UV flatbad printer. The exposed areas will be etch-able with acid (publication station), leaving the copper in places that are covered/black.
 +
 +
Everything that is black, stays copper, the rest will be etched away with copper gone. You can also use a permanent marker and [https://www.youtube.com/watch?v=ggkOc4zrpSI draw your circuit yourself!]
 +
 +
Find the stencil for a DIP sized 555 circuit here (actual size: 100x50mm):
 +
[[Media:555piano-2-10x5cm-3_etch_copper_top.pdf]]
 +
 +
Find the stencil for a SMD soic-8 sized 555 circuit here (actual size: 100x50mm):
 +
[[Media:555piano-soic8-pin1-to-gnd.pdf]] < WARNING: you still need to route pin one to ground!
 +
 +
<gallery>
 +
Image:pianopreview.png|preview (not the correct size, do not use for production!)
 +
Image:Handdrawnpcb.jpg|hand drawn pcb example
 +
</gallery>
 +
 
== Soldering ==
 
== Soldering ==
 +
 +
The real challenge. Soldering is easy, but we are working with SMD parts now and these are TINY! A pair ow tweezers and helping hands is recommended.
 +
I constructed the example in dead bug style (upsidedown IC) so the pins don't touch the PCB and don't short circuit.
 +
 +
=== How to ===
 +
Read this!
 +
 +
[[File:howtosolder.png|500px|thumb|center|how to solder]]
 +
 +
 +
Source: https://www.elabtronics.com/downloads/resources_tutorials_ledfunstudentmanual.pdf (more indepth info  + tips)
  
 
== Assignment ==
 
== Assignment ==
Line 168: Line 197:
 
* Choose a schematic  
 
* Choose a schematic  
 
* Choose a desired method to make the circuit and make it (work)!
 
* Choose a desired method to make the circuit and make it (work)!
 +
* Read the How to Solder and maybe practice first.
 
* Watch the polarity of components! Prevent short circuits, 'solder bridges', good luck!
 
* Watch the polarity of components! Prevent short circuits, 'solder bridges', good luck!
  

Latest revision as of 13:13, 19 May 2017

Introduction

Circuits can be made in many different ways:

  • prototype board (e.g. perfboard or stripboard)[5]
  • volumetric circuits[6][7]
  • Etching a Printed Circuit Board (PCB)[8][9].

There are still other ways of making circuits, for example using the vinyl cutter to cut copper traces, using conductive fabric, etc. A nice overview of other alternative methods you can find at the great website of KobaKant: How To Get What You Want. Besides a lot of other interesting stuff (browse through it!!) the traces making sections you can find here: Kobakant section on Traces.

It is even possible to (almost) entirely knit your circuit: The Knitted Radio, Drapery FM.

In this lab you will be making a circuit with your preferred method with exception of the breadboard. The circuit presented here is a touch sensitive noise making circuit. In the previous classes we looked at different forms of electricity; static and direct current. But can you guess what kind of current is used to create sound (move a membrane and thus air)?

555 touch piano



Symbols

During first class you received a leaflet with symbols used schematics of electronic circuits and their meaning. You will need this to decipher the schematic below. Here you find a copy of an american version (notice the resistor symbols):

alt text

Datasheets

All electronic components come with a datasheet. This is like the service manual of the component. For example IC's or Integrated Circuits are (complex) electronics circuits build into a tiny (often black) package. The datasheet will reveal the function of these 'black boxes'. Among others, datasheets can tell you:

  • Specs: how much voltage does this component need? how much current does it draw?
  • Pin-out's: where to connect what to? Hint: find pin number 1!
  • Example applications: example schematics for different functions/uses of the chip
  • Footprint: measurements for making schematics etc, how big is the physical object?

The datasheet for the '555' IC we will be using can be found here: Media:Na555.pdf


Components

There are two main types of component mounting: DIP[10] (also known as through hole) and SMD[11].

  • DIP or through hole components have legs you stick through holes in the PCB. You solder the legs to the bottom (copper) side of the PCB. Harder and harder to find now everything gets made by machines.
  • SMD components have legs you solder on top of the PCB. Hence you do not need to drill any holes. This method of mounting components is the standard way these days as components can be much smaller and fabrication is cheaper (less drilling and plating of holes). Many more advanced components only come in SMD packages so it is a valuable skill to be able to work with and solder these components. However, as SMD components are usually meant to be mounted by machines, some are difficult or too small to handle with human hands, so when looking for components be sure to carefully check which package you select. A good overview of package types, sizes and names can be found on Wikipedia: https://en.wikipedia.org/wiki/Surface-mount_technology#Packages For machines, by machines.


In this Lab we will mix both!

NE555 (IC)

The NE555, or commonly known as '555 timer' is a very versatile chip or 'IC'. An 'IC' or Integrated Circuit is a (complex) electronic circuit build into a tiny (often black) package. It can be used to create sound (like in this Lab), blink lights, fade lights, drive servo motors (at variable speed) turn things on for a short or long time many more. Many things you would want to use e.g. an Arduino for can be solved by this little chip alone or in combination some other circuits resulting in a much smaller and cheaper solution!

The 555 timer chip, like many other chips come in a variety of packages. The most common for this chip are DIP and SOIC. We will use the SOIC version in this lab.


555 function

The 555 can generate a square wave signal. A discrete signal of on and off, 1's and 0's if you like. The speed of 1's and 0's is the frequency of the signal. You can turn something on and off a led every day or every second. But you can also turn on/off a speaker (membrane+electromagnet) at the speed of human hearing 20-20.000 times a second, or 20 kilohertz. Here we use the 555 as 'astable multivibrator' read more about it here: https://en.wikipedia.org/wiki/555_timer_IC#Astable

Resistor (R)

The resistors we will use have 4 bands. Three coloured ones and a Gold one. The colours can be used to find out what the value of the resistor is, the Gold band signifies the 'tolerance', the percentage of variety in resistance amongst individual components. Gold is 5% tolerance, Silver is 10%. Here is a nice online calculator to find out the color or values of resistors: https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code-4-band



Capacitor (C)

Capacitors come in different kinds but work in the same way: they act as 'buckets' and release the electrons when the bucket is full. They consists of a conductor and insulator called a dielectric. The type of dielectric determains the type of capacitor (and the amount of electrons it can hold). Main types of capacitors are air-capacitors, or egg-cutters (low capacity) used in old radios as tuning capacitors. Ceramic capacitors, also of low capacitance, unpolarized just like resistors. Electrolytic capacitors, polarized, large capacity ;) These various types also come in all shapes and sizes.

Ceramic capacitors don't have polarity, Electrolytic (or 'elco' in Dutch slang) do have a + and - side (polarity;)

BOM

BOM or Bill Of Materials is common engineering language for list of components you need to build something. Our current BOM:


Component Label on schematic and board layout Value Has polarity (does the part orientation matter?)
555 U1 NE555 Yes
Resistor R1 1k No
Resistor R2 68k No
Resistor R3 56k No
Resistor R4, R5 100k No
Speaker SP1 8 Ohms No
Capacitor C1 100nF (nano Fahrad) No
Capacitor C3 1uF (micro Fahrad) Yes
9V Battery Clip VCC1 - Yes

Schematics

Schematics are a (semi)standardised* way of representing an electric circuit, using the standard symbols you received earlier. This abstract way of representing a schematic does not limit the way you construct your circuit, be it dead-bug style, on a PCB, volumetric, on a piece of cardboard or coaster. Try to collect all the components from the BOM, figure out what symbol stands for what physical component and be aware of the orientation/polarity and pin numbers on the IC (hint read the datasheet)!

  • Andrew S. Tanenbaum — 'The good thing about standards is that there are so many to choose from.'



Below you find the schematics of the circuit we are going to make. There are 4 different ones, can you spot the difference?

You will be given 4 schematics to choose from.

The schematic we will use

Stencils

Stencils can be used for exposing photo resistive printed circuit boards, or to be printed directly using the Mimaki UV flatbad printer. The exposed areas will be etch-able with acid (publication station), leaving the copper in places that are covered/black.

Everything that is black, stays copper, the rest will be etched away with copper gone. You can also use a permanent marker and draw your circuit yourself!

Find the stencil for a DIP sized 555 circuit here (actual size: 100x50mm): Media:555piano-2-10x5cm-3_etch_copper_top.pdf

Find the stencil for a SMD soic-8 sized 555 circuit here (actual size: 100x50mm): Media:555piano-soic8-pin1-to-gnd.pdf < WARNING: you still need to route pin one to ground!

Soldering

The real challenge. Soldering is easy, but we are working with SMD parts now and these are TINY! A pair ow tweezers and helping hands is recommended. I constructed the example in dead bug style (upsidedown IC) so the pins don't touch the PCB and don't short circuit.

How to

Read this!

how to solder


Source: https://www.elabtronics.com/downloads/resources_tutorials_ledfunstudentmanual.pdf (more indepth info + tips)

Assignment

  • Form duo's
  • Collect all the parts of the BOM (get a helping hand)
  • Download the NE555 datasheet, read it.
  • Choose a schematic
  • Choose a desired method to make the circuit and make it (work)!
  • Read the How to Solder and maybe practice first.
  • Watch the polarity of components! Prevent short circuits, 'solder bridges', good luck!

Don't hesitate to try out different resistor values!


Demo of example board: https://www.youtube.com/watch?v=sOlpj5MdCnk

References