Showing posts with label Electronic. Show all posts
Showing posts with label Electronic. Show all posts

5/08/2013

ULN2003AN high-voltage, high-current Darlington transistor array



The ULN2003AN is a high-voltage, high-current Darlington transistor array. It consists of seven npn Darlington pairs that feature high-voltage outputs with common-cathode clamp diodes for switching inductive loads.

ULN2003AN absolute maximum ratings: (1)Collector-emitter voltage: 50 V; (2)Clamp diode reverse voltage: 50 V; (3)Input voltage, VI: 30 V; (4)Peak collector current: 500 mA; (5)Output clamp current, IOK: 500 mA; (6)Total emitter-terminal current: -2.5 A; (7)Operating free-air temperature range, TA: -20℃ to 70℃; (8)Lead temperature 1,6 mm (1/16 inch) from case for 10 seconds: 260℃; (9)Storage temperature range, Tstg: -65℃ to 150℃.

ULN2003AN features: (1)500-mA-Rated Collector Current (Single Output); (2)High-Voltage Outputs: 50 V; (3)Output Clamp Diodes; (4)Inputs Compatible With Various Types of Logic; (5)Relay-Driver Applications.



OPA2340UA     SP232ACN       MAX7219CWG        MAX233ACWP             LM2904N
LM2596S-ADJ     LM319N         LM339DR         MAX1715EEI            MAX3232ESE
MAX202EESE       LM2904M         LM833N          LMC6034IM            LM723CN
LM741CN        EPF10K30AQC240-3     AT89C52-24PC        AD8042AR        FDS6690A



4/27/2013

MAX3243CAI RS-232 Transceiver IC Maxim


The MAX3243CAI is a 1μA Supply-Current, True +3V to +5.5V RS-232 Transceiver with AutoShutdown. The MAX3243CAI achieves 1μA supply current with Maxim revolutionary AutoShutdown feature. When the MAX3243CAI does not sense a valid signal level on its receiver inputs, the on-board power supply and drivers shut down. This occurs if the RS-232 cable is disconnected or if the transmitters of the connected peripheral are turned off. The applications of the MAX3243CAI include Notebook, Subnotebook, and Palmtop Computers, Battery-Powered Equipment, Hand-Held Equipment, Peripherals and Printers.





MC34118DW IR2112S L6219DS MAX706CSA ADM202EARN AD826AR EPM7128SLC84-15
ATMEGA8L-8AU AD9883AKST-110 EPM3032ATC44-10 AD9884AKS-140 DG412DY FDS4435
SP3243ECA SAA7111AHZ SAA7118E MAX1644EAE IR2101S LM317 LF347N



4/26/2013

Power Supply Module, AC/DC in, 5V out, Based on 7805 IC L7805CV



Power Supply Board Based on L7805CV IC Design, AC or DC Input, Output DC 5V / 1.5 Amp.
Thermal Overload Protection ( IC Function ).
Short Circuit Protection ( IC Function ).
Output Transition SOA Protection ( IC Function )
Thickness 1.6mm FR-4 Fiber Glass PCB.
HQ Terminal Blocks, Easy Connection Wire.
400V 2Amp Bridge Rectifier 2W04.
2 PCS RUBYCON 1000uF/35V 105℃ HQ Electrolytic Capacitors.
100nF/100V Metal Film Capacitor, Conducive to Filtering High-Frequency Noise.
Output Voltage LED Indicator.
35 x 35 x 12.5 mm Heat-sink.

The item include PCB and parts on PCB, Has passed electrical testing.

Specifications:
AC Input : 6V - 22V ( Transformer No-load Voltage must be less than 22V )
DC Input : 8V - 30V
Output Voltage : DC 5V
Maximum Current : 1.5 Amp ( If Drop-Out or Output Power Very High, Must Increase the Heat-sink  )
PCB Size : 50 x 50mm ( 2 x 2 inch )
PCB Thickness : 1.6mm ( 0.063 inch )
Maximum Height : 37mm ( 1.46 inch )




TEA2025B TLP521-4 SG3524N   NE556N   RTL8019AS NE555N        SAA7113H        PCF8563T  MT8870DS LM393DR
MAX485CPA LM358P       MAX202ECSE MAX238CWG MAX707CSA
AD8052AR AD1885JST EPM7128AETC100-10 BAT54S ADC0809CCN



4/24/2013

ULN2803A STMicroelectronics Integrated Circuits IC




The circuit diagram of this programmable sequencer could be applied in a number of timing uses. Prior to the start of each interval, an audible tone is generated, and a seven-segment LED display shows the interval number. Prior to the end of that inerval, the buzzer sounds again. IC1 is a 2240 timer/counter device that clocks up to 256 periods, the durations of which are determined by resistor R1 and capacitor C1. The 2240 has its RESET and TRIGGER pins (10 and 11) wired via a push switch S1.The timer is used to operate a memory chip, IC2. The first 8 addressed bits are used by the timer/counter to step through the 256 steps available for each program. The other 6 bits are selected by an external switch network S2 to S7 which permits up to 26 programs, each of 256 steps. The 27C64 has eight outputs, which was enough for a single-digit LED display plus a piezo buzzer.

The ULN2803A is a high-voltage, high-current Darlington transistor array. The device consists of eight npn Darlington pairs that feature high-voltage outputs with common-cathode clamp diodes for switching inductive loads. The collector-current rating of each Darlington pair is 500 mA. The Darlington pairs may be connected in parallel for higher current capability.

Applications include relay drivers, hammer drivers, lamp drivers, display drivers (LED and gas discharge), line drivers, and logic buffers. The ULN2803A has a 2.7-kΩ series base resistor for each Darlington pair for operation directly with TTL or 5-V CMOS devices.












4/23/2013

Dual Differential Comparator LM393




These devices consist of two independent voltage Comparators that are designed to operate from a single power supply over a wide range of voltages. Operation from dual supplies also is possible as long as the difference between the two supplies is 2 V to 36 V, and VCC is at least 1.5 V more positive than the input common-mode voltage. Current drain is independent of the supply voltage. The outputs CAN be connected to other open-collector outputs to achieve wired-AND relationships. The LM193 is characterized for operation from 55C to 125C. The LM293 and LM293A are characterized for operation from 25C to 85C. The LM393 and LM393A are characterized for operation from 0C to 70C. The LM2903 is characterized for operation from 40C to 125C.



4/19/2013

Simple power supply ripple rejection for battery systems MMBT3904






Many amplifiers, including integrated devices, are afflicted with undesired, implicit input terminals in their power connections. Due to less than perfect power-supply rejection, these implicit terminals admit noise into the signal that the amplifier will magnify. Thus, a clean supply is essential for amplifiers.

But a regulated supply, even one using a low-dropout regulator (LDO), can create problems in a battery-based amplifier design. If the selected regulation voltage is close to the fresh battery voltage, the LDO will quickly drop out as the battery discharges, eliminating the noise protection. If the regulation voltage is far below the fresh battery voltage, the design sacrifices the amplifier’s output voltage swing and wastes power until the battery voltage drops close to the LDO regulation voltage.

Fortunately, most audio amplifiers can readily operate with an unregulated supply because they do not need to provide dc precision. Unregulated supplies are especially useful in battery-powered designs that seek to use the battery fully because the circuits will continue to operate until the battery is quite discharged. The unregulated supply must be clean, however, and of sufficiently low impedance to avoid injecting noise and inducing inter-stage coupling that might cause instability.

A good way to clean an unregulated supply is to use the so-called “ripple-eater.” The ripple-eater’s output voltage tracks slightly below its input voltage and continues to operate as the input drops to a fairly low voltage. The ripple-eater also provides a low output impedance most of the way down.

This ability to track declining input voltage can be very useful when the power source is a non-rechargeable battery. It may not be good, however, for battery systems that can be harmed by deep discharge.

One well-known ripple-eater design that has been popular among audio enthusiasts is available in kit form. That design, though, is relatively complex and operates by bucking the ripple. The simple ripple-eater shown here (Fig. 1) is far simpler and offers about 40 dB of low-power cleaning at audio frequencies (Fig. 2), making it useful for such functions as pre-amplifiers.

The design simply comprises a filter buffered by a follower. A voltage divider (R1 and R2) provides headroom for subsequent regulation. A low-pass filter (R3 and C1) provides a clean voltage that an emitter-follower (Q1 and R4) buffers, adding one diode-drop of offset. A pass transistor (Q3) and feedback amplifier (Q2) provide gain and cancel the diode drop of Q1.

This circuit has sufficient gain to require compensation, which R6 and C2 provide. The voltages at the base of Q1 and at the output are essentially equal, so the transistors form a fed-back follower.

The ratio of R1 and R2 should be chosen to set the ripple-eater’s output far enough below the input so the output is below any troughs in the input voltage. Otherwise the circuit will “drop out” like any other regulator.

If more power is needed than the simple ripple-eater can provide, using a composite transistor in the feedback will provide more gain (Fig. 3). The higher-power version adds Q4 and R7 to increase gain beyond what Q2 alone provides, and the diodes (D1 to D3) increase headroom for the composite transistor’s operation. The result has greater ripple rejection in the audio band (Fig. 4) but loses effectiveness in the high-frequency band.

The high-frequency performance of the simple ripple-eater is another advantage this circuit has over LDO regulation. Many LDOs, especially those with MOSFET pass transistors, exhibit poor power-supply rejection (PSR) at high frequencies.

While the transistors shown are sufficient for audio operation, with high-frequency transistors such as the MMBT3904 and MMBT3908 the circuit of Figure 1 has proven effective where rejection up to a few megahertz was needed. The MBTH10 and MBTH81 can be used for even higher frequency rejection.



1N5819      ATMEGA64           MMBT3904          FR107


4/15/2013

An electronic ballast model 234SLESW designed SS8050




This is the schematic of an electronic ballast model 234SLESW designed for running a pair of 4 foot T8 or T12 fluorescent bulbs.  It claims to have an Energy Star rating when used with F32T8 bulbs.  I picked one of these out of a dumpster and it was broken so I had to draw up a schematic.  I figured I'd share it with you.  It should be fairly easy to construct if you needed a light, efficient, flicker free ballast for your shop or garage or heck, even your living room!


WARNING: This circuit is AC line powered and contains voltages and currents which can KILL if you are not careful. Charged capacitors will SURPRISE YOU! They can hold a lethal charge for hours! If you don't know much about working with line (and higher) voltages or if you aren't crazy (like me) then DO NOT attempt to construct this circuit. I CANNOT BE RESPONSIBLE if you electrocute yourself to death! That said, let's have some fun!

Parts List
R1, R6 470K Non-Flameproof
R2 22R
R3, R5 1R
R4 30R
R7, R9 30R 1/4W
R8, R10 22R
R11 47R 1/4W

CO1, C7, C8 470n, 250V
C1, C4, C5 100n 63V
C2, C3 47u, 250V
C6 2n2
C9 - 12 33n, 630V
C14 3n3, 2KV Ceramic disc

L1 See Notes
L2 See Notes
L3 See Notes
T1 See Notes

D1 - D5 1N4007

Q1, Q2 PHE13005
Q3, Q4 SS8050

DIAC 32V, DB3

RV 270V 10% Zinc Oxide Varistor ZOV-07D271K

F1 2.5A

All resistors 1/2 Watt and flameproof unless otherwise specified.  All capacitors polyester unless otherwise specified.

4/12/2013

Pump Controller For Solar Hot Water System LM335Z




This circuit optimises the operation of a solar hot water system. When the water in the solar collector is hotter than the storage tank, the pump runs. The circuit comprises two LM335Z temperature sensors, a comparator and Mosfet. Sensor 1 connects to the solar collector panel while Sensor 2 connects to the hot water panel. Each sensor includes a trimpot to allow adjustment of the output level. In practice, VR1 and VR2 are adjusted so that both Sensor 1 and Sensor 2 have the same output voltage when they are at the same temperature. The Sensor outputs are monitored using comparator IC1.

When Sensor 1 produces a higher voltage than Sensor 2, which means that sensor 1 is at a higher temperature, pin 1 of IC1 goes high and drives the gate of Mosfet Q1. This in turn drives the pump motor. IC1 includes hysteresis so that the output does not oscillate when both sensors are producing a similar voltage. Hysteresis comprises the 1MO feedback resistor between output pin 1 and non-inverting input pin 3 and the input 1kO resistor. This provides a nominal 12mV hysteresis so that voltage at Sensor 1 or Sensor 2 must differ by 12mV for changes in the comparator output to occur.

Since the outputs of Sensor 1 and Sensor 2 change by about 10mV/°C, we could say that there is a degree of hysteresis in the comparator. Note that IC1 is a dual comparator with the second unit unused. Its inputs are tied to ground and pin 2 of IC1 respectively. This sets the pin 7 output high. Since the output is an open collector, it will be at a high impedance. Mosfet Q1 is rated at 60A and 60V and is suitable for driving inductive loads due to its avalanche suppression capability. This clamps any inductively induced voltages exceeding the voltage rating of the Mosfet.

The sensors are adjusted initially with both measuring the same temperature. This can be done at room temperature; adjust the trimpots so that the voltage between ground and the positive terminal reads the same for both sensors. If you wish, the sensors can be set to 10mV/°C change with the output referred to the Kelvin scale which is 273K at 0°C. So at 25°C, the sensor output should be set to (273 + 25 = 298) x 10mV or 2.98V.



Note:

The sensors will produce incorrect outputs if their leads are exposed to moisture and they should be protected with some neutral cure silicone sealant. The sensors can be mounted by clamping them directly to the outside surface of the solar collector and on an uninsulated section of the storage tank. The thermostat housing is usually a good position on the storage tank.


LM335Z circuit

4/10/2013

How to build Touch Activated Light Description SK34




The circuits below light a 20 watt lamp when the contacts are touched and the skin resistance is about 2 Megs or less. The circuit on the left uses a power MOSFET which turns on when the voltage between the source and gate is around 6 volts. The gate of the MOSFET draws no current so the voltage on the gate will be half the supply voltage or 6 volts when the resistance across the touch contacts is equal to the fixed resistance (2 Megs) between the source and gate.
The circuit on the right uses three bipolar transistors to accomplish the same result with the touch contact referenced to the negative or ground end of the supply. Since the base of a bipolar transistor draws current and the current gain is usually less than 200, three transistors are needed to raise the microamp current level through the touch contacts to a couple amps needed by the light. For additional current, the lamp could be replaced with a 12 volt relay and diode across the coil.

SK34 IC


4/03/2013

Anushri development SSM2164




The Anushri project actually has three roots. One of them was a concept for a synth “celebrating” the SSM2164, using one of these chips for each voltage-controlled element (dual VCO, VCF, and VCA), which I started simulating in september 2011 and abandoned given the complexity of the resulting machine which would be unsuitable for a kit. The second was a concept for an “analog control board” for the Shruthi-1, replacing the digital oscillators by a single VCO – a kind of upgrade to the Sidekick. Given the increasing complexity of Shruthi-1 filter boards – which relied on digital switching, and the difficulty of cramming a full VCO circuit and LFOs/envelopes in the small board space, not to mention a MIDI->CV converter to make it useful, this project did not go very far. The last project came from a small synth manufacturer who asked me a quote for designing the digital logic of an analogue synth (MIDI>CV, arpeggiator and digital LFOs). This intrigued me and I sort of worked my way through half of the code for this to see how easy it would be given that all the functional blocks were available from existing projects. All these were “scratch an itch” side projects, rather than something I really believed in as a product.

In february I gave an interview for a modular synth blog, and talking about the Shruthi, I said that I found VCOs uninteresting. I started thinking that maybe I was fooling myself about that just because I never went through the process of getting one to work, and started looking again into the topic – using the SSM2164 saw-core I had been playing with in simulation previously. Around march, the Ambika project was approaching completion and I was getting very frustrated about it – the development seemed never-ending, with many bad surprises on the road, and just like the Shruthi-1 I was a bit scared at the thought that users would never, ever, get enough of the project – and that it would be feature request after feature request for the months (years?) following the release. I thought about the analog minisynth concept again, and was seduced by the fact that it would be a pleasant change from Ambika – the “one knob per function” interface people expect from a monosynth would keep the project away from feature creep (and hardware is much harder to upgrade than software!); and it seemed like a relatively small and easy thing to build compared to Ambika. I breadboarded my 2164 VCO + a SVF using the remaining half of the chip, a LM13700 VCA (I did not want to use another half SSM2164 for that), and it was indeed fun to play with!



One thing still bothered me: there were already many one-VCO synths on the market (Minibrute, Dark energy, Domino, Nanozwerg), and I wanted to go a bit further sonically. Adding a second VCO? No, too much circuitry. Adding a digital oscillator à la Shruthi-1? Not an option indeed. I had committed myself to use a high resolution/refresh rate for the CVs (to make it as smooth as possible), and there wasn’t enough CPU left on the ATMega328. The bit of inspiration came from reading Tom Wiltshire’s page about the Juno DCO. I realized that a DCO is really just a VCO with sync signals coming from a digital source. So I decided to route a sync signal into the VCO to achieve a hardsync sound – the sync signal source being the 16-bit hardware timer from the 328p. This worked great and allowed both DCO-like operation (something I did not really bother with) and buzzing hardsync sounds. It did not take long before I decided to route this digital sync signal to other places – the VCO current source, to get linear FM, and the mixer, where it could be used to widen the VCO sound. Another idea that came to me for enriching the sound was to find a use for the unused half of the LM13700. When overdriven, OTAs add a characteristic “tanh” saturation to the signal. Furthermore, I had already observed on the Ambika SMR4 board how their built-in Darlington buffer yields clipped/asymmetric signals when incorrectly used. This gave a straightforward but very useful distortion/fuzz circuit. At this stage the design looked good to me. I decided to add a bunch of modular-style connectors, given the number of requests I had received in the past regarding interfacing the Shruthi-1 with modular gear. I came up with a first layout which used two rows of pots, one for the synthesis functions (directly wired into the analog signal processing chain), the other software-defined, serving as ADSR/LFO controls, general system settings, and 8 steps + length control for an analog-style step sequencer. Writing the firmware was a very, very quick affair, given that I already had the basic code tree for a monosynth ready (If you’re wondering, the very first piece of code I write on a new project is voice.h and parameter.cc). I got a proto made and as usual: the firmware was running flawlessly on first boot minus all buttons and pots operating backwards, but the whole thing felt broken.



The analog-style 8-step sequencer left me unimpressed. I still don’t understand how people can be comfortable with the idea of programming 2 or 4 bar note patterns with *knobs*. I decided to bet all my money on the 101-style sequencer instead, even if it made it impossible (for the moment) to use the unit without external MIDI input.
Once 15mm knobs were fitted on the pots, the layout was not very usable.
The long row of controls made it hard to remember which pot does what.
In a case, it would have looked fugly. Especially since it would expose A LOT of solder joints, and there would be a lot of white space.
The VCO tracking really sucked.
To solve the layout problem, I bit the bullet and re-laid out everything on two boards – something I originally wanted to avoid to make for a slimmer case and bring the cost down. It took two whole days, but the readability of the layout greatly improved. Bonus: the boards were now small enough to be mounted behind a Eurorack panel – this mattered to me since I was starting building my little modular setup at that time.

The VCO problem was a tough one, because I spent a lot of energy trying to solve the wrong problem. My original focus was on the integrator reset time in the saw-core, but even by faking Spice models of the crappiest JFETs, or of op-amps with the most horrible offsets, or of comparators slow as molasses, I could not get in simulation something as bad as what I was measuring. That’s when I decided to pimp my measuring equipment and get something more serious to probe the integrator current source…



After a few days blocked on the problem, everything pointed to the exponential converter – something confirmed after rapidly breadboarding a standard transistor-pair expo converter in place of the 2164 and getting 5 octaves of tracking minus temperature stability. It took me a while to figure out what was wrong… It turned out that the SSM2164 input is not the ideal virtual ground I thought it was! The problem was solved by increasing the value of the resistor at the 2164 input (from 15k to 100k) – less current, less non-linearities affecting scaling.

With that problem fixed, I got a second proto made. The interface was much better, and the VCO tracked well over 5 octaves (the remaining error was due to the integrator reset time and some errors in the 2164 expo response – would have required more circuitry for compensation…).

What remained to be solved was what to put in place of the analog-style step sequencer. I quickly toyed with the idea of an 8 steps waveform editor for the LFO (a kind of sequencer but at modulation rates) – wasn’t good. I had 9 knobs, roughly 40% of the CPU after some optimizations, and 2 days left before a demo at Modular Square. And this is when I decided to ressucitate… eigendrums. This was a quite old drum machine concept inspired by an ISMIR paper by Ellis and Arroyo. Let’s do it!

First problem was how to get audio out of the MCU. Solved by hacking the board to hook up the MCU PWM pin to the output op-amp (I also tried hooking it into the VCF->VCA, but then it sucked because a synth note had to be played for the drums to be heard). I had to swap the functions of two MCUs pins for that. Damn, the Shruthi-1 made me sick of PWM and I was at it again…



Second problem was to code a drumsynth with a very low CPU requirement. Simplest approach that could work: a digital sine oscillator with AD envelope for pitch and amplitude + noise + ringmod. Since I decided to dedicate only one knob for adjusting the tone, the knob worked as a morphing control through various combination of parameters that I programmed into the unit through CC with a MIDIpal, writing down parameter values on paper. Later I ditched the ringmod and used a sample for the HH.



Third problem was the drum pattern generation. I wanted something fun to play with, that could generate musically interesting patterns, and that could allow the classic “build-ups” found in electronic music. My first try, the straightforward eigenrhythm implementation worked well, but it was not fun to play. At this stage, I had 6 knobs controlling the 6 principal components + 3 for tone control. The problem was that the last knobs had decreasing impact (PCA “sorts” dimensions by decreasing variance), and that there was no way of getting dense or sparse patterns – the PCA learned the “average” density of a pattern and I wanted a way of bringing in outliers too! What I wanted was something more like an euclidean sequencer, in which it is possible to control sparsity/density. So let us work backwards… With 3 knobs dedicated to a sparsity/density control for each instrument (how would it work? TBD…), this would leave me with only 2 knobs for controlling the base structure of the drum pattern. How to map the space of drum patterns into a 2D space? My first approach was to get a bank of presets, lay them out in 2D using the first 2 axes of the PCA, and use the 2 knobs as X/Y coordinates in this space (did it before, see figure 4). Problem: the map has gaps, and I don’t want to store many patterns in flash. Same problem with LLE. I want hmmm… something like a topology-aware VQ that would give me a grid-like codebook? How is that called? Kohonen map! That’s how I decided to use self-organizing maps to build a 2D grid of patterns. Last open problem was the sparsity/density control – once you have a pattern, how to progressively remove notes to turn it into an empty pattern, and how to progressively add notes to turn it into a grid of sixteenth notes. If, like me, your past job involved counting n-grams and solving combinatorial optimization problems, the solution gets very obvious: select the sequence of note addition/removals that visits the rhythmic patterns with the highest frequency in a corpus of drum loops. The library is the grammar. Nice side-effect: randomly walking through this Hamming neighborhood creates musically interesting variations for free! I made it in time for the Modular Square demo – though the whole thing was trained in a small corpus of rhythms (larger model on its way – it did not make it into the first version of the Anushri firmware).

After the Modular Square demo, I noticed something odd about my proto… When switching from the single board layout to the 2 boards layout, I blindly rearranged the available controls without realizing there was room for more! I added two knobs, changing the number of software knobs from 9 to 10 (functions: VCO detune, velocity destination control, and a bitcrusher for the drum section which is the FX maximizing the wow/CPU cycles ratio – leaving all competitors in the dust); and adding a knob for sub-oscillator level. And more room for 2 modular I/O jacks! This is how we got to the present third revision of the board.

The final touches to the firmware included a secret way of overriding the drum sequencer with a x0x pattern input on the keyboard, a way of sequencing the drum section from an external source, and bringing back the CC drum sounds editing I used during development.

All in all, the project took 1 month of hardcore development to get the basics done, 3 months to feel “right”, and 4 months of polishing – which are the ratios I am getting used to!

3/28/2013

Through Hole Devices Are Becoming Hard To Get 2SK170




I had no problems getting the 2SK170 JFETs from Futurlec.  They were on tape.  I don’t know what manufacturer, but they are not Toshiba.

Right now, I think a lot of the major semi makers are abandoning through hole parts, and going to surface mount only.  To get a through hole part, one may have to buy a large amount (a whole reel) or get the part from a maker such as KEC (Korea Electronics), BEL (Bharat Elec) or Rohm.

You can get the National Semi Discrete Data Book 1978 Edition (PDF) from Archive.org.  When you look up a transistor, it tells you the process that it was from.  In other words, the chip inside the transistor is sorted from the chips made by a certain process.  Some have higher specifications, for instance higher gain.  Thes may be sold as 2N3904.  The lower gain chips may be sold as 2N3903.  But they are the same chip, and if the circuit is not critical, you may be able to substitute the 2N3904 for the 2N3903.

 In the Pro Electron Series, you may find that the older transistors such as the BC107 were packaged in the TO-106 package, which is no longer made.  But you may be able to find an equivalent transistor, such as the BC547, using the same process in the TO-92 package, which is common and still being made.

Regarding the 2SK170.  It may not be recommended for new designs, but the replacement, the 2SK880, is not through hole, it’s surface mount, and that would mean redesigning the PC board.  So the assembler must use the 2SK170 until his supply of PC boards has been used up.  The alternative would be to try to find a substitute JFET.  If the JFET is in the Databook, you could find out what process is used, and then find other JFETs that use that process and try to find one that would substitute for the 2SK170.

I also got some 2N7000 MOSFETs.  They also came on tape, but the tape has the side toward the MOSFETs coated with aluminum foil.  This is to prevent damage from static electricity.  The MOSFETs are held onto the the tape with masking tape.  Normally the leads are cut off above the tape as the part is put into the PC board.  The masking tape is never disturbed.  But in my case, I don’t have a machine so I usually pull the part off the tape, and sometimes the masking tape pulls of with the part, sometimes it stays on the tape and the part leads pull free.  The problem here with the MOSFETs is they are more sensitive than JFETs to static.  That’s why there’s the aluminum foil.  And the masking tape is triboelectric.  This means when the tape is pulled off, it generates static electricity.  So by pulling off the MOSFETs I could be causing them to burn out.

What to do?  I could try to duplicate the machine and just cut the leads off above the tape.  But then the leads are shortened and obviously not the same as when they were made.  My thoughts are that if I squeeze the 3 leads between my fingers and pull the MOSFET off the tape, the static from the masking tape will go through my fingers and not damage the MOSFET.  Or should I try to cut the masking tape off before I pull the MOSFET off the foil?  I’ll have to experiment a bit to find out how each works.


3/27/2013

Simplest FM Transmitter S8050



This is the simplest fm transmitter circuit you can ever find on internet,because so many “simple transmitters” (they call it simple but many of them don’t work!) on internet will not work as those circuits are designed poorly. i had built around 100s of transmitters in the past and most of them were built successfully, because the design is just cool and reliable. This circuit is for those who have built many fm transmitters without any sign of working!, so try this one and i am sure you can make it!.



An Fm transmitter is a circuit/device to transmit audio signals to an fm radio receiver through air (wirelessly). The input (audio)to an fm transmitter can be fed using a microphone or the output of your music player to be transmitted, and the signal which you transmit can be received using an FM radio, the advantages of FM TRANSMITTERS ARE many:

1.You may transmit audio to another room/floor of your house without using any wires!

2.You may transmit your own voice if you used an electret microphone in the circuit

3.You don’t need to build a receiver to receive the ransmitting audio as any standard fm radio can be used to receive your voice/audio and many..!



this circuit can transmit audio to a distance of around 50 meters if you used 2n3904 transistor and boost the supply voltage to 6V, and 1Km(1 kilometer) if used S8050 transistor with 9V supply!


Components you need

R1 – 47K resistor

R2 – 100 ohms resistor

C1 – 22n none polarised capacitor

C2 – 1n none polarised capacitor

C3 – 4.7pf none polarised capacitor

c4 – 22n none polarised capacitor

T1 – Transistor BC547(short range),2N3904(medium range,recommended),S8050(long range)

VC1 – 22pf Variable trimmer capacitor (trimcap)

L1 – Aircore inductor, 6turns on a 3mm dia former eg.Wind over a pen refill.

Antenna – a short length wire

3V battery (Use only battery)

Good quality pcb or veroboard. (breadboards may not work)

Testing
after building is done,power the circuit using a 3V battery and connect any audio source to “audio input” pin properly, set an fm radio minimum 3 meters away. Start tuning the radio and tuning the VC1 at the same time untill you receive the transmitting audio, if you can hear the audio then you are DONE!.

Notes

1.All components in the circuit is not intended to change their values

2.Using correct value components in the circuit is vital

3.If the transmitting audio is too loud and unclear, then add a 100K or 1 Mega ohm resistor across the audio input pin, the value of this resistor depends on how much powerful you audio signal is and should be selected untill you get a very clear voice.

3/21/2013

IR2110 based power stage circuit




I started to build up the Open-BLDC circuit on a breadboard. Then a problem occurred. The low side works as it should but the high side just did not. After several hours of trying and reading the data sheet of IR2110 I gave up and asked Federico again for help. After some time we found an application note AN-978 from International Rectifier. This explained everything. You need to select very carefully the Boot capacitor. This is the one between VB and VS pins of IR2110. It is providing the charge for the gate of the high side MOSFET when you turn it on.

For testing you can take a big capacitor, so that when you manually switch on the high side you see something happen. I took a 330uF capacitor and it is enough to turn the high side MOSFET on for about 30 seconds. Still you have to be careful because the capacitor only gets charged when the low side MOSFET is turned on. So after turning on the power the capacitor is not charged and you have to turn the low side MOSFET on first, then turn it off again and finally switch the high side on.


In the final design one should probably select the right bootstrap capacitor. The equation for calculating that value is described on page 6 of the International Rectifier application note AN-978.


You can probably get rid of the capacitor and the diode if you connect VCC directly to VB. The problem you get then is that when the current on VS gets higher then 12V you get a problem. But I may be mistaken. Correct me if I am wrong.


Conclusion: read the damn application notes and I still have problems with understanding the electrical engineer talk! 


I hope this helps someone. You can see my circuit for one half bridge attached to this post. And a picture of my breadboard.


I use the two LEDs to see what happens with the MOSFETs. They are glowing a little when both sides are off. The one connected to 12V is switching off when the high side is on and the one connected to GND switches off when the low side is on. I love LEDs!

3/19/2013

projects/bench psu personal bench power supply mk1 LM2596



This Hackspace project aims to create simple, low cost, robust, and safe variable voltage power supplies for experimental use in projects. While we have good bench power supplies in the Hackspace it is often useful to have something personal and portable for you projects. It is hoped that the Personal Bench Power Supply will develop over a few iterations as we learn.

I have gone for a very basic specification for the Mk1 version to achieve an availability .
- Low cost £5 to £10
- No exposed mains voltage to builder or user
- Voltage range < 3 Volts to > 12 Volts variable
- Current up to 2A (not variable limited) Fuse protection
- 4mm screw binding post output
- Visual readout of voltage
- Laser cut or simple self build case
- Pocket size
Power Source To achieve the voltage range, current, and safety objectives; a laptop power supply is used. Usually these provide between 16 Volts and 19 Volts and adequate current). These are power supplies are usually very low cost or free.
The plan is to plug the laptop power supply into the variable regulator module. Panel mounted power jack sockets seem common in 2.1mm and 2.5mm pin, but not common in 1.5mm, so a laptop power supply with a 2.1 or 2.5 plug is preferred (need to look into long vs. short plugs)

Regulator Board
From the voltage range, current, and size perspective a switching regulator is most appropriate for the variable regulator. The disadvantage of switching regulators is their higher ripple voltage on the output especially at lower currents.
This is the switching regulator module I chose. The module is low cost at £1 each, and avoids having to make a PCB.

The boards come in a few different pcb layout but generally have the following circuit using the LM2596 regulator.



The TI/National WebBench power supply design too also supports the LM2596. Analysis of the above circuit with the design tool shows that the LM2596 will operate in discontinous mode at the currents we will supply, so ripple on the output may be an issue in some applications.

Voltmeter
The voltmeter is based on a ready built module costing around £1.70 each. It is a 3 digit red LED meter reading from 0 to 99.9V:


The schematic shows the voltmeter is based on an STM8 flash micro and is hackable in itself:



Note: the devices S1 and S2 are not switches, but 4 off 220R resistor array to limit LED current. The digit drive M4 is not used because it is only a 3 digit display.

3/06/2013

An Arduino Compatible Using CP2102





Standard Arduino boards use FTDI’s FT232RL to interface with computer’s USB port. Since FT232R is just a USB to UART converter, it is possible to build an Arduino compatible USB interface using other USB to UART chips.

One such alternative is Silicon Labs‘ CP2102. I particularly like this USB to UART transceiver because very few extra components are required for it to work. As an added benefit, this chip is also cheaper than the ubiquitous FT232R. Of course, there are also a few trade offs. First of all, CP2102 does not provide a bit bang interface (the X3 pins on the Arduino board on the other hand can be used for bit bang operations, but the X3 pins are not soldered with header pins by default and thus for the average users no bit bang support should not be an issue). Secondly, CP2102 does not have the configurable general purpose I/O pins to drive the TX/RX LEDs. There are other minor differences as well (for instance the maximum transmission speed for FT232R is 3Mbps while CP2102 tops at 1Mbps. Both chips are more than adequate for the maximum 115,200 baud rate supported in Arduino environment), but they do not affect the performance in our application of interfacing with Arduino.

Here is the schematics for using CP2102 with ATmega328p (the circuit below is compatible with the Arduino IDE):



2/26/2013

FR107 1.0AMP. Fast Recovery Rectifiers



Description
 
FR107 1.0AMP. Fast Recovery Rectifiers
 
FR107 Features
 
● Fast switching for high efficiency
● Low cost
● Diffused junction
● Low reverse leakage current
● Low forward voltage drop
● High current capability
● The plastic material carries UL recognition 94V-0
 
FR107 Mechanical Data
 
●Case: JEDEC DO-41 molded plastic
●Polarity: Color band denotes cathode
●Weight: 0.012 ounces , 0.34 grams
●Mounting position: Any