Difference between revisions of "Integrated Circuits"

From OpenCircuits
Jump to navigation Jump to search
(59 intermediate revisions by 22 users not shown)
Line 1: Line 1:
[http://reword.youdontcare.com/s-club.html s club] [http://terrellorner.00bp.com/asian-sex-tours.html asian sex tours] [http://colic.trickip.net/small/ustaxcourtgov.html ustaxcourt.gov] [http://badged.ns02.biz/resources/free-school-clip.html free school clip art] [http://remove.ns01.info/styles/cabbage-diet.html cabbage diet] [http://omegamonnier.00bp.com/anime-hentai.htm anime hentai sex] [http://buskin.xxuz.com/content/referencement.htm referencement] [http://defam.mynumber.org/jamie-and-danny.html jamie and danny radio show] [http://reword.youdontcare.com/lyric-for-black.html lyric for black history month] [http://vermin.jungleheart.com/bizarre-photos.htm bizarre photos] [http://hoalarrison.00bp.com/messy-pussy.html messy pussy] [http://remove.ns01.info/styles/snach.html snach] [http://buskin.xxuz.com/content/instituto-nacional.htm instituto nacional de consumo] [http://terrellorner.00bp.com/queen-creek-az.html queen creek az realty] [http://hoalarrison.00bp.com/hot-asian-boys.html hot asian boys] [http://buskin.xxuz.com/content/used-car-blue.htm used car blue book price] [http://defam.mynumber.org/kailua-kona.html kailua kona] [http://reword.youdontcare.com/enterprise-car.html enterprise car rental montreal] [http://vermin.jungleheart.com/papajohns.htm papajohns] [http://remove.ns01.info/styles/laura-schlessinger.html laura schlessinger] [http://remove.ns01.info/styles/volo-bog-state.html volo bog state natural area] [http://omegamonnier.00bp.com/small-girl-sex.htm small girl sex] [http://yvetteschnabel.00bp.com/momsex.htm momsex] [http://spain.vizvaz.com/text/waukesha-west.html waukesha west home page] [http://voided.mefound.com/topic/tallest-building.html tallest building in the world] [http://colic.trickip.net/small/omsdal.html omsdal] [http://buskin.xxuz.com/content/advair-cheapest.htm advair cheapest diskus] [http://spells.ygto.com/tied-tube.html tied tube] [http://colic.trickip.net/small/true.html true] [http://omegamonnier.00bp.com/abi-titmus-topless.htm abi titmus topless] [http://badged.ns02.biz/resources/hoodoo.html hoodoo] [http://defam.mynumber.org/alfalfa-haylage.html alfalfa haylage] [http://badged.ns02.biz/resources/tundra-headers.html tundra headers] [http://remove.ns01.info/styles/stowe-mtn-resort.html stowe mtn resort] [http://terrellorner.00bp.com/penis-bondage.html penis bondage] [http://vermin.jungleheart.com/gap-factory-outlet.htm gap factory outlet stores] [http://voided.mefound.com/topic/cheetos.html cheetos] [http://defam.mynumber.org/maritime-housing.html maritime housing association liverpool] [http://badged.ns02.biz/resources/people-first.html people first party taiwan] [http://terrellorner.00bp.com/weddings-reception.html weddings reception houston] [http://remove.ns01.info/styles/computer-backgrounds.html computer backgrounds] [http://reword.youdontcare.com/implicit-null.html implicit null] [http://yvetteschnabel.00bp.com/signs-of-a-cheating.htm signs of a cheating spouse] [http://colic.trickip.net/small/no-doc-home-loans.html no doc home loans] [http://hoalarrison.00bp.com/robbs-site.html robbs site] [http://omegamonnier.00bp.com/shemale-pussy.htm shemale pussy] [http://defam.mynumber.org/internet-merchant.html internet merchant account] [http://defam.mynumber.org/average-erect-length.html average erect length of penis] [http://reword.youdontcare.com/apple-ipod-40-gb.html apple ipod 40 gb photo] [http://buskin.xxuz.com/content/pioneer-surround.htm pioneer surround sound dvd recorder] [http://spells.ygto.com/paul-wall-freestyle.html paul wall freestyle] [http://voided.mefound.com/topic/texas-inheritance.html texas inheritance law] [http://spain.vizvaz.com/text/nastier-to-friends.html nastier to friends] [http://spells.ygto.com/garage-door-springs.html garage door springs] [http://terrellorner.00bp.com/male-vs-female.html male vs female wrestling] [http://spain.vizvaz.com/text/teen-dirty-stuff.html teen dirty stuff] [http://voided.mefound.com/topic/mastiffs.html mastiffs] [http://defam.mynumber.org/missouri-noel.html missouri noel] [http://omegamonnier.00bp.com/email-marketing.htm email marketing solutions] [http://defam.mynumber.org/jah-cure-cds.html jah cure cds] [http://hoalarrison.00bp.com/abused-teens.html abused teens] [http://remove.ns01.info/styles/the-cruelest.html the cruelest con] [http://eleanorashell.00bp.com/foot-tickling.html foot tickling clips] [http://defam.mynumber.org/game-shows.html game shows] [http://terrellorner.00bp.com/animated-sex-toons.html animated sex toons] [http://eleanorashell.00bp.com/free-black-sex.html free black sex clips] [http://terrellorner.00bp.com/britney-pussy.html britney pussy] [http://vermin.jungleheart.com/star-wars-episode.htm star wars episode three] [http://eleanorashell.00bp.com/teen-jacking.html teen jacking off] [http://eleanorashell.00bp.com/hex-removal-spells.html hex removal spells] [http://buskin.xxuz.com/content/tamara-lee.htm tamara lee] [http://spain.vizvaz.com/text/jenn-air.html jenn-air] [http://vermin.jungleheart.com/matrix.htm matrix] [http://vermin.jungleheart.com/static-friction.htm static friction and] [http://reword.youdontcare.com/performance-ys.html performance ys] [http://reword.youdontcare.com/rescue.html rescue] [http://colic.trickip.net/small/barefoot-pics.html barefoot pics] [http://eleanorashell.00bp.com/restore-antique.html restore antique silver plate] [http://spain.vizvaz.com/text/custom-motorcycle.html custom motorcycle seats] [http://eleanorashell.00bp.com/norsk-porno.html norsk porno] [http://remove.ns01.info/styles/jobs-toronto.html jobs toronto] [http://vermin.jungleheart.com/pic16f627-programmer.htm pic16f627 programmer] [http://spain.vizvaz.com/text/health-clickbank.html health clickbank money go2clickbank.com] [http://remove.ns01.info/styles/english-bull.html english bull dogs] [http://spain.vizvaz.com/text/star-wars-roleplaying.html star wars roleplaying game d20 system character generator] [http://voided.mefound.com/topic/brown-v-board.html brown v. board of education] [http://colic.trickip.net/small/electric-razors.html electric razors] [http://buskin.xxuz.com/content/cruise-activity.htm cruise activity] [http://spain.vizvaz.com/text/los-alamitos-hotels.html los alamitos hotels] [http://spain.vizvaz.com/text/animator-jobs-london.html animator jobs london] [http://terrellorner.00bp.com/reno-escorts.html reno escorts] [http://yvetteschnabel.00bp.com/placer-dome.htm placer dome] [http://omegamonnier.00bp.com/women-masturbation.htm women masturbation clips] [http://colic.trickip.net/small/cast-aluminum-products.html cast aluminum products] [http://terrellorner.00bp.com/gaytoons.html gaytoons] [http://eleanorashell.00bp.com/classic-adult.html classic adult movies] [http://eleanorashell.00bp.com/rental-property.html rental property charleston, sc] [http://terrellorner.00bp.com/cumming-inside.html cumming inside mom jill r unprotected] [http://badged.ns02.biz/resources/chad-allen.html chad allen] [http://remove.ns01.info/styles/good-cholesterol.html good cholesterol] [http://vermin.jungleheart.com/restaurant-runner.htm restaurant runner bakersfield] [http://omegamonnier.00bp.com/zexy-teens.htm zexy teens] [http://spain.vizvaz.com/text/sexy-kristie-alley.html sexy kristie alley] [http://defam.mynumber.org/chemical-unit-operation.html chemical unit operation costs] [http://omegamonnier.00bp.com/bean-salad.htm bean salad] [http://reword.youdontcare.com/isley-brothers.html isley brothers tabs] [http://eleanorashell.00bp.com/spooge-art.html spooge art] [http://reword.youdontcare.com/precious-metals.html precious metals] [http://voided.mefound.com/topic/brittany.html brittany] [http://remove.ns01.info/styles/nfl-ne-patriots.html nfl ne patriots] [http://reword.youdontcare.com/army-times.html army times] [http://omegamonnier.00bp.com/california-limousine.htm california limousine rentals] [http://buskin.xxuz.com/content/money-trees.htm money trees] [http://reword.youdontcare.com/new-autos.html new autos] [http://yvetteschnabel.00bp.com/free-landlord.htm free landlord forms] [http://spells.ygto.com/man-we-was-lonely.html man we was lonely lyrics] [http://terrellorner.00bp.com/lesbian-submission.html lesbian submission] [http://reword.youdontcare.com/bernhardt-furniture.html bernhardt furniture] [http://spain.vizvaz.com/text/london-hotel.html london hotel schools] [http://reword.youdontcare.com/texas-a-m-jersey.html texas a m jersey] [http://hoalarrison.00bp.com/female-shaving.html female shaving] [http://omegamonnier.00bp.com/boy-slave.htm boy slave] [http://eleanorashell.00bp.com/the-kapalua-villas.html the kapalua villas maui] [http://buskin.xxuz.com/content/convection-oven.htm convection oven cooking] [http://spells.ygto.com/miramichi-new.html miramichi new brunswick newspaper] [http://yvetteschnabel.00bp.com/alien-autopsy.htm alien autopsy] [http://colic.trickip.net/small/what-is-a-rectifier.html what is a rectifier diode] [http://terrellorner.00bp.com/dog-cunt.html dog cunt] [http://colic.trickip.net/small/aunt-judys-mature.html aunt judys mature women] [http://eleanorashell.00bp.com/healthy-dog.html healthy dog treats] [http://voided.mefound.com/topic/olkahoma-land.html olkahoma land rush] [http://eleanorashell.00bp.com/teaching-sex.html teaching sex] [http://yvetteschnabel.00bp.com/pet-friendly.htm pet friendly cabin rentals gatlinburg] [http://badged.ns02.biz/resources/wwwpbsorg.html www.pbs.org] [http://vermin.jungleheart.com/transistors.htm transistors] [http://hoalarrison.00bp.com/free-lesbian-photos.html free lesbian photos] [http://buskin.xxuz.com/content/aol-gmail-hotmail.htm aol gmail hotmail yahoo] [http://badged.ns02.biz/resources/volkswagen-caravell.html volkswagen caravell] [http://buskin.xxuz.com/content/leonards-furniture.htm leonards furniture store] [http://hoalarrison.00bp.com/gay-comic-strips.html gay comic strips] [http://defam.mynumber.org/pic-of-web-dubois.html pic of w.e.b dubois] [http://hoalarrison.00bp.com/transportation.html transportation logistics software] [http://eleanorashell.00bp.com/eco-tourism-costa.html eco tourism costa rica] [http://vermin.jungleheart.com/irish-funeral.htm irish funeral music] [http://defam.mynumber.org/king-cutter.html king cutter] [http://hoalarrison.00bp.com/meet-a-transsexual.html meet a transsexual] [http://remove.ns01.info/styles/mpc1000-faq.html mpc1000 faq] [http://omegamonnier.00bp.com/jennysbookmarkscom.htm jennysbookmarks.com] [http://buskin.xxuz.com/content/kc-and-jojo.htm kc and jojo how could you lyric] [http://eleanorashell.00bp.com/nude-male-physique.html nude male physique photography] == Digital Potentiometers ==
+
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.
 +
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 ==
 +
 
 +
This device takes an analog input and converts it to a digital value. There are a huge variety of ADCs available. Types vary by:
 +
* Number of bits of resolution.
 +
* Span of voltage from lowest to highest, and various methods of adjusting this.
 +
* Speed of conversion.
 +
* 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
 +
* ATTINY261 -- lowest $/ADC chip I know of
 +
* LPC2101FBD48 -- lowest-price 32-bit microcontroller I know of with at least one internal 10 bit ADC
 +
 
 +
Many people [[Programmable_Chip_EEG#See_also: | (*)]] do EKGs with only 10 bit converters.
 +
 
 +
The [[Programmable Chip EEG]] might need more bits of resolution.
 +
 
 +
What low-cost ADC are available with at least 12 bits? ''(prices in quantity 1 from Newark or Digikey)''
 +
* $2.50 MCP3301 has 1 ADC input (13 bits)
 +
* $3.50 MCP3302 has 2 ADC input (13 bits)
 +
* $3.50 MCP3204 has 4 ADC input (12 bits)
 +
* $4 MCP3208 has 8 ADC input (12 bits)
 +
* $7 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See [[dsPIC30F 5011 Development Board]] for details.
 +
* $10 18F2553 USB microcontroller has 12bit ADC( $5.11 from http://buy.microchip.com in single unit quantities )
 +
* $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.
 +
* 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)
 +
* $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
 +
* $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)''
 +
 
 +
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|Digital Potentiometers(AD5204)]]
 
[[Digital Potentiometers|Digital Potentiometers(AD5204)]]
The digital Potentiometers made by analog devices (AD5204) has 255 positions can be adjusted by the microcomputer that can receive commands from the computer. This is a great way for analog circuitry to have digital control. This is a chip with 4 digitally controlled POTs and the pots can be daisy chained to have multiple chips controled by a single SPI interface.
+
The digital Potentiometers made by analog devices (AD5204) has 255 positions can be adjusted by the microcomputer that can receive commands from the computer. This is a great way for analog circuitry to have digital control. This is a chip with 4 digitally controlled POTs and the pots can be daisy chained to have multiple chips controlled by a single SPI interface.
 +
 
 +
Unlike a mechanical POT, digital POTs often have the restriction that one of the three terminals of the POT needs GND, making these devices harder to use in applications where none of the three terminals is GND -- such as LCD contrast adjustment, where the contrast is controlled by a voltage lower than GND.
 +
 
 +
*  [http://www.arduino.cc/en/Tutorial/SPIDigitalPot Controlling a Digital Potentiometer Using SPI]
 +
 
 +
== Drivers ==
 +
The basic idea behind the driver is that you have already had the brains of the circuit figure out what to do, now you need some little boost ( often just current and/or voltage ) to finish the circuit and "drive" the final component.  ( what we have here is just a tiny beginning on this subject )  The simplest driver is just a transistor boosting the output of a microcontroller.  In fact a common application of drivers is to boost microcontroller outputs.  Other dirvers are complicated enough to be compared to custom programed microcontrolles with power outputs.
 +
 
 +
=== 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:
 +
 
 +
=== 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
 +
 
 +
=== High Side Driver Arrays ===
 +
Similar to Low Side Driver Arrays, but switching on the high side.  Parts include: UCN2981 UCN2982 UCN2984
 +
 
 +
=== Mosfet Drivers ===
 +
Mosfets are basically voltage controlled devices, but the input is also a capicator.  Because of this you need considerable current to charge the capicator and switch them on fast.    Parts include:
 +
 
 +
=== Seven Segment Drivers ===
 +
Parts include:
 +
 
 +
=== Others Drivers ===
 +
 
 +
== LM35 Temperature Sensor ==
 +
 
 +
See [[Sensors]]
 +
 
 +
== 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.
 +
 
 +
Common forms found in discrete gates:
 +
* NAND - NOT of an AND
 +
* NOR - NOT of an OR
 +
* XOR - exclusive or
 +
* Flip-Flop - A 1 bit storage element that can be built out of more fundamental logic gates.  Often available in packages of 8 and sold by the name of Latch or Register.
 +
 
 +
Descrete gates are available in a very large number of variations.  The variations include TTL or CMOS inputs, standard vs. open collector outputs, and propagation delay.
 +
 
 +
* NAND gate: [http://www.coprolite.com/art48.html "Using a NAND Gate for a Set/Reset Latch"] (the 74HC132 Schmitt-trigger quad NAND is better than the 74HC00 quad NAND).
 +
* [http://people.freenet.de/dieter.02/alu_4.htm "Multiplexers: the tactical Nuke of Logic Design"] by Dieter Mueller 2004 (74153)
 +
 
 +
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.
 +
 
 +
* 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]).
 +
 
 +
 
 +
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 ==
 +
 
 +
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.
 +
 
 +
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.
 +
 
 +
[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.
 +
 
 +
[[Xbee wireless module]] [http://www.maxstream.net XBee/XBee Pro modules] Modules are a drop in Zigbee module.  Modules have a UART style interface with an AT command set.  Cheap and very popular, these modules are great for serial cable replacement or remote sensor monitoring.
 +
 
 +
[http://www.sparkfun.com/commerce/product_info.php?products_id=8469 Sparkfun Bluetooth Module] Dropin module with a complete Bluetooth stack.  Modules also have a UART interface with a AT command set.  An advantage is many laptops and cellphones have a Bluetooth transceiver builtin.
 +
 
 +
[http://www.sparkfun.com/commerce/product_info.php?products_id=705 Nordic Modules from Sparkfun] Tranceiver modules that have a SPI interface and are capable of transmitting packets at 1Mbps.  Modules implement packet indentification and CRC checksum compution but don't have a protocol stack per say.  A large number of channels are available making FHSS possible, but the modules has a maximum power of 0dBm making them only suitable for short range communication.
 +
 
 +
[http://www.semtec.com/XE1205 XE1205 Chip from Semtec] Transceiver IC with builtin 15dBm power amplifer.  IC has a SPI interface with the data being transmitted with any wire format(NRZ/Manchester).  DP1205 dropin modules are available which contain all the necessary descrete components.  IC allows very rich configuration including frequency down to 500Hz, frequency deviation, and baseband filter.  Available in 433MHz and 900MHz versions.
 +
 
 +
[http://www.cypress.com/ Cypress Semiconductor] makes several 2.4ghz transceiver modules, which are available for sampling, and are fully assembled with PCB antennas. They use SPI to be configured and to communicate with the microcontroller. The CYWM6934 (10 meter range) and CYWM6935 (50 meter range) are both very easy to interface with. [[User:Ratmandu|ratmandu]] 20:06, 23 November 2007 (PST)
 +
[[Category:Components]]
  
Unlike a mechanical POT, digial POTs often have the restriction that the three terminals of the POT needs to be < VCC and > GND making these devices harder to use in applications such as LCD contract adjustment where the contrast is controlled by a voltage lower then GND.
 
  
 
== 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 22: Line 172:
 
'''NOTE:''' Only the DIP-14 version (image) has the Vz pin, which is used for negative regulators. The Metal Can and the Flat-Pack do not have enough pins so exclude the Vz.
 
'''NOTE:''' Only the DIP-14 version (image) has the Vz pin, which is used for negative regulators. The Metal Can and the Flat-Pack do not have enough pins so exclude the Vz.
 
|-
 
|-
|
+
| &nbsp;
 +
|-
 +
! colspan="2" align="left"| Switching Regulators
 +
|-
 +
| align="center"| [[Image:MCP1253-ADJ.png|69px]]<br>[[MCP1252/3]]
 +
| Extremely Efficient, 120mA Flyback Switching Regulators.
 +
|-
 +
|}
 +
 
 +
See also:
 +
*[[Basic Voltage Regulators]]
 +
*[[switching regulator]]
 +
 
 +
== [[555 Timers]] ==
 +
[[555 Timers]]

Revision as of 09:19, 16 October 2014

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. 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

This device takes an analog input and converts it to a digital value. There are a huge variety of ADCs available. Types vary by:

  • Number of bits of resolution.
  • Span of voltage from lowest to highest, and various methods of adjusting this.
  • Speed of conversion.
  • 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
  • ATTINY261 -- lowest $/ADC chip I know of
  • LPC2101FBD48 -- lowest-price 32-bit microcontroller I know of with at least one internal 10 bit ADC

Many people (*) do EKGs with only 10 bit converters.

The Programmable Chip EEG might need more bits of resolution.

What low-cost ADC are available with at least 12 bits? (prices in quantity 1 from Newark or Digikey)

  • $2.50 MCP3301 has 1 ADC input (13 bits)
  • $3.50 MCP3302 has 2 ADC input (13 bits)
  • $3.50 MCP3204 has 4 ADC input (12 bits)
  • $4 MCP3208 has 8 ADC input (12 bits)
  • $7 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See dsPIC30F 5011 Development Board for details.
  • $10 18F2553 USB microcontroller has 12bit ADC( $5.11 from http://buy.microchip.com in single unit quantities )
  • $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.
  • 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)
  • $16 Analog Devices AduC812: 200kHz 12-bit ADC, 12-bit DAC, and flash-based 8051 MCU core.
  • $15 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").[1][2]

I am astonished to discover that (a few) microcontrollers include 12 bit or more ADCs. Are there others? --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(AD5204) The digital Potentiometers made by analog devices (AD5204) has 255 positions can be adjusted by the microcomputer that can receive commands from the computer. This is a great way for analog circuitry to have digital control. This is a chip with 4 digitally controlled POTs and the pots can be daisy chained to have multiple chips controlled by a single SPI interface.

Unlike a mechanical POT, digital POTs often have the restriction that one of the three terminals of the POT needs GND, making these devices harder to use in applications where none of the three terminals is GND -- such as LCD contrast adjustment, where the contrast is controlled by a voltage lower than GND.

Drivers

The basic idea behind the driver is that you have already had the brains of the circuit figure out what to do, now you need some little boost ( often just current and/or voltage ) to finish the circuit and "drive" the final component. ( what we have here is just a tiny beginning on this subject ) The simplest driver is just a transistor boosting the output of a microcontroller. In fact a common application of drivers is to boost microcontroller outputs. Other dirvers are complicated enough to be compared to custom programed microcontrolles with power outputs.

Motor Drivers

Main Article: 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:

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

High Side Driver Arrays

Similar to Low Side Driver Arrays, but switching on the high side. Parts include: UCN2981 UCN2982 UCN2984

Mosfet Drivers

Mosfets are basically voltage controlled devices, but the input is also a capicator. Because of this you need considerable current to charge the capicator and switch them on fast. Parts include:

Seven Segment Drivers

Parts include:

Others Drivers

LM35 Temperature Sensor

See Sensors

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.

Common forms found in discrete gates:

  • NAND - NOT of an AND
  • NOR - NOT of an OR
  • XOR - exclusive or
  • Flip-Flop - A 1 bit storage element that can be built out of more fundamental logic gates. Often available in packages of 8 and sold by the name of Latch or Register.

Descrete gates are available in a very large number of variations. The variations include TTL or CMOS inputs, standard vs. open collector outputs, and propagation delay.

There are hundreds of other specialized logic gates. Here we only list the ones we actually use in some Open Circuit 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.
  • 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 (Wikipedia: soft microprocessor).


Links:

Microcontrollers

See microcontroller for details.

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 amps: 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

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.

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.

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.

Xbee wireless module XBee/XBee Pro modules Modules are a drop in Zigbee module. Modules have a UART style interface with an AT command set. Cheap and very popular, these modules are great for serial cable replacement or remote sensor monitoring.

Sparkfun Bluetooth Module Dropin module with a complete Bluetooth stack. Modules also have a UART interface with a AT command set. An advantage is many laptops and cellphones have a Bluetooth transceiver builtin.

Nordic Modules from Sparkfun Tranceiver modules that have a SPI interface and are capable of transmitting packets at 1Mbps. Modules implement packet indentification and CRC checksum compution but don't have a protocol stack per say. A large number of channels are available making FHSS possible, but the modules has a maximum power of 0dBm making them only suitable for short range communication.

XE1205 Chip from Semtec Transceiver IC with builtin 15dBm power amplifer. IC has a SPI interface with the data being transmitted with any wire format(NRZ/Manchester). DP1205 dropin modules are available which contain all the necessary descrete components. IC allows very rich configuration including frequency down to 500Hz, frequency deviation, and baseband filter. Available in 433MHz and 900MHz versions.

Cypress Semiconductor makes several 2.4ghz transceiver modules, which are available for sampling, and are fully assembled with PCB antennas. They use SPI to be configured and to communicate with the microcontroller. The CYWM6934 (10 meter range) and CYWM6935 (50 meter range) are both very easy to interface with. ratmandu 20:06, 23 November 2007 (PST)


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.


Linear Regulators
LT1528
LT1528
High current, Variable Voltage Regulator
TPS V-Reg
TPS V-Regs
These are 3.3V and 5V LDO, Low-Noise Voltage Regulators. Very small SOT-23 SMD package. 150mA max current. Best used in battery applications.
Main-LM7805.jpg
Basic Voltage Regulators
Variable voltage regulators, set output regulators, we give you the whole breakdown. Perfect for use with an external wall-wart power supply.
UA723CN Symbol.gif
The 723 Voltage Regulator
Precision Voltage Regulator. Can be used as fixed or floating, variable, linear or switching.

NOTE: Only the DIP-14 version (image) has the Vz pin, which is used for negative regulators. The Metal Can and the Flat-Pack do not have enough pins so exclude the Vz.

 
Switching Regulators
MCP1253-ADJ.png
MCP1252/3
Extremely Efficient, 120mA Flyback Switching Regulators.

See also:

555 Timers

555 Timers