Home |
Search |
Today's Posts |
![]() |
|
Electronic Schematics (alt.binaries.schematics.electronic) A place to show and share your electronics schematic drawings. |
Reply |
|
LinkBack | Thread Tools | Display Modes |
#1
![]()
Posted to alt.binaries.schematics.electronic
|
|||
|
|||
![]()
I have a project that involves using a PIC to control 3 independent
arrays of LEDs. Each array requires a voltage of 12 volts and consumes about 70 ma of current when operating. I found the enclosed template schematic on the internet using a UNL2803A chip to interface a PIC cotroller to various DC loads. It seems to fulfill my requirements for the project at hand, but I thought it would be a good idea to run it by the gurus out there first. Any comments, criticisms, etc. would be appreciated. I'm having a little trouble interpreting the data sheet on some things. Pin 10 of chip is variously labled as common, Vcc, Vdd, depending on whether I'm looking at the datasheet or the schematic. It evidently supplies 12v to operate the chip. In the schematic(and my project), the same 12v would also be used to power each of the loads. But what if one or more of the loads happened to have a different voltage requirement? Can the chip be operated in this mode? If so, what is the operatinal voltage range of the chip itself and what kind of load voltage ranges will it tolerate? |
#2
![]()
Posted to alt.binaries.schematics.electronic
|
|||
|
|||
![]()
On Sun, 11 Mar 2007 00:24:31 GMT, Charles Jean
wrote: I have a project that involves using a PIC to control 3 independent arrays of LEDs. Each array requires a voltage of 12 volts and consumes about 70 ma of current when operating. I found the enclosed template schematic on the internet using a UNL2803A chip to interface a PIC cotroller to various DC loads. It seems to fulfill my requirements for the project at hand, but I thought it would be a good idea to run it by the gurus out there first. Any comments, criticisms, etc. would be appreciated. I'm having a little trouble interpreting the data sheet on some things. Pin 10 of chip is variously labled as common, Vcc, Vdd, depending on whether I'm looking at the datasheet or the schematic. It evidently supplies 12v to operate the chip. In the schematic(and my project), the same 12v would also be used to power each of the loads. But what if one or more of the loads happened to have a different voltage requirement? Can the chip be operated in this mode? If so, what is the operatinal voltage range of the chip itself and what kind of load voltage ranges will it tolerate? Pin 10 is the common cathode of a group of diodes which have their anodes connected to each output. These can be used as the "catch" diodes that are normally connected across a DC relay coil. The ULN2803 and related parts are just a bunch of darlington transistors with their cathodes all connected to pin 9, and collectors to the respective output pins. Various versions of these parts have different input circuits to adapt them for use with TTL, CMOS and higher voltage logic sources. Unlike normal logic chips, the ULN2803 family does not require any Vcc supply to operate. -- Peter Bennett, VE7CEI peterbb4 (at) interchange.ubc.ca new newsgroup users info : http://vancouver-webpages.com/nnq GPS and NMEA info: http://vancouver-webpages.com/peter Vancouver Power Squadron: http://vancouver.powersquadron.ca |
#3
![]()
Posted to alt.binaries.schematics.electronic
|
|||
|
|||
![]()
On Sat, 10 Mar 2007 17:11:29 -0800, Peter Bennett
wrote: On Sun, 11 Mar 2007 00:24:31 GMT, Charles Jean wrote: I have a project that involves using a PIC to control 3 independent arrays of LEDs. Each array requires a voltage of 12 volts and consumes about 70 ma of current when operating. I found the enclosed template schematic on the internet using a UNL2803A chip to interface a PIC cotroller to various DC loads. It seems to fulfill my requirements for the project at hand, but I thought it would be a good idea to run it by the gurus out there first. Any comments, criticisms, etc. would be appreciated. I'm having a little trouble interpreting the data sheet on some things. Pin 10 of chip is variously labled as common, Vcc, Vdd, depending on whether I'm looking at the datasheet or the schematic. It evidently supplies 12v to operate the chip. In the schematic(and my project), the same 12v would also be used to power each of the loads. But what if one or more of the loads happened to have a different voltage requirement? Can the chip be operated in this mode? If so, what is the operatinal voltage range of the chip itself and what kind of load voltage ranges will it tolerate? Pin 10 is the common cathode of a group of diodes which have their anodes connected to each output. These can be used as the "catch" diodes that are normally connected across a DC relay coil. The ULN2803 and related parts are just a bunch of darlington transistors with their cathodes all connected to pin 9, and collectors to the respective output pins. Various versions of these parts have different input circuits to adapt them for use with TTL, CMOS and higher voltage logic sources. Unlike normal logic chips, the ULN2803 family does not require any Vcc supply to operate. _____ Does that mean I can use different supply voltages for each load then? If so, what voltage do I put on pin 10 of the ULN2803A? |
#4
![]()
Posted to alt.binaries.schematics.electronic
|
|||
|
|||
![]()
On Sun, 11 Mar 2007 10:13:06 -0500, the renowned John Popelish
wrote: snip Your schematic shows both LED and relay loads. The diodes that all connect between the collectors and pin 10 really have no practical use for the LED loads, since these produce no voltage when their transistor switches off. They do have a practical use for the relay loads, since these produce a voltage that adds to their supply voltage, briefly, when their transistor turns off. The diodes detour the inductive current back to the positive supply, till the stored magnetic field collapses. If you have several different supply voltages feeding different loads, and some of the loads are inductive, you could connect pin 10 to the most positive voltage, so that none of the diodes can become forward biased by any of the normal load swings, but can still provide a path for the inductive current. Note that there is a possible problem with this. If the inductive load is switched and the stored energy from the inductance of the relay coil goes into the power supply for the LEDs (suppose no LEDs are turned on), then there may be nowhere for the energy to go. With a lot of switching (or with a single switching but very light capacitance on the LED power supply) the voltage could exceed the voltage rating of the transistors. If it is a possibility, a relatively large capacitor plus a bleed resitor if there is no load, or a zener, will provide a simple solution. |
#5
![]()
Posted to alt.binaries.schematics.electronic
|
|||
|
|||
![]()
Charles Jean wrote:
On Sat, 10 Mar 2007 17:11:29 -0800, Peter Bennett wrote: On Sun, 11 Mar 2007 00:24:31 GMT, Charles Jean wrote: I have a project that involves using a PIC to control 3 independent arrays of LEDs. Each array requires a voltage of 12 volts and consumes about 70 ma of current when operating. I found the enclosed template schematic on the internet using a UNL2803A chip to interface a PIC cotroller to various DC loads. It seems to fulfill my requirements for the project at hand, but I thought it would be a good idea to run it by the gurus out there first. Any comments, criticisms, etc. would be appreciated. I'm having a little trouble interpreting the data sheet on some things. Pin 10 of chip is variously labled as common, Vcc, Vdd, depending on whether I'm looking at the datasheet or the schematic. It evidently supplies 12v to operate the chip. In the schematic(and my project), the same 12v would also be used to power each of the loads. But what if one or more of the loads happened to have a different voltage requirement? Can the chip be operated in this mode? If so, what is the operatinal voltage range of the chip itself and what kind of load voltage ranges will it tolerate? Pin 10 is the common cathode of a group of diodes which have their anodes connected to each output. These can be used as the "catch" diodes that are normally connected across a DC relay coil. The ULN2803 and related parts are just a bunch of darlington transistors with their cathodes all connected to pin 9, and collectors to the respective output pins. Various versions of these parts have different input circuits to adapt them for use with TTL, CMOS and higher voltage logic sources. Unlike normal logic chips, the ULN2803 family does not require any Vcc supply to operate. _____ Does that mean I can use different supply voltages for each load then? If so, what voltage do I put on pin 10 of the ULN2803A? Your schematic shows both LED and relay loads. The diodes that all connect between the collectors and pin 10 really have no practical use for the LED loads, since these produce no voltage when their transistor switches off. They do have a practical use for the relay loads, since these produce a voltage that adds to their supply voltage, briefly, when their transistor turns off. The diodes detour the inductive current back to the positive supply, till the stored magnetic field collapses. If you have several different supply voltages feeding different loads, and some of the loads are inductive, you could connect pin 10 to the most positive voltage, so that none of the diodes can become forward biased by any of the normal load swings, but can still provide a path for the inductive current. |
#6
![]()
Posted to alt.binaries.schematics.electronic
|
|||
|
|||
![]()
Spehro Pefhany wrote:
wrote: (snip) If you have several different supply voltages feeding different loads, and some of the loads are inductive, you could connect pin 10 to the most positive voltage, so that none of the diodes can become forward biased by any of the normal load swings, but can still provide a path for the inductive current. Note that there is a possible problem with this. If the inductive load is switched and the stored energy from the inductance of the relay coil goes into the power supply for the LEDs (suppose no LEDs are turned on), then there may be nowhere for the energy to go. Good point. I guess I didn't consider that the most positive supply would be driving LEDs. With a lot of switching (or with a single switching but very light capacitance on the LED power supply) the voltage could exceed the voltage rating of the transistors. If it is a possibility, a relatively large capacitor plus a bleed resitor if there is no load, or a zener, will provide a simple solution. Or you could use external diodes across the inductive loads, and not connect pin 10 to anything. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Heating Thermostat Hookup Question | Home Repair | |||
Spa wiring / hookup question for older Grandee | Home Repair | |||
CU-Al range hookup question | Home Repair | |||
Hose connection question | UK diy | |||
NEWBIE question about dvd hookup | Electronics |