Previous thread: >>2876653>I'm new to electronics. Where to get started?It is an art/science of applying principles to requirements.Find problem, learn principles, design and verify solution, build, test, post results, repeat.Read the datasheet.>OP source:https://github.com/74HC14/ohmOPbake at page 10, post in old thread>Comprehensive list of electronics resources:https://github.com/kitspace/awesome-electronics>Project ideas:https://hackaday.iohttps://instructables.com/tag/type-id/category-technology/https://adafruit.comhttps://makezine.com/category/electronics/>Books:https://libgen.li/>Principles (by increasing skill level):Mims III, Getting Started in ElectronicsGeier, How to Diagnose & Fix Everything ElectronicKybett & Boysen, All New Electronics Self-Teaching GuideScherz & Monk, Practical Electronics for InventorsHorowitz and Hill, The Art of Electronics>Recommended software tools:KiCAD 6+CircuitmakerLogisim Evolution>Recommended Components/equipment:OctopartLCSCeBay/AliExpress sellers, for component assortments/sample kits (caveat emptor)Local independent electronics distributorsladyada.net/library/procure/hobbyist.html>Most relevant YouTube channels:EEVblogW2AEWMoritz Klein>microcontroller specific problems?>>>/diy/mcg>I have junk, what do?Shitcan it>consumer product support or PC building?>>>/g/>household/premises wiring?More rules-driven than engineering, try /qtddtot/ or sparky general first>antigravity and/or overunity?Go away
perfect santa hat fit
Are TL072 prices still retarded or nah
>>2883152>8c for a SOIC>38c for a DIPSeems ok to me, and those are from TI. They’re going to be significantly cheaper still from Chinese manufacturers.
Do guitar pedals need to be in metal enclosures to insulate them and keep interference at bay or is it just for durabilityI want to try fucking about with making some but I'd just be making the enclosures out of MDF because it's cheap and I can
>>2883191Pots with long wires and unshielded casings will definitely act like antenna, which is especially bad for high gain circuits
>>2883191It’s mainly durability. Check out the grunty foot pedal switches on those things.> mdfYou can shield it with an altoids tin inside, or some sheet metal for ducts, or a tin can can form a shield.https://www.youtube.com/watch?v=fs8dVm1Ot3E
>>2883274explain what we're missing, anon
Just built a flyback driver and I'm wondering whether food can be cooked using a high voltage arc
>>2883318tried it once, it just made shit charred on the surface.the arc is too hot for cooking without mixing its heat with colder air or distributing the heat on a hotplatemight work for caramelizing the top of a creme brulee though
>>2883318fukk I want a pizza now
is there an upper limit to the number of reference voltages you can have in a voltage divider comparator set up? made a volume unit meter and wondered if i can have more resolution with more IC's resistors and LEDs.
>>2883318what are you driving it with?
>>2883611I've got an arduino generating a square wave which then goes through an optoisolator. On the output of the optoisolator I've got a bjt inverter stage to drive the mosfet gate. The mosfet is a 20n50 I had lying around. I've used irf540s before but they would always fail short, probably because I've got a 1n4148 signal diode as a flyback diode instead of a proper snubber.
>>2883610In practice, you start to run into problems with resistor tolerances (same as with a resistor ladder DAC). In theory, though, there's no limit. You can get quite a few stages by buying low-tolerance resistors and hand-picking the most accurate ones/combining multiples.
>>2883648> a 1n4148 signal diode as snubberThe diode probably burned out on the leading edge of the first square wave pulse
>>2883138What is that paste called? And what is he making? Did he order the metal plate stencil thingy or did he custom cut it? What kind of machine can you cut or stamp it with at home? And what is he making with that chip?
>>28837531. Solder paste (powdered solder mixed with flux)1. Volt meters with LCD displays3. He ordered the stencils with the PCBs4. a CNC plasma cutter or laser cutter depending on material and thickness5. Volt meters with LCD displays
>>2883648nice. ive got a 555 oscillator for when the universe grants me a flyback transformer but for some reason the signal craps out when i connect it to base. surprised your arduino doesn't suffer from feedback issues but that's whats cool about optical isolation i guess. haven't tried 540's for anything but all my 840's failed where the 2n2222 prevailed in my recent slayer exciter. still no break out tho, think my secondary needs more turns.
>>2883648>50V 0.1A diode for high-voltage power electronics>putting an anti-flyback diode on a flyback converterwhat the fuck are you doing
>>2883769The 2n2222's low input impedance on the base may be acting to clamp (to an extent) voltage spikes whereas the 840 (or any mosfet) has a very high gate impedance which could be causing voltage to build up and overload the gate insulation. Just my guess as to why the beefy 840 would fail whereas a small signal bjt wouldn't.>>2883794>anti-flyback diode on a flyback converterThe leakage inductance of the primary causes ringing which needs to be suppressed or the switching transistor will fail due to excessive voltage. This leakage inductance does not couple to the other winding but does cause ringing which needs to be suppressed. That is my understanding at least, correct me if I'm wrong.Also the 1n4148 was an afterthought really I couldn't be bothered making calculations for an rc snubber or rcd clamp so I just overspecced the switching mosfet
>>2883802you're probably onto something, the gate capacitance is probably not draining and then overcharging like you said.. the 840 did oscillate but if i tried to start it with a top load or touch the end of L2 it died instantly.
Why is there green shit appearing at my solder joint. It's liquid, cause I can push it around.
>>2883909That's the dreaded plutonium solder. Aliexpress/amazon?
I am new to KiCad and I have question. I was trying to build a PCB which contains a SOT-23 A19T PMOS. What I couldn't figure out was how to assign the pins to the SOT-23 footprint (the generic SOT-23 footprint have 1=D, 2=G, 3=S, but the A19T PMOS I have had 1=G, 2=S, 3=D on the datasheet) and after dicking around with this for ~30 minutes, I gave up and just created a copy of a PMOS with a new copied SOT-23 footprint and just used that.Is actually an option to reassign pins from a symbol to a footprint? If so, where? I can't seem to find it anywhere (or maybe I'm just retarded)
>>2883947Never tried, but can't you remap the pins when you right-click while in the symbol editor and choose the pin table?
>>2883760Is there a website chinese website that sells a collection of stencils and pcb's like this for many different/common things?
>>2883959The stencils are meant to speed up low-volume production. If you're just doing a few boards you can apply solder paste without one.https://youtu.be/xPFujTJbUkI?t=360https://www.youtube.com/watch?v=ivE6SXDdd0A
>>2883955I think that's how I ended up doing, but I ran into some issues with saving and KiCad wouldn't allow me to save it, something about a read only copy. So that's why I ended up creating an entire copy of said PMOS. If there is a way to update the pin definitions on the schematic without changing the symbol in the library, then I am just retarded and didn't piece that together
>>2883969The symbols and packages that come with Kicad are read-only for a good reason. You should not modify them. If you do that, what happens when you update your Kicad installation? Creating a new library for your own components is the way to go in my opinion.
>>2883947If you don't want to make a new symbol for the A19T FET, you should probably just use the "Q_NMOS_GSD" or "Q_PMOS_GSD" symbol, and choose its footprint later. You could also choose a MOSFET with the same package and pinout, and just rename it.>>2883974I mostly agree with this sentiment, but it doesn't stop me from going in and flipping all the PNP and PMOS transistors so the body diode points upwards. Having to flip every damn P transistor just because of some stupid convention is irritating. Should probably make a feature request eh.
>>2883928No but it is chinkshit tier. I've used the cable, heatshrink and solder before and its been fine.
>>2883683that makes sense, I decided to make make parallel circuits for a spectrum analyzer instead of a long one but i cant seem to get any signal through a high pass filter based on picrel. if i put the cap and resistor both parallel it kind of works but cant see any difference in the outputs when sliding through a tone generator.. it must be doing something to the signal though but really i just need an oscilloscope i guess.
>>2884105What are your filter's R and C values? What's the input impedance of the signal receptor after the filter, and the output impedance of the tone generator before the filter?
Hello. Got this busted kidcamera to mod the fuck out of it. That bloated battery, what is it? 3v7? It has no text. AA for size ref, its pretty small.
>>2884247Looks like a single Cell LiPo 3.7v nominal
>>2884249ty
>>2884108values are 10K and 4.7nf. seems to be a difference in dc resistance about 400Kohm between the amp output and signal input. does this have something to do with impedance matching?
>>2884285That shouldn't be loading down the signal generator at all, but there's a chance it's giving trouble on the other end. See if you can swap to something closer to 1k/47nF.DC bias isn't a problem for your signal, is it?
>>2883138What would be the cheapest way to clean the power from my generator? I need to do some welding away from the shop, and I've heard that inverter welders don't like cheap generator power. I don't really care to purchase either an inverter generator or a transformer welder, since I don't need to weld outside of the shop very often.
colossal assholes, i have a multimeter but no 9v battery so i can't use it. the delivery times are unreasonable because of the holidays. i tried a simple continuity test by trying to short circuit an AA battery, and got a read on the thick wire and even a scorch mark on the connector. now i'm not getting a read on anything even with fresh batteries, the other wires i'm trying to check are thinner so i can't feel any electricity or heat to tell apart from placebo. i don't have loose LEDs or anything to use as an indicator.
https://www.youtube.com/watch?v=J6rEB5_DCZckek doesn't look sketchy at all
>>2884406> broken or can’t figure out how multimeter worksSomehow, you’ve managed to get to the point you’re at now without picrel. It’s more accurate than a DMM and needs no battery for measuring voltage or current.Be prepared. When the S hits the F, you’ll need it.
>>2884333You can buy professional “power conditioners”, but they aren’t cheap, and probably wouldn’t solve the problem. My guess is that the old generators vary in frequency much more, and the PFC circuitry inside the inverter welder doesn’t like that. The only thing that can change the frequency of mains power is a VFD, which also isn’t cheap, and I don’t know how smooth the output of one of those is for an inverter welder that’s expecting a sine wave.I could be wrong though. Oxyacetylene?>>2884406>the delivery times are unreasonable because of the holidaysCan’t you just walk down to your local dairy or supermarket and buy a 9V battery in person? They’re frequently used by smoke alarms so they should be widely available, even A23s and LR44s are sold at the supermarkets near me.
>>2884409check your privilege, it costs at least $2 if my parents will even go to the specific store, the other ones are more expensive. and they just did their shopping today. it's in the middle of the night in my country. and at this point, i could buy a knockoff cable for $12 instead which will be much easier to reverse engineer, i only have the lightning version and i'm trying to make a USB cable. it has 5 wires inside, i can get it to be detected by windows if i connect the 5th wire to +5V but it doesn't work beyond powering on and being detected by name.
and the 5th wire seemingly goes to data (negative) instead of +5V on the lightning connector, but then it doesn't work, i need to continuity test the other wires
>>2884409I haven't oaw welded since high school, and aren't set up for it anyways, so that's a no. I guess I'll brush up on my stick welding and scrounge up a cheap stick machine off marketplace. Shouldn't be too hard to find an old airco or sears for cheap. Cheaper than the $300/day the local rental place wants for an engine driven unit, anyways.
>>2884411What are you trying to do with USB, and what is not working? This video may help:https://youtu.be/VG5bWzEPfsg?si=cvw55NGWQ_-LQwpmAlso get a job.
Currently trying to build this.https://www.youtube.com/watch?v=-czOV-hKSlA&t=903sShould I even bother with breadborads anymore? I feel that I spend more time looking around for bad connections that building circuits. Also can someone explain why there is a 100 ohm resistor between the positve rail and the first amplification stage ? I can't figure it out.
>>2884458this is the circuit I am talking about.
>>2884458>>2884459The 100R resistor makes a low-pass filter with that 100uF cap for extra noise rejection, likely from the power supply and the other stages that might be feeding noise into that +5V rail. The current being drawn by that first stage is more or less constant and very low, so the voltage drop across the 100R resistor is minimal. You'll often see this sort of RC power filter on low-current primary amplifier stages.Though personally I'd just ditch the BJT stages and use an op-amp or two. That transistor amplifier chain looks pretty crude, it all seems eyeballed at first and then tuned until it works. I don't really like DiodeGoneWild's projects. Or his godawful accent. I watched Huygens Optics video on the principle of DD metal detectors. My implementation would be an op-amp receiver circuit with a diode detector feeding a buzzer or piezo oscillator, and a MOSFET ZVS circuit that pumps a lot of power into the soil. It would probably be possible to do phase detection in an audible way so you could tell the metal type by ear, but it might be better to incorporate a microcontroller anyhow for the purpose of sending out short powerful pulses and sampling them, possibly at multiple frequencies.
yo, maybe someone here can help me figure out what's not working in this circuit. Pic related is the circuit diagram on the back of the fridge. The plug is fine and so is the source of power (~120v, ~60 Hz) I get 115v on the hot line going to the compressor , I get 155V in the outlet for the light on the inside of the fridge and replaced both the strting relay and the overload protector but still wont start, any suggestion?
>>2884482Can you measure inside it while it's powered-on? I'd want to measure the voltage from L-C (should be 0V, if not this suggests a faulty thermostat), L-S (should be mains 115V only when motor is starting, dropping significantly lower after), and L-M (should be mains 115V always). Also what does it sound like when powered? Rotating of a compressor, humming of motor windings, or silence? Any clicks from the thermostat?I don't see a capacitor in your diagram, I'm guessing it's included inside the compressor assembly. If the motor start cap is dead (they do die), it wouldn't start, and wouldn't be replaceable. If it failed short, you'd be able to use an external motor start cap, but I think they usually fail open-circuit. And also shoot their goop out, which may contaminate the oil. Replacement compressors aren't that expensive IIRC, but you may need to get someone with brazing equipment and refrigerant handling capabilities to plumb it in for you if you're not a diytard like HyperspacePirate.
This red wire is the factory solder for a batteryI've never undone it, but it may have had some strain.Does it look like it could pose a problem? I don't know much, but you can sort of see the individual strands(?) of the wire and it doesn't look tinned. Could it be a poor connection or it doesn't matter as long as they're all flowing to the solder point?The battery does have issues though it's to do with detecting the correct battery level and charging.Second question, is buying cheap batteries on AliExpress bad? Are they safe or possibly dangerous? It's for a ps controller.
>>2884513kys retard
>>2884520rude
>>2884473Thanks dude.
>>2884458>>2884459No. Get a big ground plane and solder everything point-to-point. Individual submodules, like each of those CE amplifiers, can be made by twisting together the legs of their components and soldering, then tacking down the entire unit through either their ground pins or their decoupling capacitors.Your "breadboard" should be a large copper sheet that you reuse, and once you prove the circuit works you can easily un-tack everything and transfer it to a smaller/cheaper ground plane (copper tape on cardstock is great for small projects).
>>2884596First time I hear about this. Thanks, I will try it out.
i done goofed and put a 431 on a board with the intention of getting +1.3V out of it, forgetting that the 431 can only go down to +2.5V. and i double done goofed because i need to sink 150mA to +1.3V and the SOT-23 431's i got can only do 100mA (i.e. R55 should be going to ground instead of +5V).options? i can fix the R55 issue with deadbugging and enamel wire, but i dont see an solution to the +1.3V issue.
>>2884631you're fucked, what's the reference for?best option i can offer is an op-amp, probably with a bjt output transistor, to buffer a reference or divided referencemaybe you can find a chinky version of the TL431 that can sink more current and go to a lower voltage, but scouring the land for chinky silicon is a bleak task
>>2884503thanks for the advice, I'm away from the home RN, but will post updates when I get back
>>2884682thanks fren <3
>>2883138short and simple: thinking about building a sound powered telephone. dont fully know how they work, im all for doing the research myself but to save me the trouble whats the difficulty scale on making one of these?
>>2884717so how do you receive the calldoes the person have to shout down the receiver, which activates the piezo whatever in your phone and powers the phone to make it ring?but then who was phone?
>>2883138>Xiaomi Microhoo Air Cooler.Has anyone ever disassembled this Air Cooler?How do I remove the shutter knob without breaking it so the external housing can slide up and off?
>>2884765Knobs are often just friction-fit onto potentiometer/encoder shafts. Sometimes they have grub-screws, but if that's the case you'd likely be able to see it from the side, unless the knob is two-part. Maybe there's a vinyl sticker you can peel off the top.
>>2884766> grub screwI haven’t seen a grub screw on a knob since 1967, and that was in old tube equipment from the 1940s.
>>2884768They're all over the place when you want to hold something to a shaft. Any half-decent knob meant to slot onto a potentiometer's D-shaft instead of a spline-shaft has one.
>>2884766No stickers..No grub screws.I was thinking its probably glued..BUT it'd be better to confirm that before I melt it with a hot air gun at god knows what temperature.
>>2884765>>2884773video of shaft.If glue; If I use heat..What temperature?
I want to attach a set of female pin headers upside down (pins poking up through the unplated side) on perfboard for a pi hat. Wat do?
>>2884785spread those legs
>>2884809Should work for what I'm doing (only a few pins in a single row) and seems less janky than the idea I had of using hot glue and jumper wires. Thanks.
etched my first pcb, came out surprisingly well. some of the edges are a bit rough because i used a toothbrush and sponge for developing/etching. i think if i did it the right way by rocking the pcb back and forth, it could be basically perfect for my uses.>chinky copper clad boards>chinky negative photoresist>chinky inkjet transparency>7.5 watt chinky UV COB lights 4 minutes @ 6" exposure distance>0.5mm trace width, 0.5mm clearance>sodium carbonate developer>fecl3 etchant
>>2884821Excellent results for your first board. You can use a fish tank with a heater, air bubbler, and UV LEDs in the hood so you don't have to manually agitate the solution.
>>2884829>UV LEDs in the hoodFor exposing the photoresist so you don't have to move from tank to tank and make a mess.
Has anyone here run into an issue where the Wifi on a ESP32 only periodically works? I have this oldish Sparkfun ESP32 Thing V1 and this thing can connect to my Wifi network for like 20 minutes and then just randomly stops. I flashed one of the default example HTTP Server from the Arduino examples and attempted a continuous ping from my main machine and the ESP32 just dies after some random unspecific amount of time. It is strange
>>2884843I haven't had the issue, but how are you powering it? Have you tried another PSU and/or cable? Is the cable too long? Are you getting a steady 3.3V from the regulator? Are any components getting hot? Any cold solder joints around the USB connector? Debris inside the connector?
>>2884847This is currently a testing device, so it is being powered from my Desktop. I tried another USB cable, but no success. I have no idea about the regulator, but I'll have to check which part that is once I find the datasheet, but none of the components were getting hot (other than the antenna of course). The only solder joints that are really close to the USB connectors are the pin headers (as I have to solder that on myself), but there shouldnt' be any other debris inside the USB connectors (I used an air duster to dust everything on this thing thinking it was debris)
>>2884851I'm thinking you have a bad solder joint or two because it works for 20 minutes until heat expansion breaks a connection. You could flux everything and reflow the board, or manually touch up anything sus.
>>2884821Nice use of copper and preservation of etchant.Sometimes I turn some of the unused copper into a prototype area and/or heatsink.
>>2884821Very nicely done. I'm surprised you got such good results out of chinky photoresist, my stuff was covered in imperfections, and my inkjet transparencies really didn't produce enough contrast. I now use a laser to burn away a lacquer etch resist.You'd be better off using FR4 copperclad instead of FR2 though, it's more resistant to delamination from heat. If you want to do 2-sided boards, you'll want to etch one side, then drill it, then etch the other side so you can ensure the mask is aligned.What's the project?
>>2884883yeah next time i buy some copper clad i think im going to try to find fr4. can fr2 survive reflowing or hot plate soldering?im trying to teach myself smps basics so the >>2884821 pcb is for a low power dc-dc single switch forward converter.
>>2884911
>>2884911>>2884912No thermal reliefs is a brave choice. What was transformer selection like? Or are you winding your own? I've always been repelled by isolated converters because of that, but if I understand forward converters are easier than flyback converters since you don't need the air-gap in your core.Also are you sure that optocoupler line should be going into COMP and not FB? The datasheet isn't great, but otherwise it does look like a nice general-purpose current-mode PWM controller, though maybe not quite as versatile as the voltage-mode TL494 with its two error amplifiers.
>>2884925i designed it with crap i had laying around so it doesn't really have a use case, it's more of just a proof of concept. i believe, however, that it should be good for 48V @ 0.5A output -- meaning that the average current on the caps, didoes, transformer, inductor, and FET are within data sheet parameters.transformer is a chinky ee25 pc40 ferrite that im going to wind myself. i dont understand magnetics much but i did find a formula that shows 6T on the primary should be enough to avoid saturation. the magnet wire is just stuff that i had on hand, with enough parallel strands to land between 3-5 A/mm^2 current density.the output inductor was also just some chinky thing i bought off aliexpress years ago for a project i never built. it's rated to """7 amps""" so it should be fine.i actually wanted to do a flyback but i was too dumb to find/understand the formula for the air gap. single switch forward converter is comparatively simple. i believe my treatment of the COMP and FB pins is appropriate. i also simulated it in ltspice (using an lt1245) and it worked fine.
>>2884926Just that COMP looks like the low impedance output of an op-amp, I can't see how an opto tied to it could pull it down at all.
>>2883138>900M series soldering Iron tipsRecently purchased YIHUA 948-II Soldering Station.Now I need soldering iron tips..One of each size of every worthwhile type.>Pure Copper?>Gold Plated?>Lead-free brass material gold plated?>Lead-free brass material black plated?!! WTF !!Recommendations, Please.
>>2884971You actually want iron plated
Does my buck converter look dead? My soldering iron won't tin properly.
>>2884986what does your soldering iron tip look like?
>>2884991Like this. It has a knob and I set it at 350°C. It just turns the solder into balls.
>>2884971Raw copper ones will probably dissolve pretty fast, you want one with a plating that wets solder decently but doesn't dissolve in common solder alloys. No clue about brass. Lead-free designed tips seem to last longer. Considering the price I'd try one of each. Make sure to get chisel tips though, conicals are ass.t. T12 chad>>2884986Looks fine to me, except for the shitty soldering job.>>2884992Is your iron melting solder quickly? If not the temperature adjustment dial may be inaccurate (turn it up), or your thermal conductivity to the tip is bad (consider adding thermal compound inside it). Does your solder have flux in it (i.e. smokes when molten)? If not, get some decent rosin-core solder, leaded if possible. If so, does it wet to the tip (i.e. tinning like you said)? If not, try some tip tinning compound, extra flux, lowering your temperature, or a replacement tip (I recommend a 1.6-2.4mm chisel tip for through-hole work). The tip doesn't look oxidised at all, so I'd sooner guess it to be an issue of flux. If it does wet, it's probably just a matter of technique.You want to maximise thermal contact with the workpiece, often that means putting your tip on its side if its conical. You should be making the solder joint fast enough that the flux inside the solder doesn't have time to fully burn away, hence leaving you a shiny and well-filleted joint. If this takes too long, you aren't putting enough heat into the joint. This can be improved by tip geometry or angle, by upping the iron's power rating, and in the short-term by using a higher temperature or using a tip with more thermal mass. It may be hampered by a workpiece that itself has a high heat capacity. I recommend having some molten solder stuck to your tip because molten solder makes much better thermal contact compared to a solid tip against a flat circuit board, but you'll still need to add more solder in order to get its fresh flux.Watch some soldering tutorials if you're unsure.
>22$ shipping for 47$ worth of partsIt hurts bro.These SRAM aren’t available locally for me or LCSC so had to order from one of the big boys distributors (Arrow Electronics)
I wanna splice a computer fan to a USB connector. Do I just solder the +5V and ground lines and it will work if I plug it in.
Learning about the dual MOSFET level translator circuit. The circuit seems to work with just the left transistor. Is the second transistor supposed to make the thing more stable? Can I somehow use NPN transistors instead of MOSFETs if I need just unidirectional translation?
>>2885007>it will work if I plug it inyes, kinda, maybecomputer fans are almost always 12Vwith a 5V supply they'll turn very weakly, if at allbut, yes, 2 wires is all you need
>>2885054The single FET logic level shifter requires that the higher of the two voltages is on one particular side of the circuit. By having two back-to-back like that, it will operate regardless of if one voltage is higher than another.NPNs don't work.
Repairing (again) an karman hardon 370, the two output transistors in pic related had shorted C-E making a short circuit been +VCC(50V) and -VCC(50V). Is there anything else i should check before replacing them and how important are the characteristics of the transistors i replace them with? Can i choose any good ol audio power transistor or does it have to be a 100% match?
>>2885077You should be able to use any old audio power transistors, if they can handle the voltage and power dissipation, so long as you properly adjust the Vbe multiplier to have the right current through those 0.47R resistors. The +/- 1.2V measurement is likely not something to trust though, what matters is the bias current through the transistors with no signal. You’ll want to tune it down to a low value before putting the new transistors in place.
Figured I'd ask here because /g/ is a bunch of clueless fags:I recently put some new switches in my Logitech G2023 that started doubleclicking and shit. I replaced the shitty chinese Omron switches with better jap ones. However, only after I had already put everything back together, I realized that while I was at it I could also have gotten silent switches. Since I doubt that mouse switch technology will yield new breakthrough technology in the next ten or so years, I would already go looking for good silent switches. Googling is useless, as is googling reddit results, and asking chatgpt got me chinese switches recommended when I was explicitly asking for excluding chinese ones.Now I am wondering: Are there even non-chinese good silent switches or am I just shit out of luck?
I'm working on a boss amplifier. The dip mounted micro fuse f1 is toast. It oversees the digital supply. D22, D23 test nominal. I've removed C177 and there's only 2 ohm across its unpopulated pads. I'm hoping there's a way to sus this out without getting into the smt part of the board.
>>2885115No clue about silent switches. Maybe there are hall-effect or optical microswitches in the same form-factor, but I think they'd need another power line. I'd browse Omron's switch catalogue on their website, and download or make a spreadsheet with switches filtered by form-factor, cycle-life, and decibels. Maybe also actuation force.>>2885117Yeah 2Ω means there's something shorting somewhere down the line past F1. Short of any smoking guns (or smoking transistors) I'd make a 100mA milliohm meter (literally just an LM317 + a resistor + a 9V battery + a clipping diode) and use it with your multimeter to figure out the source of that 2Ω resistance.The schematic is kinda confusing with all those "UnPop" labels, is it completely missing that zener darlington regulator circuit?
I'm looking for something like a magnetic latching solenoid to make a hinge that can switch between swinging freely and locking in place.
>>2885164From the brief research I did with solenoid actuators, it's cheaper and more flexible to make them yourself. That or you just use a rotary motor and a screw or belt/rack to get linear motion.
>>2885115there's a lot of autism for mechanical keyboards, i went with gateron zero degree as a decent balance between responsive typing feel and low noise, but i haven't heard of swapping mouse switches being a thing
>>2884765To remove the shutter knob and slide the casing off, start by examining the knob closely for any visible screws, clips, or fasteners that may be holding it in place. If there are no visible fasteners, it’s possible that the knob is glued on. You can test this by gently wiggling the knob to see if it moves at all, which would indicate it’s likely adhesive. If you suspect glue, carefully apply heat using a hairdryer or heat gun on low for 2-3 minutes to soften the adhesive. Be cautious not to overheat the area, as excessive heat can damage the material. Once the glue has softened, use a plastic pry tool or a flathead screwdriver (with the tip wrapped in tape to avoid scratching) to gently pry the knob off. After the knob is removed, check for any other fasteners or clips that might be securing the casing. If all is clear, the casing should slide off. If the knob is still resistant, check for hidden screws or clips before proceeding further.
>>2885115> omron switchI have to replace the switches every year or so in my logitech. I think I’m going to take apart the switch and try and figure out what a actually goes wrong with it.My guess is that the contacts oxidize as part of their planned obsolescence programme.
>>2883947usually you have a generic footprint and the symbol assigns the label to pin number
looking to purchase a cheap starter oscilloscope, any recommendations?
>>2885371What are you going to use it for? What frequency range?
hey
Has anyone tried replacing Zebra strips (or Elastomeric connectors) in a watch?I have an old forester "fish in time" from like 2000 and i think the strip has degraded.How do i make sure i get the correct sizes? (is there a size identifier/number or something?)
Manufacturer was very specific about not vaping with this, if I ignore the other suggestions I should be good to charge it with a circuit from a vape tho right. Just gonna be .1/C rate yeah?
>>2885371dso150 if only for having a convenient handheld scope under $30. Then use your experience to pick a bench scope that will best suit your needs.
>>2885446>so many "vapers" have killed themselves with this before they died from cancer that the manufacturer saw a need to print this on their products
I'm trying to clone a digital out section of a synth expansion board. I'm pretty sure i can source all the parts, but I'm not sure what spec transformer to use for t1. anyone have any ideas?
>>2885572Not sure, it doesn't say in the datasheet or appnote for my PCM2900s. Look for some S/PDIF appnotes, you should find something.
>>2885446>Manufacturer was very specific about not vaping with thisIt's an unprotected cell.>>2885572Pulse transformerhttps://www.instructables.com/Improve-Your-Soundcards-SPDIF-Output/
>>2885520Interesting that they put the onus on battery manufacturers… probably get minor burns on their hands that are covered under healthcare, but the lung cancer will bankrupt you, as is their goal.> Just gonna be .1/C rate yeahTrickle charging is generally better for the battery, yes
>>2885572> transformer?I’m guessing it’s a pulse isolation/transformer like you see in telephone equipment and ethernet
>>2885572Any suitably high inductance transformer should work. You want a coil with significant (i.e. >10kohm) impedence at your audio frequencies of interest, and for audio usually these are sold as "audio transformers" for $1-3 apiece. Ebay has them. They're the same kind you'd use for a ring mod pedal.
>>2885641They make ring-modulator pedals? What kind of sound do they produce? Are they used with an LFO for tremolo? Or do they self-mix for harmonic doubling? Seems to me like there’s easier ways of making a VCA, albeit not as linear.
My tips won't get cleaned at all no matter what. This is the 2nd set of tips that won't get tinned. I've never used them, followed tutorials step by step.
>>2885752>followed tutorials step by stepcant make silk out of sow's earthose tutorials assume you have a decent tip, like Weller or Hakkomeaning tips manufactured by those companies, not just ''compatible with''
>>2885758Do hobbyist beginners who watch those videos actually have that kind of equipment laying around
>>2885761No, your first time hobbyist usually has multiple expensive soldering stations with solid 24k gold 2 oz. tips.
>>2885752link to where that came from.
>>2883138if anyone is looking for some cheap dmm probes i just got these and they're pretty nice. wire is flexible silicone and the tips are sharp and replaceable. definitely better than the crap my uni-t meter came with. they aren't as nice as my probemaster probes but these are like 1/5 the price. https://www.aliexpress.us/item/2251832765507965.html
>>2885799Nice replaceable tips, but I miss the days when you could replace the banana plugs and probe bodies with set screws. These look moulded together.The lead wires are probably PVC which ain’t great, but thanks to the RC crowd, you can get silicone wire that is much better.Also, I’m definitely going to loose those extra tips, by the time I need them, just like I lost the caps/tip covers.
>>2885844>but I miss the days when you could replace the banana plugs and probe bodies with set screws.just buy loose banana plugs and some nice wire
>>2885844>banana plugs and probe bodies with set screwsyeah, loved those set screwsso many colleagues electrocuted themselves while unplugging them while touching the screwsit's a lot easier to advance in a company when your competition is dead
>>2885752Do you tin them when you first use them? Flux them and wrap them with solder and let that burn off. Otherwise they tend to caramelize in short order.
>>2885671You can add whatever you want lolThe basic effect is just two center tapped audio transformers and 4 diodes. A bit pricier than average, but dead simple.
>>2885752You're not supposed to clean your tips, you're supposed to leave them covered in fresh tin always
What experiment can I do to determine how the drain-source resistance of a JFET varies with the gate voltage? The specific JFET in the voltage controlled filter of this circuit is no longer available as through-hole, so I'm trying to replace it with another one. I need to work out what range of gate voltages will appreciably change its resistance to modulate the filter properties. Would it be as simple as using the experiment circuit that I've drawn? I understand that they are "non ohmic" components and actually voltage-controlled current sources so there's probably more complexity than I appreciate.
>>2885923Sawtooth at the gate, or just use a potentiometer and draw points.>using the experiment circuit that I've drawnJust make a basic bitch common drain amplifier or something
>>2885752You probably have shitty solder with shitty flux in it, or no flux at all. Does the solder at least melt? See:>>2884995.
>>2885923> rds It’s hard to say how sensitive this circuit is to that resistance.I’d put a transistor socket there and try a few and see what the in-circuit results are like.> no thru hole.Solder some wires on to the SOT23.Get used to it.
https://www.aliexpress.us/item/3256805384870695.htmlHello, I am hoping someone an answer or a possible lead on this. I bought this bldc vacuum motor to be used with a cyclone vacuum for my work bench. I didn't notice initially that you have to cycle to turn on / low speed / high speed / offpic related is pinout on the other side of the board of where the connector is, you simply short the two wires together to cycle through. I know "U","V","W" is commonly used on pinouts for 3 phase bldc motor, are the ones in pic related have any significance to be able to ID what they are, I mean besides "G".The wires I short together, one is to ground while the other goes to pin "E"some other notes that may not matter. Under the board there is 3 blade connectors that I have found to be U,V,W, so if worse comes to worse I will see if I can remove it and use a drone 30A ESC. I mainly wanted to see if I could use a servo tester to adjust its speed like I can with 30A ESC, so I can turn the motor on from the servo tester, adjust speed, and turn it off. I haven't tried shorting the other pins to ground, and probably won't just so I don't risk destroying the motor.
>>2885752Use an abrasive like scotch brite to clear off the oxidation, and then immediately turn the iron on, and apply flux and then solder quickly.
>>2885960No clue sorry anon. If those pads are meant for buttons, then there should be a resistance from them to a positive logic rail, which you might be able to measure when off, or measure the current from them while on. If this is the case, then trying to short different pins to ground (momentarily or constantly) would be a how I'd test it. If not, you could try reverse engineering the PCB by following the traces, with any luck the design is not all in the firmware. Else, yeah you'll be stuck chucking an ESC in there.>>2885979Scotch brite is a shitty idea. If there's so little oxidation that a quick wipe with an abrasive will clear it off, then any half-active flux will do that with less damage to the plating. Plus some rubbing against something soft while it's hot, like a wad of paper towel. If not, then you're even more likely to ruin the tip with the abrasive, and should probably use a dedicated tip tinning compound instead. Maybe zinc chloride or molten citric acid would work too, idk.
>>2885923 (me)In the end I managed to find new values for R43, 44 and 45 by replacing them with variable resistors and tweaking them until they worked. I wish I could be more sophisticated, but I suppose an experimental approach is OK if it gets you results.I'm kind of concerned about this JFET going out of production though, are all through-hole components eventually going to be replaced with surface mount? How will hobby electronics survive?
>>2886222Heh heh, I heard the same arguments about being impossible to repair and whatnot when p2p was being phased out in favour of PCBs: “cheap crap so they can fire all the assembly line shifts”Turns out it ushered in what most people think of as the golden age of hobbiest electronics.
>>2886222JFETs specifically are pretty bad for going out of production. Especially since their circuits are even more dependant on their turn-on voltage than a BJT circuit is on hFE. It’s usually pretty easy to just make or buy an SMD breakout board though.I’m an op-amp guy, partially for this reason. If that op-amp is hard to get, just swap another in with equal or better specs where it matters. It gets more difficult and more expensive when it comes to RF circuits, but if you’re sticking to audio stuff, you can’t go wrong with op-amps.
>>2883138Once upon a time there was a list of 100 /ohm/ projects to roll floating around. Does any of you have it?Also, any projects for a complete beginner? I don't want to play around with arduino and build robots, I want to get a good grip on building functional circuits with basic components (resistors, capacitors, etc)
>>2883138Yo there! Good year!Sorry to bother again, I just installed a new led light like pic rel, with the same kind of driver, I make the couples of the wires and put in the socked, but it started to flicker, in the same way when the caps are damaged, changed the driver and still do it, changed the led light and still does it, cut the round connector and tie the wires, but still flicker.I changed another new one with their own driver and still flickers.The first light was used for a couple of days with no problem at all, in another circuit, but still in the same house; could it be something about the electrical installation?When starting to make the fault, it stopped when rotating the plug, so I was guessing itwas a false contact, since if the driver went fuse, it would keep that state not going back and forth, and to fail all the drivers/lamps, well, while I think its possible I don't think it is the case.What's wrong?What can be done to correct it?No other bulb,lights,devices shows fails in the same circuit.Thanks.
>>2886323>Does any of you have it?go to link in first post: https://github.com/74HC14/ohmOPsearch ''dont ask''
>>2886282That's a pain that JFETs are falling out of favour, a lot of analogue synthesizer circuits seem to use them, and those are what I'm interested in building.I'm experiencing this dependency on turn-on voltage firsthand because the circuit I'm making turns out to be extremely sensitive to the gate-source voltage on Q8, which is itself dependent on the output of another JFET.....
>>2886355As was said, you can re-bias the gate with a voltage divider, using trimpots to adjust it. Then, take out those trimpots and measure them, replace with resistors.I have no idea what the open loop gain of an actual op-amp is, it probably varies with the hfe of several transistors multiplied together…. It’s gonna be a lot.That’s why production circuits using BJTs or op-amps use techniques (such as negative feedback) to eliminate a lot of the individual device variances.It’s expensive to have some guy tweak a potentiometer in a test jig on an assembly line.For personal, one-off circuits, by all means, put in those trimpots and set them depending on the specific hfe or gain of the device. You may have to do it again if you have to replace the transistor—even with the same part number—due to individual device characteristics if the circuit is sensitive to the exact parameters.Things like the 2N3055 went through several entire semiconductor process changes (and manufacturers) which changed things significantly back in the day.Nowadays, you probably have to deal with chinese buying bad batches and re-selling them.
>>2886355>JFETs are falling out of favourIt's more that THT JFETs are falling out of favour. There may be more JFETs now than 30 years ago, at least if you include chinky chips you can buy on LCSC that's probably true, but they're mostly SMTs. There's definitely less part turnover with JFETs compared to power MOSFETs, which are constantly improved upon with only the old jellybeans remaining, but it's probably more in flux compared to BJTs. If you're designing a JFET circuit, use jellybeans since they'll probably be around for a while. But if you've got a JFET circuit where the engineer chose a JFET that was cutting-edge for its day, you'll probably be unable to find an exact replacement, at least not without sketchy ebay listings.>>2886368>to eliminate a lot of the individual device variancesNot just batch variations, but changing gain as a function of temperature or device wear also gets minimised thanks to negative feedback. If you use topologies like chopper-amplifiers, you can negate the input voltage offset, regardless of how well matched the input stage is.Also JFET-input op-amps are probably cheaper than an equivalent discrete JFET amplifier circuit. Not that this applies if you're using JFETs as voltage-controlled resistors, like in a VCA or mixer. Operational transconductance amplifiers do exist, but IIRC they're not ideal and don't have the feedback benefits that conventional op-amps do. Dedicated mixer ICs are bad for general-purpose circuitry.
>>2883138Working on a home project, tiny wee 3-axes home cnc for hobbyist jobs, Aircraft frames and the like - from low density woods, foams and ideally acrylic, Having trouble with the spindle motor and power supply. Ideally this would be as dirt cheap as possible. looking for options as to what I can do. Do I make the power supply? would it be worth trying to make my own motor? Less than half a meter on all sides. Aluminium extrusion, lead screws, nema17 motors, arduino uno 3 w/t drivers. i am a tight fisted bastard so act accordingly
so i bought this shitter for very cheap, used, i like its big display and that it reads caps, it does everything except reading voltages of any kind. already changed fuse (which was cut) to no avail. any ideas what could it be? nothing fried under pcb under simple inspection.
>>2885923that fet could be literally exchanged for a LED, or a bjt, its very uncritical for what its doing there. id suggest maybe do a diff project? do the oberheim SEM (but put in 3340 vcos)
>>2886436For the spindle motor, it depends on if the motor is static or if the workpiece is static. A static motor could be any beefy mains motor or a treadmill motor or whatever, weight being a bonus. A static workpiece means the motor must be lightweight enough to move about, so you’re probably looking at some sorta PMSM or BLDC.For the power supply, just chain a couple 2nd hand ATX supplies together to get 24V. More if you want a higher voltage. Older supplies do more power out their 12V rails, newer supplies focus on their 5V and 3.3V rails. You will need to remove the ground reference on all but one of them, I did this via a plastic washer between the PCB and chassis. The more that runs on mains voltage, the less of a power supply you need.>>2886571>BJTNo it couldn’t be replaced with a BJT. The signal it’s pulling down is centred about ground, a BJT only allows current in one direction. That JFET is being used as a voltage controlled resistance.>LEDwhat the fuck are you on about?
>>2886436>Do I make the power supply? would it be worth trying to make my own motor?Fuck no. Ready-to-go spindle motors can be had dirt cheap from everyone favorite communist utopia.https://www.ebay.com/itm/375627355237I guarantee the runout and vibration characteristics are trash, but not to the point that it should cause problems with wood, plastic, and foam. Find or hack together a suitable power supply and that's probably about the best you're going to get on the cheap.
Was buying picrel a mistake? I'm building a steam distiller and need to record pressure. I'm trying to do so with an Arduino but this thing doesn't seem to output any consistent voltages/currents at all.I've got it hooked up to a 1.0 A / 12V power supply, I'm running the signal wire through a 250 Ohm resistor (to achieve a max of 5.0 V), and feeding that to the A0 pin. It will sit at either 0.0V or 5.0V for a few seconds before quickly switching to the other extreme.My only real requirements are that (1) it measures pressure, (2) it can report to an Arduino, and (3) has a 1/4" NPT adapter
>>2886590Is it _actually_ swinging around in voltage, as measured by a multimeter/scope, or is that just what you're seeing in the serial output? If the former is happening, and you're sure the power supply is good, the sensor is likely defective. If the latter, it's a code issue.
How can I find a compatible LCD for this controller? I can't find the exact LCD from the one that broke but I'm wondering if I could use a different perhaps smaller screen instead. On google, I found similar to the one I have. https://m.globalsources.com/LCD-controller/VGA-HDMI-of-LCD-Control-Board-technic-support-1200694756p.htm
>>2886594I don't have a multimeter and am going only off of serial output. I thought taking the value from A0 would be enough, which itself is fluctuating, but that may not be the case?
>>2886697>I don't have a multimeteryou can use your own ears, or those of an intimate friend, as a signal detector up to, maybe, 15Khzsend data pin to your stereo or computer speaker by using a series 10K resistor and a small capif it's chirpy-chirp cherping, it's cereal data
>>2886590Is this thing even supposed to be compatible with arduino? You might find that it was designed to work with some kind of dedicated meter
>>2886737>some kind of dedicated metertitle says it's a common 4-20mA analog loophttps://www.predig.com/indicatorpage/back-basics-fundamentals-4-20-ma-current-loops
>>2886590Is the sensor's output voltage listed? Do you need a pullup or pulldown resistor on its output? Maybe a 4.7V zener + resistor.
>>2886740This page says the signal is encoded in current rather than voltage.> It will sit at either 0.0V or 5.0V for a few seconds before quickly switching to the other extreme.You should probably focus on measuring and interpreting the current.
>>2886742No, I had to infer it from the output amps. Would running a 250 ohm resistor on the 20mA max not yield the expected voltage of 5V for the Arduino?
>>2886744Very interesting. So >>2886745 is false. Do I need dedicated hardware to interpret current? I don't see a path for doing this with my current setup. Thanks for the info.
>>2886747If you're really bent on using arduino, you could probably find some kind of chip that will interpret it and send it to arduino via SPI/I2C, or maybe find a hack to do it with arduino + couple of passive components/arduino itself.>Do I need dedicated hardware to interpret current?Just to be clear, by dedicated hardware I mean a general type of pressure meter or a display that adheres to 4-20 loop standard. They don't have to come from the same brand, since the standard kind of implies they're supposed to be interchangable - that's one of the reasons why the sensor is sold without the meter.
>>2886757Would the ACS712 Current Sensor achieve the function you're describing?
What's the point of LCSC when the shipping is so expensive?>>2886747I found this. No idea if it's any more helpful than the other link.https://hackaday.com/2017/07/19/the-4-20-ma-current-loop/You could try building a TIA. Maybe your sensor doesn't like the shunt resistance you're using or something.
>>2886763It would measure the current up to 0.5A and send it to arduino, but even if you get the current readings, your arduino still has to interpret the signal you're getting, so unless you find a library/script that's designed to work with pressure meters (suprisingly, there might be one out there), you might have to run a couple of tests and write the code yourself.
espressive states the esp32 analog input can measure between 150 mV ~ 2450 mV in max range. What would happen if i overshoot and put lets say 2.6 volt on the pin? fry it or simply output max value?cause i have a 0-5v sensor and im thinking the best way of hooking that up is a simple voltage divider
>>2886747>Do I need dedicated hardware to interpret current? a resistor does a good job of converting current to voltagebut i'm guessing you wired it in series, which is wrongyou need to sample the voltage *across* the resistorif the arduino sucks in too much current, that'll affect accuracyin such a case, you'd need an op-amp buffer, capable of rail-to-rail outputs, or powered from, say +-10V
>>2886697>I don't have a multimeter>pic relatedStop spending money on food and water until you get one, this is not an optional thing for electronics. It doesn't have to be good, it just has to be vaguely accurate.Ignore the others giving you weird advise, I'm not sure they know much more than you do. Just to clarify, what you bought is a sensor module with a standard 4-20mA output signal, 4mA being the signal it puts out at the bottom if its measuring range, and 20mA at the top. Anything below 4mA should be interpreted as an error signal, the most obvious problem being "it's not connected". It is not "compatible with Arduino" specifically, in the sense that it it doesn't come with a USB stick containing an entire configuration library and plug-and-play shield. But it's trivially easy (or should be) to use, regardless.>>2886742>Is the sensor's output voltage listed?It outputs *current* as a signal, not voltage. It will put out whatever voltage necessary to produce the current it wants to, up to whatever maximum voltage it can (likely Vcc). The easiest way to measure this signal is to pass it to ground through a resistor, and measure the voltage drop across that resistor. I assume >>2886590 has figure that out, given that 20mA through a 250Ω resistor produces a 5V drop. That signal can then be sampled by the Tarduino's ADC, and the value received can be interpreted as you wish.Without measuring the actual signal, it's hard to say what's going on. Could easily be the ADC is just being misconfigured. Depending on how this was wired up and what the sensor can put out in terms of voltage, part of the microcontroller on the Arduino may have also gotten cooked.
>>2886795You want to find the absolute maximum ratings table. If they don’t have one, they’re not really legitimate.If you keep the current under, say, 5mA, then 3 1N4148 signal diodes in series placed across the input will limit it to 2.1 V. Alternately, you could use something like an InGaAlP yellow LED with a Vf of 2.3 V or some series combination of various crap from your parts bin. Don’t forget to test the actual total Vf of whatever you come up with.
>>2886582>what the fuck are you on about?things you dont know, tard. both LED and bjt would work well, but thats such shitty ass filter that nobody should bother with it.
What's the easiest way to interface potentiometers with a breadboard? Currently I solder single core wire onto them and have them sticking up in the air like this, but it gets cumbersome to use. I know that there are "trimmer pots" that could be inserted like through-hole components, but I also understand that they generally aren't rated for many turns and would wear out fast.
>>2886814Do you perhaps mean a vactrol? Vactrols are kinda slow, but probably fine if your LFO is slow enough. They aren't that linear, but you can probably fix that with some feedback and a second vactrol.A BJT definitely wouldn't work, it would clip half the waveform. Provide a schematic or counter argument instead of "no u".>>2886907Consider 9mm pots, they fit decently into breadboard rows.
>>2886772>What's the point of LCSC when the shipping is so expensive?You have to buy at least $50 worth of shit to make it worth it. Probably makes more sense to people living closer to China.>>2886795I might be wrong, but generally ADC inputs can go as high as the analog VCC rail. The ESP32's voltage rails appear to all be at 3.3V. The 2.45V measurement limit will just be because that's as high as the ADC reference voltage goes. So you've got a good 0.8V of headroom to fit in a 3V zener or something similar.
>>2886582>>2886588Thank you, gentlemen. You are both truly wonderful and I am forever in your debt. Goodbye forever,Grael
>>2886802Nice facebook meme.
>>2886907Change your breadboard construction technique, make it easier on yourself instead of building a bird’s nest.
>>2886907Mount the pots to a piece of perfboard wired to a pin header and connect them to the breadboard either directly by pushing the pins into the breadboard or with a ribbon cable/dupont jumpers.
>>2886907>interface potentiometers with a breadboard? - build an outboard jig with many pots, switches, LEDs 'n shit- build lil PCB jigs for each pot- simplest one: cut a piece of 1mm-thick plastic sheet, add cutouts that fit into nipples on side of breadboard. drill holes in said sheet for pots, switches, LEDs 'n shit. attach plastic sheet to side of breadboard by jamming said cutout into said nipples
>>2887142>1mm-thick plastic sheetforgot the best part- make 3D printed ones and sell on etsy for 1 million pesos' worth
Sup, I've got a Yamaha VSS100, sampling keyboard. Every time i do a sampling, if i keep the key pressed, once it stops sample playback it immediately starts a loud squarewave that keeps going for a total of 8 seconds (sample+squarewave time = 8sec). 8 secs is maximum sampling time as per manual. Could this be indicator of RAM chip gone awry? Its a MB81256-15. It has shown also memory perseverance, like it recalls part of a past recorded sample, even after being turned off and on, it really shouldnt.
>>2886814>such shitty ass filter that nobody should bother with it.I don't know what it's doing to my square wave but it's sure as heck not filtering it. I probably built it wrong somehow. Sweeping R28 through its full range gives me a square wave with those resonance peaks at either extreme (so some filtering is happening) but anywhere in the middle, my square wave is for some reason being converted to a sine wave. The guide for this circuit calls it a "T-type filter", but searching that online just gives me water filters - does anyone know something relevant I can read to understand how it's supposed to work?>>2887084I don't have time to be so neat I am a busy man>>2887124>>2887142Thanks for the suggestions, that's a fair bit of work, but I suppose it would be useful to make up some "generic" control panel that can be plugged in to arbitrary breadboards...
>>2887174T and pi filters are common topologies for filters. For a low-pass T filter, you'd usually have two series resistors, with a capacitor between them to ground. A lossless filter would use inductors instead of resistors, and an active filter may use virtual inductors instead of resistors. That said, usually you'd only use a 3-element pi or T filter instead of a conventional two-element filter if you're feeding the signal into a non-trivial impedance.A standard butterworth low-pass filter would just have a flat pass-band that smoothly transitions into an n* -20db/dec rolloff, where n is the number of poles of the filter. But a filter with inductive and capacitive components will often have a resonant peak between those two sections, the amplitude of which is determined by the Q factor of the filter. In your case it definitely looks like there's such an element as you adjust the cutoff frequency of the filter, but it's hard to say if the cutoff frequency is all that's varying. It looks more like a wah-like filter, where you're moving a resonant band-pass peak back and forth among a flat finite gain background, otherwise it doesn't really make sense for there to be a square wave on both ends of the filter's voltage range.I'd simulate it.
>>2883138What is the purpose of a resistor in RC high pass filter?
>>2887185>What Fc = 1 / 2 pi R Cwithout the R, the formula goes to zero
>>2887185To set the cutoff frequency, 2*pi*f = 1/(R*C). Basically that's the point where the resistance is equal to the magnitude of the capacitive impedance.In an ideal case, with an infinite load impedance after the filter, the full signal will get through that capacitor, even at low frequencies. In a real case, you may be feeding an op-amp or transistor circuit, where the load impedance of this circuit may vary as a function of voltage or other circuit parameter, meaning the cutoff frequency will be shifting constantly.Furthermore, the resistor provides a DC reference. If you had a high frequency sine wave on the input of the filter that's referenced to ground, its DC level after the filter could drift around in the absence of load current, or be preferentially pulled high or low by asymmetric load currents. Conventionally you'd use a resistor to a ground rail, but if you do that to a single-rail system than half of your signal is going to be outside of your supply rails. A guitar pedal will often use a single supply voltage, where the input signal is referenced to ground, so often they use two resistors on their high-pass filter, one to + and one to GND, to pull the signal between the rails. On the other hand, a charge pump circuit deliberately leverages an AC wave going out of the rails to increase voltage or invert rails, like you see in a high-side gate drive IC or MAX232.
if i stick a normal plug to the 20A receptacle, is it still capable of drawing ~20A? or is there some kind of internal mechanism that limits output if the T-side plug isn't horizontal?
>>2887207It could. It's no different than sticking any other device into a 15A plug. It's up to the device to ensure proper fusing/overcurrent protection. There's no way for a mains plug to limit current. It's just a simple set of contacts. Even things like GFCI outlets can only shut off power.
>>2887207The assumption is always that the device being plugged in is safe. If you have an appliance with a 10A plug that draws 20A, that's your problem. The wall outlets are not designed to fail safe in that event. That said, the spring contacts inside the live and neutral pin sockets may well be stronger for 20A sockets, in order to carry current with less contact loss.>>2887210Well 10A plugs aren't fused at 10A in the first place, you have multiple plugs going back to one breaker. In my house they're on 20A breakers. So there's nothing stopping you from drawing 20A from a 10A socket, say if you put a 10A plug on a welder or whatever.Though considering $5 powerstrips have 10A breakers inside them, I'm surprised we don't just have a 10A breaker on every wall outlet. It would solve the splitter plug problem. Put that bimetallic strip near the contacts too while you're at it, that way if the contact gets shitty enough to produce too much heat it will give you overtemperature protection too.
>>2887207No limiting in the outlet, not that it matters. A compliant 15A device will never draw more than that.If it does draw more, something has gone very wrong and all bets are off. Most likely either a fuse in the device will blow, or it'll exceed 20A anyway and blow the breaker.
>>2887207>stick a normal plug to the 20A receptacle, is it still capable of drawing ~20A?It will work but, be cautious...If the plug & lead isn't designed to handle 20A, then it will eventually melt and catch fire..>same problem as sticking 20A plug into 15A socket20A plugs will not fit into a 15A wall socket..If you modify one of them so the 20A plug will fit into the 15A socket, then it will happily still work until the bits of socket plastic and wiring insulation melts and catches fire.
>>2887239> melts and catches fireI doubt this would happen. The horizontal prong is on the neutral side… I imagine the construction is otherwise identical for standard 15 A sockets.I know lots of people who have 20 A outlets in their kitchen, yet I have never possessed, seen for sale, or know anyone that has a device with this kind of plug over the last 20 years or so when I first saw those start to appear.I suspect it’s more of an indicator that it’s wired with an unbranched 12 AWG circuit with a 20 A breaker, and you, the homeowner, should prefer using those sockets for things like 1700 W hotplates as less energy will be lost inside the walls.
>>2887185I suspect, intuitively, without the R, one might see that smaller values of C pass higher frequencies and that larger values of C would pass lower frequencies.
How to implement the switch in this sketch with transistor(s)? The circuit I'm working on needs to separate the op-amp output (circuit A) from another circuit B. There's a diode which blocks the flow of current from B to A in any case.
>>288727015A power sockets and wiring insulation melts and catches fire if you run a 20A tool thru them.It may take a few hours or so, but it happens.Seen it happen & done it myself.. Be told.
>>2887328You can't buy a NEMA 5-15R that isn't rated for 20 A pass-through.
>>2887329melting and fire at the socket starts at the connection hotspot melting the house wiring insulation.
>>2887188>>2887190This does make sense, but can you also explain why the resistor is not in series with the capacitor? If the output branches out and doesn't go through the resistor, why is the resistor included in the equation for the output voltage? Or maybe my undestanding on what the output is is wrong
>>2887349>why the resistor is not in series with the capacitor? the resistor and capacitor make a voltage dividerthe capacitor's resistance (or ''impedance'' as the nerds call it) varies with frequency according to Xc = 1 / 2 pi f Cso as frequency goes up, the impedance of the top element of the voltage divider drops, so more signal goes throughmaking this arrangement a high-pass filterobviously, if you reverse the components you get a low-pass (aka, "high-cut" or "high-reject" which is what my mom called me)
>>2887318Ok first of all, having that diode blocking reverse current being outside of the op-amp's feedback loop means you'll have a ~0.6V drop, so you wouldn't actually get 8.375V on the output at all.For the switch, I'd probably use a P-channel MOSFET.
>>2887371Great explanation!Seems to me the filter will burn a lot of the total incoming waveform off as heat in that resistor though, so no very efficient imho
>>2887428RC filters are generally not used for power waveforms (e.g. a radio or audio signal after the amplifier but before the antenna/speaker), here you'd typically use an LC filter instead. RC filters are generally used for small-signal processing, like for anti-aliasing before an ADC, or to isolate different frequency bands of an audio signal before the amplifier in a graphic equaliser.
>>2887442>or to isolate different frequency bands of an audio signal before the amplifier in a graphic equaliser.As part of an Active-Filter / Gyrator?An RC circuit wouldn't have the dB per octave selectivity for an audio qraphic equaliser.
>>2887428You should buffer the signal after the filter, especially if it has multiple stages
>>2886907cut each of those wires to ~1cm, so the chassis of the pot hangs off the breadboard and the three short wires plug into 3 lanes
>>2886795Less than a diode drop generally isn't an issue, but of course do everything at your own risk.
>>2887428 >>2887449>buffer the signalwhat Bode Plot Margin are your cascaded amplifier/buffer stages allowing?How much distortion do you all aim for?
>>2887444I was just using it as a noob-friendly example for why one might want a filter. I've never made a graphic eq before, and I might have seen only one or two schematics before. I assume you could get half-decent performance from 20db/dec rolloffs if you only had 5 or 6 bands you wanted to control, not like you'd want a stair-step frequency response. Otherwise yeah you'd want something steeper, probably an active filter for each band unless you can get away some funky passive twin-t bullshit.
>>2887490
It would be nice to have a general-purpose CC/CV charge control chip, with end-charge hysteresis. One that could do various chemistries with numerous series cell counts, even high voltage ones if you gave it a divider. One that could output PWM to a switching regulator's FET, or just linearly regulate via a BJT. Just configure it with like 3 resistors. Such a chip probably exists somewhere in the sea of sino-silicon within LCSC.
>>2887442>>2887449>>2887481Seems to me, you might want to amplify the signal both before and after the RC filter.This, of course, is going to start introducing a lot of noise from all the amplification.I’m guessing there is some kind of “conservation of filtering ability” theorem where you can’t make a filter that is good in all dimensions.
I wanna specifically start a robotics general guys. What should I put in it?
>>2883138bros I just want to make electronic components in my garage and sell them, but I feel like I couldn't compete with already established companies in anything. What could I possibly do at home except for bundles of stripped wires?
>>2887497>Line level Push-Pull bandsCLASS-AB pre-amp!!
>>2887549>Find the component-level faults in common household electronics and sell repair kits or aftermarket/equivalent parts that are out of production.>Restore old shit and jack the price up for nostalgiafags on the ebays.>Print arcade cabinet/control panel/marquee artwork and decals, or back glass art on pinball machines.>Wind custom transformers and coils.>Take empty shell casings for different calibers of weapons and put laser diodes in them with coin cell batteries and a switch for sight alignment.
>>2887549Restore power tools and spot weld battery packs.
>>2887549Custom-wound indctors and transformers, especially toroids if you make a machine for that
>>2887549sell +3500ppm/C platinum PTC resistors for synth repairor diy variable capacitors, some of those big ganged ones can go for quite a bit
newfag here, not sure if this is there is a dedicated lighting thread so im putting this here, i just ripped an old fluorecent tube fixture out of the wall and was wondering how to wire it updo i just connect a old discarded plug to the cut ends or do i need o do something more?
>>2887720>>2887727That's the ballast but it's missing the starter that goes in the socket by the round hole. You can wire it with a regular appliance plug. Hot to black and neutral to white (the short wire on the left bulb socket). Plug it into a power strip so you can switch it on and off to test it.
>>2887728thank you dude, i took out the starter bc when i was removing it i wanted to make sure the power was broken to it since my house is 120 years old so shutting off the power to snip the wires was out of the question due to the fusebox's fragility i also ripped out a ceiling fixture and was wondering the same thing, its different bc i don't see any starter, will include pic next post
Hello i'm a n00b with electronicsI want to hook up a humidifier to a relay to turn it on and off when humidity reaches a certain range This is the Humidifier PCB in picrelated I have the relay, a XY-TR01, working properly but the issue I'm having is that these humidifiers have a switch to activate the ultra sonic discs and make them actually spray humidity into the air on their PCBs. The middle of the top three RC connectors was a battery that I removed so it can be purely USB powered. The one off the the side is for the humidifiers LED lights. The other two go to the discs. The humidifier has multiple modes so you press it once to turn it on, then you have to press it again to activate the discs. Holding down the switch and turning the humidifier on won't activate the discs so I can't just tape it down. Is there a way I can bridge any points to bypass the switch? I heard that they make switches now that activate on a pulse instead of just always being on when pressed so I don't know if it's possible with this one.Also is there anything stopping me from just soldering the positive and negative wires of the discs directly onto the positive and negative pads where the USB plugs into the PCB? Sorry I am retarded and I don't want to blow myself up
i have wired it up using a plug from my uncles white noise machine with the right wire (goes to wide end) to white and black ballast wire to narrow end wire (left) and installed the starter back in its sockethow do i arm this thing without potentially blowing my ass up?
>>2887743>how stop being a chickenshitthat thing's worked for 2 centuries without blowing up, it shouldn't blow nowbesides there's nothing there than can blow if it wanted toput in the tube, hide behind the sofa, and plug it inBTW, if the other lamp has a big-ass ballast about 8 inches long, those dont need no gay starters
>>2887747hey man, i might be electronically retarded but i am aware enough to be wary when playing with mains electricity plus i only have 2 bulbs, since i ripped this fixture out of a bathroom mirror so don't want to have to go all the way to home depot to get more if they do blow so its more that i want to be extra careful so i can be lazyi have another fixture that has a plug without any type of wide ends (tube) which doesn't seem to care about orientation so does it even matter?
>>2887749>so does it even matter?no, regular edison bulbs need to be polarized for safety, but fluorescents dont carecoz they're equally unsafe at both ends of the tube
>>2887743pic of the other lamp's ballast, its a ceiling circline fixture (t9)this one might not need a starter bc the diagram on the ballast but i could be wrong
>>2887742>stopping me from just soldering the positive and negative wires of the discs directlythey need high a frequency signal to get them to vibratethat's what the black circles on PCB are generatingDC wont work
>>2887754>might not need a starterand yet it says "trigger-start ballast" right on the can
>>2887755i see thank you so is there any way to bridge it passed the switch or should i just look for another board
>>2887760>is there any way to bridge itof course there is, but it requires some expertise (and electronics instruments) to find and fix itafter the second keypress, that lil black control chip sends out a signal to start the actionyou'd have to find that signal and add a fake ''go'' signalwhich is beyond your ken
>>2887765yeah that does sound way beyond me could i use a multimeter to find where the signal is sending and solder a wire from there to the usb power? or is it something i cant even conceive of doing?
>>2887767you might get lucky with a voltmeter, or you could destroy the whole thingthere are 2 chips, U2 and U3 which might be voltage regulatorsmeaning the circuit might actually work at 3V (or whatever) not 5Vso connecting signals to 5V might be fatal to the chip
>>2887775>so connecting signals to 5V might be fatal to the chipi think that would be the case i had one before this that i tried to wire up in every possible way but eventually it just stopped turning on the discs even after desoldering everything ill just get a new chip i think at this point thank you again for your help
>>2887779seeing what i think are a bunch of resistors on there between the chip and whatever else too seems to suggest that
>>2887758well im saying that because the diagram on the ballast doesn't seem to show it in the circuit like >>2887727 as well as other videos about circline ceiling fixtures having a built in starter and my memories of turning the light on and it not seeming to preheat like the others i have
SUCCESS!
>>2887700>+3500ppm/C platinum PTC resistorsI've been reading a lot about synthesizer electronics recently and it seems crazy that so many VCOs rely on this one specific kind of thermistor that nobody makes any more. How can there be no other applications for such a component? Did everyone switch to different methods of temperature compensation? Other thermistors on suppliers' websites never even seem to be described in terms of ppm per degree.
>>2887858Because the kids these days simulate analog synths with VST plugins on a digital workstation.
>>2887798>warm white>piss whiteAt least it glows. You should use a 3-prong power cable with the ground wire connected to the metal housing of the ballast if you plan on using them. 2-prong is okay for testing so long as the hot lead isn't exposed and pressed against the housing. lol
>>2887858Surely there’s an affordable IC from the 90s that has a temperature compensated lin/log converter and VCO ready to go, right? A proper analog one, not some bullshit ADC+DDS chip.
>>2888020Light bulb
>>2887084I cleaned up my act and used wire jumpers instead of long flying leads and wow, it really does make a difference.>>2888020There are chips like the AS3340 VCO but I think such specialist stuff can be difficult to source
>>2887858>How can there be no other applications for such a component?There are tons of applications, +3500ppm/C is meant to offset the -3500ppm/C tempco of a silicon junction
Maybe I should clean
>>2888211>>2888211I am completely new to electronics in the sense that I've only ever made a pixie morse code radio thing, a little 5 dollar soldering introduction at the amateur radio club.What i want to be able to do is household appliance electronic repairs. I have a ham radio license, which I did a course for and it covered basic of electronic theory.Should I just buy a soldering kit and make projects off Amazon? Or should I legit get Make Electronics book and do all the experiments in it?If you were starting from complete scratch but wanted to work on this as a hobby after the kids are in bed, how would you start?
>>2888270Whatever you do, if you want to have the knowledge-base to understand circuits for appliances that don’t have an annotated service manual, you’ll need to have a lot of iterative learning. Expose yourself to a lot of different circuits in an environment where you have a pathway to understanding them. When you see something you don’t understand, find an article or video on the topic. Big Clive is actually pretty good for exposing you to simple Chinese appliance circuits and explaining how they work after reverse engineering their schematics. For building circuits, following a book will give you some foundational understanding, but you can get that kind of understanding just by reading. Less so for the intuition you get from building g the circuits in such a book. Actually designing circuits and having to troubleshoot your own designs is the fast track to learning how to make circuits, so long as you have the required foundational knowledge. Learning how to design novel circuits helps you put yourself in the shoes of the designer when it comes to repair, and also allows you the freedom to substitute or modify part of an existing circuit. Like spoofing a button press, or adding a soft-start feature.
>>2888288Thanks anon, I'll reread this post many times.I'm reading the pdf version of make electronics right now. I think I gotta get a decent multimeter and soldering station and a set of components next.
If you wanted to measure the distance between a piece of equipment and a wall or floor that a component on that equipment was pointing at, how would you do it?What I need here is essentially one pixel of lidar.
Time to get around to making this hot-plate. I think I've got a thermocouple reading module lying about somewhere.
>>2888346>measure the distance ultrasonic range finderssends a ping, waits for an echo, calculates distance based on speed of soundwhich is 55 MPH at 25-deg C, at sea level
>>2888376I think the speed of sound is somewhere around mach 1.0
>>2888400nah, it's around a TNG warp factor of 0.01651
Am I welcome in this thread if I just fuck around with esp32 and don’t have a great grasp of ‘proper’ electronics?
>>2887742okay an update of what i have been trying so far:to simulate a switch press im trying to set up a transistor to send a go signal from the signal pad on the button to the chip i have the base pin of the transistor soldered to a 1k ohm resistor and that then soldered to a wire that is connected to the positive output of my relay i then tried soldering t he emitter to a split wire that connects to the ground pad of the button and back to the negative output of my power supply the collector is then soldered to the signal pad but when powering it up it seems to just give a constant signal instead of a single switch press where have i fucked up? im at a loss
>>2883138What is this connector?
>buy induction cooktop>has a button to switch between like 300, 500, and 1500 watts>has a button to change temperatures>watts button does literally nothing below like 300 F>temperature button increments in 10F but has obvious dead spotsisn't this just PWM modulation? why are these companies allergic to just doing "0 to 100" in 1% demarcations? why is everything so fucking retarded?
>>2888436> 300 FYes, still using farenheight is retarded, so you can assume it’s the tip of the iceberg.Mine does 1–10 in single increments (only thing I used), but recently learned 10 isn’t the max… you have to switch it to temp mode, and set it to 450 F for “real max” which I only discovered after 20 years when playing around one day.Of course, the temp mode has no bearing on the actual temperature—the whole thing is retarded.Yea, it’s just PWM.
>>2888411> welcomeThere is an /mcg/ thread, but mcu’s don’t do much of anything without talking to the external world which is where people like you generally come and talk to people like us.
Where do I get reasonably priced electronic water valves that I can proportionally control with a PWM signal?
>>2888420>where have i fucked up?your post is one placeto get a meaningful response we'd need 2 things 1) a clear explanation of what you wanna accomplish, and how2) a diagram (preferably hand drawn) coz your description is useless. for example:>go signal from the signal pad on the button to the chipdoes this signal go to V+ or to ground, and is it steady or temporary?>a wire that is connected to the positive output of my relayso, to a contact? normally open? which comes from where? an external supply or the humidifier supply? at what voltage? and what turns on the contact?>base pin of the transistorNPN or PNP?>negative output of my power supplypower supply that drives the relay? or humidifier supply? are the two joined?>the collector is then soldered to the signal pad so, the transistor is supposed to drive this ''signal pad'' (whatever that is) to ground?because wired this way, it cant supply a voltage, only ground a voltage>a constant signal ''constant'' means nothing. is it ground or V+? >instead of a single switch presswhy would it be otherwise? if you want a momentary action you have to use a differentiator circuit, i.e. a cap and resistor
>>2883138Does anybody know about decent STM32 tutorials? I have to program a Nucleo board (basically a white arduino from STMicroelectronics, picrel of my lab's haul) in a short amount of time to work as some SoB I was tasked with designing. At this point I've made more application specific Nucleo boards than programs for arduino, let alone for a STM32. I already know how to use the CubeMX to assign pins and all that so I guess that helps a bit, but I genuinely do not know how to write any code my autistic brain basically is only capable to understand analog casuistries
>>2888477i program ST MCUs by hand, never used Cube before. what do you need it to do?
How can I apply a negative offset to a control voltage when I don't have any negative voltages in my circuit? (It's run off a battery)I understand the concept of a noninverting summing amplifier, and I know I need to add a negative voltage to my input to "subtract" a voltage. But how does that work when my circuit is all between 0 and 9 V? Do I redefine "ground" using a potential divider? That seems like mathematical sleight of hand.
>>2888592Try a differential amplifier.
>>2888592>>2888596adding>That seems like mathematical sleight of handand depending on what you're doing possibly the best way of handling it. What is this voltage supposed to control? are you using a R-R or single supply opamp?
>>2886772>What's the point of LCSC when the shipping is so expensive?digikey/other US-based alternatives have shipping even more expensive than LCSC outside of the US.
>>2888596Thanks, that sounds like the right concept, I just didn't know what to search for.>>2888599I am this anon >>2885923I'm still trying to deal with using different JFETs to the out-of-production ones in this circuit. I've breadboarded it all and it works using J113's as replacements, but JFET Q7 still lets through some signal under conditions where there should be no output. This is because Q9 is always passing a slight amount of current, and so the "ARG" signal it outputs is always above 0V. I guess the circuit was designed with the properties of the 2N5457 in mind and the J113 is obviously different in some respects.So I figure by subtracting some voltage from the ARG signal, I can make the gate voltage of Q7 more negative, and it will turn it off more completely when ARG is not present. If I use an op-amp, I guess I can also use the gain of this differential amplifier to make sure the signal is in the ohmic region of Q7. I've tried some different values for R41, R46 and R47 to try and change the gate-source voltage of Q7, but no success.I'll be honest anons, I may be in over my head
>>2888607How is the JFET Q9 being biased in the first place? It looks like with the switch in the Repeat mode R58,63,64 will be what bias the JFET, and when in Manual mode R61,62 are doing the biasing. You'll probably want to do the potentiometer trick again. It looks like the 10k/10k and 150k/150k dividers are making a Vcc/2 bias, so adjusting both of those down a little may solve your problem. Note that changing R63/64 may change the gain set by R58, but it's probably fine.You can make an LTspice simulation of the ADG circuit to test how changing resistors will influence the output voltage range.Personally though I'd go back and look for JFETs that better match the Ids/Vgs characteristic curve of the unobtanium component. There's still like 10 commonly made THT JFETs out there.
>>2888592>when I don't have any negative voltages in my circuit?once made a quick circuit similar to this to fix a DVD player whose -12V voltage (for audio) had gone bad
>>2888614I admit I hadn't considered changing those voltage dividers but you are right, that should solve the issue at the source by changing the output from Q9. I'll give it a go, thanks.J113 seemed to be a reasonable match in terms of VGS(off) and IDSS. The problem I have with troubleshooting is that all I know about this circuit is it's supposed to make wacky bleep bloop noises>>2888620Interesting. The 555 chip sure seems to be versatile
I want to repurpose an old screen as a monitor. The screen is an 7' LCD display, 800x480p part number SL007DH15B09. Came from a genesis tablet model GT-7200.I need the datasheet for the screen to find information on what display control module to buy. Google gives me nothing.Looking around the original board I found a goodix GT811 touchscreen chip but nothing specific the display part of the screen. It uses a 50 pin ribbon if that matters.
>>2888491Essentially a HMI. The thing I'm currently trying to make it work is the touchscreen, 4 buttons and a scrolling knob
>>2888607‘ol ray really loved him some jfet
Need some advice brosIs this an okay way to isolate the 3.7V Li-cell when a USB cable is connected and make the load be powered by the USB cable instead of the cell?
>>2888713Usually, I think you can get away with one diode, and two if you’re worried about potentially backfeeding the USB supply (which is probably not a real problem).In the olden days they had these 3.5 mm power jacks that they re-purposed from audio that had little switches in them that could be used to automatically switch to the plugged-in source.I assume ridiculous nonsense like the usb-c specifications still indicate you can get 500 mA out of it without writing thousands of lines of firmware code, but I’m not sure.
Is designing a usb hub with dp alt mode and power delivery super complicated, or could a beginner accomplish it, with enough patience of course?If anyone has an idea for a good starting point, that would also be great.
>>2888713A li-ion cell will not go above 4.2v (not without blowing up at least). Since that is lower than 5v you can simply place a single diode in series with the li-ion cell. As soon as the usb is connected the diode will become reverse biased and the cell will no longer discharge. You do not need a mosfet. Ideally use a schottky diode to minimise the voltage loss. I've done this before (albeit with a 12v system) so I know it works.
>>2888831> design a usb hub with PD 3.1 using a usb hub ICEasy. Buy IC, implement app note.> design usb hub with PD 3.1 using only discrete transistorsProbably impossible for a single individual over the course of their remaining lifetime
>>2888840>Probably impossible for a single individual over the course of their remaining lifetime...It's not THAT hard anon. Combinatory logic predates transistors and is as old as the first non linear devices. Iirc they were making combinatory logic out of bulbs, even before tubes
>>2888835But wouldn't i have to contend with the power loss because of the diode drop always
>>2888713I think that will work. The FET circuit alone only works as a negative polarity protection, but with R7 there it should forcibly turn off the FET when the USB is connected, preventing backflow, and also preventing the voltage drop that you'd get by using a diode on the lithium ion side.>>2888831Not trivial. High-speed USB design on a PCB means adhering to differential trace and ground plane best practices to minimise crosstalk and prevent glitches. You'd likely need a 4+ layer board, and 2-sided soldering of small SMD components. Either you buy the stencils with the PCB order, or you get them to solder it for you, both will be pretty expensive, maybe in the $20-60 per board for 5 of them. Cheaper if you can make the stencil yourself. If you want 5 of them, then it might be worth doing if you value your time sufficiently low. If you want 1, fuck no. Just buy one. Watch out for nobrand ones on aliexpress though, it's not unknown for them to contain keyloggers and such. Ones from Ugreen or whoever are probably fine, at least if they're spying on you it's probably at the behest of the CCP, instead of to sell your passwords to hackers.
>>2888852Assuming you're using a 1n5822 schottky or similiar at a current of 1A (dont know what current you're running at but the smd pmos and USB suggest a low power circuit) the diode will drop ~350mV. If the li-ion cell is fully charged you'll be losing 8.33% of your power on the diode (4.2v * 1A = 4.2W, 350mV * 1A = 350mW divide to get power loss). I'd say the forward voltage drop of the diode would be far more troublesome than the power dissipation but you'd still be fine for a 3.3v system. I'm guessing you're alright with the voltage loss becuase you already have a diode in series with the li-ion cell in your schematic.Also I noticed that you configured the pmos as a source follower so if you're depending on it to drop the 5v usb supply down to ~4.2v so as not to exceed component voltage ratings then put in a normal silicon diode in series with the usb as well if you're gonna remove the pmos. If your circuit won't be damaged by 5v then you lose nothing by taking the pmos out. The li-ion can't discharge into the usb and the diode prevents the usb from pumping current into the cell.
>>2888866Disregard the power calculation bit just realised you're already using a schottky with a lower vf than the 1n5822. Also you can verify that the circuit works with the schottky alone using falstad.com/circuit
>>2888866I think the more important part is the voltage drop. If you're running the lithium ion cell into an ultra-low-dropout regulator like the HT7333 in order to get 3.3V for an MCU or other non-5V-tolerant IC, you'd normally be able to access more than 90% of the cell's capacity. But with that diode drop there, you're only able to access like 60% of the cell's capacity. If you're using chips that will run fine off 5V then my point is moot.If you're using an audio amplifier or other power output chip, then because power is proportional to voltage squared, you're losing 16% of the maximum total loudness at 4.2V, and 21% when the cell is down to 3.2V.If an additional MOSFET and two resistors isn't a big deal to add to a circuit, I see no reason not to.
>>2888888kys
>>2888888WIN
>>2888888Sharty won
>>2888888>>2888891>>2888892>>2888893go back to your kiwifarms ripoff spam bot and pedophile ridden discord circlejerk website with a nonfunctional catalog and minecraft server infested with datamining scripts and groom more minors into self harm while getting datamined by the Taiwanese faggot and the orange pedophile you stupid fucking wojackspamming onions party immigrant
>>2888906Total.Baritone.Meltdown.
>>2888906
testing
if i have a 555 timer in monostable mode set to output a single pulse and connect constant power to it will it still only output a single pulse or will it continually pulse
>>2889005Depending on how it's wired up, it may make a single pulse when you connect power, or it may make no pulse at all until separately triggered. A monostable 555 should not keep pulsing by itself.
>>2889008how could i wire it up so it only creates a single pulse when power is turned on?
>>2888840>>2888864Thank you for your answers. I had previously been looking to just buy a device but I couldn't seem to find one that clearly stated that it supported all the features. But maybe I'm just dumb.The thing that most were missing is power delivery out. I can only find hubs that let you connect a power supply to then charge your laptop through the dock. I wanna connect it to a mini pc that has a usb c port with 15W pd and use that to power a ~10W display through the hub. Is that possible?
>>2889005>>2889010Actually now that I look at the 555 schematic, I think it will never trigger. I'd do some simulations, but you may need to specifically look for a different type of monostable circuit that can't retrigger when fed a long pulse.Do you need a delay between power-on and the output pulse?>>2889012Is the 10W at 5V? If so it should be supported by basically everything. If it's at 9V or higher, I'm not sure. Maybe browsing chargerlab's products and reviews might show you whether there's certain products or search terms you need to look for. Some gurus on /g/ might know if you're lucky. Otherwise maybe you can take a monitor and mini PC into a shop and test it.Honestly I doubt you'll find anything that doesn't require an external power input for the hub.
>>2889013>Do you need a delay between power-on and the output pulse?it shouldn't need a delay but it probably wouldn't hurt either thank you for the response by the way its helpful ill try looking for a circuit that can't retrigger
>>2889010>wire it up so it only creates a single pulse when power is turned on?to trigger it, you apply a low signal (less than 33% of V+) on pin 2to do this automatically every time it powers up, you- put a resistor from V+ to pin 2- put a capacitor from pin 2 to ground- the time constant of these 2 components (time = R * C) should be considerably shorter than the time constant of the main timing RC constant (on pins 6 and 7)
>>2889013I've contacted the pc company, but haven't gotten an answer yet, so I only know that it outputs 15W total.I'm doing dome diy, so the display is not a full monitor. I was gonna hook up the driver board to the hub, which supposedly needs 5V 3A. So if the output is 5V, you're saying I can hook it up to any of the ports on the hub?
>>2889026holy based thank you ill give it a try
>>2889028Yeah if the display wants 5V, there doesn't need to be any fancy power delivery chips inside the hub that negotiate the power given to the display. That said, 3A isn't nothing, I'd want to ensure that the hub is rated for enough output current. Maybe there's a per-port limit, maybe there's just a total hub-wide limit, idk. Conventional hubs may have polyfuses or whatever to prevent the output current going above 2A or whatever.>>2889030Yeah this will definitely work, but it will do it as soon as power comes on.
>>2889032>but it will do it as soon as power comes on.it should still be fine thank you again very much
ok, another questioni have an analog sensor powered by an automotive vehicle grit and an adc powered by the same grit but its 5v can be switched of. How does one protect a not powered adc from the foreign voltage? afaik max allowed input is VDD+0.3v so if vdd is disconnected and the sensor shats out 1v it should go up in smoke, right?
for me, its a 431 + pass-transistor.
>>2889045I think, typically, you’re going to want an opto-isolator. So generally you’re looking at some kind of robust buffer/amplifier that feeds a LED, and another diode picks up the light and you use that as your adc input. There is a literal air gap.This is because I wouldn’t consider automotive power to be the cleanest of things… you know spark plugs and whatnot.
>>2884333run your power through a UPS for a desktop computer
it's all coming together, write some python code and pull the plug/start it up a few times to make sure it can really power up the SSD box and reach back home, and this project is complete
>>2889045>How does one protect a not powered adcmany chips have 2 diodes on their inputsthe bottom diode shorts negative voltages to groundthe top diode shorts positive voltages above Vcc to the supplyof course, if the supply is off, Vcc is zero, so it shorts anything higher than a diode dropchoose germanium or schottky diodes for 0.3 - 0.5V protectionthe resistor, of course, limits current, and should be as high as you can use w/o altering the reading
>>2889045Analogue optocouplers (i.e. two optocouplers and an op-amp) work, but they're a bit complex.I'd do a small-signal mosfet circuit like pic related. So long as your signal never goes above 5V - Vgs_threshold, it should fully turn on and allow the signal to pass through only when there's a 5V power line. Finding such a MOSFET might be tough in THT packages though, I'm not sure if a 2N7000 will work.>>2889116Put a cap from base to ground for even more ripple rejection.>>2889224I also made a PiNAS like that, though I used a USB RAID enclosure that doesn't work for shit so I need to reconsider the design. Probably using a Pi knockoff (Orange Pi 3B) with an M.2 socket, combined with an M.2 to multiple SATA adapter.FYI, you can desolder the trimpot on the LM2596 module and find a footprint for a single SMD resistor underneath it, for setting a fixed voltage. Though the chinese knockoff LM2596 modules apparently aren't too good at providing the full 3A they say on the datasheet and listing, due to a lower switching frequency.
>>2889224that filament ribbing makes me wanna hurl, idk how you printfags can live with that(nice project nevertheless)
>>2889265i have a translucent resin one on order too, i'll probably end up using it because the blinkenlights will look very nice through that
>>2889265If you don't see it, it doesn't really matter. If you do see it, then try to make it so you see a flat face that was flat on the bed, as that can be nice and smooth. If it has to be a curved surface in view, then choose a filament that doesn't make it look like shit, matte filaments are good for this, that or do some post-processing. With ABS and ASA you can easily vapour smooth it, with other filaments you just sand, maybe use some filler, and paint.
>>2889134> analog opto-isolator There is standard circuits for things like this.If you use discrete components, generally they’re going to be more robust.The LED sends light into both photo-diodes, the input side uses it one to stabilize the the LED output.
>>2889287> solvent melt, sand, fill, paint2 hours to design in freecad, wait 9 hours to print, another 9 when to reprint it when it glitched out, then ran out of filament on the next print, buy more, then finish by hand, and then it melts from the heat of the pi because you forgot vents.Only $500 and two weeks to make!… but I “made” it myself! Bargain at twice the price.
>>2889315>own nonshit printer>have designed nonshit 3D model>put print on before work>get home to a finished print>10 minutes post-processing>50c of plasticit just werksIf I were solely printing things that i could buy from aliexpress then I'd consider just doing that, but i'm making custom electronics enclosures, with brackets specifically for motors and certain sizes of custom PCB. It's really handy to be able to do a 20 minute print of a small feature to test-fit something and iterate on that, even if I'll be sending away for it to get CNC milled for the final part.I don't really care about making parts look good, at least not to the point of sanding and painting, because function is all that really matters for one-off prototypes. Though since ABS is even cheaper than PLA/PETG, and since ASA is highly UV resistant, I'll probably want to get/make myself a printer that can print those reliably. Then it's trivial to vapour smooth them, which should strengthen them a bit too.
>>2889239this circuit is posted basically everywhere>Vcc is zerothats what i dont get, if vcc is disconnected shouldnt that side float? At max pulled to ground through existing pullup resistors?
>>2889265the camera greatly exaggerates layer lines. If i print at 0.1mm its smooth to the touch (but fingernail can still feel is)
>>2889329Yeah it doesn't really work that well when the 5V circuit isn't consuming current. At least with conventional diodes it doesn't, though if the current that gets past the resistor is smaller than the current that would be consumed, it's probably alright even though the ADC input pin will have a voltage ~0.3V higher than the MCU's power rail. With zener diodes or TVSs or whatever, any voltage significantly above the desired voltage will also be clipped.>>2889330Makes you wonder how much time goes into polishing injection moulds.
>work remotely as embedded systems engineer at small company>boss makes a mistake ordering the BoM and now 1k boards have a single incorrect component>boss gets quote from companies who can rework the boards, 5 euro/board>i being the absolute retard blurted out its a simple 2 minute job per board and should definitely not cost so much>now boss wants me to fly to his city, rework 300 of the 1k boardsBros....What have I gotten myself into?
>>2889343>Yeah it doesn't really work that well when the 5V circuit isn't consuming currentok, it finally clicked in my mind. even with the 5v disconnected the diode itself powers the rail and thus the adc
>>2889352Yeah, that’s terrible that he didn’t let you do all 1000 boards at night for a quick €2.000 while watching TV.
>>2889329>if vcc is disconnected shouldnt that side float?no, because Vcc is connected to the chip's power rails, any possibly other circuitry, incl discharged capsthese will consume any voltage that's made available to it, driving it down
How feasible is this:I want to add a LED to a Gundam, and have it powered by a USB C of some sort sticking out the back of the kit, like a tail. So 1.8mm led in the chest of the kit, USB C cable goes out the back so I can plug it into a board or computer
>>2889427Why not a battery. You could put it inside the jetpack or whatever they got on their back
>>2889432That’s the other option/the easy option. But I like the concept of a robot with its tail being how it connects to the power supply, and unless I can also fit in a tiny controller, with the battery I’m limited to on/off, rather than plug in and send whatever pulses I want
>>2889427On a scale of zero to feasible I'd say it's about tree fiddy. What's a Gundam? Do beavers build them? Wouldn't it be cooler if it had laserbeams in its eyes instead of a Linus Tech Tips color-sneeding LED? If it glows then just run it over with your car. That's what you do.
>>2889433I get it. Yeah it's pretty doable, I think the main pain point is going to be fitting it into the Gundam
>>2889427So, is this a real mobile suit or a model?> usb-c, modelWhy. You can use mains voltage and go with resistors/neons or buy a couple of single LED nightlights for a $1 and use/duplicate what’s in them.Or use one of the 20 billion 5V adaptors that have been manufactured over the last 25 years. I probably have several dozen of them sitting in a box somewhere.> usb-c, real mobile suitEven if 240 W usb-C existed, it’s probably not enough power.
I need to control a row of 32 leds individually via logic signals (microcontroller GPIO). Is LED matrix the way to go? Planning to use 4 x dual BC847 and 2 x dual BC857 transistors. This would require 12 GPIO pins for driving the leds. Shift registers might reduce the number of GPIO but controlling the registers might require too many CPU cycles.
>>2889315>2 hours to design in freecad, wait 9 hours to print, another 9 when to reprint it when it glitched out, then ran out of filament on the next print, buy more, then finish by hand, and then it melts from the heat of the pi because you forgot vents.i just use craftcloud or treatstock, i used to own a 3d printer but it's getting cheaper to send it our for someone else to deal with. it won't be long before amazon has a 3d print service i bet
>>2889470Shift register. One GPIO.
>>2889470multiplexer. 5 GPIO pins = 32 signals
>>2889470Do you plan on using current limiting for the LEDs? I hope you use base resistors for the BJTs, though if you use logic MOSFETs or an IC like the ULN2003 you won't need resistors there.There needs to be a standard jellybean 8x Nch and 8x Pch logic MOSFET array for driving LEDs.>>2889515More like 3 GPIOs. Data, clock, and latch. Use SPI hardware on your MCU to make it easier, with the CS pin going to the latch of your shift registers. If you use no multiplexing at all, you can get full brightness out of all LEDs. But that also requires one IC for every 8 LEDs, compared to using one shift register for columns and one for rows.
>>2889554Current limiting via 68R 1206 smd resistor and the base resistor is maybe a 3.3k 0805. ULN280x series have 8 NPN transistors so it would be suitable. Luckily the high side has just 4 transistors, so using two dual-PNP transistors is acceptable due to apparent lack of PNP version of the ULN280x. Why doesn't any company manufacture a PNP version of the ULN2xxx ICs?
>>2889601Some manufacturers do make an equivalent PNP version, but they’re not nearly as common. You can find them via stackexchange questions. At some point I think you should just look into buying proper LED matrix drivers, there’s not really any other reason to use high-side transistor arrays I guess. Dedicated LED drivers also often have built-in current limitation, even adjustable limitation via a single external resistor, which can be really nice.
im biasing a long-tailed pair with a current source like in pic rel. somewhere between 10 mA and 70 mA. i want the source to be controllable with an MCU with a built-in op amp and DAC. the issue is that:1. either the op amp isnt actually RRIO as advertised, or the DAC cant go as low as i need it to (probably the latter), so getting down to 70 mV for 70 mA is difficult, and 10mV for 10mA isnt feasible at all.2. the precision of 1 ohm = 1 mV / 1 mA is way too low.3. i cant really increase the the emitter resistor since theres very little voltage overhead. even 10 ohms is problematic and i need like 50 ohms.any ideas? ideally i'd like to solve this without adding any extra ICs.
>>2889601> Why doesn't any company manufacture a PNP version of the ULN2xxx ICs?It was a result of the common cathode vs. Common anode wars
>>2889667> DAC cant go as lowEasy. Pull it down.> what about by dream of 10 mV = 10 mA?Have the cal in the MCU. That’s what it’s for. Have a table of values and interpolate them into the curve the DAC outputs.
>>2889678>Easy. Pull it down.ah yes, let me just grab my negative rail that i already conveniently have on the board. and let me just hook that shit right the fuck up to my 3.3 V MCU.>Have the cal in the MCU. That’s what it’s for. Have a table of values and interpolate them into the curve the DAC outputs.that really doesnt fix the problem i described at all.fwiw i went went a current mirror, seems to work pretty well.>inb4 you hooked it up weirdi had to do it this way because the internal DAC connection can only go to the non-inverting input of the op amp.
So i've got some 5v panels and BMS protected 18650s hooked to a solar charger/light control designed for a 3.7v system. It used to have a 64 LED light panel but it broke. I've got a small adjustable step up buck converter board and some 12v LED bulbs for RV lights, any reason i shouldn't wire in the converter and adjust it until it can run one of the bulbs? They have 1/3rd the LEDs as the old panel, it should run all night.
>>2889682> just grab my negative railIt’s less work to make a negative rail than what you ended up with—cap, diode, gpio pin or clock… It seems like the rail might only need to be around -70 mV.> hook that shit right the fuck up to my 3.3 V MCUYou drag it down on the other side of a resistor. Besides, I seriously doubt a low current -70 mV will hurt the output pin. Most of them are esd protected anyway.> doesnt fix the problem i described at allI assumed you’d need to do something there because of the el-cheapo pull-down solution, nothing to do with solving the original problem.
>>2889771Sure, the cells are protected, right?It depends on the efficiency of the buck converter though, but it should be at least 80%, no?Other problem might be that lots of cheap car accessories just use current limiting resistors, burning off even more efficiency.
>>2889784It's a solar yard light charger controller for a led panel/18650 set up, it has the standard BMS soldered to the battery. All i'm doing is putting this: https://www.amazon.com/dp/B089JYBF25 between the controller and the bulb to get it to 12v. The light panel had 64 leds but the bulb only has 18, even with efficiency loss it should last much longer. I'm pretty new at this, besides rejuvinating tool batteries and broken solar lights my biggest project (beside my house solar system) was a few halloweeen lights. I replaced the entire system of some 6 led light up battery operated skulls with a scratch built solar system. Basically just a 5v panel, 18650, BMS strip and solar chip driving 6 leds. I think it needs a second 18650 (and bigger panel) since they don't last all night. They took 3 AAAs which would last half a week but only runs 6ish hours on the 18650, i am 99% sure the issue with that is the BMS protecting the battary as opposed to a AAA which will run down to destruction.Hmm.. While i'm here: Is there any issue with bundling those little 3.7 lipo drone batteries with a basic BMS made for a 18650? They are alot cheaper than 18650s.