Posts

microcontroller - Why is the Voltage only 1.4 for reset input when in high impedance? - Electrical Engineering Stack Exchange

Image
i attempted make myself 2-in-1 programmer can program both at89cx051 , at89s52 on same board without having plugging/unplugging of port. the main issue strobe pin aka reset (rst in circuit). (pin 1 of db25 connector). tested pc , got no results. what seems work if connected rst vcc via 1k resistor. works because though output @ 3.8v instead of 5 (which vcc at), puts at89s52 in reset mode expected, i'm not getting 12v @ pin 1 of small at89cx051 socket. if don't make manual connection, 1.4v measured @ rst, after added 10k resistor between vcc , rst. without rst being forced ground, should 5v i'm not. i have tested transistors manually leg leg using diode setting on multimeter , turned out fine. resistors going base of transistors 2.2k , used 1k resistors in place of diodes. other resistors 10k. resistor going buffer (74hc125) 0 ohm. all capacitors 0.1uf. why getting such awkward voltages reset pin? using weak of resistors or something? update so ended ma...

Boost converter efficiency, TPS61021A - Electrical Engineering Stack Exchange

Image
i using tps61021 boost converter ic increase input voltage 1.2v 3.3v. have designed boost converter application called ti webench. input voltage: 1.2v output voltage: 3.3v min current: 300ma the pcb have designed, measuring 3.3v, efficiency pathetic. below 25%. in bom, ti webench software recommends using 10uf 10v capacitor, using 10uf 6.3v. not able understand why efficiency low? datasheet inductor . below in tabular format have written current values have measured multimeter. fig.1 measurement of current @ different load resistance. fig.2 ti webench application output fig.3 schematic design of boost converter pin = 1.2v × 570ma = 684 mw pout = 3.3v × 105 ma = 346.5 mw efficiency = pout/pin = 346.5/684 = 50.7% how on earth did come 18.42%? similarly, 64% , 70% other 2 loads. these numbers sound pretty me @ these voltages. did webench give efficiency estimates specific configuration?

How DC offset affects the spectrum of a single pulse - Electrical Engineering Stack Exchange

i know in magnitude spectrum of single square dc pulse (0-8v) lobes 0 @ frequencies $$\frac{1}{t},\frac{2}{t},\frac{3}{t},...etc. $$ t=pulse duration. if square pulse goes -2v 6v, formula 0 points of spectrum still same, ie. $$\frac{n}{t}$$ n=1,2,3... etc. , t=pulse duration? what difference? applying offset signal change spectrum @ dc (frequency of 0hz). if single square pulse goes 0v 8v, value of dc \$\mathcal{f}\{ f(t)\}|_{\omega=0}=0\$. if square wave goes -2v 6v, \$\mathcal{f}\{f(t)\}|_{\omega=0}=-2\cdot\delta(0)\$.

Arduino tonecontrol circuit - Electrical Engineering Stack Exchange

hi can make tone control circuit on arduino using lm386 , if not other ic used please me out? tone control circuit in audio system variable filter. it's used boost frequencies, attenuate other frequencies , let others is. purposes of such filtering: creative sound modifying (=adjustments subjectively result) compensating uneven frequency response of equipment , room, based on mesurements today high quality complex filtering possible in digital domain. signals ad-converted , filtering made calculations. arduino unfortunately slow , has low resolution ad conversion serious real time digital audio signal processing. if search "dsp arduino", audio examples @ best music or other sounds played through old-fashioned analog long distance phone line. thus arduino digital audio signal processor isn't serious option - except if have signal stored digital data , allow @ 10...100 times longer processing time duration of signal. in case use pc , excel or matla...

Choosing and replace capacitors for audio amplifier - Electrical Engineering Stack Exchange

Image
i have old audio amplifier (jvc a-gx2b) produces crackling noises on 1 of outputs. so, opened , discovered 2 largest capacitors seem leaking : can replace capacitor same characteristics (4700uf 50v), or should instead take specific capacitors audio? if yes, ones ? in addition, have interest replace capacitors of amp (not 2 largest)? 1: wear safety gloves when handling toxic leaky capacitors, remove , clean safely isoprop. , mark note polarity (-) 2 : measure dia , lead pitch dxl [mm] sort parts this 3: audio or better low esr, highest ripple current caps. < 50mohm, > 3aripple 4: better caps run cooler lower esr , rated higher temp. may not fit. 5: japanese caps have better reliability i suggest 1st choice panasonic @ digikey .. cost of shipping may more cost of caps. as suggested: cap voltage must same or more - capacitance tolerance doesn't matter, , may larger value. - large e-caps may replaced @ same time.

auto reset an Arduino using ftdi - DTR signal stays low and needs to go high after 1-50ms - Electrical Engineering Stack Exchange

Image
hello have cheap ftdi going recreate on pcb can flash atmega2560 chip onboard, ftdi has dtr line pulled low when sequence starts stays low instead of going low high after 1ms 50ms, need find out how create simple circuit when pulled low goes high, how can this, have simple components hand. my stocked parts: 103 ceramic caps 25uf aluminium caps 220uf aluminium caps some blue ceramic caps labeled "10" practically common resistors values 5v zener diodes 5v switching diodes npn transistors n channel mosfets 5v reflecting diodes can make using ? else can what's needed. many thank edwin sorry it's atmel atmega 2560 chip on pcb have serial lines , reset,5v,ground , 2 gpios on pin out. can flash ftdi. , ftdi dtr line stay low , need pluse rest line need figure out how use low signal pull reset low high right after. if try on arduino mega or uno holding down reset not work it's pulse going low high load boot manager. hence dfti dtr...

analysis of two transistors ib,ic,ie? - Electrical Engineering Stack Exchange

Image
is ib current correct went kvl through first transistor your forgetting re. you need use effective resistances r4 , r6, value \$r4_e = r4 * (1+\beta) = 40,000 * 101 = 4,040,000\omega\$ \$r6_e = r6 * (1+\beta) = 1,000 * 101 = 101,000\omega\$ using base circuit looks this. simulate circuit – schematic created using circuitlab you solve using various methods, shortcut realise that, ideal vbe, voltage @ top of both emitter resistors identical. such can treat both legs being in parallel. circuit can further simplified to.. simulate circuit now should able calculate current through circuit as.. \$i_{rb} = (2.6 - 0.6)/(2,260 + 98,540) = 19.84ua\$ that makes base voltages both.. \$v_b = 2.6 - 19.84ua * 2.26k\omega = 2.555v\$ so \$ib1 = (2.555-0.6)/4.04m\omega = 0.484ua\$.. , \$ib2 = (2.555-0.6)/101k\omega = 19.356ua\$ however: these numbers make sense if transistor not saturated. question states \$i_e \approx \beta * i_b\$ indicates ...

how to determine the current capability of a transformer - Electrical Engineering Stack Exchange

Image
hello have transformer ebay north court 50 amplifier. there not information online. has 400 0 400 volt ht think ran pair of kt66 valves gz34 rectifier dimensions l x b x h 4" 3" 4" if can me out on 1 great the main determiner of transformer power rating material , cross-sectional area of core. sets power level @ core saturate, , manufacturers don't want use more steel absolutely have to. as rough estimate, since these transformers use same kind of steel laminations , same relative geometry, sufficient make judgement based on volume/mass of core. since core majority of total mass of transformer (the windings tiny fraction), weighing enough, why marko made comment.

gain bandwidth product - Understanding of Dominant Pole Compensation - Electrical Engineering Stack Exchange

Image
according miller effect, within amplifying devices such transistors have inverting voltage gain higher one, there should increased input capacitance increased voltage gain of amplifier. i has been said effect limiting amplifier @ higher frequencies. comes incorporation of method of increasing transistor's bandwidth. 1 of them dominant pole compensation. according wikipedia: "when capacitor introduced between input , output sides of amplifier intention of moving pole lowest in frequency (usually input pole) lower frequencies, pole splitting causes pole next in frequency (usually output pole) move higher frequency." i part when states 2nd pole should moved higher in frequency (that 2nd roll-off), why heck want decrease 1st pole , consequently first gain roll-off begins @ lower frequencies before. what point of it? i mean, shouldn't desired gain vs. frequency curve flat possible, long possible - higher frequencies? addition of capacitor betwee...

amplifier - Problems in push-pull biasing - Electrical Engineering Stack Exchange

Image
i'm trying make push-pull audio amplifier pair of power darlingtons (tip142 , tip147), i'm having problems biasing. here's diagram of 1 of configurations: here i'm using 3 diodes, used different things in place try correct biasing voltage. with biasing voltage lower 2.2 v (between bases of transistors) has crossover distortion, because there'll small parts of signal none conducting. with 2.2 v or more, both conducting , there's no more distortion, there's problem: current flowing between them escalates heat until take on fire (being starting current isn't great , they're on large heatsink, heatsink doesn't have time heat, fast happens). they're stable biasing voltages lower 2.1 v, there's distortion. the components heating here output transistors, i've cheked , none of resistors or diodes heating up. i've checked if negative feedback help, didn't, because voltage in output doesn't change current flowing t...

Trouble with selecting a single wire segment of a net in Altium - Electrical Engineering Stack Exchange

Image
below want select , edit bottom wire of 3 parallel wires: but when click on bottom wire program selects middle wire because share same net. is possible single out desired wire segment without selecting entire net in altium? yes you need use "break wire" feature first - split wire up. think it's in "edit" menu.

op amp - Replacement for 747 opamp (dual 741) - Electrical Engineering Stack Exchange

i'm trying find "same or better" equivalent replacement 747 opamp. footprint / pinout can different, don't mind. using parametric search on arrow, while reading datasheet 747 found lt1355 might replacement. however, quite expensive; $16.89 1 single ic (dip package). searching lt1355 on octopart shows arrow cheapest one, price steep me. i'm fine around $8/pc. what other dual opamps can serve replacement 747? usually asking products/parts off-topic since can benefit wants better 741, i'm making exception. there literally hundreds of suitable 741 replacement opamps. the parts list waaaay expensive. have special properties few designs need. you should not looking 741 replacement per sé more "generic opamp". there usable opamps had less money. lm358, 10 1 euro (shipping included!) on ebay other examples: mcp602, ca3140, tlc271 most of these have versions 1, 2 or 4 opamps in 1 housing. you have compare datasheets see suits ...

UPS battery advice - Electrical Engineering Stack Exchange

i have apc ups 9 ah battery. would ok replace 18 ah battery? i realize modifications needed since won't fit in case. in theory shouldn't matter how bigger ah rating of battery long regulate current , voltage same. takes long transfer coulombs of charge. bigger battery of same chemistry have larger capacitance , may have lower esr.

Nyquist-Shannon sampling theorem on non infinite signals - Electrical Engineering Stack Exchange

Image
can sample , recover signals non infinite "length" using nyquist shannon theorem? example if have signal $$ x(t)= u(t+5)-u(t-5) $$ , know sampling period t less 10s (t<10). can recover using nyquist theorem? if not , recover it? edit: have taken fourier transform of signal , : $$x(ω)=2i(\frac{1}{iω}+πδ(ω))sin(5ω)$$ can lead finding period $$\frac{2π}{5} $$ , see if f>= 5/π can recovered. may not possible because used theorem although on finite signal no need think "finite length". though continuous time signals defined infinite time interval, in practice analyse in finite interval only. x(t) defined in interval [-5 5]. the frequency domain representation of such signal infinite bandwidth sinc function. hence not possible define particular sample rate per nyquist theorem, reconstruct without losing information. can sample definite sample rate, implicitly band limits signal. sampled signal after reconstruction through dac , lpf, not pe...

Is there any standard size in Custom PCB Manufacturing? - Electrical Engineering Stack Exchange

Image
i have no experience of dealing pcb manufacturers except time once used pcbway's service. know if there standard pcb board sizes 1 needs create when getting custom pcb made? my basic idea not incur cost loss of material pcb manufacturer faces. example, let's use board of 10*10 inch manufacture , submit custom board request dimension of 7*7 inch, increase cost of pcb? sometimes pcb makers have per-panel price. tell size using..or more importantly, area have work with-- usable area (not panel size) @ least 10" x 16", maybe 10.5" x 16.5" or bit more. small panel. large production believe larger panels more typical. typically phenolic single sided boards use larger panel sizes. this reference lists typical standard pcb panel sizes follows: panel borders (maybe 0.5" on each side) take away area. it not particularly important unless pcbs (or self-panelized pcbs) getting size few panel- materials not biggest part of pcb cost in prototype...

sql - Oracle - Query to join fact table to bridge table and show bridge group rows in one row? - Database Administrators Stack Exchange

i have data warehouse one-to-many relationship: "fact" table contains: product_group_id "product_bridge" table contains: product_group_id, product_id "product" table contains: product_id, product_name, other product attributes.. i've inserted data relevant tables, how can query database , retrieve products product group in 1 row result? i've never used bridge table before , not find decent/helpful examples online how query between bridge/fact/dimensions. i.e. desired result like: product_group_id product_id product_name product_id_1 product_name1 product_id_n product_name_n any suggestions appreciated. based on example output can use listagg. basic query can add whatever other criteria is; select distinct (p.product_group_id ||' '|| listagg(c.product_id||' '||c.product_name, ' ') within group(order p.product_group_id, c.product_id) ...

serialization - Conflict-serializability - Database Administrators Stack Exchange

so, task prove following: if s schedule containing @ 1 write action, s conflict-serializable. the answer yes, disagree, because following schedule contains @ 1 write action, , not conflict-serializable: r1(a), r2(a), w2(a), r1(a). am wrong? or answer wrong?

oracle - Archivelog file deleted, resulting in 'ORA-01113: file 1 needs media recovery' - Database Administrators Stack Exchange

(this not production database. i'm practicing in staging enviroment.) i'm trying set rman backup/recovery. i did full backup, seems in state. i did archivelog backup, went well. , then, (here's f***ed up), i... created new tmp directory. ran rman archivelog only backup tmp directory destination changed mind , deleted tmp directory. i realize rman keeps track of paths written backups , can't go around , delete these files! now, after do run { restore database; recover database; } i get ora-27037: unable obtain file status linux-x86_64 error: 2: no such file or directory additional information: 3 failover previous backup rman-00571: =========================================================== rman-00569: =============== error message stack follows =============== rman-00571: =========================================================== rman-03002: failure of recover command @ 01/19/2018 20:21:01 rman-20506: no backup of archived log fou...

innodb - Dba.getCluster: This function is not available through a session to a standalone instance (RuntimeError) - Database Administrators Stack Exchange

i using mysql innodb cluster. connect instance use \c root@localhost:3306 . error message pops out when issue var cluster = dba.getcluster('testcluster') . i've created cluster in last session. when reconnect not work anymore. the thing changed hostname localhost db005 , restart mysql server. don't know if has problem. has idea happened? did searches on google. seems resource mysql forum. still not able solve problem. https://forums.mysql.com/read.php?177,653826,657465#msg-657465 thx!

sqlite - Unique combination of values - Database Administrators Stack Exchange

i want create database program. use sqlite, although others option. i have columns a , b , c , d . a unique , primary key. b , c , d allowed contain duplicate value. however, don't want combinations of b , c , d repeat. instance, sample valid db: a b c d 0 18 n kiwi 1 12 v kiwi 2 15 t orange 3 12 j kiwi 4 12 t banana 5 31 f apple 6 10 h kiwi 7 15 y orange 8 20 b apple 9 1 m grapefruit 10 7 s apple 11 4 h banana 12 31 t egg sample invalid db (rows 2 , 7 ): a b c d 0 18 n kiwi 1 12 v kiwi 2 15 y orange 3 12 j kiwi 4 12 t banana 5 31 f apple 6 10 h kiwi 7 15 y orange 8 20 b apple 9 1 m grapefruit 10 7 s apple 11 4 h banana 12 31 t egg is there standard database rule or concept applies this? i can of course validation in code, manually querying db. believe construct fifth bcd column, concatenates other three, , required un...