Editing Integrated Circuits

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
An '''integrated circuit''' (also called a '''chip''') is a sliver of silicon in a small package with metal "pins" (also called "legs") used to attach it to other things.
+
== ADC analog to digital converter ==
There are a few [[Popular Parts]] that are useful in nearly every electronics project.
 
The main categories of integrated circuits are:
 
  
== ADC: Analog to Digital Converter ==
+
There are a huge variety of ADCs available.
  
This device takes an analog input and converts it to a digital value. There are a huge variety of ADCs available. Types vary by:
+
If you need 10 bits or less of resolution,
* Number of bits of resolution.
+
counter-intuitively,
* Span of voltage from lowest to highest, and various methods of adjusting this.
+
it costs less to buy an ADC plus a microcontroller on one chip
* Speed of conversion.
+
than to buy a stand-alone ADC.
* Method of conversion.
 
* Method of reading data from the ADC.
 
 
 
If you need 10 bits or less of resolution, counter-intuitively,
 
it costs less to buy an ADC plus a microcontroller on one chip than to buy a stand-alone ADC.
 
  
 
* ATTINY13V -- lowest-price chip I know of with at least one 10 bit ADC
 
* ATTINY13V -- lowest-price chip I know of with at least one 10 bit ADC
Line 32: Line 25:
 
* $6.50 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).
 
* $6.50 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).
 
* $56 analog devices AD7716: four independent, simultaneous 22 bit ADCs.  
 
* $56 analog devices AD7716: four independent, simultaneous 22 bit ADCs.  
* the Maxim MAX1464 includes a 16-bit ADC, 12-bit DAC, a programmable gain amp (PGA), temp sensor, and 16-bit processor. Its program is in Flash and can be re-programmed. (Replaces the obsolete Maxim MAX1460)
+
* [http://www.maxim-ic.com/appnotes.cfm/an_pk/885 the Maxim MAX1460 includes a 16-bit ADC, 12-bit DAC], a programmable gain amp (PGA), temp sensor, and 16-bit processor. (Alas, its program is in unchangeable ROM).
 
* $16 Analog Devices AduC812: 200kHz 12-bit ADC, 12-bit DAC, and flash-based 8051 MCU core.  
 
* $16 Analog Devices AduC812: 200kHz 12-bit ADC, 12-bit DAC, and flash-based 8051 MCU core.  
 
* $15 [http://www.maxim-ic.com/maxq7665 Maxim MAXQ7665]: 500ksps 12-Bit ADC, 12-Bit DAC, flash-based 16-bit MAXQ MCU core
 
* $15 [http://www.maxim-ic.com/maxq7665 Maxim MAXQ7665]: 500ksps 12-Bit ADC, 12-Bit DAC, flash-based 16-bit MAXQ MCU core
* $7 to $16 Texas Instruments MSP430: 300 ksps 12 bit ADC, 35 ksps 12 bit DAC
 
* $8.10 Atmel ATxmega128A1: sixteen 2 Msps 12-bit ADC, four 1 Msps 12-bit DAC (alas, not available in DIP package)(is this available yet?)
 
* $60 Actel Fusion AFS250-PQG208: has 30 ADC input (12 bits; up to 600 ksps), a FPGA, and a 32-bit ARM processor (not available in DIP package. Also, not really "low cost").[http://www.actel.com/products/fusion/][http://www.actel.com/products/hardware/devkits_boards/fusion_embedded.aspx]
 
  
 
''I am astonished to discover that (a few) microcontrollers include 12 bit or more ADCs. Are there others? --[[User:DavidCary|DavidCary]] 18:48, 28 August 2007 (PDT)''
 
''I am astonished to discover that (a few) microcontrollers include 12 bit or more ADCs. Are there others? --[[User:DavidCary|DavidCary]] 18:48, 28 August 2007 (PDT)''
 
For information on use see: [[Using ADCs]]
 
 
== Digital to Analog Converters ==
 
These devices take an digital input and convert it to an analog output
 
  
 
== Digital Potentiometers ==
 
== Digital Potentiometers ==
Line 53: Line 38:
  
 
*  [http://www.arduino.cc/en/Tutorial/SPIDigitalPot Controlling a Digital Potentiometer Using SPI]
 
*  [http://www.arduino.cc/en/Tutorial/SPIDigitalPot Controlling a Digital Potentiometer Using SPI]
 +
  
 
== Drivers ==
 
== Drivers ==
Line 58: Line 44:
  
 
=== Motor Drivers ===
 
=== Motor Drivers ===
{{main|motor driver}}
 
 
 
There are various types some, such as H bridges which allow a dc motor to be run either forward or reverse.  Others drive stepper motors while still others drive brushless motors.  Parts include:
 
There are various types some, such as H bridges which allow a dc motor to be run either forward or reverse.  Others drive stepper motors while still others drive brushless motors.  Parts include:
  
 
=== Low Side Driver Arrays ===
 
=== Low Side Driver Arrays ===
Typically these have low voltage ( 5 v ) low current inputs which switch a output circuit, on the low side, either on or off.  Often 8 drivers come in a single IC, enough to drive 2 stepper motors.    Parts include: ULN2803
+
Typically these have low voltage ( 5 v ) low current inputs which switch a output circuit, on the low side, either on or off.  Often 8 drivers come in a single[[Media:Example.ogg]] IC, enough to drive 2 stepper motors.    Parts include: ULN2803
  
 
=== High Side Driver Arrays ===
 
=== High Side Driver Arrays ===
Line 74: Line 58:
 
Parts include:
 
Parts include:
  
=== Others Drivers ===
+
=== Others ===
 +
 
 +
== Microcontrollers ==
 +
 
 +
See [[microcontroller]] for details.
 +
 
 +
== [[op_amp|Op Amps]] ==
 +
 
 +
Op amps and instrumentation amps.
 +
 
 +
An operational amplifier is one of the most useful of linear ( not digital ) circuits. It is normally a fairly low power device ( 15 volts 10 ma or less ) that can amplify, clip, offset.... [[op amp]]s: great for amplifying weak signals from [[sensors]] to a more useful level. Also used in filters, integrators, etc. Very high gain differential amplifiers.  Feedback through a resistor network is used to adjust final gain.  Resistors and capacitors can be placed in the feedback path to create complex circuits such as filters. Often use it with a micro controller to “condition” signals from sensors prior to digitizing them. For example a temperature sensor may deliver 0 to 1 volt, where we want 0 to 5 volts for the PIC. The solution: a quick little op amp amplifier with a gain of 5.
 +
 
 +
Uses
 +
*Amplifiers
 +
*Filters
 +
*Oscillator
 +
*Clippers
 +
*and on and on
 +
 
 +
See our main discussion at: [[op amp]]
  
 
== LM35 Temperature Sensor ==
 
== LM35 Temperature Sensor ==
 +
Perhaps should be at sensors?
  
See [[Sensors]]
+
== logic gates ==
 
 
== Logic Gates ==
 
  
Logic gates are the building blocks of digital circuits.  Any digital circuit including microprocessors can be built out of the NOT function plus AND or OR.  Different chips are distinguished by speed, voltage level, output drive, and power used.  They are often divided into families which have characteristics in common.  There are hundreds of different types.
+
Logic gates are the building blocks of digital circuits.  Any digital circuit including microprocessors can be built out of the NOT function plus AND or OR.   
  
 
Common forms found in discrete gates:
 
Common forms found in discrete gates:
Line 97: Line 99:
 
There are hundreds of other specialized logic gates. Here we only list the ones we actually use in some Open Circuit [[Projects|Project]]:
 
There are hundreds of other specialized logic gates. Here we only list the ones we actually use in some Open Circuit [[Projects|Project]]:
  
* 74HC595 eight bit shift register with output latch (used for [[POV display]]) There are other shift registers, some of quite high power ( generally low side switches ) we should reference some here soon, else google for them.  Some are intended to drive led's.
+
* 74HC595 eight bit shift register with output latch (used for POV display)
  
 
* Low pin count( 8 - 12 ) microcontrollers are great for logic gate replacement when high speed is not required.  Athough slower, slightly more expensive, and needing to be programmed they are great for prototyping due to the extra flexibility that comes from not needing to stock lots of gate variations.
 
* Low pin count( 8 - 12 ) microcontrollers are great for logic gate replacement when high speed is not required.  Athough slower, slightly more expensive, and needing to be programmed they are great for prototyping due to the extra flexibility that comes from not needing to stock lots of gate variations.
  
* FPGAs are flexible ICs contain a very large number of gates( thousands to millions ) that can be arbitrarily connected together through programming in VHDL.  Only available in surface mount large pin counts.  Many people prototype processor designs with these devices ([http://en.wikipedia.org/wiki/Soft_processor Wikipedia: soft microprocessor]).
+
* FPGAs are flexible ICs contain a very large number of gates( thousands to millions ) that can be arbitrarly connected together through programming in VHDL.  Only available in surface mount large pin counts.  It's possible to prototype processor designs with these devices.
 
 
 
 
Links:
 
 
 
*[http://focus.ti.com/lit/sg/sdyu001z/sdyu001z.pdf Logic Guide] A useful guide from TI.
 
*[http://www.allaboutcircuits.com/vol_4/index.html All About Circuits - Volume IV - Digital] Part of a useful, free, online text.
 
 
 
== Microcontrollers ==
 
 
 
See [[microcontroller]] for details.
 
 
 
== [[op_amp|Op Amps]] ==
 
 
 
Op amps and instrumentation amps.
 
 
 
An operational amplifier is one of the most useful of linear ( not digital ) circuits. It is normally a fairly low power device ( 15 volts 10 ma or less ) that can amplify, clip, offset.... [[op amp]]s: great for amplifying weak signals from [[sensors]] to a more useful level. Also used in filters, integrators, etc. Very high gain differential amplifiers.  Feedback through a resistor network is used to adjust final gain.  Resistors and capacitors can be placed in the feedback path to create complex circuits such as filters. Often use it with a micro controller to “condition” signals from sensors prior to digitizing them. For example a temperature sensor may deliver 0 to 1 volt, where we want 0 to 5 volts for the PIC. The solution: a quick little op amp amplifier with a gain of 5.  
 
 
 
Uses
 
*Amplifiers
 
*Filters
 
*Oscillator
 
*Clippers
 
*and on and on
 
 
 
See our main discussion at: [[op amp]]
 
 
 
 
 
  
 
== RF ICs/Modules ==
 
== RF ICs/Modules ==
 
Many open-source [[radio communication]] systems use an RF IC.
 
  
 
RF modules allow transmission and reception of digital signals over radio.  The two most common types are AM and FM( FSK ).  The three major frequency bands used by unlicensed devices are 433MHz, 900MHz, and 2.4GHz.  433MHz has very limited uses by the FCC and is mostly used by garage door openers and wireless key entry systems.  Many newer devices are moving to 2.4GHz due to the greater amount of room, althrough 2.4GHz is harder to use and has less range then the same power 900MHz system.
 
RF modules allow transmission and reception of digital signals over radio.  The two most common types are AM and FM( FSK ).  The three major frequency bands used by unlicensed devices are 433MHz, 900MHz, and 2.4GHz.  433MHz has very limited uses by the FCC and is mostly used by garage door openers and wireless key entry systems.  Many newer devices are moving to 2.4GHz due to the greater amount of room, althrough 2.4GHz is harder to use and has less range then the same power 900MHz system.
  
A major consideration when choosing an RF IC/Module is the amount of protocol stack that the device contains.  Some modules are little more then a modulator and demodulator with the digital input and output directly controlling the RF signal. Other modules are complete serial line wire replacement modules that implement frequency hopping, pairing, error correct/detection, and retransmission of broken data.
+
A major consideration when choosing an RF IC/Module is the amount of protocol stack that the device contains.  Some modules are little more then a modulator and demodulator with the digial imput and output directly controlling the RF signal to serial line wire replacement modules that implement frequency hopping, pairing, error correct/detection, and retransmission of broken data.
  
 
[http://www.linxtechnologies.com/ Linx Technologies] makes several low power RF transmitter/receiver chips. Their range is around 500' - 1000'. They are geared for one way communication only, like keyless entry systems. They also make several serial encoding chips that make the wireless communication more secure/crack proof. Their latest chip, the HS series, is based upon the SkipJack algorithm developed by the NSA. BBA broadband ampifier modules are available for boosting the signal power to 17dBm when combined with the HP-3 modules and FHSS techniques.
 
[http://www.linxtechnologies.com/ Linx Technologies] makes several low power RF transmitter/receiver chips. Their range is around 500' - 1000'. They are geared for one way communication only, like keyless entry systems. They also make several serial encoding chips that make the wireless communication more secure/crack proof. Their latest chip, the HS series, is based upon the SkipJack algorithm developed by the NSA. BBA broadband ampifier modules are available for boosting the signal power to 17dBm when combined with the HP-3 modules and FHSS techniques.
Line 153: Line 126:
  
 
== Voltage Regulators ==
 
== Voltage Regulators ==
Input to a regulator is a voltage that either varies over time or varies with the load.  The output is a voltage that is constant.  Many voltage regulators also include a current limiter and/or short circuit protection.  They come in two basic varities linear and switching.  Switching regulators are more complicated and expensive, but are also more efficient, and can sometimes have a larger output voltage than the input.
 
 
 
 
{|
 
{|
 
! colspan="2" align="left"| Linear Regulators
 
! colspan="2" align="left"| Linear Regulators
Line 181: Line 151:
 
|}
 
|}
  
See also:
+
See [[switching regulator]].
*[[Basic Voltage Regulators]]
 
*[[switching regulator]]
 
 
 
== [[555 Timers]] ==
 
[[555 Timers]]
 
 
 
== Open Source Integrated Circuit Design Software ==
 
 
 
''main article: [[Software tool#Circuit simulation tools]]''
 
 
 
There's a surprising amount of open-source software
 
useful for designing integrated circuits.
 
 
 
 
 
[FIXME: add links]
 
 
 
* SPICE
 
I've heard that
 
SPICE
 
was originally intended for (analog) integrated circuit design,
 
although now it's more often used for (analog) PCB-level circuit design.
 
 
 
* ... digital logic simulators ...
 
which I've heard were also originally intended for (digital) integrated circuit design,
 
but today are often used for (digital) PCB-level circuit design.
 
A few simulators can simulate a complete embedded system including a (simulated) microcontroller,
 
such as [[The digital instrument panel circuit]].
 
 
 
* MAGIC chip-layout software (open source): http://opencircuitdesign.com/magic/
 
 
 
* IRSIM is a "switch-level" simulator for "quick" simulations of digital circuits. http://opencircuitdesign.com/irsim/
 
 
 
* ... [FIXME] ...
 
 
 
* etc.
 
 
 
== Open Source Integrated Circuits ==
 
 
 
While lots of open-source hardware uses commonly available integrated circuits,
 
it's still pretty rare to find integrated circuits
 
that are themselves completely open-source.
 
 
 
* [https://news.engin.umich.edu/2023/01/open-source-hardware-a-growing-movement-to-democratize-ic-design/ "Open-source hardware: a growing movement to democratize IC design"] at the University of Michigan
 
 
 
* Open source silicon chips on Tiny Tapeout (video) https://www.youtube.com/watch?v=QMsmkDeqELg
 
 
 
* the IEEE Solid-State Circuits Society (SSCS) Open-Source Ecosystem (OSE) https://sscs-ose.github.io/
 
 
 
* [https://opensource.googleblog.com/2022/05/Build%20Open%20Silicon%20with%20Google.html "Build Open Silicon with Google"]
 
  
  
----
+
== 555 Tiimer ==

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: